Commit Graph

8592 Commits

Author SHA1 Message Date
Ralf Becker
9f4a6db299 * API: fix SQL error in upgrade from 1.8/11.1: Incorrect string value *** for column async_data 2015-10-27 08:40:00 +00:00
Ralf Becker
d8255179d8 detecting MS Edge as html::$user_agent="edge" and html::$ua_version="12.*", even if some report only "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" 2015-10-26 21:43:08 +00:00
Ralf Becker
5e8781078c detecting MS Edge as html::$user_agent="edge" and html::$ua_version="12.*", even if some report only "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" 2015-10-26 21:42:25 +00:00
Ralf Becker
b18d373624 fixing wired IE security errors "Permission denied", seems reload of opener caused references to egw and template cache in opener.top.etemplate2.prototype.templates becomming inaccessible, catching this errors and falling back to a window-local object 2015-10-26 21:13:34 +00:00
Ralf Becker
ac6dbad373 fixing wired IE security errors "Permission denied", seems reload of opener caused references to egw and template cache in opener.top.etemplate2.prototype.templates becomming inaccessible, catching this errors and falling back to a window-local object 2015-10-26 21:11:47 +00:00
Ralf Becker
1141805153 fix intro offer was not translated and now shown in idots template, also changed wording a little and added German translation 2015-10-24 11:08:04 +00:00
Ralf Becker
db774ece2b fix intro offer was not translated and now shown in idots template, also changed wording a little and added German translation 2015-10-24 11:07:22 +00:00
Klaus Leithoff
493488b1b1 * Mail/API: some servers do report capabilities that they do not fully support; thus relying on those results in failure; use hordes capability_ignore to avoid the problems; map charset ks_c_5601-1987 to CP949 as the former is not supported by php(s) conversion functions and should be mapped to the latter 2015-10-22 11:26:26 +00:00
Klaus Leithoff
23fdf1c46e * Mail/API: some servers do report capabilities that they do not fully support; thus relying on those results in failure; use hordes capability_ignore to avoid the problems;map charset ks_c_5601-1987 to CP949 as the former is not supported by php(s) conversion functions and should be mapped to the latter 2015-10-22 11:15:26 +00:00
Ralf Becker
39c9aab64b fix PHP Fatal on sending with an alternativ body and create multipart/alternativ ourself, if setAlterantivBody() was called 2015-10-21 14:48:27 +00:00
Ralf Becker
804d558e68 fixing the fix ;-) 2015-10-21 14:36:18 +00:00
Ralf Becker
2f5b40d2d9 fix PHP Fatal on sending with an alternativ body and create multipart/alternativ ourself, if setAlterantivBody() was called 2015-10-21 13:10:22 +00:00
Hadi Nategh
1155f0c5e3 * Etemplate: Fix issue expose view gets opened for not supported mime-type (eg. image/pdf) 2015-10-20 16:23:21 +00:00
Hadi Nategh
9a4ba7b781 * Etemplate: Fix issue expose view gets opened for not supported mime-type (eg. image/pdf) 2015-10-20 16:22:08 +00:00
Hadi Nategh
d4e415598f Run tutorial intro confirmation dialog only once per framework reload and session together 2015-10-20 12:52:30 +00:00
Hadi Nategh
524c16e536 Run tutorial intro confirmation dialog only once per framework reload and session together 2015-10-20 12:51:40 +00:00
Hadi Nategh
5705886aac allow client-side to detect first load aka just logged in 2015-10-20 07:37:13 +00:00
Nathan Gray
487d270c55 Reduce delay before showing tooltip 2015-10-19 23:57:07 +00:00
Nathan Gray
d3530c4899 Cachebuster for category CSS 2015-10-19 22:26:09 +00:00
Ralf Becker
df8738de93 * Calendar/Mail: send meeting requests including html body like current Exchange server does it 2015-10-19 19:54:01 +00:00
Ralf Becker
2ce94499c0 * Calendar/Mail: send meeting requests including html body like current Exchange server does it 2015-10-19 19:48:52 +00:00
Hadi Nategh
d90e369322 * All Applications: Implement new features for showing all video tutorials accessible from app's sidebox 2015-10-19 16:18:30 +00:00
Hadi Nategh
938c991124 WIP Egroupware tutorial:
- Create tutorial sidebox hooks automatically
- Fix some styling for popup
- Display intro video show confirmation dialog based on session (login/logout)
2015-10-19 15:00:42 +00:00
Hadi Nategh
c200c1ccc3 WIP Egroupware tutorial:
- Use framework-reload to determine the first load after login
2015-10-19 10:48:16 +00:00
Ralf Becker
f652853c7a allow client-side to detect first load aka just logged in 2015-10-19 10:26:00 +00:00
Ralf Becker
33ebe9305b * Mail/Wiki/Sitemgr: reworked XSS tests to allow eg. font-names containing "script" and other patterns forbidden by previous test, also added new html5 specific tests 2015-10-16 19:02:30 +00:00
Ralf Becker
da4ffc2a0c * Mail/Wiki/Sitemgr: reworked XSS tests to allow eg. font-names containing "script" and other patterns forbidden by previous test, also added new html5 specific tests 2015-10-16 19:01:56 +00:00
Hadi Nategh
88da09bc80 Do not scroll sidebox on selectboxes or video tutorials box 2015-10-16 12:37:51 +00:00
Hadi Nategh
45668446bf WIP EGroupware Tutorial:
- Improve some styling in popup
- Fix sorting list in sidebar
2015-10-16 10:00:17 +00:00
Klaus Leithoff
fb175be16e move autoload-stuff from end to the beginning, as it is no longer a function (__autoload) and therefore it need to be executed before all other code to be available,eg. for html::purify in _check_script_tag() 2015-10-16 09:19:44 +00:00
Nathan Gray
8b42f6aeb8 Load all category CSS once when loading the application to avoid missing category colors. 2015-10-15 17:28:56 +00:00
Klaus Leithoff
e7a0826a80 filter script keyword from face specifications, as our _check_script_tag will not allow that anyway 2015-10-15 08:38:33 +00:00
Klaus Leithoff
412414c1a5 filter script keyword from face specifications, as our _check_script_tag will not allow that anyway 2015-10-15 08:35:35 +00:00
Hadi Nategh
6d23eb2368 WIP EGroupware Tutorial:
-Some more styling
2015-10-14 15:09:45 +00:00
Hadi Nategh
88675dced6 WIP EGroupware Tutorial: Missing files from previous commit 2015-10-14 14:29:22 +00:00
Hadi Nategh
04a8cd4f60 WIP EGroupware Tutorial:
- Implement video navigation on popup
- Implement introduction video with user confirmation dialog based on session
- New layout for tutorials list both in sidebar and popup
- Separate tutorials styles to be able to set different styles base on templates
2015-10-14 14:17:09 +00:00
Ralf Becker
887cd00c4c allow to use alternate location name "hook_location", if app needs original name "location", like eg. calendar 2015-10-13 07:08:10 +00:00
Ralf Becker
2cc00a3c52 fix due to caching and reusing of connection not correctly set $this->Type == "mysql" 2015-10-12 18:35:11 +00:00
Ralf Becker
9f1b92aa1d fix due to caching and reusing of connection not correctly set $this->Type == "mysql" 2015-10-12 18:34:47 +00:00
Ralf Becker
414a3e675f special handling for $_POST[json_data] in _check_script_tag, to decend into its decoded content, fixing json direct might break json syntax 2015-10-12 13:27:16 +00:00
Ralf Becker
1971186597 special handling for $_POST[json_data] in _check_script_tag, to decend into its decoded content, fixing json direct might break json syntax 2015-10-12 13:26:34 +00:00
Ralf Becker
b56467a0c5 allow to overide egw_server_root used as key in egw_cache for tree- AND instance-level 2015-10-10 10:37:07 +00:00
Ralf Becker
9da4924f00 allow to overide egw_server_root used as key in egw_cache for tree- AND instance-level 2015-10-10 10:33:35 +00:00
Ralf Becker
60a5fec6a0 allow to reuse managed-id of existing attachment in PUT request by symlinking it, return correct xml-error for invalid mananaged-id
r53782: need to use our own readlink
2015-10-09 18:08:16 +00:00
Ralf Becker
20ede24957 fix CalDAVTester failure: managed-attachments: Simple non-recurring, non-scheduled update attachment: Test 4: rename of attachment via Content-Disposition:filename= 2015-10-09 18:04:40 +00:00
Ralf Becker
7ed6c0b3f1 Several fixed to cope better with CalDAVTester:
- adding priority=0=undefined to calendar, as it is iCalendar default
- no longer export iCalendar defaults PRIORITY=0, TRANSP=OPAQUE, CLASS=PUBLIC
- assume UTC if no timezone given, unfortunatly Horde_Icalendar currently does not tell UTC or local
- export DURATION instead of DTEND for UTC and duration less or equal 1 day (todo: store if user entered duration in db model, to be able export it as such again)
2015-10-09 18:03:45 +00:00
Hadi Nategh
61db4b7559 WIP EGroupware tutorial:
- Open autoload introduction tutorial from all apps
- Provide fallback tutorial
2015-10-09 15:09:34 +00:00
Hadi Nategh
55c6da3fa7 Some fixes for custom app-theme css:
- Make sure including css on ajax response respect app-theme
- Include app-theme for home portlets
2015-10-09 11:56:18 +00:00
Hadi Nategh
a378d19d2a Some fixes for custom app-theme css:
- Make sure including css on ajax response respect app-theme
- Include app-theme for home portlets
2015-10-09 11:46:45 +00:00
Hadi Nategh
52a3e2240c WIP EGroupware Tutorial:
- Add disable option in admin site configuration in order to be able to switch off the tutorials menu in sideboxes
2015-10-09 07:42:13 +00:00
Ralf Becker
b29df627a7 no longer store ADOdb object in session, also ensures reevaluating environment-data or multiple hosts in connection-data 2015-10-07 19:33:45 +00:00
Ralf Becker
51b60c5df6 no longer store ADOdb object in session, also ensures reevaluating environment-data or multiple hosts in connection-data 2015-10-07 19:33:22 +00:00
Ralf Becker
fb4c37d027 fix an other case were spinner is not removed due to a client-side javascript error 2015-10-07 09:32:43 +00:00
Ralf Becker
f8821f692f fix an other case were spinner is not removed due to a client-side javascript error 2015-10-07 09:32:22 +00:00
Ralf Becker
7fb8f641d1 fixed typo (wrong case) causing default DB capabilities to be returned and eg. giving an sql error when searching under MySQL in addressbook 2015-10-07 05:30:13 +00:00
Ralf Becker
50ed21bd7e fixed typo (wrong case) causing default DB capabilities to be returned and eg. giving an sql error when searching under MySQL in addressbook 2015-10-07 05:29:49 +00:00
Ralf Becker
0bbced7df2 move @/enviroment support from class-variables to local ones, to re-evaluate them on each request, class vars are stored in session 2015-10-06 20:00:06 +00:00
Ralf Becker
a269120683 move @/enviroment support from class-variables to local ones, to re-evaluate them on each request, class vars are stored in session 2015-10-06 19:57:52 +00:00
Nathan Gray
a2af10dd14 - Fix missing option check to work with options sent as an in-order array (label,value), fixes some custom fields not being properly set.
- Fix links to accounts (home-accounts) would not open properly when you click on them
2015-10-06 19:23:51 +00:00
Ralf Becker
9e1bd4fcb8 use same egw_exception_db_connection instead of die, if no DB host set, so it can be cought 2015-10-06 17:00:21 +00:00
Ralf Becker
1e54cfb117 use same egw_exception_db_connection instead of die, if no DB host set, so it can be cought 2015-10-06 16:59:54 +00:00
Hadi Nategh
aa81ae5e5d WIP EGroupware tutorial:
- Make popup size bigger
- Style tutorials list
2015-10-06 16:37:51 +00:00
Ralf Becker
f724e47b2d cant use @-syntax with passwords, as they can start with an @ 2015-10-06 13:11:05 +00:00
Ralf Becker
283b8bec33 cant use @-syntax with passwords, as they can start with an @ 2015-10-06 13:10:06 +00:00
Ralf Becker
223918a192 allow to read db-config from environment, by using "@name" to reference to name from environment 2015-10-06 12:45:26 +00:00
Ralf Becker
047105fb41 allow to read db-config from environment, by using "@name" to reference to name from environment 2015-10-05 18:58:55 +00:00
Hadi Nategh
a6837b6a40 WIP EGroupware tutorial:
-Add popup tutorials player
-List tutorials in sidebox with their titles and thumbnails only
2015-10-05 16:01:39 +00:00
Nathan Gray
060cf6073a Fix links to accounts (home-accounts) would not open properly when you click on them 2015-10-05 15:45:44 +00:00
Ralf Becker
a3035a57d5 * Calendar/Mail: fix edit action meeting-requests to NOT set content-disposition: attachment, as this seems to stop automatic processing in Exchange 2015-10-05 14:27:07 +00:00
Ralf Becker
816c9c0a96 * Calendar/Mail: fix edit action meeting-requests to NOT set content-disposition: attachment, as this seems to stop automatic processing in Exchange 2015-10-05 13:15:17 +00:00
Nathan Gray
cace3b27c9 Prevent apps from modifying favorites by reference.
Fixes projectmanager favorites stop working
2015-10-01 14:55:01 +00:00
Hadi Nategh
0d583634a8 support themes on application level: $app/templates/$template/app-$theme.css 2015-10-01 14:45:50 +00:00
Hadi Nategh
faf859d2aa Resize popup window till not getting horizontal scrollbar 2015-10-01 13:19:39 +00:00
Hadi Nategh
60011b644c Resize popup window till not getting horizontal scrollbar 2015-10-01 13:17:41 +00:00
Ralf Becker
cb5d0bd419 need to use our own readlink 2015-09-30 06:24:53 +00:00
Ralf Becker
c6ad6d2caa allow to reuse managed-id of existing attachment in PUT request by symlinking it, return correct xml-error for invalid mananaged-id 2015-09-30 03:27:29 +00:00
Nathan Gray
0438456ad3 Prevent apps from modifying favorites by reference.
Fixes projectmanager favorites stop working
2015-09-29 16:21:05 +00:00
Nathan Gray
6450e343c4 Admin bugfixes:
- Avoid error Cannot read property 'promise' of undefined
- Reduce wrong width in admin customfields or categories after you click 3 times
2015-09-29 14:39:50 +00:00
Ralf Becker
afa106cbf3 fix CalDAVTester failure: managed-attachments: Simple non-recurring, non-scheduled update attachment: Test 4: rename of attachment via Content-Disposition:filename= 2015-09-29 12:27:49 +00:00
Ralf Becker
8d476dae23 Several fixed to cope better with CalDAVTester:
- adding priority=0=undefined to calendar, as it is iCalendar default
- no longer export iCalendar defaults PRIORITY=0, TRANSP=OPAQUE, CLASS=PUBLIC
- assume UTC if no timezone given, unfortunatly Horde_Icalendar currently does not tell UTC or local
- export DURATION instead of DTEND for UTC and duration less or equal 1 day (todo: store if user entered duration in db model, to be able export it as such again)
2015-09-29 10:25:32 +00:00
Ralf Becker
4c21f5b19e multiple fixes around managed attachments and new Horde_Icalendar:
- no longer decodes base64 automatic
- size param have to be string due to bug in handling of integers in Horde_Icalendar
- allow stripping of non-binary (eg. text/plain) inline attachments
- only add X-EGROUPWARE-ATTACH-INCLUDED, if we have a real managed attachment
- store external / url attachments as other unsupported attributes
2015-09-29 07:38:09 +00:00
Ralf Becker
b34cbded3a multiple fixes around managed attachments and new Horde_Icalendar:
- no longer decodes base64 automatic
- size param have to be string due to bug in handling of integers in Horde_Icalendar
- allow stripping of non-binary (eg. text/plain) inline attachments
- only add X-EGROUPWARE-ATTACH-INCLUDED, if we have a real managed attachment
- store external / url attachments as other unsupported attributes
2015-09-29 07:37:15 +00:00
Ralf Becker
1d2d9e2478 we can NOT use 204 No content (forbidds a body) with return=representation, therefore we need to use 200 Ok instead 2015-09-28 13:16:15 +00:00
Ralf Becker
b49a967cf1 we can NOT use 204 No content (forbidds a body) with return=representation, therefore we need to use 200 Ok instead 2015-09-28 13:15:36 +00:00
Hadi Nategh
7a4a5ac076 WIP EGroupware tutorial:
- Add css class to egw_tutorial div container
2015-09-28 12:25:56 +00:00
Hadi Nategh
1d43c74ea6 WIP EGroupware tutorial:
- Make sure to not create etemplate2 object for an empty container
- Fix fallback lang not working
2015-09-28 09:34:09 +00:00
Hadi Nategh
3bc2e1077c WIP EGroupware tutorial:
- Implement a hook for application specific video tutorials
- Allow iframe widget to cooperate with fullscreen video play mode
2015-09-25 15:18:35 +00:00
Klaus Leithoff
599e29dee1 fix problem with possible json_encode problem (removing all initial data from mailbody) on reply/forward 2015-09-24 10:53:02 +00:00
Klaus Leithoff
397d5a6d36 fix problem with possible json_encode problem (removing all initial data from mailbody) on reply/forward 2015-09-24 10:06:22 +00:00
Nathan Gray
711ca55433 Some more changes to egw.css to try to avoid it randomly losing rules in iframes 2015-09-23 16:22:47 +00:00
Nathan Gray
9e9cbc2fa1 Some changes to egw.css to try to avoid it randomly ignoring rules in iframes.
Reduces wrong width in admin customfields or categories after you click 3 times.
2015-09-22 23:43:20 +00:00
Nathan Gray
30c7669588 Return Deferred promise when app handles the link, avoids error Cannot read property 'promise' of undefined 2015-09-21 22:34:45 +00:00
Nathan Gray
741e6e02af Return Deferred promise when app handles the link, avoids error Cannot read property 'promise' of undefined 2015-09-21 20:27:07 +00:00
Ralf Becker
0f0728316d support themes on application level: $app/templates/$template/app-$theme.css 2015-09-18 15:53:20 +00:00
Ralf Becker
645439eaf0 UCS lowercases email when storing 2015-09-18 07:20:08 +00:00
Ralf Becker
3b596f061e UCS lowercases email when storing 2015-09-18 07:18:58 +00:00
Nathan Gray
249732b594 Access dialog
- If current app has no special support, show general dialog instead of message
- Sort apps in add dialog
- Filter app list (filter2) to all apps for run rights, or only supporting apps otherwise
2015-09-16 15:54:51 +00:00
Hadi Nategh
bd21376303 Mailvelope backup/restore integration WIP:
- Add & Fix some more translation
2015-09-16 15:32:33 +00:00
Hadi Nategh
5de5c82813 Mailvelope backup/restore integration WIP:
- Add some translation
2015-09-16 15:01:52 +00:00
Hadi Nategh
078b5acf80 Fix broken sidebox app header refresh caused by commit 53643 2015-09-16 13:35:15 +00:00