Commit Graph

34497 Commits

Author SHA1 Message Date
Andrew Nicols 3133520615 MDL-83424 core: Update component/plugin resolution to include new paths 2025-07-12 17:51:40 +08:00
Andrew Nicols 0e961688e7 MDL-83424 core: Fix things after restructure 2025-07-12 17:51:40 +08:00
Andrew Nicols f747c15cbf MDL-83424 core: Restructure Moodle codebase 2025-07-12 17:51:38 +08:00
Michael Hawkins 627eb435bd NOBUG: Add upgrade notes 2025-07-11 12:48:27 +08:00
Huong Nguyen deb8cafb5f Merge branch 'MDL-84399-main' of https://github.com/dpfahl-ms/moodle 2025-07-10 10:41:55 +07:00
Huong Nguyen 07f8a52dfa Merge branch 'MDL-84901' of https://github.com/paulholden/moodle 2025-07-10 08:25:31 +07:00
Mihail Geshoski 23741e86c2 Merge branch 'MDL-80327_remove-deprecated-class-callbacks-from-mod_quiz' of https://github.com/ziegenberg/moodle into main 2025-07-09 23:12:19 +08:00
Daniel Ziegenberg 11a4622bce MDL-80327 mod_quiz: Remove deprecated class callbacks from mod_quiz
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-07-09 13:26:39 +02:00
cescobedo c6072eb768 Merge branch 'MDL-85880' of https://github.com/paulholden/moodle 2025-07-09 09:43:36 +02:00
Huong Nguyen 96b6f265f2 Merge branch 'MDL-83147-main' of https://github.com/meirzamoodle/moodle 2025-07-09 13:18:05 +07:00
Mihail Geshoski 36c6b71a6b Merge branch 'MDL-85069_main' of https://github.com/marxjohnson/moodle into main 2025-07-08 22:39:50 +08:00
Paul Holden 1501f6644b MDL-84901 auth: specific session start error language string. 2025-07-08 12:33:02 +01:00
Huong Nguyen 7563f5e4d2 Merge branch 'MDL-84779-main' of https://github.com/davewoloszyn/moodle 2025-07-08 15:19:12 +07:00
David Woloszyn 2ef05e1e60 MDL-84779 core_ai: Convert model settings on upgrade 2025-07-08 15:20:52 +10:00
meirzamoodle c35da28325 MDL-83147 AI: Implement detailed AI error messaging logic 2025-07-08 09:24:44 +07:00
Dennis Pfahl 5246702a11 MDL-84399 core: add WebDAV SEARCH support to webdavlib
Co-authored-by: Lucas Gehrlein <lgehrlein@ssystems.de>
2025-07-07 13:39:23 +02:00
Laurent David 95611b65b5 MDL-81702 core_message: Add focustrap and backdrop
* Add focustrap and backdrop to message drawer.
2025-07-07 07:08:18 +02:00
Mihail Geshoski 00d81a965a NOBUG: Add upgrade notes 2025-07-06 09:25:25 +08:00
Mihail Geshoski 536c2f7d7c Merge branch 'MDL-85563' of https://github.com/NeillM/moodle into main 2025-07-05 20:16:38 +08:00
Mihail Geshoski 87d21579d0 Merge branch 'MDL-85210_main' of https://github.com/marxjohnson/moodle into main 2025-07-05 20:16:38 +08:00
Huong Nguyen eec4fac190 Merge branch 'MDL-76342-main' of https://github.com/yusufwib01/moodle 2025-07-03 09:07:20 +07:00
Mihail Geshoski e37956b5d1 Merge branch 'patch/MDL-85666-main' of https://github.com/skodak/moodle into main 2025-07-03 09:56:06 +08:00
Mark Johnson f4e8942755 MDL-85069 question: Services for question bank and category search
This updates the core_question_search_shared_banks external function
with additional parameters to make it applicable outside of the "Switch
bank" dialogue in the quiz, with the corresponding changes to the
question_banks_datasource Javascript module, and unit test coverage.

It also adds a new \core_question\output\question_category_selector
class for rendering a select list of question categories, migrating
the logic used in qbank_managecategories to a core namespace. There
is a fragment callback for rendering this via AJAX.
2025-07-02 10:58:33 +01:00
Andrew Nicols 3a57c6f6cd Merge branch 'MDL-84531' of https://github.com/paulholden/moodle 2025-07-01 17:33:38 +08:00
Petr Skoda 52520cc993 MDL-85666 phpunit: add general plugin tests
This defines new group which can be used
to limit execution of these tests to one plugin only.

For example to execute all tests for Label module use:

phpunit --testsuite=mod_label_testsuite
phpunit --group=plugin_checks --filter=mod_label

or

phpunit --filter=mod_label
2025-07-01 09:56:59 +02:00
Neill Magill 05977c9f6a MDL-85563 phpunit: Clock API should always use Moodle system time
When using `clock::now()` the frozen cloxk and incrementing clock will now
always return a `DateTimeImmutable` that uses the configured Moodle system
time. In unit tests this will be Australia/Perth.

Before this change, it would sometimes be UCT.
2025-06-30 11:38:00 +01:00
Paul Holden b69228a258 MDL-85880 reportbuilder: replace jQuery usage for parsing Javascript. 2025-06-30 17:26:26 +08:00
ferran 1eb4671f1a MDL-85533 course: remove activitychoosertabmode setting 2025-06-30 09:10:26 +02:00
cescobedo 76b36b11ee Merge branch 'MDL-79319-main' of https://github.com/laurentdavid/moodle 2025-06-30 08:24:55 +02:00
Huong Nguyen 0b873802e8 Merge branch 'MDL-76414-main' of https://github.com/yusufwib01/moodle 2025-06-26 08:29:32 +07:00
Huong Nguyen 69e1928a67 Merge branch 'MDL-85683' of https://github.com/paulholden/moodle 2025-06-24 09:21:06 +07:00
Sara Arjona edb9a0540a MDL-85436 lib: Deprecate unused icons 2025-06-20 15:33:16 +02:00
Huong Nguyen af3b69b560 NOBUG: Add upgrade notes 2025-06-20 15:14:03 +07:00
Mark Johnson 31a524feb4 MDL-85210 mod_qbank: Update question set references during upgrade
When moving question categories during the migration to mod_qbank, set
references using questions in those categories were not updated with the
new context.

Furthermore, since top categories from system, category and course
contexts are deleted and not moved, and set references that filtered
based on a top category were left pointing to a non-existant category.

This change updates set references using the top category to point to
the new top category where its subcategories are moved, and updates set
references for all subcategories to set the new context.
2025-06-19 12:43:11 +01:00
Mark Johnson 78a1454b95 MDL-85210 question: Update move_question_set_references
move_question_set_references expected the set reference to use the old
filter format.

This change converts the filter to the new format if required, before
updating the category and context ids.
2025-06-19 12:43:10 +01:00
yusufwib01 2ae5a92733 MDL-76414 navigation: Show 'Calendar' link in primary nav to guests 2025-06-19 13:12:47 +07:00
Mihail Geshoski 17f340a968 Merge branch 'MDL-75947-main' of https://github.com/Jayce0808/moodle into main 2025-06-19 12:19:50 +08:00
Huong Nguyen 51774b2176 Merge branch 'MDL-79052_final-deprecation-of-removing-the-legacy-theme-settings' of https://github.com/ziegenberg/moodle 2025-06-19 11:15:45 +07:00
Huong Nguyen daf0a938e1 Merge branch 'MDL-78375_final-deprecation-of-device-related-theme-functions' of https://github.com/ziegenberg/moodle 2025-06-19 11:13:19 +07:00
Huong Nguyen e0a1f66824 Merge branch 'MDL-85159-main' of https://github.com/stevandoMoodle/moodle 2025-06-19 10:03:25 +07:00
Mihail Geshoski aa659485d4 Merge branch 'MDL-85514-main' of https://github.com/snake/moodle into main 2025-06-19 11:01:07 +08:00
yusufwib01 16bed704d8 MDL-76342 core_output: Wrap buttons below heading on small screens 2025-06-19 10:00:40 +07:00
Jake Dallimore 14c75ddcc1 MDL-85514 core_form: support 'in' rule for multiselects via subset of
The 'in' rule currently behaves the same way that 'eq' does when used
with multi-selects, which is not correct. It should be modelled by
checking whether the selected values are a subset of the rule values
(i.e. selected values are 'in' the rule values). This patch implements
that for core form rules as well as for the admin settings show/hide.
Several behat features are updated as well, because these were verifying
the incorrect behaviour for multi-select in rules.
2025-06-19 09:51:11 +08:00
Sara Arjona 235940e424 Merge branch 'MDL-83904-master' of https://github.com/ngtrdai/moodle 2025-06-18 17:19:05 +02:00
Sara Arjona e2a5a88931 Merge branch 'MDL-85463-main' of https://github.com/sarjona/moodle 2025-06-18 13:18:07 +02:00
Daniel Ziegenberg a462df7eb7 MDL-79052 core: Final deprecation of removing the legacy theme settings 2025-06-18 12:23:06 +02:00
Daniel Ziegenberg 678c949d3f MDL-78375 core: Final deprecation of device related theme functions
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-06-18 12:16:56 +02:00
Paul Holden c77a2e49ae Merge branch 'MDL-85158' of https://github.com/pedrojordao/moodle into main 2025-06-18 10:01:45 +01:00
Dai Nguyen Trong 2a077d88b9 MDL-83904 badges: Add namespace to badges/classes/observer.php 2025-06-18 13:04:29 +07:00
Huong Nguyen ee060688fd Merge branch 'MDL-84832-main' of https://github.com/junpataleta/moodle 2025-06-18 09:50:11 +07:00