Laurent David [Mon, 14 Jul 2025 14:05:49 +0000 (16:05 +0200)]
MDL-83900 core_course: Fix behat test using wiki overview
meirzamoodle [Mon, 3 Mar 2025 14:16:28 +0000 (21:16 +0700)]
MDL-65027 core_auth: Implement reCaptcha on forgot password page
Huong Nguyen [Mon, 14 Jul 2025 08:41:25 +0000 (15:41 +0700)]
MDL-85846 media: Use jsrev as the cache key when getting languages
Amaia Anabitarte [Wed, 9 Jul 2025 11:03:57 +0000 (13:03 +0200)]
MDL-85837 core_grades: New is_gradable() function in gradelib
Amaia Anabitarte [Wed, 2 Jul 2025 09:20:43 +0000 (11:20 +0200)]
MDL-85837 mod_assign: Apply last UX changes in overview page
cescobedo [Mon, 14 Jul 2025 08:19:24 +0000 (10:19 +0200)]
Merge branch 'MDL-83900-main' of https://github.com/laurentdavid/moodle
meirzamoodle [Wed, 9 Jul 2025 08:11:31 +0000 (15:11 +0700)]
MDL-85040 forms: Make required form icons decorative
The required icon in mforms is not necessary. The div containing it
already has a title attribute that enables mouse users to hover on the
icon and see its meaning.
Screen reader users will know whether a field is required or not via
the `aria-required` attribute.
Labelling the required icon via `aria-label` does not pass the
a11y audit.
Given these, it only makes sense to make the required icon decorative
for mforms.
Co-authored-by: Jun Pataleta <jun@moodle.com>
Huong Nguyen [Mon, 14 Jul 2025 06:52:19 +0000 (13:52 +0700)]
Merge branch 'MDL-85817-main' of https://github.com/davewoloszyn/moodle
Andrew Nicols [Mon, 14 Jul 2025 03:56:03 +0000 (11:56 +0800)]
MDL-83424 core: Guess dataroot correctly
Andrew Nicols [Wed, 9 Jul 2025 01:17:41 +0000 (09:17 +0800)]
MDL-83424 core: Move admin/cli scripts to root directory
Note: Plugin-specific CLI directories cannot be moved.
Andrew Nicols [Mon, 14 Jul 2025 02:07:33 +0000 (10:07 +0800)]
MDL-83424 core: Make \core\component more resilient outside of install
Huong Nguyen [Mon, 14 Jul 2025 00:43:52 +0000 (07:43 +0700)]
Merge branch 'MDL-83424-main' of https://github.com/andrewnicols/moodle
Andrew Nicols [Tue, 3 Jun 2025 01:02:36 +0000 (09:02 +0800)]
MDL-83424 core: Version bump to clear caches
Andrew Nicols [Tue, 6 May 2025 04:00:59 +0000 (12:00 +0800)]
MDL-83424 message: Add missing MOODLE_INTERNAL checks
Michael Aherne [Sun, 23 Feb 2025 14:49:31 +0000 (14:49 +0000)]
MDL-83424 install: Fix install scripts
Andrew Nicols [Fri, 8 Nov 2024 15:52:59 +0000 (23:52 +0800)]
MDL-83424 core: Update component/plugin resolution to include new paths
Andrew Nicols [Thu, 10 Oct 2024 16:01:39 +0000 (00:01 +0800)]
MDL-83424 core: Fix failing unit test
Andrew Nicols [Fri, 27 Sep 2024 11:45:47 +0000 (19:45 +0800)]
MDL-83424 core: Fix things after restructure
Andrew Nicols [Fri, 4 Oct 2024 02:25:28 +0000 (10:25 +0800)]
MDL-83424 core: Restructure Moodle codebase
AMOS bot [Sat, 12 Jul 2025 00:08:03 +0000 (00:08 +0000)]
Automatically generated installer lang files
Paul Holden [Thu, 10 Jul 2025 17:55:29 +0000 (18:55 +0100)]
MDL-85996 reportbuilder: default "Any value" category filter operator.
Paul Holden [Fri, 11 Jul 2025 14:23:17 +0000 (15:23 +0100)]
MDL-86001 qbank_columnsortorder: populate preview data question text.
Paul Holden [Fri, 11 Jul 2025 10:58:10 +0000 (11:58 +0100)]
MDL-85997 output: require CLI library from corresponding renderer.
Mark Johnson [Thu, 12 Jun 2025 14:21:54 +0000 (15:21 +0100)]
MDL-79540 qbank_managecategories: Don't allow own child as parent
When we build the options for a question category selector, the
"nochildrenof" option isn't correctly compared to the category ID. This
means we can select a category's own children as its new parent.
Michael Hawkins [Fri, 11 Jul 2025 04:48:28 +0000 (12:48 +0800)]
weekly release 5.1dev
Michael Hawkins [Fri, 11 Jul 2025 04:48:27 +0000 (12:48 +0800)]
NOBUG: Add upgrade notes
Leon Stringer [Thu, 30 Jan 2025 14:56:31 +0000 (14:56 +0000)]
MDL-84385 mod_assign: Remove unneeded require_once
Mark Johnson [Fri, 20 Jun 2025 12:15:09 +0000 (13:15 +0100)]
MDL-85257 mod_quiz: Dont show edit links when you dont have permission
The quiz editing page includes an edit link for each question, and a
badge for questions in a shared bank that links to that bank.
It is possible that the user viewing the quiz does not have access to
edit the question or view the question bank, which means these links are
broken.
This change only adds the links if the user has permission for the pages
they link to.
Laurent David [Tue, 27 May 2025 19:48:29 +0000 (21:48 +0200)]
MDL-83900 mod_wiki: Refactor the course index page
Laurent David [Tue, 27 May 2025 19:47:59 +0000 (21:47 +0200)]
MDL-83900 mod_wiki: Add course overview page for wiki
Laurent David [Tue, 27 May 2025 19:46:18 +0000 (21:46 +0200)]
MDL-83900 mod_wiki: Implement a manager class
* Add a manager class and a set of methods that will be
used in the overview page.
* Add a wiki_mode that will store the wiki mode types
Huong Nguyen [Thu, 10 Jul 2025 03:46:33 +0000 (10:46 +0700)]
Merge branch 'MDL-85863-main' of https://github.com/yusufwib01/moodle
Huong Nguyen [Thu, 10 Jul 2025 03:41:55 +0000 (10:41 +0700)]
Merge branch 'MDL-84399-main' of https://github.com/dpfahl-ms/moodle
Mihail Geshoski [Thu, 10 Jul 2025 03:39:24 +0000 (11:39 +0800)]
Merge branch 'MDL-85689-main' of https://github.com/andelacruz/moodle into main
Mark Johnson [Wed, 9 Jul 2025 10:09:44 +0000 (11:09 +0100)]
MDL-85721 qtype_multianswer: Update find_duplicated_subquestions for Oracle compatibility
Mihail Geshoski [Thu, 10 Jul 2025 03:07:25 +0000 (11:07 +0800)]
MDL-84695 mod_qbank: Fix illegal whitespace
Mark Johnson [Thu, 3 Jul 2025 14:51:29 +0000 (15:51 +0100)]
MDL-84695 mod_qbank: Fix unit tests for MS SQL server
Huong Nguyen [Thu, 10 Jul 2025 01:33:24 +0000 (08:33 +0700)]
Merge branch 'MDL-85262' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 10 Jul 2025 01:25:31 +0000 (08:25 +0700)]
Merge branch 'MDL-84901' of https://github.com/paulholden/moodle
Mihail Geshoski [Wed, 9 Jul 2025 15:26:29 +0000 (23:26 +0800)]
Merge branch 'MDL-85939' of https://github.com/paulholden/moodle into main
Mihail Geshoski [Wed, 9 Jul 2025 15:18:45 +0000 (23:18 +0800)]
Merge branch 'MDL-84255-main' of https://github.com/lucaboesch/moodle into main
Mihail Geshoski [Wed, 9 Jul 2025 15:12:19 +0000 (23:12 +0800)]
Merge branch 'MDL-80327_remove-deprecated-class-callbacks-from-mod_quiz' of https://github.com/ziegenberg/moodle into main
Daniel Ziegenberg [Thu, 13 Feb 2025 14:49:06 +0000 (15:49 +0100)]
MDL-80327 mod_quiz: Remove deprecated class callbacks from mod_quiz
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Rajneel Totaram [Tue, 8 Jul 2025 00:23:47 +0000 (12:23 +1200)]
MDL-85246 mod_quiz: Fix quiz grade feedback
Using $CFG->recovergradesdefault and/or $gradeitem->refresh_grades()
are problematic when viewing a quiz. When reenrolling a user with
previous attempts, a teacher can choose not to recover the user's grades,
even when recovergradesdefault=true. This must be respected when
the user views the quiz. For site with recovergradesdefault=false,
the users always see a grade of 0, which is wrong.
This change shows the correct grade score and feedback to users and
avoids unintentionally recovering the grades.
Amaia Anabitarte [Wed, 9 Jul 2025 08:09:33 +0000 (10:09 +0200)]
Merge branch 'MDL-83890-main' of https://github.com/laurentdavid/moodle
cescobedo [Wed, 9 Jul 2025 07:43:36 +0000 (09:43 +0200)]
Merge branch 'MDL-85880' of https://github.com/paulholden/moodle
Huong Nguyen [Wed, 9 Jul 2025 06:18:05 +0000 (13:18 +0700)]
Merge branch 'MDL-83147-main' of https://github.com/meirzamoodle/moodle
Mihail Geshoski [Wed, 9 Jul 2025 02:21:01 +0000 (10:21 +0800)]
Merge branch 'MDL-85721_main' of https://github.com/marxjohnson/moodle into main
andelacruz [Wed, 25 Jun 2025 07:27:12 +0000 (15:27 +0800)]
MDL-85689 mod_quiz: Behat for adding and deleting page from quiz
Huong Nguyen [Wed, 9 Jul 2025 02:10:31 +0000 (09:10 +0700)]
Merge branch 'MDL-85697-main' of https://github.com/andelacruz/moodle
Huong Nguyen [Wed, 9 Jul 2025 02:05:56 +0000 (09:05 +0700)]
Merge branch 'MDL-85779' of https://github.com/paulholden/moodle
Paul Holden [Wed, 11 Jun 2025 21:44:24 +0000 (22:44 +0100)]
MDL-85759 qbank_history: define core `t/log` fontawesome icon mapping.
Its lack of existence caused question action menu misalignment.
Paul Holden [Fri, 4 Jul 2025 01:49:38 +0000 (09:49 +0800)]
MDL-85939 qbank_columnsortorder: improve preview page table alignment.
Kristiina.Bax [Fri, 23 May 2025 13:35:40 +0000 (14:35 +0100)]
MDL-85492 report_questioninstances: sort qtypes in alphabetical order
Mihail Geshoski [Tue, 8 Jul 2025 14:45:20 +0000 (22:45 +0800)]
Merge branch 'MDL-85196' of https://github.com/paulholden/moodle into main
Laurent David [Mon, 19 May 2025 09:53:09 +0000 (11:53 +0200)]
MDL-83890 mod_choice: Migrate index to course overview
* Index page for mod_choice should be consistent with
the overview page
Laurent David [Wed, 21 May 2025 05:34:07 +0000 (07:34 +0200)]
MDL-83890 mod_choice: Migrate to course overview page
* Add overview page renderer
* Add phpunit and behat test for new classes
Laurent David [Wed, 21 May 2025 05:30:18 +0000 (07:30 +0200)]
MDL-83890 mod_choice: Add manager class
* Add manager class to the mod_choice to avoid using
queries in output classes
Mihail Geshoski [Tue, 8 Jul 2025 14:39:50 +0000 (22:39 +0800)]
Merge branch 'MDL-85069_main' of https://github.com/marxjohnson/moodle into main
Mihail Geshoski [Tue, 8 Jul 2025 14:21:54 +0000 (22:21 +0800)]
Merge branch 'MDL-84695-main' of https://github.com/lucaboesch/moodle into main
Mihail Geshoski [Tue, 8 Jul 2025 14:16:12 +0000 (22:16 +0800)]
Merge branch 'MDL-85881_main' of https://github.com/marxjohnson/moodle into main
Amaia Anabitarte [Tue, 8 Jul 2025 13:05:02 +0000 (15:05 +0200)]
Merge branch 'MDL-85659-main' of https://github.com/roland04/moodle
Paul Holden [Mon, 17 Mar 2025 18:13:35 +0000 (18:13 +0000)]
MDL-84901 auth: specific session start error language string.
Huong Nguyen [Tue, 8 Jul 2025 11:13:31 +0000 (18:13 +0700)]
Merge branch 'MDL-84976-main' of https://github.com/rjnl/moodle
Huong Nguyen [Tue, 8 Jul 2025 11:08:33 +0000 (18:08 +0700)]
Merge branch 'MDL-85037' of https://github.com/paulholden/moodle
Mark Johnson [Mon, 7 Jul 2025 14:31:53 +0000 (15:31 +0100)]
MDL-85754 quiz: Test for permission checks in "Add from question bank"
Mark Johnson [Mon, 7 Jul 2025 14:31:12 +0000 (15:31 +0100)]
MDL-85754 question: Don't show banks where user has no permission
The Switch Banks UI was listing all question banks on the course where
the use had the managecategory permission, plus the other banks they had
used recently.
This conflicted with the check when it tried to load a selected bank,
which checked the useall/usemine permissions. This could lead to errors
if this permission had been removed.
This applies consistent checks to both lists with the useall/usermine
permissions instead.
Mark Johnson [Mon, 7 Jul 2025 14:28:19 +0000 (15:28 +0100)]
MDL-85754 question: Only use current context in question_edit_contexts
Due to the changes in question sharing, it no longer makes sense to look
at parent contexts when establishing permissions in the question bank.
Questions now belong to a single activity module, and we should be able
to inherit and override permisions at that level like we do with any
other.
In the longer term, we probably want to replace question_edit_contexts
with something simpler, but for the time being this should apply the
correct permission checks where it's used without requiring a big
refactor of existing code.
Huong Nguyen [Tue, 8 Jul 2025 10:35:01 +0000 (17:35 +0700)]
Merge branch 'MDL-85947_bump-GHA-ubuntu-24-04' of https://github.com/ziegenberg/moodle
cescobedo [Tue, 8 Jul 2025 09:19:54 +0000 (11:19 +0200)]
Merge branch 'MDL-85654-main' of https://github.com/ferranrecio/moodle
Mihail Geshoski [Tue, 8 Jul 2025 09:07:53 +0000 (17:07 +0800)]
Merge branch 'MDL-41924_main' of https://github.com/marxjohnson/moodle into main
Huong Nguyen [Tue, 8 Jul 2025 08:19:12 +0000 (15:19 +0700)]
Merge branch 'MDL-84779-main' of https://github.com/davewoloszyn/moodle
Luca Bösch [Wed, 23 Apr 2025 07:26:29 +0000 (09:26 +0200)]
MDL-84255 quiz: Show quiz title in heading in accessrule_seb layout.
David Woloszyn [Tue, 8 Jul 2025 05:20:21 +0000 (15:20 +1000)]
MDL-84779 core_ai: Convert model settings on upgrade
andelacruz [Tue, 1 Jul 2025 09:23:06 +0000 (17:23 +0800)]
MDL-85697 mod_lesson: Behat for lesson group and user overrides
andelacruz [Tue, 1 Jul 2025 08:10:05 +0000 (16:10 +0800)]
MDL-85697 mod_assign: Behat for assignment group and user overrides
andelacruz [Tue, 24 Jun 2025 09:12:58 +0000 (17:12 +0800)]
MDL-85697 mod_quiz: Behat for quiz group and user overrides
meirzamoodle [Tue, 25 Feb 2025 05:31:19 +0000 (12:31 +0700)]
MDL-83147 AI: Implement detailed AI error messaging logic
meirzamoodle [Tue, 25 Feb 2025 05:31:19 +0000 (12:31 +0700)]
MDL-83147 AI: Introduce error message handler
Paul Holden [Fri, 20 Jun 2025 18:16:43 +0000 (19:16 +0100)]
MDL-85652 block_site_main_menu: correct page context retrieval.
Ensure we retrieve the context for the current page, rather than
the context in which the block was originally added (to account
for it being on site homepage, and being displayed throughout the
entire site).
Amaia Anabitarte [Mon, 7 Jul 2025 14:31:05 +0000 (16:31 +0200)]
Merge branch 'MDL-83896-main' of https://github.com/roland04/moodle
yusufwib01 [Thu, 3 Jul 2025 16:32:50 +0000 (23:32 +0700)]
MDL-85863 user: Defer new-password email until after transaction commit
Daniel Ziegenberg [Mon, 7 Jul 2025 13:57:39 +0000 (15:57 +0200)]
MDL-85947 ci: Bump GHA to Ubuntu 24.04
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
Dennis Pfahl [Tue, 27 May 2025 18:49:13 +0000 (20:49 +0200)]
MDL-84399 repository_nextcloud: Add search support using WebDAV
Co-authored-by: Lucas Gehrlein <lgehrlein@ssystems.de>
Dennis Pfahl [Tue, 27 May 2025 18:43:54 +0000 (20:43 +0200)]
MDL-84399 core: add WebDAV SEARCH support to webdavlib
Co-authored-by: Lucas Gehrlein <lgehrlein@ssystems.de>
ferran [Wed, 4 Jun 2025 14:19:38 +0000 (16:19 +0200)]
MDL-85654 course: purpose categories in activity chooser
Mikel Martín [Thu, 3 Jul 2025 12:59:00 +0000 (14:59 +0200)]
MDL-85659 theme_boost: Fix editor generated tables styles
Trisha Milan [Thu, 17 Apr 2025 01:32:02 +0000 (11:32 +1000)]
MDL-72582 core_files: Add unit test for readfile_accel debugging output
Adds a unit test for the debugging message triggered when readfile_accel() detects
a non-empty output buffer. The readfile_accel() function directly manipulates the
output buffers, so calling it from within PHPUnit triggers an error like "Test code
or tested code closed output buffers other than its own".
As a workaround, the test runs a CLI script in a separate process, allowing buffer
behaviour to be isolated and debugging output to be captured for assertions.
Matt Rice [Fri, 18 Feb 2022 20:30:29 +0000 (15:30 -0500)]
MDL-72582 core_files: Update readfile_accel error handling
Correct the error handling in readfile_accel to properly log errors when
working on a stored_file, rather than hiding the true error behind the
incorrect "Object of class stored_file could not be converted to
string."
Co-authored-by: Simey Lameze <simey@moodle.com>
Co-authored-by: Trisha Milan <trishamilan@catalyst-au.net>
David Woloszyn [Wed, 7 May 2025 01:05:57 +0000 (11:05 +1000)]
MDL-84779 core_ai: Store individual model settings
David Woloszyn [Tue, 29 Apr 2025 02:35:00 +0000 (12:35 +1000)]
MDL-84779 aiprovider_ollama: Configure individual model settings
David Woloszyn [Mon, 28 Apr 2025 04:48:13 +0000 (14:48 +1000)]
MDL-84779 aiprovider_openai: Configure individual model settings
David Woloszyn [Mon, 28 Apr 2025 03:16:24 +0000 (13:16 +1000)]
MDL-84779 core_ai: Add method for getting model settings keys
Laurent David [Mon, 7 Apr 2025 09:21:45 +0000 (11:21 +0200)]
MDL-81702 core_message: Add focustrap and backdrop
* Add focustrap and backdrop to message drawer.
Laurent David [Mon, 7 Apr 2025 07:33:42 +0000 (09:33 +0200)]
MDL-81702 theme_boost: Add focus lock to drawers
* Add focus lock to drawers for small screens
Laurent David [Mon, 7 Apr 2025 05:19:22 +0000 (07:19 +0200)]
MDL-81702 theme_boost: Remove site home link from drawers
* The site-home-link was added to all menu drawers and should
only be added to the main menu drawer (mobile version)
David Woloszyn [Mon, 7 Jul 2025 01:29:40 +0000 (11:29 +1000)]
MDL-85817 mod_assign: Update assignment SMS strings
Luca Bösch [Fri, 28 Feb 2025 13:43:18 +0000 (14:43 +0100)]
MDL-84695 mod_qbank: More precise get_qbank_ids_of_type_in_course query.
Mihail Geshoski [Sun, 6 Jul 2025 01:25:26 +0000 (09:25 +0800)]
weekly release 5.1dev
Mihail Geshoski [Sun, 6 Jul 2025 01:25:25 +0000 (09:25 +0800)]
NOBUG: Add upgrade notes