25917 Commits

Author SHA1 Message Date
Sara Arjona
5528d03217 Merge branch 'MDL-65506-master' of git://github.com/rezaies/moodle 2019-06-28 12:16:14 +02:00
Jake Dallimore
c0cc1ebe85 Merge branch 'MDL-65995' of git://github.com/stronk7/moodle 2019-06-27 13:37:50 +08:00
Sara Arjona
bdc12b0bd8 Merge branch 'MDL-65996' of git://github.com/stronk7/moodle 2019-06-26 19:16:07 +02:00
Eloy Lafuente (stronk7)
3de633589c Merge branch 'MDL-59525' of git://github.com/Chocolate-lightning/moodle 2019-06-26 17:57:23 +02:00
Eloy Lafuente (stronk7)
504d1ee098 Merge branch 'MDL-57617' of git://github.com/Chocolate-lightning/moodle 2019-06-26 17:55:15 +02:00
Shamim Rezaie
706c5b3acd MDL-65506 forms: get the correct value for advcheckbox fields in js 2019-06-26 20:56:42 +10:00
Jake Dallimore
93872a9a2f MDL-65249 session: use redis host constant in unit tests 2019-06-26 16:26:19 +08:00
Jake Dallimore
9b879d0bb7 Merge branch 'MDL-65249-redis-catch-exception-after-retry-master' of https://github.com/ilya-catalyst/moodle 2019-06-26 14:48:03 +08:00
Jake Dallimore
ea64059672 Merge branch 'MDL-60978-master' of git://github.com/andrewnicols/moodle 2019-06-26 13:16:36 +08:00
Ilya Tregubov
4120908e19 MDL-65249 Session: Throw exception if number of attempts exceeded. 2019-06-25 15:09:42 +10:00
Eloy Lafuente (stronk7)
c5390ec39c Merge branch 'MDL-65922-master' of https://github.com/dmitriim/moodle 2019-06-25 00:35:28 +02:00
Mathew May
cddcfccc36 MDL-64998 libraries: Remove references to lessphpc 2019-06-24 08:13:43 +08:00
Eloy Lafuente (stronk7)
3a1522b1a4 MDL-65995 components: Too early to use debugging()
components are loaded very early in Moodle bootstrap/warmup
process. So, basically, core_component must be vanilla php
and moodlelib/weblib facilitites are not available yet.

So, changing debugging() call to error_log(), to make it
consistent with the rest of the calls in the method.
2019-06-22 12:06:25 +02:00
Eloy Lafuente (stronk7)
df272345ba MDL-65996 exceptions: Make exception handler early-errors compliant
Some errors can happen really early in Moodle bootstrap/warmup
(basically when executing setup.php stuff, before general libraries
are loaded and available).

That's called "early errors" and there are good parts within
setuplib.php that must be able to run without any dependency
other than vanilla php code.

It seems that, along the years, some dependencies have been
added (calls to debugging(), to s()....) and they worked mostly
ok because early errors are rare.

This commit just makes all those dependencies conditional so,
if an early error is detected... the exception handler will
return real information about he error happening and not
handler own errors (like it's happening now).
2019-06-22 11:38:43 +02:00
Andrew Nicols
96161a706b MDL-60978 session: Run redis tests in isolation 2019-06-21 14:36:13 +08:00
Andrew Nicols
fc1785b086 MDL-60978 testing: Support ability to run phpunit in isolated process 2019-06-21 14:36:13 +08:00
Mathew May
655b994a4a MDL-64998 libraries: Remove PHP LESSc 2019-06-21 07:18:59 +08:00
Mathew May
db9f122fbc MDL-59525 libraries: Throw errors on functions deprecated in 3.4 2019-06-21 07:12:48 +08:00
Mathew May
27607e6ac8 MDL-57617 Libraries: Throw errors on functions deprecated in 3.3 2019-06-21 07:08:21 +08:00
Dmitrii Metelkin
f82931c169 MDL-65922 core: add grade_item_updated event 2019-06-21 08:54:37 +10:00
Eloy Lafuente (stronk7)
b84d2d6e04 Merge branch 'MDL-65759' of git://github.com/Chocolate-lightning/moodle 2019-06-20 11:41:00 +02:00
Mathew May
c04b8fbe40 MDL-65759 library: Add patch #115 for php-css-parser
Patch taken from Sabberworm/PHP-CSS-Parser#115 as specified in
moodle_readme.txt
2019-06-20 08:20:17 +08:00
Mathew May
376eb15617 MDL-65759 library: Update php-css-parser to 8.3.0 2019-06-20 08:16:13 +08:00
Eloy Lafuente (stronk7)
21406f66e0 Merge branch 'MDL-65646-master' of git://github.com/andrewnicols/moodle 2019-06-20 00:29:56 +02:00
Eloy Lafuente (stronk7)
734c113027 Merge branch 'MDL-64975-master' of https://github.com/nicoroeser/moodle 2019-06-20 00:10:46 +02:00
Eloy Lafuente (stronk7)
90b01a0015 Merge branch 'MDL-57487-master' of git://github.com/sarjona/moodle 2019-06-19 23:05:50 +02:00
Eloy Lafuente (stronk7)
1824ffab0d Merge branch 'MDL-65752' of git://github.com/Chocolate-lightning/moodle 2019-06-19 20:49:43 +02:00
Jake Dallimore
1d73e8c3be Merge branch 'MDL-65904-master' of git://github.com/merrill-oakland/moodle 2019-06-19 14:56:11 +08:00
Andrew Nicols
0f2b29242e Merge branch 'MDL-65469-master' of git://github.com/peterRd/moodle 2019-06-17 14:18:40 +08:00
Peter
dfd0021749 MDL-65469 core: Expose formchecker to initialize current form state 2019-06-17 11:55:56 +08:00
Sara Arjona
c128ccc142 MDL-57487 course: final deprecation external::get_activities_overview 2019-06-14 17:41:18 +02:00
Nicolas Roeser
76a3cf95b7 MDL-64975 moodlelib: fix float formatting if decsep is ~ (tilde)
Commit 637da99edbd7258fae20374ed8c890a167f40d30 has introduced changes
for removing trailing zeroes from the output of function format_float.
Due to a small omission, the function causes a PHP warning when the
string decsep is set to a tilde character ('~'). This is rarely the
case.

The bug lies in using PHP function preg_replace with a string that
contains external input (in this case, including decsep), but without
escaping it for PCRE processing.

This commit fixes the function to also support a tilde character in
string decsep. It also adds tests for having tilde as decimal separator.

Thanks-To:  Jake Dallimore <jake@moodle.com>
2019-06-14 13:05:39 +02:00
Adrian Greeve
fba8e2cef3 Merge branch 'MDL-58439-admin-no-guest' of https://github.com/brendanheywood/moodle 2019-06-13 18:05:06 +02:00
Jun Pataleta
0d83964337 Merge branch 'MDL-55997-master' of git://github.com/peterRd/moodle 2019-06-13 18:05:03 +02:00
Adrian Greeve
fa5bed66de Merge branch 'MDL-65369_master' of https://github.com/marxjohnson/moodle 2019-06-13 18:04:59 +02:00
Jun Pataleta
05931412a4 Merge branch 'MDL-65622-master' of https://github.com/dmitriim/moodle 2019-06-13 18:04:56 +02:00
Andrew Nicols
29c442c558 MDL-65646 core: Move component storage to json 2019-06-13 12:26:00 +08:00
Peter
60eaa9bcb0 MDL-55997 core_reports: modify user stats query to fix duplicate rows 2019-06-13 07:39:03 +08:00
Eric Merrill
0f7f05379c MDL-65904 theme: Compile fallback css in the correct order 2019-06-12 13:05:40 -04:00
Mark Johnson
288d6ebb54 MDL-65369 events: Include changed course settings in course_updated 2019-06-12 09:54:30 +01:00
Andrew Nicols
e36bbb4c24 Merge branch 'MDL-65829_master' of git://github.com/dmonllao/moodle 2019-06-12 10:20:15 +08:00
Mathew May
8048c981b9 MDL-65752 lib: Update html2text to 4.2.1 2019-06-12 08:58:26 +08:00
Andrew Nicols
871679c9e0 Merge branch 'MDL-65509-master' of git://github.com/rezaies/moodle 2019-06-12 08:47:55 +08:00
Jun Pataleta
79edcde3f6 Merge branch 'MDL-7339-master' of git://github.com/mickhawkins/moodle 2019-06-11 11:49:36 +08:00
Brendan Heywood
1fc0c4bd4e MDL-58439 admin: Ignore guest logins for all admin pages 2019-06-11 13:44:58 +10:00
Andrew Nicols
c005b2f7a4 Merge branch 'MDL-65183-MOODLE-master' of https://github.com/kristian-94/moodle 2019-06-11 10:34:13 +08:00
Andrew Nicols
61b0df5716 Merge branch 'MDL-65754' of git://github.com/Chocolate-lightning/moodle 2019-06-11 10:15:43 +08:00
Michael Hawkins
76d0192e0b MDL-7339 admin: Replaced "open to google" references to be more generic
AMOS BEGIN
 MOV [configopentogoogle,admin],[configopentowebcrawlers,admin]
 MOV [opentogoogle,admin],[opentowebcrawlers,admin]
 MOV [check_google_details,report_security],[check_crawlers_details,report_security]
 MOV [check_google_error,report_security],[check_crawlers_error,report_security]
 MOV [check_google_info,report_security],[check_crawlers_info,report_security]
 MOV [check_google_name,report_security],[check_crawlers_name,report_security]
 MOV [check_google_ok,report_security],[check_crawlers_ok,report_security]
AMOS END
2019-06-11 10:04:01 +08:00
Andrew Nicols
94bce858b4 Merge branch 'MDL-65746' of git://github.com/Chocolate-lightning/moodle 2019-06-11 09:49:18 +08:00
Jun Pataleta
68c723efdf Merge branch 'MDL-65336-master' of git://github.com/aanabit/moodle 2019-06-10 19:37:25 +08:00