58 Commits

Author SHA1 Message Date
Daniel Ziegenberg
877ac800cd
MDL-74823 lib: HTMLPurifier upgrade to 4.16.0
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2022-11-17 18:26:28 +01:00
Daniel Ziegenberg
be7f6d4834
MDL-74823 lib: normalize line endings for HTMLPurifier
Prior to this change, all the line endings in the imported HTMLPurifier
library were using CRLF (\r\n aka Windows style), but the HTMLPurifier
source and also the downloadable artefacts use LF (\n aka Linux style)
as line endings. This has been the case since
510d190382003985eafd6f4407190d43509016a5 when with the commit
"MDL-38672 import HTML Purifier 4.5.0" all line endings were changed
from LF to CRLF. There was no comment in the commit on why this change
was done.

As the original source uses LF, this commit partly reverts
510d190382003985eafd6f4407190d43509016a5 and goes back to LF as line
endings.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2022-11-17 18:26:26 +01:00
Daniel Ziegenberg
90f8efa6b3
MDL-74823 lib: HTMLPurifier upgrade to 4.14.0
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2022-11-17 18:26:14 +01:00
Jake Dallimore
3d5c1693b9 NOBUG: Fixed file access permissions 2021-01-22 11:30:38 +08:00
Peter Dias
af73671e65 MDL-70290 core: Update the lib's xml and upgrade files 2021-01-14 07:58:29 +08:00
Peter Dias
6a32601010 MDL-70290 core: HTMLPurifier upgrade to 4.13.0 2021-01-14 07:57:58 +08:00
Adrian Greeve
fd7764deb8 NOBUG: Fixed file access permissions 2020-01-24 10:16:48 +08:00
Jun Pataleta
21b0f581e1 Merge branch 'MDL-67115' of https://github.com/stronk7/moodle 2020-01-23 15:12:56 +08:00
Eloy Lafuente (stronk7)
9cdbacf387 MDL-67115 htmlpurifier: php74 params order for implode()
Passing parameters to implode() in reverse order is deprecated, use
implode($glue, $parts) instead of implode($parts, $glue).

This commit corresponds to general search of wrong cases.
2020-01-19 18:47:28 +01:00
Shamim Rezaie
28bc46092e MDL-67372 libraries: Upgrade HTML Purifier to version 4.12.0 2020-01-16 14:21:40 +11:00
Eloy Lafuente (stronk7)
30e5aca81d MDL-67030 htmlpurifier: add details to readme 2019-11-16 20:03:18 +01:00
Eloy Lafuente (stronk7)
9fbe33a6a2 MDL-67030 htmlpurifier: php74 fixup for htmlpurifier v4.10.0
This simply applies this pull request:

https://github.com/ezyang/htmlpurifier/pull/224

straight to our library. Once there is some new htmlpurifier
release available (>v4.11.0) we'll be back upstream because
the fix will be included.
2019-11-16 20:03:18 +01:00
Eloy Lafuente (stronk7)
8cc72cc764 NOBUG: Fixed file access permissions 2019-07-18 17:11:32 +02:00
Mihail Geshoski
324aa89ac4 MDL-65742 lib: Update HTMLPurifier version in Moodle related files 2019-07-15 08:43:16 +08:00
Mihail Geshoski
e80855b0da MDL-65742 lib: Upgrade HTMLPurifier lib to 4.10.0 2019-07-15 08:43:16 +08:00
Andrew Nicols
ebb4244bf4 Merge branch 'wip-MDL-60337-master' of git://github.com/marinaglancy/moodle 2017-10-16 15:40:44 +08:00
Jake Dallimore
6d88e204cf NOBUG: Fixed file access permissions 2017-10-06 14:34:29 +08:00
Marina Glancy
a3cc6261fc MDL-60337 htmlpurifier: non-ascii domain names 2017-10-03 18:57:11 +08:00
Adrian Greeve
7c1177649d MDL-58548 lib: Update to moodle specific files.
Update to moodle specific files related to the upgrade
of htmlpurifier.
2017-10-02 08:19:40 +08:00
Adrian Greeve
247ff6bc2b MDL-58548 lib: Update htmlpurifier to the latest version. 2017-10-02 08:19:40 +08:00
Eloy Lafuente (stronk7)
42b5234209 NOBUG: Fixed file access permissions 2016-10-20 17:52:32 +02:00
Adrian Greeve
f34d7af0ae MDL-55087 lib: Update to htmlpurifier lib. 2016-10-17 08:43:41 +08:00
Adrian Greeve
b36b997b7f MDL-55087 lib: Update htmlpurifier to v4.8.0. 2016-10-17 08:43:41 +08:00
Cameron Ball
1688564a6e MDL-52651 htmlpurifier: Append rel=noreferrer to links.
Thank you to Zachary Durber for originally working on this issue.
2016-03-08 02:05:55 +01:00
Dan Poltawski
8dd00c98f2 NOBUG: Fixed file access permissions 2015-10-08 11:36:35 +01:00
Damyon Wiese
7fa6b58762 MDL-51532 libraries: Update htmlpurifier to 4.7.0 2015-09-30 11:55:03 +08:00
Tony Butler
817b202018 MDL-46286 lib_htmlpurifier: Add allowed URI scheme for RTMP
Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
2014-07-11 15:52:34 +01:00
Petr Škoda
6becafba0e MDL-44516 import htmlpurifier 4.6.0 2014-03-14 12:11:49 +08:00
Damyon Wiese
9ee29404be Fix permissions 2013-03-28 14:36:33 +08:00
Petr Škoda
510d190382 MDL-38672 import HTML Purifier 4.5.0 2013-03-24 18:00:44 +01:00
Petr Skoda
590abcf801 MDL-32427 fix suport for extra schemes in links in HTML Purifier 2012-04-23 10:29:43 +02:00
Petr Skoda
e9df54952c MDL-31785 import HTMLPurifier 4.4.0+
Includes one extra fix for _blank 8c9d461a6259d7b8ac4ae5c9c9e95ab176cfcda3 compared to 4.4.0 release.
2012-03-03 11:11:48 +01:00
Gerard (Gerry) Caulfield
ce8df92df1 MDL-31107 Fixing instaces of below where it is written as bellow (two L's) 2012-02-10 15:40:04 +08:00
Eloy Lafuente (stronk7)
329b79139e Fix permissions 2011-04-20 11:08:21 +02:00
Petr Skoda
88efb586b4 MDL-25826 import HTMLPurifier 4.3.0 2011-04-09 10:05:27 +02:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
f71c7f00df MDL-24223 latest HTMLPurifier - finally removing most of our hacks 2010-09-16 20:02:54 +00:00
Petr Skoda
c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda
8b3c13d877 MDL-23984 implementing a bit different hack to force htmlpurifier to create dirs with our premissions, I suppose we should send a bit different patch upstream later (custom dir permission setting) 2010-08-29 09:16:38 +00:00
Petr Skoda
c004706bcd MDL-23948 prevent HTMLPurifier from changing permissions in serializer code - we have a special setting for this in config.php already 2010-08-28 16:12:11 +00:00
Petr Skoda
2e23ad80c4 MDL-23097 latest htmlpurifier 4.1.1 2010-07-05 21:09:54 +00:00
Sam Hemelryk
8ac11ff286 htmlpurify MDL-22654 Implemented solution to fix issues rising from HTML purify normalising line breaks 2010-06-03 03:34:05 +00:00
Petr Skoda
7ff7f704d1 MDL-22537 new html purifier 2010-05-21 10:40:56 +00:00
Andrew Davis
c78a948e8c all areas MDL-20821 Replaced instances of ereg_replace and eregi_replace with preg_replace 2009-11-17 01:36:35 +00:00
skodak
97f973f922 MDL-19871 imported htmlpurifier 4.0.0 2009-07-19 11:56:56 +00:00
skodak
63e6a80976 MDL-19183 imported HTMLpurifier 3.3.0 2009-05-14 08:31:11 +00:00
skodak
a857b7ea38 MDL-17099 htmlpurifier: new version from upstream 2008-11-01 18:58:29 +00:00
skodak
67d7aa437a MDL-16668 import htmlpurifier 3.1.1 to HEAD 2008-09-24 21:32:10 +00:00
skodak
eb203ee412 MDL-14898 upgraded html purifier to 3.1.0 in HEAD 2008-06-16 16:39:09 +00:00
skodak
14913ca4d5 MDL-14894 html purifier updated, merged from MOODLE_19_STABLE 2008-05-19 06:24:33 +00:00