Commit Graph

113575 Commits

Author SHA1 Message Date
Andrew Nicols dd94dea8c2 MDL-81063 tool_usertours: Allow hooks to manage usertour filters
Two new hooks are introduced to allow plugins to add their own user tour
filters.

Separate hooks are identified for both clientside, and serverside
filters.
2024-04-10 12:41:32 +08:00
Andrew Nicols dae36f6cfa MDL-81063 core: Add helper to get component name from classname 2024-04-10 12:41:31 +08:00
Andrew Nicols 29fc61c2a5 MDL-81063 core: Add option to get core in list of components 2024-04-10 12:41:31 +08:00
Sara Arjona b621a7e4b3 on-demand release 4.4dev+ 2024-04-09 12:08:35 +02:00
Sara Arjona 3c5de1940b Merge branch 'MDL-81456-main' of https://github.com/andrewnicols/moodle 2024-04-09 10:18:01 +02:00
Andrew Nicols 62c560dff2 MDL-81456 core: Correct namespace imports 2024-04-09 16:13:42 +08:00
Huong Nguyen e168c1d089 MDL-81333 core_communication: Coding style fixups
- Remove superflous coverage information
 - Use language string for group room name format
2024-04-09 10:24:09 +07:00
Huong Nguyen 2ec967e12b Merge branch 'MDL-81333-main' of https://github.com/davewoloszyn/moodle 2024-04-09 10:22:34 +07:00
Jake Dallimore b34930bfe6 Merge branch 'MDL-81060-main-fix' of https://github.com/meirzamoodle/moodle 2024-04-09 10:13:25 +08:00
Ilya Tregubov 9c53b229f2 Merge branch 'MDL-81337-main-behat-fix' of https://github.com/lameze/moodle 2024-04-09 09:21:58 +08:00
Simey Lameze 27b14a64b5 MDL-81337 behat: use new step to open add activity dialogue 2024-04-09 09:05:01 +08:00
Sara Arjona b3ef3ecb8d Merge branch 'MDL-81298-main' of https://github.com/vithushau/moodle 2024-04-08 17:11:49 +02:00
Sara Arjona 411180831e Merge branch 'MDL-78457' of https://github.com/paulholden/moodle 2024-04-08 16:54:38 +02:00
Sara Arjona 6b9667f2b8 Merge branch 'MDL-81449-main' of https://github.com/lucaboesch/moodle 2024-04-08 16:27:55 +02:00
Sara Arjona 099ceb42a0 Merge branch 'MDL-81456-main' of https://github.com/andrewnicols/moodle 2024-04-08 16:11:26 +02:00
Sara Arjona 44d3549a4b Merge branch 'MDL-78096-main-alt' of https://github.com/meirzamoodle/moodle 2024-04-08 13:13:38 +02:00
Sara Arjona 1f76843f25 MDL-81337 behat: Fix behat failures
A tooltip has been added to the + icons in between activities with the
same text as the "Add an activity or resource" button.
The easiest way to fix the behat failures is to click this
button in empty sections (that way, the button is unique).
2024-04-08 12:44:40 +02:00
Sara Arjona 20475ec9a5 Merge branch 'MDL-81462' of https://github.com/stronk7/moodle 2024-04-08 11:34:20 +02:00
Huong Nguyen 21c0470541 Merge branch 'MDL-75037' of https://github.com/paulholden/moodle 2024-04-08 16:06:00 +07:00
Huong Nguyen 53024802bc Merge branch 'MDL-81446-main' of https://github.com/andrewnicols/moodle 2024-04-08 15:32:19 +07:00
Jake Dallimore 4c2b9f55f0 Merge branch 'MDL-81405-master' of https://github.com/jleyva/moodle 2024-04-08 15:35:00 +08:00
Eloy Lafuente (stronk7) ed84111010 MDL-81462 phpunit: Add missing controller->destroy()
So we ensure that all file descriptors and backup temp structures
are properly closed and cleaned up.
2024-04-08 08:57:31 +02:00
Ilya Tregubov 84b1cbd474 Merge branch 'MDL-81409-main' of https://github.com/snake/moodle 2024-04-08 12:44:45 +08:00
Huong Nguyen def6f6ee87 Merge branch 'MDL-81337-main' of https://github.com/lucaboesch/moodle 2024-04-08 10:38:06 +07:00
Huong Nguyen 28adb1e462 Merge branch 'MDL-80934-main' of https://github.com/laurentdavid/moodle 2024-04-08 09:12:57 +07: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
Huong Nguyen 6b7d9b5e8a Merge branch 'MDL-81402-main' of https://github.com/sh-csg/moodle 2024-04-08 09:02:40 +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
Luca Bösch f6b396012f MDL-81449 qtype_ordering: adopt icon size to other. 2024-04-05 15:35:03 +02:00
Luca Bösch 5af261d8f5 MDL-81337 core_courseformat: Add 'Add section' / 'Add content' tooltips. 2024-04-05 15:09:22 +02:00
Sara Arjona 26649f5750 on-demand release 4.4dev+ 2024-04-05 13:23:37 +02:00
Sara Arjona 852ef9cbfc NOBUG: Fixed SVG browser compatibility 2024-04-05 13:23:32 +02:00
Sara Arjona 6f3bf87f41 Merge branch 'MDL-79863-patch' of https://github.com/ilyatregubov/moodle 2024-04-05 10:07:40 +02:00
Ilya Tregubov 4243d21377 MDL-79863 qtype_ordering: Fix Behat test for backup and restore
We recently started to turn on async backup by default.
2024-04-05 16:00:11 +08:00
Huong Nguyen c11e160812 MDL-79920 tool_mfa: Minor updates
- String deprecation
 - Use Prefetch for language strings
2024-04-05 11:29:20 +07:00
Huong Nguyen 8a5022a5e7 Merge branch 'MDL-79920-main' of https://github.com/davewoloszyn/moodle 2024-04-05 11:28:26 +07:00
Andrew Nicols 554e491b6f Merge branch 'MDL-80028-h5p_caps' of https://github.com/leonstr/moodle 2024-04-05 11:55:54 +08:00
Ilya Tregubov 313479e29f Merge branch 'MDL-81358' of https://github.com/paulholden/moodle 2024-04-05 11:37:11 +08: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 27c42aad0f MDL-79863 qtype_ordering: Correctly order langstrings 2024-04-05 10:47:04 +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