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
Klaus Leithoff
2914b02d12
add h4,h5,h6 for purify whitelist
2010-04-16 12:32:58 +00:00
Klaus Leithoff
145423add8
add h4,h5,h6 for purify whitelist
2010-04-16 12:10:18 +00:00
Ralf Becker
a0f5ff9dd5
"get FCK spellchecker and filebrowser working with session-id in url"
2010-04-13 15:12:09 +00:00
Ralf Becker
22630b849a
fixed problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com>
2010-02-13 01:19:27 +00:00
Klaus Leithoff
995940eeb5
small improvements regarding the tooltip behavior for calendar
2010-02-02 11:23:11 +00:00
Ralf Becker
e73dcb2a27
fixed colorpicker (as not using current color) and added colorpicker widget to etemplate
2010-01-30 23:55:36 +00:00
Ralf Becker
49b237ec72
handing argument types for wz_tooltips and only using UnTip(), if tooltip is NOT sticky
2010-01-24 03:15:12 +00:00
Ralf Becker
4600c7cb38
Imported latest version of wz_tooltips (5.31) as they no longer need to
...
process the whole dom tree to enable the tooltips.
(Also made the changed from r23372 again)
2010-01-17 03:20:45 +00:00
Klaus Leithoff
493789cec5
extend some debug infos in egw_sessions; add a 4th param to replaceTagsCompletley in translation class; prepare some more htmlpurifier stuff in order to use it for the activation of links; wrap the creation of the htmlpurifier default config in a function, to be used as config object for changes when about to be used with html::purify
2009-12-02 14:56:41 +00:00
Klaus Leithoff
c8323fc034
hack to influence selectbox width behavior for MSIE; applied to all selectboxes created by html::select and etemplate.js loaded
2009-11-28 14:32:33 +00:00
Ralf Becker
58b4f7b487
fixed docu
2009-11-28 10:52:20 +00:00
Ralf Becker
51f8d5b7b0
egw_vfs::download_url requires egw::link, as it is relative to egroupware dir
2009-11-28 10:31:20 +00:00
Klaus Leithoff
b29fdf18dc
switching to modern purifier notation, as of in 4.0 the old style is deprecated
2009-11-27 09:32:22 +00:00
Klaus Leithoff
d228a33ff1
take care that charset and tempdir have appropriate values, no matter if they are initialized at the time
2009-11-24 11:18:06 +00:00
Klaus Leithoff
badbc1fead
refine purify definition to allow for anchor tags
2009-11-21 17:24:36 +00:00
Klaus Leithoff
84b0a80b5a
improve html purify's default filtering
2009-11-19 15:13:14 +00:00
Klaus Leithoff
4515b1fec0
adding html.allowed to purify with list of allowed tags; providing the ability to switch off purify, when calling fckEditorQuick (useful, when the cleanup is already done)
2009-11-19 11:13:36 +00:00
Klaus Leithoff
e99af0dfd6
revert of the change in r28264 as it would allow crossside scripting
2009-11-05 09:06:41 +00:00
Klaus Leithoff
5a4f03cf7b
fixing a problem regarding the activation of links encoded with htmlspecialchars
2009-11-05 08:40:57 +00:00
Ralf Becker
4e21b766b9
- reworked old browser class to use have only static methods
...
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
instead
2009-10-11 11:37:46 +00:00
Ralf Becker
232252475f
patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
...
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
7049fe4bc0
- implemented htmlpurifier also for sitemgr (only non site-admins) and
...
knowledgebase
- html::fckEditor() has optional parameter to NOT use htmlpurifier
2009-05-19 19:23:38 +00:00
Ralf Becker
8f797be836
Added HTMLPurifier ( http://htmlpurifier.org/ ) Version 3.3.0
...
- can be used via html class like:
$clean_html = html::purify($html);
- using it now in eTemplate to remove malicious code from html:
a) when displaying "formatted text"
b) when "formatted text" get's input by the user
2009-05-19 17:32:06 +00:00
Klaus Leithoff
86f1dde06f
configurable favicon, configurable vfs image store for images, logos, icons
2009-05-13 14:33:36 +00:00