Commit graph

101946 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
fd3e2cd428 weekly release 3.11.4+ 2021-12-17 11:47:55 +01:00
Noel De Martin
d71c1a0776 MDL-73175 mod_glossary: Add behat generators 2021-12-17 07:51:37 +01:00
Paul Holden
25210e010a MDL-70348 core: fix upgrade note referring to $CFG->localrequestdir.
The change in 9fabe1dd referred to incorrect config property.
2021-12-15 08:56:46 +00:00
AMOS bot
d332c8e507 Automatically generated installer lang files 2021-12-15 00:07:27 +00:00
Paul Holden
4a3290f39d MDL-73380 mod_workshop: add lang string for phase auto switch event. 2021-12-14 21:53:41 +00:00
Ilya Tregubov
696857a008 weekly release 3.11.4+ 2021-12-14 17:42:58 +02:00
Ilya Tregubov
f6f44d8360 Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-12-14 17:42:56 +02:00
Tien Nguyen
cff5ca7c2d MDL-73189 File upload: Fix bug can upload more than maximum no. of files 2021-12-14 15:08:16 +07:00
Víctor Déniz
d494218b19 Merge branch 'MDL-73039-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-12-13 19:31:05 +00:00
Sara Arjona
06eb4fd769 Merge branch 'MDL-69467-311' of https://github.com/sebastianberm/moodle into MOODLE_311_STABLE 2021-12-13 17:34:45 +01:00
Paul Holden
900d4a8039 MDL-73039 course: remove double encoding of course/site for download. 2021-12-13 10:09:10 +00:00
Peter Burnett
0773b6d88a MDL-72375 completion: Remove id from custom rules
The id stored in the default custom rules was the courseid, and would
incorrectly be applied to new activities as the activity id.
2021-12-13 11:52:32 +10:00
AMOS bot
94c4ff2443 Automatically generated installer lang files 2021-12-13 00:07:26 +00:00
AMOS bot
6a959efde8 Automatically generated installer lang files 2021-12-12 00:07:23 +00:00
AMOS bot
eee9636851 Automatically generated installer lang files 2021-12-11 00:07:27 +00:00
Ilya Tregubov
0ae57526db Merge branch 'MDL-73278_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-12-10 18:51:59 +02:00
Sebastian Berm
b8335d5474 MDL-69467 core_h5p: User uniqueness by id instead of email 2021-12-10 14:37:54 +01:00
Ilya Tregubov
b47dec983c weekly release 3.11.4+ 2021-12-10 15:14:37 +02:00
Ilya Tregubov
e032566df0 Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-12-10 15:14:34 +02:00
AMOS bot
c9e2652fa7 Automatically generated installer lang files 2021-12-10 00:07:24 +00:00
Eloy Lafuente (stronk7)
cdf933d5c2 Merge branch 'MDL-73201-311-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_311_STABLE 2021-12-09 23:18:16 +01:00
David Mudrák
f52d41eeef MDL-73201 lang: Use changed strings in tests, too 2021-12-09 19:58:35 +01:00
Helen Foster
a63c76ec70 MDL-73201 lang: Import fixed English strings (en_fix) 2021-12-09 19:58:34 +01:00
Sara Arjona
27f6b7542e Merge branch 'MDL-61554-311' of https://github.com/nwp90/moodle into MOODLE_311_STABLE 2021-12-09 17:51:06 +01:00
Eloy Lafuente (stronk7)
935742572d MDL-73278 phpunit: Add missing payment subsystem and fix dataprovider
While testing the changed unit tests one by one, the
payment/tests/helper_test.php was failing because of a mismatch
between the dataProvider data and the param type.

That made me think why that error was not popping in complete runs
and the answer is that the new (3.10) subsystem is not in the
phpunit.xml.dist file.

Hence, adding it and fixing the dataProvider mismatch.

Finally, it has been detected that some old ICU versions (< 62)
have an incorrect behaviour, not adding the required non-breaking
white-space between the currency abbreviation and the value. So
we are skipping some payment tests if that's found.
2021-12-09 10:36:51 +01:00
AMOS bot
513534f7af Automatically generated installer lang files 2021-12-09 00:07:21 +00:00
Daniel Ziegenberg
dba6833aa2
MDL-69023 mod_lti: remove superfluous css rule
The mod_lti css rule .path-mod-lti .message conflicts with text
alignment in chats in message an can be removed. The last occurrence
of the css class "message" was deleted from the mod_lti code in 2011
with 036e84c389 (see MDL-30354).

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-12-08 19:38:26 +01:00
Eloy Lafuente (stronk7)
3a08925b79 MDL-73278 phpunit: Fix namespaces for the renamed classes
Within the renamed classes in the previous commit, there were a
few incorrect namespace, this commit fixes all them to be
correct component[\api] ones.

Also fix a few incorrect leading backslashes in namespace/use
statements. And tests extending renamed tests.
2021-12-07 23:54:34 +01:00
Eloy Lafuente (stronk7)
2c30590d5d MDL-73278 phpunit: Rename already namespaced classes to match file name
These are the only cases 100% safe to apply the renaming of the
testcase class names to match the file names.

All other cases are not safe, because they are missing namespace
and may enter into name conflicts. Adding namespaces is not as
simple as imagined because it implies to, also, add a good number
of modifications to core. See the issue for more details.
2021-12-07 23:54:34 +01:00
Ilya Tregubov
059e523871 weekly release 3.11.4+ 2021-12-07 14:59:41 +02:00
Ilya Tregubov
9da96dbd6a Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-12-07 14:59:39 +02:00
Andrew Nicols
5dc1b69ef7 Merge branch 'MDL-72796_M311_fix-retry-delay-for-redis-session-cache' of https://github.com/ziegenberg/moodle into MOODLE_311_STABLE 2021-12-07 10:52:06 +08:00
Jun Pataleta
1d16b4b752 Merge branch 'MDL-73202-311' of https://github.com/NoelDeMartin/moodle into MOODLE_311_STABLE 2021-12-07 10:38:33 +08:00
AMOS bot
8dd9f8482a Automatically generated installer lang files 2021-12-07 00:07:27 +00:00
Nick Phillips
c27559d6b2 MDL-61554 calendar: Set $PAGE context in calendar export. 2021-12-07 12:23:32 +13:00
Paul Holden
ecde575d00 MDL-73237 check: detect same role overrides in different contexts.
Prevents DML debugging from duplicate values in first field, also
fixes `context` class namespace and removes undefined `localrole`
property of $role object.
2021-12-06 16:23:22 +00:00
Paul Holden
edd6f7f401 MDL-73256 tool_oauth2: save requireconfirmation property on create. 2021-12-06 14:28:30 +00:00
Jun Pataleta
092cc5ec3f Merge branch 'MDL-72870-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-12-06 18:43:14 +08:00
Jun Pataleta
2027f4011a Merge branch 'MDL-73153-311' of https://github.com/sarjona/moodle into MOODLE_311_STABLE 2021-12-06 17:43:22 +08:00
Brendan Heywood
8bd98c3bd8 MDL-73207 cron: Fixed cronspec field order bug 2021-12-06 17:54:26 +11:00
Shamim Rezaie
6cd7435119 Merge branch 'MDL-73245-311' of https://github.com/cameron1729/moodle into MOODLE_311_STABLE 2021-12-06 17:08:29 +11:00
Cameron Ball
98775c265b MDL-73245 cache: Fix bug with session lock debugging
When session lock debugging and read only sessions deubgging are both
enabled, session lock debugging becomes moot. This patch causes
the session lock deubgging code to exit early if read only sessions
debugging is enabled.
2021-12-06 12:16:19 +08:00
Daniel Ziegenberg
0ad2a91cdd
MDL-72796 caching: fix retry delay for redis session cache
The random retry delay for redis session cache was calculated as
rand(100000, 500000) giving an effective retry delay of 100 seconds
to 500 seconds. That's off by a factor of a thousand! Using Redis as a
session cache and when the connection hangs, you can get random
"cannot obtain session lock" errors because it's waiting up to
500 seconds (or about 8.33 minutes) for a Redis connection.
This sets the delay to the originally intended 100ms to 500ms.
(see MDL-59866).

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-12-05 17:09:32 +01:00
Eloy Lafuente (stronk7)
09b004629f Merge branch 'MDL-73253-311' of https://github.com/vmdef/moodle into MOODLE_311_STABLE 2021-12-03 18:52:29 +01:00
Víctor Déniz
29994e98de MDL-73253 ci: use setup-node action in GHA 2021-12-03 15:44:58 +00:00
Sara Arjona
0b626ac5e0 weekly release 3.11.4+ 2021-12-03 10:26:32 +01:00
Jun Pataleta
5f28929d64 Merge branch 'MDL-72789-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-12-03 12:16:48 +08:00
Shamim Rezaie
a96887e70a Merge branch 'MDL-68944-311' of https://github.com/juancs/moodle into MOODLE_311_STABLE 2021-12-03 14:54:27 +11:00
Andrew Nicols
24ffb2cf6f Merge branch 'MDL-73195-311' of https://github.com/lameze/moodle into MOODLE_311_STABLE 2021-12-03 10:14:35 +08:00
Andrew Nicols
df0d1ea93a Merge branch 'MDL-72846-311' of https://github.com/NoelDeMartin/moodle into MOODLE_311_STABLE 2021-12-03 08:29:49 +08:00