ralf
52cca3676e
Revert "reinsert filtered <style></style> section at initial position"
...
It seems to lead to a significant higher memory usage and did NOT fix the problem it was supposed to fix (empty line above email after sending)
This reverts commit 4e0bb13571
.
2022-09-13 08:24:11 +02:00
ralf
e916dda8a6
disallow https-urls too
2022-09-12 12:50:31 +02:00
ralf
4e0bb13571
reinsert filtered <style></style> section at initial position
...
no longer at the beginning as this can insert unwanted extra lines in mail, if signature contains a style block
2022-09-08 16:52:49 +02:00
ralf
2d0de5f287
another chunk of fixed PHP Warning: Undefined array key or variable in api
2022-04-26 20:24:37 +02:00
Hadi Nategh
f62ff90444
Accept mail externalImages with long url
2021-10-08 14:30:04 +02:00
Hadi Nategh
ffeb929b49
Fix wrong condition on checking url strlen
2021-10-06 11:09:32 +02:00
Ralf Becker
fed41622c2
fixing all sorts of PHP 8 errors and PHPStorm errors
2021-03-31 17:50:01 +02:00
Ralf Becker
8f1383b973
replace create_function no longer available in PHP 8
2021-03-29 20:33:07 +02:00
Ralf Becker
ffc048d472
fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc
2021-03-21 18:27:09 +01:00
Hadi Nategh
6ba8210d83
Avoid requesting external images with mixed content
2020-06-30 15:54:21 +02:00
Ralf Becker
d8289ef29d
stricter CSP policy
2020-01-28 17:14:51 +01:00
Hadi Nategh
c5c09c4f9f
Deprecate CKEDITOR and remove it from source
2019-01-25 12:41:13 +01:00
nathangray
089baa12a9
Avoid warning if no external domain preference set
2019-01-04 10:38:09 -07:00
Hadi Nategh
44ef6a0a30
W.I.P. implementing TinyMCE editor and deprecating CKEditor:
...
- Fix CKEditor widget
- Fix editor doesn't work if no imageUpload is set
2018-10-23 17:10:33 +02:00
Hadi Nategh
5f3b59fe3d
Remove meta tag by HtmLawed
2018-06-18 11:08:46 +02:00
Ralf Becker
54ee23e731
use error-image from api not old phpgwapi
2018-05-20 13:22:46 +02:00
nathangray
5ceea5b93e
Slightly more robust checking for "blank" HTML area in case CKEditor adds some styles
2018-05-11 15:00:12 -06:00
Hadi Nategh
d2859d5cee
* Mail: Fix "tel:" href links wrongly get denied by mail compose
2018-03-05 18:16:12 +01:00
Hadi Nategh
594bd63181
* Mail/Admin: Fix upload picture into mail signature from editor image browser does not work.
2017-12-06 16:25:43 +01:00
Hadi Nategh
a93722959b
Use filemanager_select for old etemplate apps
2017-12-01 11:05:32 +01:00
Hadi Nategh
3465c40b50
Remove unsafe-eval CSP for CKEditor
2017-11-02 11:02:16 +01:00
Hadi Nategh
ff4396030a
Fix CKEditor Browse Server button to open vfsSelect
2017-10-20 18:55:22 +02:00
Hadi Nategh
23aea3864c
Keep allowExternalIMGs preference intact and use an explicit preference for allowed domains
2016-12-02 10:09:56 +01:00
Hadi Nategh
6ed3b92298
Work in progress of mail external image handler:
...
- Fix styling
- Add handler for mobile and display
2016-11-24 14:35:54 +01:00
Hadi Nategh
5fb70c77ab
Work in progress of mail external image handler
2016-11-23 18:52:43 +01:00
Hadi Nategh
c3fb98f3c1
Try to correct ckeditor references point to vendor directory
2016-10-07 12:15:03 +02:00
Hadi Nategh
57349e6386
Remove spellchecker lang from preferences
2016-10-06 18:30:37 +02:00
Hadi Nategh
93f3826259
Update HTMLawed into version 1.1.22
2016-10-05 16:18:06 +02:00
leithoff
00000dbeee
mind namespace when calling hook_tag function
2016-05-24 16:01:55 +02:00
Hadi Nategh
8708d598ff
Remove unsupported skins from CKEditor
2016-05-06 14:12:57 +00:00
Ralf Becker
b6403e336e
move common::get_tpl_dir to Api\Framework\Template::get_dir, and replaced some other overlooked methods
2016-04-27 19:11:41 +00:00
Ralf Becker
c14f25c0e8
hide spellchecker config and always use browser native spellchecker
2016-04-25 20:14:47 +00:00
Ralf Becker
2e3bd32721
moving all - non ancient ;-) - js files to api/js
2016-04-07 10:38:05 +00:00
Hadi Nategh
aca15a2a97
Mobile theme W.I.P.:
...
- Alway use flat skin for ckeditor regardless of preference
- Add freetimesearch dialog
2016-04-06 16:45:32 +00:00
Ralf Becker
2bd9c7c7e5
fix some wrong case usages of new Api\Html class
2016-03-29 09:13:46 +00:00
Ralf Becker
5f68bc6664
move html mail specific part of translation class to Api\Mail\Html
2016-03-28 19:38:21 +00:00
Ralf Becker
00abda4682
moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving
2016-03-28 18:51:38 +00:00
Ralf Becker
77c5102792
fixed more namespace issues found by doc/check_namespace.php I wrote and forgot about it ;-)
2016-03-21 21:21:40 +00:00
Klaus Leithoff
5fc0e88b68
fix issues with new namespaces / translation class moved to new api/src location
2016-03-17 09:29:54 +00:00
Ralf Becker
99714aa9e9
move egw_framework::csp_*_source_attrs($attrs) to Api\Header\ContentSecurityPolicy::add(*-src, $attrs) and egw_ckeditor_config to Api\Html\CkEditorConfig
2016-03-13 14:08:31 +00:00
Ralf Becker
02bf09aaae
move egw_htmLawed to api/src/Html/HtmLawed, @Klaus: does mail really need to call that class, cant it use Html::purify?
2016-03-13 11:56:00 +00:00