Commit graph

31898 commits

Author SHA1 Message Date
Huong Nguyen
dee9c195fe
Merge branch 'MDL-79395' of https://github.com/stronk7/moodle 2023-09-19 14:29:58 +08:00
Jake Dallimore
1b768a1f64
Merge branch 'MDL-79186' of https://github.com/paulholden/moodle 2023-09-19 11:12:24 +08:00
Ilya Tregubov
eb96238d36
Merge branch 'MDL-79384-master' of https://github.com/snake/moodle 2023-09-19 10:54:13 +08:00
Ilya Tregubov
7d6129be45
Merge branch 'MDL-79338' of https://github.com/skodak/moodle 2023-09-19 10:40:54 +08:00
Eloy Lafuente (stronk7)
b7c2415522
MDL-79395 install: update the list of stale files for 4.3 2023-09-18 16:26:46 +02:00
Jake Dallimore
6b214f1c81
MDL-79384 core: fix modal footer logic when rendering it from template
If the footer property is a Templates.render() promise, and the modal is
set to show immediately (show=true), the show() logic - which contains
the footer show/hide logic - can run before the footer content is set
(i.e. before the promise chain is complete). In such cases, the footer
will be marked as hidden and must be made visible again.
2023-09-18 16:04:58 +08:00
Ilya Tregubov
553567e16c
MDL-78955 lib: Fix unit test. 2023-09-18 14:47:24 +08:00
Ilya Tregubov
826ef1f915
Merge branch 'MDL-79336' of https://github.com/skodak/moodle 2023-09-18 11:12:22 +08:00
Ferran Recio
4dcac269be
MDL-78955 lib: fix choice list styling 2023-09-18 10:41:24 +08:00
Ferran Recio
6b6f71ea6f
MDL-78955 lib: merge choicelist templates 2023-09-18 10:41:14 +08:00
Huong Nguyen
c73c1d1d6b
Merge branch 'MDL-79283' of https://github.com/paulholden/moodle 2023-09-15 16:58:00 +08:00
Huong Nguyen
632e603304
Merge branch 'MDL-78728' of https://github.com/paulholden/moodle 2023-09-15 16:19:27 +08:00
Jun Pataleta
62a91c861c
Merge branch 'MDL-78467-master' of https://github.com/sammarshallou/moodle 2023-09-15 16:19:26 +08:00
Jun Pataleta
4370887449
Merge branch 'MDL-78916-master' of https://github.com/junpataleta/moodle 2023-09-15 16:19:06 +08:00
Ilya Tregubov
8f8ea5a4d1
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle 2023-09-15 16:19:04 +08:00
Petr Skoda
f94ad6f65f MDL-79338 core: add primary navigation hook tests 2023-09-14 11:51:21 +02:00
Ilya Tregubov
f5050ab31f
Merge branch 'MDL-78255-master' of https://github.com/davewoloszyn/moodle 2023-09-14 17:50:24 +08:00
Petr Skoda
b2a2d3dc66 MDL-79338 core: add support for hook callback redirection in tests 2023-09-14 11:47:52 +02:00
Petr Skoda
f42cc76a78 MDL-79336 core: add core\hook\stoppable_trait 2023-09-14 11:33:01 +02:00
sam marshall
0f8577784d MDL-78467 core_cache: Improve cache locking API
* Makes it possible to safely call acquire_lock so that it throws an
  exception instead of returning false if it can't get a lock (which
  most existing uses assumed it already does).
* Fix some omissions from the requirelockingbeforewrite option (it
  now checks on delete).
* Modinfo uses a versioned cache, so it is not necessary to delete
  items, only increase the version. (Provided we keep track of
  cacherev carefully...)
2023-09-14 09:28:10 +01:00
Paul Holden
fba49ba1cc
MDL-79283 core: add title to embedded iframe, for accessibility. 2023-09-14 09:26:14 +01:00
Ilya Tregubov
9992804ae5
Merge branch 'MDL-78267-master-2' of https://github.com/HuongNV13/moodle 2023-09-14 16:07:51 +08:00
Huong Nguyen
4ead50e696
MDL-78267 core: Partial course sharing for MoodleNet 2023-09-14 14:59:50 +07:00
Huong Nguyen
514df5a775
MDL-78267 core: Services for partial sharing course to MoodleNet 2023-09-14 14:59:49 +07:00
Huong Nguyen
c6bf02a3b5
MDL-78267 core: Backend API for partial sharing course for MoodleNet 2023-09-14 14:59:49 +07:00
Jun Pataleta
39d32096e7
Merge branch 'MDL-79181-master' of https://github.com/snake/moodle 2023-09-14 14:02:45 +08:00
Huong Nguyen
b3ffe8432b
MDL-78267 core: Move shared MoodleNet code to abstract 2023-09-14 11:11:42 +07:00
Jun Pataleta
9cd44cbf4c
Merge branch 'MDL-79356-master' of https://github.com/HuongNV13/moodle 2023-09-14 11:52:12 +08:00
Ilya Tregubov
41d8e24f81
Merge branch 'master_MDL-78534' of https://github.com/mattporritt/moodle 2023-09-14 11:05:46 +08:00
Huong Nguyen
e1cff527b9
MDL-79356 core: Convert MoodleNet modals to use new static methods 2023-09-14 09:44:19 +07:00
Matt Porritt
f140a0dff9 MDL-78534 Authentication: MFA Core login page style changes
Core login page and style changes to support mfa login workflow.
These are minor adjustments to core CSS and a core renderer
change to allow login workflow to better support MFA.
2023-09-14 11:49:04 +10:00
hieuvu
a3da58a9cb MDL-78312 core_user: add an 'exact match only' option 2023-09-13 20:22:22 +07:00
Jun Pataleta
f8b16ea91f
Merge branch 'MDL-78826-master' of https://github.com/roland04/moodle 2023-09-13 19:28:25 +08:00
Jake Dallimore
893ce4f7b2
MDL-78916 core_form: allow class overrides on button form element
This works the same as the customclassoverride on the submit element,
in that only the 'btn' class is hard coded in the template. Passing
$options['customclassoverride'] to the constructor allows calling code
to specify other classes to be added beside 'btn'. E.g. 'btn-primary'.
If no options array is passed, 'btn-secondary' is used (the existing
class used for button elements).
2023-09-13 17:37:06 +08:00
Huong Nguyen
d3efd69dc1
Merge branch 'MDL-78993-master' of https://github.com/sarjona/moodle 2023-09-13 11:21:36 +07:00
Huong Nguyen
50a74f6a2d
Merge branch 'MDL-67271-master' of https://github.com/sarjona/moodle 2023-09-13 11:15:22 +07:00
Huong Nguyen
8527d6e8c9
Merge branch 'MDL-75502-master' of https://github.com/davewoloszyn/moodle 2023-09-13 10:52:36 +07:00
Jun Pataleta
6c6a655b0b
Merge branch 'MDL-78527-master' of https://github.com/aanabit/moodle 2023-09-13 11:17:20 +08:00
Ilya Tregubov
94c9ce0595
Merge branch 'MDL-78806-master' of https://github.com/junpataleta/moodle 2023-09-13 10:54:54 +08:00
Amaia Anabitarte
b87b72195c MDL-78527 core_completion: Fixing tests 2023-09-12 15:43:49 +02:00
Amaia Anabitarte
85d07564cb MDL-78527 core_completion: Improving core completion styling 2023-09-12 15:43:48 +02:00
Sara Arjona
ff844ab7bd
MDL-78993 theme: Remove $CFG->svgicons
The $CFG->svgicons setting was introduced in Moodle 2.4 due to incomplete
SVG support in certain web browsers.
The landscape has evolved significantly since then, and all modern browsers
now handle SVG files correctly.
The $CFG->svgicons settings has been removed and the supports_svg() method
has been updated with currently supported browsers (IE support was removed
in Moodle 3.10).
2023-09-12 15:28:03 +02:00
Andrew Nicols
5281100031
MDL-67271 core: Add test to find missing SVG icons
Ensure that all system icons now come with an accompanying SVG file.
Any missing SVG files have been addressed, and to maintain this consistency,
a PHPUnit test has been implemented to validate the inclusion of SVG files
for any new icons.
2023-09-12 10:54:15 +02:00
Amaia Anabitarte
054092519e MDL-78527 forms: Improve error showing for radio buttons 2023-09-12 09:59:36 +02:00
Amaia Anabitarte
313da3ebf3 MDL-78527 pear: Adding attributes parameter to groups 2023-09-12 09:59:36 +02:00
Amaia Anabitarte
0122c2c3e7 MDL-78527 forms: New parentclass attribute to wrapper element only 2023-09-12 09:59:36 +02:00
David Woloszyn
045d4368f4 MDL-75502 core: Added MoodleNet share progress page 2023-09-12 15:14:39 +10:00
Ilya Tregubov
73c8675623
Merge branch 'MDL-79210-master' of https://github.com/meirzamoodle/moodle 2023-09-12 10:50:11 +08:00
Jun Pataleta
1c892fb6d9
Merge branch 'MDL-78324-master-7' of https://github.com/andrewnicols/moodle 2023-09-11 16:29:56 +08:00
Paul Holden
75c36558b6
MDL-79186 task: fix evaluation of 'X/Y' cron field format.
The above syntax is defined as supported by the class, for example the
format '5/10' means:

"At every 10th <unit> from 5 through <max>."

It is analogous to '5-<max>/10'.
2023-09-11 09:22:17 +01:00