Frederic Massart
cd7a164bdf
MDL-55564 output: Use template for password autofill hack
...
Part of MDL-55071
2016-09-23 10:53:55 +01:00
Brendan Heywood
f1c6d647bc
MDL-55916 setup: Maintenance mode serves HTTP 503
2016-09-20 11:59:39 +10:00
Eloy Lafuente (stronk7)
5e16bdb25c
Merge branch 'MDL-55724-master' of https://github.com/sammarshallou/moodle
2016-09-05 17:33:25 +02:00
sam marshall
3bf0482841
MDL-55724 Glossary: Prevent infinite loop in trusttext_strip
2016-08-30 10:25:38 +01:00
David Monllao
c2df528806
Merge branch 'wip-MDL-55581-master' of git://github.com/marinaglancy/moodle
2016-08-29 16:53:46 +08:00
Marina Glancy
28e27ac837
MDL-55581 htmlpurifier: allow track tag in videos and audios
2016-08-29 13:25:10 +08:00
sam marshall
b16b1f86b1
MDL-55650 Library: s() function - tweak parameters for performance
...
The s() function includes a comment saying that parameter options
should be modified to improve performance once PHP 5.4 is required.
Since Moodle has required PHP 5.4 for some time, we should probably
make the change and remove the comment.
According to my benchmarking, these changes make s() about 7% faster
and will save a staggering 2ms from a typical course view that calls
it 8,000 times.
2016-08-22 15:38:13 +01:00
Cameron Ball
37c10287be
MDL-54847 MDL-54847 weblib: Support basic HTML media tags
2016-08-02 10:58:48 +08:00
Cameron Ball
6fb1a7177f
MDL-47371 weblib: Add option to disable escaping
2016-07-12 10:31:17 +08:00
Andrew Nicols
2c4e6d6252
MDL-54853 weblib: Specify version and fixed encoding
2016-06-09 09:53:48 +08:00
Cameron Ball
2549f46f7c
MDL-54853 weblib: Properly specify encoding for blanktarget
2016-06-08 18:29:19 +08:00
Andrew Nicols
a29e419b2c
Merge branch 'MDL-54756' of git://github.com/timhunt/moodle
2016-05-30 15:19:04 +08:00
Cameron Ball
bf9974870b
MDL-37138 weblib: Add blanktarget option to format_text
2016-05-30 13:17:59 +08:00
Tim Hunt
31c07476db
MDL-54756 moodle_url: remove dangerous trim from make_file_url
...
This was a regression caused by MDL-50268. It broke qtype_stack.
2016-05-27 19:55:25 +01:00
David Monllao
505ce88467
MDL-54627 search: Ensure that all format_string strings are text.
...
All user input that is usually displayed through format_strings with
filters like mulitlang applied should be converted to text as well.
2016-05-19 13:16:01 +08:00
John Okely
94eb96aa78
MDL-52952 forms: Ignore autofill catching fields in form change checker
2016-03-23 11:54:27 +08:00
John Okely
67cdf4efae
MDL-52952 forms: Fix chrome autofilling passwords again
...
In MDL-45772 a hack was introduced to some forms to stop browsers from
putting the user's password into password fields in forms unrelated to
logging in.
Chrome now no longer fills the user's password in the first password
field in the page. There now needs to be a plain text input above it
for the username too.
2016-03-11 10:26:50 +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
Andrew Nicols
372d6b923b
MDL-30811 core: Replace use of continue_button with redirect
2016-02-29 09:05:58 +08:00
Andrew Nicols
3ad964190c
MDL-30811 core: Make use of session notifications in redirect()
2016-02-29 09:05:57 +08:00
David Monllao
69d66020ce
MDL-31989 search: get_config method to search areas
...
Also content_to_text moved to weblib.
2016-02-23 10:47:59 +00:00
Brendan Heywood
2ab797c90b
MDL-28030 weblib: Added $CFG->urlrewriteclass in config.php
...
This enables a plugin to implement rewriting rules enabling
'clean' or 'semantic' urls such as /course/COMP100/ instead
of /course/view.php?id=1234
2016-02-11 20:44:25 +11:00
Simey Lameze
11d4bea28b
MDL-50268 core: proper deprecation of get_file_url() method
2016-01-18 13:44:22 +08:00
Brendan Heywood
462065e822
MDL-51718 weblib: Allow moodle_url scheme to be set
2015-11-05 09:08:00 +11:00
Andrew Nicols
ec2d33dfcd
MDL-51524 libraries: Update to latest version of html2text
...
We were previously using an ancient version of html2text from RoundCube
with many customisations.
This patchset moves to the version included in the latest version of
HTML2Text, and wraps the library in a moodle-provided class. This
moves all previous hacks away from that class.
Unfortunately, two hacks still remain - two of the functions in the
RoundCube class are private, and must be modified to protected in order to
use the class effectively.
2015-10-12 09:35:58 +08:00
David Monllao
3bc0824e46
Merge branch 'MDL-51213-master' of git://github.com/damyon/moodle
2015-09-15 17:28:34 +08:00
Damyon Wiese
08bda175de
MDL-51213 weblib: Allow filter=false option for format_string
...
And pass this from external_format_string correctly.
2015-09-10 12:55:52 +08:00
Andrew Nicols
3c3d38d09a
MDL-51170 core: Scheme section of URL should be case insensitive
2015-08-21 12:26:10 +08:00
John Okely
380001929a
MDL-45772 admin: Stop browsers from autofilling passwords incorrectly
2015-08-04 09:54:34 +08:00
Dan Poltawski
dbceb531a7
Merge branch 'MDL-50868-master' of git://github.com/jethac/moodle
2015-07-28 12:10:55 +01:00
Dan Poltawski
5dee13ee92
Merge branch 'MDL-49360-master' of git://github.com/lameze/moodle
2015-07-27 12:08:46 +01:00
Simey Lameze
dcee0b9447
MDL-49360 core_lib: add new method get_local_referer()
...
This commit also replace all usages of $_SERVER['HTTP_REFERER'] and get_referer().
2015-07-27 11:11:24 +08:00
Simey Lameze
f4864c1cd2
MDL-49383 core: initial deprecation of get_referer function
2015-07-27 10:33:39 +08:00
Jetha Chan
171b4563a0
MDL-50868 weblib: add ruby support to purify_html
2015-07-24 14:09:27 +09:00
Tim Hunt
7d94679ff1
MDL-50491 filters: option to disable some filters in filter_text.
...
This lets you programmatically prevent certain filters running on
certain content.
Also, I created some unit tests for the basic format_text functionality
since there did not seem to be any yet.
2015-06-17 13:48:55 +01:00
Tomasz Muras
88661686aa
MDL-50250 core_lib: Remove obsolete param from p() method.
...
Obsolete param $obsolete is not used anywhere and can be removed.
Also small fix in wording in related documentation.
2015-06-02 15:51:13 +08:00
Damyon Wiese
c95442b2ca
MDL-49046 output: Make moodle_url->set_slashargument more robust
...
It was throwing debugging when used on the install page (before config is generated).
2015-02-25 11:28:24 +08:00
Frederic Massart
f63dec4bb2
MDL-43679 core: Never use HTTP redirect when the user agent is MS Word
2015-01-02 10:54:52 +08:00
Dan Poltawski
3e8fe4baef
Merge branch 'MDL-46416-master-bare' of git://github.com/FMCorz/moodle
2014-11-25 11:21:19 +00:00
Frederic Massart
21449d01b7
MDL-46416 group: Use a revision number for group pictures
2014-11-25 11:58:13 +08:00
Sam Hemelryk
9915109268
MDL-48304 moodle_url: compare now considers anchor
2014-11-20 15:38:34 +13:00
Matteo Scaramuccia
ce1cc198bb
MDL-47210 Files API: IIS, PATH_INFO ignored in required login redirect.
2014-10-26 08:03:27 +01:00
Mark Nelson
27b6839fe2
MDL-45758 core: edited get_formatted_help_string
...
Edited the api to accept string parameters
Original issue - MDL-47152
2014-10-15 07:41:05 +05:30
Dan Poltawski
ea594eb10e
Merge branch 'MDL-47084-master' of git://github.com/jleyva/moodle
2014-10-08 14:43:13 +01:00
Juan Leyva
da1be050bc
MDL-47084 forum: New moodle_url method make_webservice_pluginfile_url
2014-10-03 16:34:48 +02:00
Tony Butler
1e31f11852
MDL-28484 core_lib: Add function for https detection
...
Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
2014-10-03 13:02:29 +01:00
Tim Hunt
1fa2823de8
MDL-46688 weblib: improve the highlight function.
...
Thanks to Joseph Baxter for suggesting some of the test cases.
2014-08-08 17:51:58 +01: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
Sam Hemelryk
0591c2056d
Merge branch 'MDL-44486-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2014-06-04 09:51:37 +12:00
Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00