32750 Commits

Author SHA1 Message Date
James Williams
5e05ad570f MDL-80985 core: Add --courses argument to purge_caches.php 2024-04-08 18:34:13 +10:00
Huong Nguyen
53024802bc
Merge branch 'MDL-81446-main' of https://github.com/andrewnicols/moodle 2024-04-08 15:32:19 +07:00
Andrew Nicols
5ff5cf8203
MDL-81459 core: Correct order of legacy callback processing 2024-04-08 12:10:41 +08:00
Andrew Nicols
666e830b25
MDL-81459 core: Add missing legacy callback for header hook 2024-04-08 12:10:28 +08:00
Jake Dallimore
e5fca6909e MDL-81060 core: fix incorrect userquota usage in zip_packer
This change reverts much of MDL-74641, removing the erroneous userquota
checks from zip_packer. Now, during extraction, the zip_packer will exit
with an error status when it encounters a file which is larger than its
advertised size, and NOT when it determines the size of the extracted
files have exceeded the userquota (which only applies to private files
and which was used incorrectly here). It also reverts changes to the
draftfiles_ajax.php file, restoring the original (pre-MDL-74641) error
handling.
2024-04-08 09:08:24 +07:00
Andrew Nicols
4475617583
MDL-81456 core: Provide info about mocking hooks 2024-04-08 09:39:18 +08:00
Andrew Nicols
4a1752781f
MDL-81456 core: Coding style fixups 2024-04-08 09:36:22 +08:00
Andrew Nicols
3cc3511fa2
MDL-81456 core: Remove superflous coverage information 2024-04-08 09:36:22 +08:00
Andrew Nicols
71e8387a96
MDL-81456 core: Move hook fixtures to more appropriate location 2024-04-08 09:36:22 +08:00
Andrew Nicols
d7e1f2cef7
MDL-81456 core: Run tests modifying core_component in a separate process 2024-04-08 09:36:21 +08:00
Andrew Nicols
fa2e11105a
MDL-81456 core: Stop injecting test data into real hook manager 2024-04-08 09:36:21 +08:00
Andrew Nicols
2b49ad42f5
MDL-81456 core: Use DI for all hook access
Using DI for all hook access means that it becomes significantly easier
to mock hooks and callbacks for unit testing without fundamentally
altering the structure of the code purely for the purposes of unit
testing.
2024-04-08 09:35:41 +08:00
Juan Leyva
8ed83886f3 MDL-81405 tool_mobile: Set Partitioned cookie for the mobile app 2024-04-06 12:21:00 +02:00
Juan Leyva
e09930bab6 MDL-81405 session: New core cookie helper utility class 2024-04-06 12:20:59 +02:00
Ilya Tregubov
e5592f4c14 Merge branch 'MDL-81400-main' of https://github.com/roland04/moodle 2024-04-05 11:29:52 +08:00
Andrew Nicols
606158ca81
Merge branch 'MDL-79863-ordering' of https://github.com/Chocolate-lightning/moodle 2024-04-05 10:07:23 +08:00
Andrew Nicols
443ad94a77
MDL-81446 core: Bump absolute minimum PHP version supported 2024-04-05 10:04:29 +08:00
Mathew May
3d68bd3fa7 MDL-79863 qtype_ordering: Core changes 2024-04-05 09:24:02 +08:00
Andrew Nicols
91cacf6319
MDL-81084 core: Correct | to || 2024-04-05 07:02:35 +08:00
Sara Arjona
5949ac50f6
Merge branch 'MDL-81084-main' of https://github.com/andrewnicols/moodle 2024-04-04 17:55:48 +02:00
Sara Arjona
0447aa9144
Merge branch 'MDL-4188-main-2' of https://github.com/HuongNV13/moodle 2024-04-04 17:40:57 +02:00
Huong Nguyen
6d196e73bb
Merge branch 'MDL-81386-main' of https://github.com/sarjona/moodle 2024-04-04 21:56:11 +07:00
Huong Nguyen
66e8bf76f9
MDL-4188 core: Modify PHPUnit to use the new sink method 2024-04-04 20:13:47 +07:00
Huong Nguyen
b6af21bec0
MDL-4188 enrol_manual: Send course welcome message on enrolment
AMOS BEGIN
  CPY [customwelcomemessage,enrol_self],[customwelcomemessage,core_enrol]
  CPY [customwelcomemessage_help,enrol_self],[customwelcomemessage_help,core_enrol]
AMOS END
2024-04-04 20:13:46 +07:00
Huong Nguyen
1593f02492
MDL-4188 core: Added course welcome message notification 2024-04-04 19:45:18 +07:00
Huong Nguyen
f53b0b84d2
MDL-4188 core_enrol: Added enrol_plugin::get_welcome_message_contact()
Including in this commit
 - enrol_self_plugin::get_welcome_email_contact() has been deprecated
2024-04-04 19:45:17 +07:00
Huong Nguyen
fd38ce1210 MDL-78096 Javascript: core/dropzone improvement
core/dropzone now accepts custom label to display in the Dropzone
2024-04-04 15:31:08 +07:00
meirzamoodle
2d67005f21 MDL-78096 tiny_media: Handle repositories if none is active 2024-04-04 15:31:08 +07:00
meirzamoodle
cbbc87c7f4 MDL-78096 editor_tiny: Convert error to JSON and send the accepted types 2024-04-04 15:31:08 +07:00
meirzamoodle
1927c6f668 MDL-78096 editor_tiny: Scenario updates for TinyMCE image enhancements 2024-04-04 15:31:08 +07:00
meirzamoodle
7fda4d6f63 MDL-78096 tiny_media: Add a new details image 2024-04-04 15:31:07 +07:00
meirzamoodle
4d3c8e895e MDL-78096 tiny_media: Implement drag-drop to upload an image 2024-04-04 15:30:53 +07:00
Andrew Nicols
f9404ba6c1
MDL-81316 core: Encode anchor fragments properly to RFC 3986 2024-04-04 16:05:18 +08:00
meirzamoodle
a420f895d6 MDL-78096 tiny_media: Implement repository 2024-04-04 09:32:39 +07:00
meirzamoodle
087b286a16 MDL-78096 tiny_media: Implement external image URL 2024-04-04 09:32:39 +07:00
meirzamoodle
de026219d3 MDL-78096 tiny_media: Add a new insert image 2024-04-04 09:32:35 +07:00
Huong Nguyen
857fe04b95
Merge branch 'MDL-79131-main' of https://github.com/raortegar/moodle 2024-04-04 10:31:46 +08:00
Ilya Tregubov
ddc1c5ee9a
Merge branch 'MDL-81144-main' of https://github.com/andrewnicols/moodle 2024-04-04 10:30:37 +08:00
Sara Arjona
e1ca397f5a
Merge branch 'MDL-81419-main' of https://github.com/andrewnicols/moodle 2024-04-03 17:15:59 +02:00
Huong Nguyen
dcd753fd37
MDL-81393 atto: Disable mediaplugin filter for Behat test 2024-04-03 18:11:22 +07:00
Andrew Nicols
794c62db58
MDL-81419 core: Ensure that frames exist before checking them 2024-04-03 15:56:08 +08:00
Mikel Martín
e9d73c5834 MDL-81400 tiny_media: Fix size inputs in image modal
MDL-75670 generated a regression in the insert image modal width and height inputs
that were not being displayed in a single line as before.
Modify the insert media modal template to fix it and display them in a single line again.
2024-04-03 09:31:50 +02:00
raortegar
d9f4cc11b8 MDL-79131 core: Add test for max fail delay in scheduled and adhoc task 2024-04-03 09:08:50 +02:00
raortegar
5488908538 MDL-79131 core: Hook listener callback for failed_task_max_delay 2024-04-03 09:08:50 +02:00
raortegar
10ecfa731d MDL-79131 core: Dispatch the new Hook 2024-04-03 09:08:50 +02:00
raortegar
abefcdb09a MDL-79131 core: Added new Hook instance for task failed max delay 2024-04-03 09:08:50 +02:00
raortegar
cc6316368e MDL-79131 core: Added failed task message notification 2024-04-03 09:08:50 +02:00
Sara Arjona
4538be8ee1
MDL-81386 output: Fix failure in PHPUnit when running filtered tests
There was a data provider to get the list of the FontAwesome icons that
was initialized when running filtered tests.
It was causing some failures with filtered tests that, for instance,
called require_login and changed the course.
To avoid this failure (and also to improve the performance), the logic
to get the icons list has been moved to the test.
2024-04-03 08:52:56 +02:00
Andrew Nicols
412fae4792
Merge branch 'MDL-80818-main' of https://github.com/aanabit/moodle 2024-04-03 13:02:40 +08:00
meirzamoodle
ef5969e794 MDL-78096 tiny_media: Deprecate the alignment 2024-04-03 11:41:09 +07:00