108006 Commits

Author SHA1 Message Date
Ilya Tregubov
339dfec420 Merge branch 'MDL-77577-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-04-20 12:33:38 +08:00
Andrew Nicols
1d16c049f3 MDL-77718 editor_tiny: Restrict the revision to int for loaders
The revision should always be an int. I suspect this was missed during
debugging and not corrected.
2023-04-19 13:20:25 +00:00
Paul Holden
4d4635228d MDL-77187 mod_wiki: validate external method sort parameters. 2023-04-19 13:20:25 +00:00
Paul Holden
ce9cb1156c
Merge branch 'MDL-77897-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-04-19 14:13:04 +01:00
Paul Holden
c0429c1c90
Merge branch 'MDL-77960-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-04-19 13:41:32 +01:00
Paul Holden
be8c02fc2c
Merge branch 'MDL-77944-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-04-19 13:06:41 +01:00
Paul Holden
99b5e1059d
Merge branch 'MDL-77898-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-04-19 09:03:22 +01:00
Andrew Nicols
ee519b690c MDL-77897 editor_tiny: Save editor content on editor blur 2023-04-19 14:57:26 +08:00
Ilya Tregubov
814c63fcc3 git fetch https://github.com/paulholden/moodle.git MDL-77935 && git merge --no-ff FETCH_HEADMerge branch 'MDL-77935-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-04-19 13:32:36 +08:00
Jun Pataleta
799e962f1f Merge branch 'MDL-77953_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE 2023-04-19 12:37:45 +08:00
Simey Lameze
c0bea2a82d MDL-77960 behat: make verification steps more specific 2023-04-19 11:57:37 +08:00
Eloy Lafuente (stronk7)
e9fcdec98b MDL-77953 pagelib: Ensure that null $SCRIPT continues behaving the same
It's possible to have some Moodle components soft linked instead
of being real directories within codebase (within dirroot).

For example, Composer's "vendor" directory can be soft linked
(from elsewhere), or also plugins can be installed using soft
links.

In those cases, Moodle calculates the $SCRIPT global as null. And,
then, string operations on it are emitting a PHP deprecation message
with PHP 8.1 and up.

This fix just ensures that the behaviour is the same than before
PHP 8.1, aka: ltrim(null) = '' (empty string), without any PHP warning.
2023-04-18 18:50:37 +02:00
Andrew Nicols
fc6764324a Merge branch 'MDL-77895-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-04-18 23:35:19 +08:00
Andrew Nicols
b71f01981a weekly release 4.1.2+ 2023-04-18 22:28:09 +08:00
Andrew Nicols
5d1fcb942a Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-04-18 22:28:06 +08:00
Jun Pataleta
24335d67bb MDL-77898 calendar: Add iconclass for upcoming_mini template
The icon's iconclass context data adds additional CSS class(es) to
calendar event icons to better control how the event icon is displayed.
e.g. without filtering for activity events that don't hae monologo
versions of their icons.
2023-04-18 15:58:46 +08:00
Paul Holden
1b828701a6
MDL-77895 editor_tiny: standardize quickbar selection toolbar.
Ensure the same heading tags are available as those defined in the
editor block formats configuration (c51b7e2c).

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-04-18 07:45:23 +01:00
Ilya Tregubov
f8e468c41a Merge branch 'MDL-77916-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-04-18 14:28:44 +08:00
Andrew Nicols
b07df211ce Merge branch 'MDL-77829-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE 2023-04-18 12:31:46 +08:00
Andrew Nicols
4c289966d3 Merge branch 'MDL-77735-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-04-18 12:10:56 +08:00
Ilya Tregubov
0d0fbec616 Merge branch 'MDL-77770-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-04-18 12:01:46 +08:00
Ilya Tregubov
ca751bdc1f Merge branch 'MDL-76855-401' of https://github.com/Chocolate-lightning/moodle into MOODLE_401_STABLE 2023-04-18 11:18:32 +08:00
Andrew Nicols
bc85007834 MDL-77944 behat: Rename chrome options for w3c support
From Selenium 4.8.0, support for non-w3c browser control has ended.

We only use W3C browser control these days, and this was missed as part
of the move to W3C. All browser options must be vendor-prefixed.
2023-04-18 09:04:08 +08:00
Ilya Tregubov
dd553c1406 Merge branch 'MDL-77827-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE 2023-04-18 08:59:30 +08:00
AMOS bot
76ab8a1c51 Automatically generated installer lang files 2023-04-18 00:07:38 +00:00
Paul Holden
242ecbf7f3
Merge branch 'MDL-77878-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE 2023-04-17 19:12:36 +01:00
Shamim Rezaie
cbfde8c11a Merge branch 'MDL-76998-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE 2023-04-17 21:27:56 +10:00
Paul Holden
df4f8dd322
Merge branch 'MDL-76212-401-nav' of https://github.com/kevpercy/moodle into MOODLE_401_STABLE 2023-04-17 11:50:54 +01:00
Paul Holden
60ab09ac87
Merge branch 'MDL-77324-401-2' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE 2023-04-17 11:06:14 +01:00
Paul Holden
40fad4d6b7
MDL-77935 contentbank: avoid phpunit crashes during isolated tests.
Simplify the test for allowed contexts by removing problematic use of
data provider annotation.

See: https://github.com/sebastianbergmann/phpunit/issues/2739
2023-04-17 09:28:38 +01:00
Víctor Déniz
1265b0ad84 MDL-77878 lang: Use fixed strings in tests 2023-04-17 09:26:52 +01:00
Mathew May
faa121ad30 MDL-76855 gradereport_user: Prevent parent access errors 2023-04-17 11:26:03 +08:00
Andrew Nicols
797cbcc3da Merge branch 'MDL-76995-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE 2023-04-17 11:17:04 +08:00
Ilya Tregubov
6bac910434 MDL-76994 core_course: Fix version for weeks and topics course formats 2023-04-17 11:04:37 +08:00
Andrew Nicols
a9b4b297ac Merge branch 'MDL-77606' of https://github.com/skodak/moodle into MOODLE_401_STABLE 2023-04-17 10:34:55 +08:00
Petr Skoda
073deca0e1 MDL-77606 grunt: fix Windows compatibility
Backport of MDL-77748.
2023-04-17 10:34:09 +08:00
Petr Skoda
2cc1182b16 MDL-77606 core: switch to Dart sass
Backport of MDL-73144.
2023-04-17 10:33:50 +08:00
Ilya Tregubov
82a7b26648 Merge branch 'MDL-76994-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE 2023-04-17 09:47:04 +08:00
Helen Foster
2db1ddd290 MDL-77878 lang: Import fixed English strings (en_fix) 2023-04-16 20:54:48 +01:00
Sara Arjona
96f0478ec1 Merge branch 'MDL-77913-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-04-14 14:02:18 +02:00
Sara Arjona
38f5c818cb MDL-77735 core: Check $CFG->lang isset
In some cases, $CFG->lang might not be set, and this is causing a
Notice to be displayed when, for instance, database connection fails.
This patch should fix this case.
2023-04-14 13:46:51 +02:00
Sara Arjona
38c35247e9 weekly release 4.1.2+ 2023-04-14 10:50:08 +02:00
Sara Arjona
242dcfbc55 Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-04-14 10:50:03 +02:00
Huong Nguyen
2f601f1e51 MDL-77827 events: Changed JSON comparison to be less strict 2023-04-14 12:29:32 +07:00
Paul Holden
31a3c8cda4
MDL-77916 h5p: register autoloader in helper testcase. 2023-04-13 23:14:57 +01:00
Paul Holden
39cf556111
MDL-77913 qbank_previewquestion: deterministic ordering of versions.
Ensure the ordering of loaded question versions is consistent, avoids
random Oracle failures.
2023-04-13 21:45:28 +01:00
Sara Arjona
4c4be40c77 Merge branch 'MDL-76986-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE 2023-04-13 17:32:03 +02:00
Amaia Anabitarte
c8f105800c MDL-76995 core_courseindex: Apply indentation in the course index 2023-04-13 16:59:05 +02:00
Amaia Anabitarte
3502ad3da7 MDL-76998 admin: Option to reset course indentation 2023-04-13 16:52:19 +02:00
Amaia Anabitarte
15a5a938b6 MDL-76994 tool_mobile: Return course format indentation setting 2023-04-13 16:51:05 +02:00