Commit Graph

248 Commits

Author SHA1 Message Date
Ralf Becker
f427baa191 fix user-agent detection to correctly detect "Mozilla/5.0 (Linux; Android 4.3; LT30p Build/9.2.A.1.205) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.117 Mobile Safari/537.36" as Chrome 2015-03-30 08:27:04 +00:00
Ralf Becker
042c8bc3cc move code for html or javascript content-type headers from webdav to html class and use it for attachments too 2015-02-14 19:32:57 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +00:00
Ralf Becker
1d668d5a10 enhance server-side mobile browser detection (windows phone, blackberry, kindle, ...) and fix IDE warnings 2014-11-21 09:31:39 +00:00
Klaus Leithoff
d54c88e047 * Mail: fix for messed up plain-text signature in some cases 2014-10-10 10:10:36 +00:00
Ralf Becker
85c5468013 fixed old tree stuff to use new dhtmlx locations, allways use dhtmlxtree/codebase/dhtmlxcommon.js 2014-06-03 08:17:43 +00:00
Klaus Leithoff
7434cd7144 * Mail: fix for messed up signature in some cases; fix for not beeing able to delete/remave an attachment to a new mail that was attached using PRESET methods 2014-04-29 09:53:47 +00:00
Klaus Leithoff
04760c6510 rework of translation::replaceTagsCompletley as the prior method removed too much in rare cases 2014-04-14 15:09:07 +00:00
Ralf Becker
659ad40b50 display old html::form_1button like a button inline-block 2014-03-25 12:17:46 +00:00
Klaus Leithoff
a46398da52 move groupdav to_ascii to translation class; unify content_header and content_disposition_header to be used by all downloads; adapt vfs_webdav_server thereof; try to improve replaceTagsCompletley 2014-02-25 15:48:23 +00:00
Ralf Becker
e22df1b7e2 fixed user agent detection to report correct IE version to fix not longer used svg images after last fix, also fixed all IDE warnings 2014-02-18 19:21:34 +00:00
Klaus Leithoff
1c013e92f0 IE changed its USER_AGENT string; html:: report trident; change this to msie when detected, to match the use of msie throughout egroupware; use moonocolor as fallback skin, when ie anf ff are detected 2014-02-17 13:56:17 +00:00
Ralf Becker
80d74f863e fixed typo in adding classes causing image to be lost and cleaned up adding of classes 2014-02-13 11:00:29 +00:00
Ralf Becker
197b999d35 adding a css class for cancel, delete or yes/no buttons to "old" etemplate 2014-02-12 15:36:47 +00:00
Ralf Becker
28df2d8125 fixed buttons with just an image from html::submit_button() were shown like a button after changing tag from <input type="submit" to <button 2014-02-11 16:52:45 +00:00
Ralf Becker
1b9c5d1363 display configuration with et2 like [save] [apply] [cancel] buttons, incl. old eTemplate apps 2014-02-05 16:25:35 +00:00
Ralf Becker
84d20661c2 fixed problem reported by Pedro Ribeiro 2014-02-04 13:50:23 +00:00
Klaus Leithoff
8276a2a448 fix for problem with style fragments on triggering mail compose build in html validation 2014-01-18 17:02:29 +00:00
Ralf Becker
7879e7ac2e disabling choosen by default, as we did in et2 2014-01-18 11:08:06 +00:00
Ralf Becker
c68ae86a18 fixed check for template specific tree-images-directory in html::tree, jdots was using it, without having one 2013-11-18 22:05:04 +00:00
Ralf Becker
8e69433829 use template specific images for foldertree, use "template" handler for all calls to template/framework object, NOT instanciating a new one using eg. a parent class 2013-11-15 16:28:24 +00:00
Ralf Becker
38504680b7 setting CSP attributes needed by CKeditor now automatic when egw_ckeditor_config::get_ckeditor_config(_array) get called 2013-10-14 10:42:36 +00:00
Klaus Leithoff
cce86e346e silence permanent error log 2013-10-10 09:25:04 +00:00
Klaus Leithoff
77d28bad75 allow to set config via json_encoded string for purify wrapper 2013-10-10 09:23:55 +00:00
Ralf Becker
43e1bfcc12 switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it 2013-10-05 13:33:28 +00:00
Ralf Becker
6f39b0618d using dhtmlxtree from sources instead of codebase directory, as does et2_widget_tree, to not double load it and causing 2. load to overwrite extensions from 1. 2013-08-01 11:19:14 +00:00
Nathan Gray
f65680a7ae Add CSS to better match egw. Fix chosen sizes using new width attribute. Not perfect, but at least never too small. 2013-07-25 20:28:32 +00:00
Ralf Becker
792f1b26cc replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document 2013-07-17 12:47:21 +00:00
Klaus Leithoff
4ac1cd196c * API: introduce optional parameter to pass java script to be executed after CKEDITOR instance ready 2013-04-08 12:48:45 +00:00
Klaus Leithoff
16a1970cca add egw.LAB.wait to tree creation, as dhtmlxtree object may not be loaded on time 2013-04-02 13:36:58 +00:00
Klaus Leithoff
07f21d1291 make sure CKEDITOR is loaded, using egw.LAB.wait 2013-04-02 12:13:27 +00:00
Nathan Gray
ef2a5d377d Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors 2013-04-01 19:14:52 +00:00
Klaus Leithoff
77c15b226c * API/CKEditor: allow more space for html-editable area (by setting smaller margin) 2013-03-21 11:06:51 +00:00
Klaus Leithoff
a3ef1985ec switch to CKEditor4 2013-03-14 16:30:55 +00:00
Klaus Leithoff
203316af08 improve focus management by forcing carent in all browsers to be placed at the start of the loaded document 2013-03-08 13:14:14 +00:00
Klaus Leithoff
a2e75c3ca4 further work regarding the editor focus 2013-03-06 09:17:21 +00:00
Klaus Leithoff
2b27946d6f * eMail/api: attempt to fix the focus on body issue with FF; thanks to CKEditor support 2013-03-04 11:50:17 +00:00
Klaus Leithoff
2315944590 preset font span, omit empty style elements completely 2013-02-22 09:27:35 +00:00
Ralf Becker
0c11206d91 change default font unit for new installs to "pt" and fixed not set font-size in email 2013-02-21 13:19:15 +00:00
Ralf Becker
f158a8c5d2 * Preferences/all apps: allow to specify font size unit of richtext editor: either "px" display pixels or "pt" as used in word processing 2013-02-21 11:32:46 +00:00
Nathan Gray
c067e2ccb7 Do the check in a way that matches correctly for all 2012-12-11 15:31:35 +00:00
Nathan Gray
cf5269f6d1 Check for empty user font preference span, and remove it so empty checks still work 2012-12-10 23:10:58 +00:00
Nathan Gray
cbb88e22cb Remove other places trying to set default ckEditor toolbar mode - using common preference 2012-12-05 20:22:13 +00:00
Nathan Gray
85c15e42fd Use preference for ckEditor features by default 2012-12-05 19:58:37 +00:00
Nathan Gray
3ee18797b0 Rework common preferences
- Better grouping
- Added preferences for rich text editor
  - Font
  - Font size
Take effect on new, blank editors.  Existing data is untouched.
2012-12-04 22:21:59 +00:00
Nathan Gray
8b55a21206 More changes to use chosen for fancy selectboxes - apply to egw multi-select and select user too 2012-11-13 22:14:00 +00:00
Nathan Gray
f72a582532 Use chosen plugin for to get fancy selectboxes. Selectboxes with more than 12 options get it turned on automatically 2012-11-12 19:29:23 +00:00
Klaus Leithoff
c888134a04 * email: fix for ->no initial border on plaintext editor textarea<- 2012-08-15 14:55:02 +00:00
Ralf Becker
3459a34a9f limit IE hack (no attachment in Content-disposition header) to IE < 9 2012-07-03 09:33:26 +00:00
Ralf Becker
0c6d80d778 * API/Admin: add user-agent to accesslog and sessions, add sessionid to history to better identify what was causing changes in history 2012-06-01 13:13:06 +00:00