96854 Commits

Author SHA1 Message Date
Marina Glancy
749a38a7a9 MDL-68323 core: add --max-lint-warnings option to grunt 2020-04-02 13:42:28 +02:00
Jake Dallimore
d939d6e769 weekly release 3.9dev 2020-03-27 09:18:29 +08:00
Jake Dallimore
9ac4561b95 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2020-03-27 09:18:28 +08:00
Eloy Lafuente (stronk7)
e0552f271b Merge branch 'MDL-64429' of https://github.com/paulholden/moodle 2020-03-26 18:49:36 +01:00
Paul Holden
091758d512 MDL-64429 tool_usertours: upgrade step to fix existing tours sortorder. 2020-03-26 16:48:59 +00:00
Jun Pataleta
9c7c2d845f Merge branch 'MDL-67072-oidc-additional-login-parameters' of https://github.com/cengage/moodle 2020-03-26 12:15:24 +08: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
Eloy Lafuente (stronk7)
69c8f8ed30 Merge branch 'MDL-63865' of https://github.com/paulholden/moodle 2020-03-26 00:31:55 +01:00
Eloy Lafuente (stronk7)
fee4dd7b20 Merge branch 'MDL-68116-master' of git://github.com/sarjona/moodle 2020-03-26 00:13:52 +01:00
Eloy Lafuente (stronk7)
2bcadacd09 Merge branch 'MDL-67442' of https://github.com/jonof/moodle 2020-03-26 00:04:05 +01:00
Jun Pataleta
67077ae5aa Merge branch 'MDL-68149' of https://github.com/timhunt/moodle 2020-03-26 00:10:01 +08:00
Jun Pataleta
1cc247029e Merge branch 'MDL-68153' of https://github.com/timhunt/moodle 2020-03-25 22:34:36 +08:00
Jun Pataleta
f6cf23f2fe Merge branch 'MDL-68111-master' of https://github.com/snake/moodle 2020-03-25 08:43:28 +08:00
Jun Pataleta
e17046d2c6 Merge branch 'MDL-67024-master' of git://github.com/farhan6318/moodle 2020-03-25 08:34:41 +08:00
Jake Dallimore
9b8fc9be6d Merge branch 'MDL-67934' of https://github.com/timhunt/moodle 2020-03-25 08:28:27 +08:00
Jake Dallimore
4e9894cd8e Merge branch 'MDL-58413-master-take2' of git://github.com/lucaboesch/moodle 2020-03-25 08:04:47 +08:00
Eloy Lafuente (stronk7)
c3b26f17b9 Merge branch 'MDL-67731' of https://github.com/paulholden/moodle 2020-03-24 23:59:26 +01:00
Eloy Lafuente (stronk7)
8cd39a1aa7 Merge branch 'MDL-67930' of https://github.com/paulholden/moodle 2020-03-24 22:48:05 +01:00
Eloy Lafuente (stronk7)
327e851c43 Merge branch 'MDL-68068-master' of git://github.com/cescobedo/moodle 2020-03-24 22:38:59 +01:00
Jake Dallimore
82a1e8da34 Merge branch 'MDL-68135-master' of git://github.com/rezaies/moodle 2020-03-24 12:10:33 +08:00
AMOS bot
93d3e4ef13 Automatically generated installer lang files 2020-03-24 00:10:58 +00:00
Jake Dallimore
23ea244117 MDL-68111 core: add 'enablemoodlenet' setting to advanced features
This will control whether any MoodleNet features are presented to users
2020-03-23 08:49:12 +08:00
AMOS bot
23442febb3 Automatically generated installer lang files 2020-03-23 00:12:05 +00:00
Paul Holden
8dabade61f MDL-64429 tool_usertours: ensure tour sortorder can't move out of range. 2020-03-22 20:03:52 +00:00
Paul Holden
a11e3d90f2 MDL-63865 tool_dataprivacy: unit test for plugin privacy provider. 2020-03-22 19:59:43 +00:00
Paul Holden
5526870052 MDL-67731 backup: fix async restores in progress table listing. 2020-03-22 19:57:34 +00:00
Paul Holden
3e1b05f001 MDL-67930 mod_forum: consistent default group image when hidden. 2020-03-22 19:54:53 +00:00
Adrian Hutchinson
9b0b472dd6 MDL-67072 mod_lti: OIDC additional login parameters 2020-03-20 10:10:02 -04:00
Luca Bösch
45f3858b5f MDL-58413 mod_url: support internationalized domain names.
Internationalized domain names (IDN) do work in the URL resource.
2020-03-20 10:24:53 +01:00
Sara Arjona
fb56f5190c MDL-68116 atto_h5p: deprecate unused strings 2020-03-20 10:07:34 +01:00
Sara Arjona
186a0361a3 MDL-68116 atto_h5p: simplify fields to add H5P content
The embed section has been removed in order to simplify this screen.
It was added to make easier include content coming from h5p.org but,
as soon users won't be able to use it, it makes no sense.
Users will still be able to use the "HTML" button to paste the
embed code.
2020-03-20 10:07:34 +01:00
Sara Arjona
728f0fb587 MDL-68116 filter_h5p: remove h5p.org from allowed sources
h5p.org has to be removed as default value for the allowedsources in
the "Display H5P" filter because H5P is going to close it down completely
so that only the author can see the test content.
2020-03-20 10:07:34 +01:00
cescobedo
254add38f2 MDL-68068 core_h5p: Replace $_SESSION by $SESSION
The third-party library H5P has some references to  instead of Moodle's.
That implies that the information is not saved to backends and other issues,
so only the Moodle one should be used by core (core should be free from  and always use .).
2020-03-20 07:51:49 +01:00
Farhan Karmali
caf5ebb582 MDL-67024 Lib: Check if user->mnethostid is set before using it 2020-03-20 11:59:04 +05:30
Adrian Greeve
f2fc4a9fa1 weekly release 3.9dev 2020-03-20 13:35:42 +08:00
Peter Dias
dacdc4a467 MDL-60817 file: Populate header only if exists 2020-03-19 15:29:36 +00:00
Adrian Greeve
aab8d9a1c0 Merge branch 'MDL-68081-master' of https://github.com/kritisingh1/moodle 2020-03-19 11:26:25 +08:00
Adrian Greeve
8783d101df Merge branch 'MDL-68014-master' of git://github.com/peterRd/moodle 2020-03-19 11:03:07 +08:00
Adrian Greeve
9b57e08e8b Merge branch 'MDL-67924' of https://github.com/Chocolate-lightning/moodle 2020-03-19 09:41:30 +08:00
Jun Pataleta
b703435b2e Merge branch 'MDL-68108-master' of git://github.com/crazyserver/moodle 2020-03-18 23:01:08 +08:00
Víctor Déniz Falcón
fa3ee722b5 Merge branch 'MDL-60817-master-4' of git://github.com/mihailges/moodle 2020-03-18 14:26:30 +00:00
Pau Ferrer Ocaña
e6faed9bf0 MDL-68108 formslib: Add element password inline template 2020-03-18 08:45:04 +01:00
Adrian Greeve
5d00c85412 Merge branch 'MDL-67901-master' of git://github.com/bmbrands/moodle 2020-03-18 09:57:41 +08:00
Jun Pataleta
3af57b7321 Merge branch 'MDL-68056-master' of https://github.com/snake/moodle 2020-03-18 07:21:22 +08:00
David Mudrák
2d60593892 MDL-68183 auth: Fix the performance of get_complete_user_data search
When searching for the user by a case-insensitive field (email address
is the only one supported now), the performance may be very poor as the
DB cannot use the index due to the LOWER() operation and the full
sequential scan of all the user records is performed. On some DBs such
as MySQL, this can be significantly improved by pre-filtering the users
with accent-insensitive search.

So 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
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
David Mudrák
77bc884473 MDL-68183 auth: Fix the performance of forgotten password user search
When searching for the user matching the given 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, 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
Sara Arjona
9d95fdf23f Merge branch 'MDL-67707-master' of git://github.com/ferranrecio/moodle 2020-03-17 09:03:12 +01:00
Adrian Greeve
1f0639ed04 Merge branch 'MDL-67907-master' of git://github.com/dpalou/moodle 2020-03-17 16:01:26 +08:00
Adrian Greeve
cc00258669 Merge branch 'MDL-67970-master' of git://github.com/rezaies/moodle 2020-03-17 15:23:49 +08:00