Commit Graph

202 Commits

Author SHA1 Message Date
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
Klaus Leithoff
2509d7783f attempt of switching from htmlpurifier to htmLawed and replacing kses by htmLawed calls; this is done for performance and resource considerations; still the common call in egw is by html::purify, but htmLawed is doing the work now. let me know if there are issues regarding; if we cannot find issues within EGroupware, we will clean out the related sourcecode of kses and htmlpurifier with the next step 2012-05-25 12:23:11 +00:00
Ralf Becker
18e2ba28fc * most apps: fixed rich-text editor to allow to enter < and > eg. html markup in regular input mode (not source) 2012-04-11 14:52:08 +00:00
Ralf Becker
3e4ef81080 load wz_tooltips only if required: $GLOBALS[egw_info][flags][include_wz_tooltip] set or html::tooltip() called before calling common::egw_header(), calling header again as end of home page to allow apps to load stuff into the header (not only wz_tooltip) 2012-04-04 13:05:58 +00:00
Klaus Leithoff
e05db77a24 add a function to create a HTML-Purifier config to clean up HTML 2012-01-16 08:31:16 +00:00
Klaus Leithoff
904917af86 API/tree: do not check parent treenodes if not expizitly selected 2012-01-09 14:45:24 +00:00
Klaus Leithoff
e0853e2bd2 check availaility of htmlarea before opening compose as html or html mails as html for reply; implement check based on http_user_agent for user agent known to be not compliant with ckeditor (android); allow class attribute for div, blockquote, a and img 2011-10-31 10:28:30 +00:00
Klaus Leithoff
4effb9931e fix problem with double encoding html special chars (introduced with rev36141) 2011-08-26 08:21:04 +00:00
Ralf Becker
697a113171 url need to run throught htmlspecialchars too (like every attribute in html markup), eg. "x&reg_id=" fails otherwise 2011-08-16 11:44:33 +00:00
Hans-Jürgen Tappe
b176cb9256 - Allow sitemgr blocks to be moved between pages, categories and websitewide
(previously only moving from a page up to the cat, then up globally was
  possible).
- Allow options within a select to be formatted through the standard
  html::select_option() function
2011-08-15 16:25:08 +00:00
Ralf Becker
4f60da9af5 differenciate in our serverside user-agent detection between Chrome and Safari, and disable html5 form validation for float, as Chrome 12 rejects float values with comma as decimal separator 2011-07-07 11:50:06 +00:00
Ralf Becker
3f6fcf60d2 support for some html5 form features, if browser supports it 2011-06-30 15:19:08 +00:00
Ralf Becker
f8d2bd1e6b - introduced preference of type "color"
- modernized color picker a litle to give a visual feedback of the color
2011-06-04 09:30:46 +00:00
Ralf Becker
c5e6b56503 missed UA check was caseinsensitiv 2011-06-03 09:09:25 +00:00
Ralf Becker
17fa23843c reworked mobil browser detection to use html::$ua_mobile to be in line with other html class stuff 2011-06-03 07:47:11 +00:00
Andreas Stöckel
a4730b3511 Added mobile browser detection function 2011-06-02 22:52:12 +00:00
Ralf Becker
61c0b251c3 * IE9: enable IE dropdown menu hack only for IE<9, as it stalls IE9 www.stylite.de bug #1722 2011-05-31 07:55:51 +00:00
Ralf Becker
019ec56408 get new ajax canned responses working with multiline responses 2011-03-30 11:40:14 +00:00
Ralf Becker
3851389fdc param for html::tree() to enable drag-n-drop (can not be done later, if autoloading is used!) 2010-12-28 02:59:03 +00:00
Ralf Becker
515e84b96c hopefully last attempt to get correct handling of '0', 0 and '' (first should be treated equal, last not) 2010-12-20 20:57:35 +00:00
Ralf Becker
d6141a6d18 fixed in handling of 0 as value in checkbox_multiselect (was always selected before) 2010-12-19 21:54:37 +00:00
Klaus Leithoff
b0a6d6e40c adding sub and superscript to purifier config 2010-12-14 14:57:02 +00:00
Klaus Leithoff
b55bb74988 doubleencoding issue and performance issue regarding the use of html::htmlspecialchars 2010-10-20 13:16:21 +00:00
Ralf Becker
1e1df2fe2c setting overflow: auto after constructor call, as new dhtmlXTree has hidden hardcoded 2010-10-18 12:19:38 +00:00
Ralf Becker
a6c1f34be7 allow to autoload and/or supply initial tree via json 2010-10-15 16:19:31 +00:00
Klaus Leithoff
a2919ecd3b improve convertHTMLToText, for toggle editor and mail2infolog process; better control of insert Signature at Top. Only insert the signature, when the compose window is opened the first time (compose/reply/forward), dont do it if sending failes, and the compose window is refreshed (in general when mySigID is set) 2010-08-31 14:23:58 +00:00
Andreas Stöckel
da54059fd1 Fixed problem with toolbar not being expanded and removed bottom breadcrumb bar 2010-07-21 11:45:05 +00:00
Klaus Leithoff
99bd207983 fix for bug targets (if specified with HTML Links in CKEditor) do not szrvive purify. Chr.Fueller investigated Attr.AllowedFrameTargets as cause of the issue 2010-07-06 13:50:55 +00:00
Andreas Stöckel
dd3496be0b Replaced old ckeditor configuration code with own class, fixed felamimail to work with it 2010-06-25 10:01:53 +00:00
Andreas Stöckel
4d88b00e02 Moved ckeditor configuration to own php file which generates js, in order for easier implementation in etemplate 2 2010-06-24 14:23:56 +00:00
Andreas Stöckel
7545d93cbc Fixed problem with indent not working with new CKEditor3 2010-06-24 08:38:56 +00:00
Andreas Stöckel
9f7fd714f5 Fixed filemanager path not properly set for ckeditor 2010-06-21 15:02:09 +00:00
Ralf Becker
7006bbd457 default for html::initCKEditor 3. parameter, to fix warning in fmail 2010-06-10 16:19:08 +00:00
Ralf Becker
22dcb1c5de fixes to be able to start CKEditor without expanded toolbar 2010-06-10 13:21:23 +00:00
Ralf Becker
0d05a9ce40 allow to call html::tree(null,null) to get just the javascript, eg. to include it in header 2010-06-04 20:06:41 +00:00
Klaus Leithoff
97b1130a36 -added aspell as plugin, as it is not available by default anymore.
phpgwapi/js/ckeditor3/plugins/aspell
-changed phpgwapi/js/ckeditor3/plugins/aspell/spellerpages/server-scripts/spellchecker.php
 to allow only configured aspell, tmp dirs and language settings
-removed other than php spellchecker pages from phpgwapi/js/ckeditor3/plugins/aspell/spellerpages/server-scripts/
-added toolbar options to reflect the use/change of calls of SpellCheck(er) via toolbar button
configure options for CKeditor to use aspell (if available) or/and scayt
2010-06-02 15:22:14 +00:00
Andreas Stöckel
8bbcafe1c0 Added workaround for bug with CKEdito being too tall 2010-05-31 11:44:08 +00:00
Klaus Leithoff
f6e2163b91 control height of CKEditor; set a more convinient height for signature edit 2010-05-28 08:07:17 +00:00
Klaus Leithoff
226908f7ab enable toggling of plain to CKEDITOR in felamimail; documenting changes to ckeditor with phpgwapi/js/ckeditor3/egw_integration.txt 2010-05-27 14:37:37 +00:00
Klaus Leithoff
bc2f709a4d improved skin control, if skin is not chosen by user/default 2010-05-27 10:06:40 +00:00
Andreas Stöckel
8973b4c9b5 Added default skins and added code which converts old ckeditor skins to new ones 2010-05-27 08:04:47 +00:00
Andreas Stöckel
0802dd072b Fixed bug with CKEditor 3.2.1 not being loaded in some applications 2010-05-26 08:43:01 +00:00
Andreas Stöckel
99106024c4 Made CKEditor checking, whether the given skin actually exists 2010-05-25 14:50:58 +00:00
Andreas Stöckel
12c03a226d Added support for the new CKEditor 3.2.1 2010-05-25 07:47:57 +00:00
Klaus Leithoff
f18fc53362 allow |align|style|width|height for img 2010-05-03 09:00:16 +00:00
Klaus Leithoff
798b7faf78 allow style in divs 2010-04-22 12:09:51 +00:00
Klaus Leithoff
e4e8e89f13 allow h4-6 in default purifier definition 2010-04-22 11:20:00 +00:00