Paul Holden
abde761cb6
MDL-40081 completion: clean up criteria records for deleted courses.
2020-04-06 12:22:51 +01:00
Andrew Nicols
17f429ed57
Merge branch 'MDL-67734-andrewapocalipse' of git://github.com/ferranrecio/moodle
2020-04-02 09:30:54 +08:00
Eloy Lafuente (stronk7)
1172cd028d
Merge branch 'MDL-68193_master' of git://github.com/mdjnelson/moodle
2020-04-01 23:22:25 +02:00
Mark Nelson
52f993651c
MDL-68193 core: added new database_text_field_content_replaced event
2020-04-01 20:44:10 +02:00
Ferran Recio
1d4c6f5355
MDL-67734 core_xapi: add xAPI statement support webservice
2020-04-01 14:14:39 +02:00
Eloy Lafuente (stronk7)
1ee1ce36d6
MDL-68281 unit test: Include required class
...
Also, add missing line break, that I did not see 1 week ago.
2020-03-28 16:23:34 +01:00
Eloy Lafuente (stronk7)
70598a90ca
Merge branch 'MDL-68183-master-mysqlpwdresetsql' of git://github.com/mudrd8mz/moodle
2020-03-26 01:08:04 +01:00
Jake Dallimore
9b8fc9be6d
Merge branch 'MDL-67934' of https://github.com/timhunt/moodle
2020-03-25 08:28:27 +08:00
David Mudrák
3621b497d2
MDL-68183 auth: Fix the performance of signup_validate_data search query
...
When searching for other users with the same email address, we perform
the case-insensitive and accent-sensitive search. That may be expensive
as some DBs such as MySQL cannot use the index in that case. Instead,
sequential scan of all the user records is performed and the comparison
uses the LOWER function to filter the matching records. This leads to
significant performance heavy queries which in turn represent a surface
for DoS attacks.
For that reason, we first perform accent-insensitive search for
potential candidates in a subselect, which can use the index. Only then
we perform the additional accent-sensitive search on this limited set or
records.
2020-03-17 14:52:32 +01:00
Adrian Greeve
082153573c
Merge branch 'MDL-67981' of https://github.com/timhunt/moodle
2020-03-17 11:30:33 +08:00
Tim Hunt
f2393804bf
MDL-67934 questions: give a sensible default idnumber when duplicating
2020-03-12 18:07:11 +00:00
Andrew Nicols
63e821fb41
Merge branch 'MDL-67063-master' of git://github.com/sarjona/moodle
2020-03-11 16:06:00 +08:00
Sara Arjona
08fda3e0f8
MDL-67063 h5p: new h5plib plugintype for supporting multi coreAPI
...
A new plugintype has been created for having more than one installed
third-party H5P libraries. Existing libraries have been moved from
lib/h5p to the new h5plib_v124 plugin.
2020-03-11 08:46:16 +01:00
Dani Palou
096c46bb4e
MDL-67189 external: Add test to catch PHP exceptions
2020-03-10 08:26:43 +01:00
Sara Arjona
32a05b5625
MDL-67063 core: fix error for supporting numbers in component
...
Component names should always support numbers (but the first character).
This patch will add PARAM_COMPONENT the expected regular expression
to validate the expected format.
2020-03-06 20:21:31 +01:00
Tim Hunt
1b6b554118
MDL-67981 questions: avoid errors deleting contextless questions
2020-03-06 17:57:11 +00:00
Michael Hawkins
c02a85c786
MDL-67861 core: Fix getremoteaddr unit test to match new proxy setup
2020-03-05 14:39:24 +08:00
Brendan Heywood
516c8aa506
MDL-67861 libraries: Refactor is_ip_in_subnet_list in ip_utils
2020-03-05 01:28:04 +01:00
Eloy Lafuente (stronk7)
a2d4ea5f12
Merge branch 'MDL-67728-master' of git://github.com/crazyserver/moodle
2020-03-03 19:50:08 +01:00
Sara Arjona
07b6ae5f3a
Merge branch 'MDL-68048-master-behatnotfound' of git://github.com/mudrd8mz/moodle
2020-03-03 17:01:33 +01:00
Jun Pataleta
042753b27f
Merge branch 'master_MDL-67980' of https://github.com/golenkovm/moodle
2020-02-26 14:30:49 +08:00
Eloy Lafuente (stronk7)
8b64627235
Merge branch 'MDL-67364-master' of git://github.com/mickhawkins/moodle
2020-02-25 12:05:33 +01:00
David Mudrák
e84ca4fb22
MDL-68048 behat: Fix the ElementNotFoundException message wording
...
The exception class itself adds the "not found" to the error message.
2020-02-25 11:33:57 +01:00
Mikhail Golenkov
e63040d02b
MDL-67980 tasks: Sort ad-hoc tasks by nextruntime.
2020-02-24 09:30:09 +11:00
Pau Ferrer Ocaña
c6d2e5c5ab
MDL-67728 behat: Increase app start timeout
2020-02-21 12:45:05 +01:00
Pau Ferrer Ocaña
ab892ccb7a
MDL-67728 behat: Improve behat app selectors
2020-02-21 12:45:05 +01:00
Eloy Lafuente (stronk7)
a1a5f87093
Merge branch 'MDL-67727-master' of git://github.com/crazyserver/moodle
2020-02-20 16:12:23 +01:00
Eloy Lafuente (stronk7)
245ac91748
Merge branch 'MDL-67309' of https://github.com/Peterburnett/moodle
2020-02-17 22:40:45 +01:00
Peter Burnett
59298ccebc
MDL-67309 login: Added check for password policy at login time.
2020-02-17 09:55:07 +10:00
Daniel Thies
a632739617
MDL-67817 core_date: Add test for timezone localization strings
2020-02-14 11:48:38 -06:00
Jun Pataleta
ed683f5f24
Merge branch 'MDL-67965-master' of git://github.com/andrewnicols/moodle
2020-02-14 11:16:42 +01:00
Andrew Nicols
afe13dfe9c
MDL-67965 behat: Get theme-specific context classes correctly
2020-02-14 10:15:49 +08:00
Michael Hawkins
2c78a8f479
MDL-67364 output: Add unit testing for editor_scss_to_css
2020-02-13 17:20:32 +08:00
Sara Arjona
5963c3c8f0
Merge branch 'MDL-67060-master' of git://github.com/aanabit/moodle
2020-02-11 11:40:18 +01:00
Amaia Anabitarte
4e7a035f68
MDL-67060 core_h5p: Improvements to Manage H5P setting page
...
Co-authored by: Adrian Greeve <adrian@moodle.com>
AMOS BEGIN
CPY [description,moodle],[description,core_h5p]
CPY [status,moodle],[status,core_h5p]
AMOS END
2020-02-11 10:26:57 +01:00
Sara Arjona
855d4db87a
Merge branch 'bugfix-MDL-67142' of https://github.com/AngadSethi/moodle
2020-02-11 10:18:49 +01:00
Víctor Déniz Falcón
a23969a5fa
MDL-67192 core_h5p: get site UUID from H5P using the API
2020-02-10 08:40:12 +00:00
Angad Sethi
86127e774f
MDL-67142 quiz: fixed error when deleting saved questions long-name-quiz
...
An error was showing up while deleting questions
(in the question_save_from_deletion method) which had been saved
and which belonged to a quiz with a super long name, not exceeding 255
characters, as the 'name' field in 'question_categories' table had a
max size of 255 characters. The shorten_text function was used to
shorten the string to 255 characters and a unit test was added with
the name test_question_save_from_deletion_quiz_with_long_name to test
the patch.
2020-02-08 19:40:44 +05:30
Eloy Lafuente (stronk7)
fbde0a7798
Merge branch 'MDL-67052-mysql-locks' of https://github.com/brendanheywood/moodle
2020-02-03 19:32:58 +01:00
Brendan Heywood
9e27807bed
MDL-67052 locks: Fixed backwards unit tests for unstacked locks
2020-01-30 09:19:41 +11:00
Eloy Lafuente (stronk7)
e46a9874a5
MDL-67353 filters: fix filterlib tests
...
- move resetAfterTest() to test units.
- remove setUp(), moving code to remove_all_filters_from_config().
- remove class properties, moving to return values of own setup_xxx() methods.
2020-01-24 11:26:56 +01: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)
cb701f77b4
Merge branch 'MDL-67296-master' of git://github.com/vmdef/moodle
2020-01-22 23:46:06 +01:00
Víctor Déniz Falcón
e942844d76
MDL-67296 core_h5p: tests modified to use exttests
2020-01-22 20:40:12 +00:00
Adrian Greeve
883687a9fd
Merge branch 'MDL-67656-master' of git://github.com/andrewnicols/moodle
2020-01-22 09:44:17 +08:00
Eloy Lafuente (stronk7)
ee439d017e
MDL-67115 core: php74 params order for implode()/join()
...
Passing parameters to implode() in reverse order is deprecated, use
implode($glue, $parts) instead of implode($parts, $glue).
This commit corresponds to phpunit and manual detections, core files.
2020-01-19 18:47:07 +01:00
Pau Ferrer Ocaña
d60b6af9b9
MDL-67727 behat: Reset ionic app properly
2020-01-17 15:30:23 +01:00
Andrew Nicols
4aa4d44a41
Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle
2020-01-16 12:10:31 +08:00
Andrew Nicols
76810eb2c0
Merge branch 'wip-MDL-66918-master' of https://github.com/Beedell/moodle
2020-01-16 11:42:16 +08:00
Peter Burnett
72aac06304
MDL-59562 core: updated type hint of new function
2020-01-16 13:05:30 +10:00