moodle.git
8 months agoMDL-86017 mod_folder: Cast customdata to object in folder_cm_info_view()
Mi Jia Looi [Tue, 15 Jul 2025 06:12:15 +0000 (16:12 +1000)]
MDL-86017 mod_folder: Cast customdata to object in folder_cm_info_view()

8 months agoMDL-85362 core: Bump versions in moodle_minimum_php_version_is_met()
Huong Nguyen [Tue, 22 Jul 2025 02:56:23 +0000 (09:56 +0700)]
MDL-85362 core: Bump versions in moodle_minimum_php_version_is_met()

8 months agoMDL-85362 GHA: Bump versions to the required values
Huong Nguyen [Tue, 22 Jul 2025 02:53:26 +0000 (09:53 +0700)]
MDL-85362 GHA: Bump versions to the required values

For 5.1:
 - Minimum PostgreSQL version is bumped to 15

8 months agoMDL-85362 core: Define environment requirements for Moodle 5.1
Huong Nguyen [Tue, 22 Jul 2025 02:51:43 +0000 (09:51 +0700)]
MDL-85362 core: Define environment requirements for Moodle 5.1

8 months agoMDL-85295 qtype_ordering: render feedback properly
Rajneel Totaram [Mon, 21 Jul 2025 23:34:35 +0000 (11:34 +1200)]
MDL-85295 qtype_ordering: render feedback properly

'answertext' is already passed through format_text(), so no need to escape it in the template.

8 months agoMDL-85651 course: add activity details to modchooser
ferran [Thu, 10 Jul 2025 15:58:18 +0000 (17:58 +0200)]
MDL-85651 course: add activity details to modchooser

8 months agoMDL-85597 behat: adapt tests to new activity chooser
ferran [Mon, 30 Jun 2025 08:55:16 +0000 (10:55 +0200)]
MDL-85597 behat: adapt tests to new activity chooser

8 months agoMDL-85597 course: add selection to activity chooser
ferran [Fri, 27 Jun 2025 11:43:12 +0000 (13:43 +0200)]
MDL-85597 course: add selection to activity chooser

8 months agoMDL-85989 output: Fix choicelist when selected 0 is not first
Sara Arjona [Thu, 10 Jul 2025 14:52:12 +0000 (16:52 +0200)]
MDL-85989 output: Fix choicelist when selected 0 is not first

Previously, when the selected value in a choicelist was 0 but not in
the first position, the behavior was incorrect.
This commit fixes that issue, ensuring the choicelist behaves as expected
regardless of the position of the 0 value.

8 months agoMDL-86049 core: Do not use the component cache before purge
Andrew Nicols [Wed, 16 Jul 2025 13:14:10 +0000 (21:14 +0800)]
MDL-86049 core: Do not use the component cache before purge

When trying to resolve a corrupt cache where it is not possible to
complete the Moodle setup/bootstrap, it is necessary to ignore the
current cache to load the cache purging infrastructure.

8 months agoMDL-83996 sessions: Fix false positive read only sessions errors
Benjamin Walker [Thu, 12 Dec 2024 05:02:53 +0000 (15:02 +1000)]
MDL-83996 sessions: Fix false positive read only sessions errors

8 months agoMDL-86073 reportbuilder: fix external assertions of button property.
Paul Holden [Fri, 18 Jul 2025 17:37:25 +0000 (18:37 +0100)]
MDL-86073 reportbuilder: fix external assertions of button property.

The tests from c439e2d3 tried to assert they were empty, when in fact
they didn't exist at all. Caused PHPUnit warnings.

8 months agoMDL-83003 core: Add error check for envoy proxy
Daniel Ziegenberg [Wed, 4 Sep 2024 10:14:33 +0000 (12:14 +0200)]
MDL-83003 core: Add error check for envoy proxy

Checking the redis server version is also simplified; once ought to be
enough :)

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
8 months agoMDL-85038 assignment: fix exception on sending assignment notification
Daniel Ziegenberg [Fri, 28 Mar 2025 09:36:08 +0000 (10:36 +0100)]
MDL-85038 assignment: fix exception on sending assignment notification

When the assignment gets deleted between the creation of the ad-hoc task
mod_assign\task\send_assignment_due_soon_notification_to_user or
mod_assign\task\send_assignment_overdue_notification_to_user and its
execution, the ad-hoc task fails with a dml_missing_record_exception and
the task gets stuck.

In this case we do not want the task to fail and just return with an
appropriate mtrace.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
8 months agoweekly release 5.1dev
Mihail Geshoski [Fri, 18 Jul 2025 06:52:14 +0000 (14:52 +0800)]
weekly release 5.1dev

8 months agoNOBUG: Add upgrade notes
Mihail Geshoski [Fri, 18 Jul 2025 06:52:13 +0000 (14:52 +0800)]
NOBUG: Add upgrade notes

8 months agoMerge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Mihail Geshoski [Fri, 18 Jul 2025 06:51:56 +0000 (14:51 +0800)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install

8 months agoMDL-83424 upgradenotes: Correct path to version file
Andrew Nicols [Thu, 17 Jul 2025 09:35:26 +0000 (17:35 +0800)]
MDL-83424 upgradenotes: Correct path to version file

8 months agoMDL-83424 js: Add back accidentally removed line
Andrew Nicols [Thu, 17 Jul 2025 09:32:32 +0000 (17:32 +0800)]
MDL-83424 js: Add back accidentally removed line

8 months agoMDL-85944 block_myoverview: fix previously badly nested SCSS.
Paul Holden [Thu, 17 Jul 2025 06:04:52 +0000 (07:04 +0100)]
MDL-85944 block_myoverview: fix previously badly nested SCSS.

8 months agoMerge branch 'MDL-85846-main' of https://github.com/HuongNV13/moodle
Mihail Geshoski [Thu, 17 Jul 2025 04:22:32 +0000 (12:22 +0800)]
Merge branch 'MDL-85846-main' of https://github.com/HuongNV13/moodle

8 months agoMerge branch 'MDL-85055-main' of https://github.com/lameze/moodle
Mihail Geshoski [Thu, 17 Jul 2025 04:16:01 +0000 (12:16 +0800)]
Merge branch 'MDL-85055-main' of https://github.com/lameze/moodle

8 months agoMerge branch 'MDL-85050-master' of https://github.com/NashTechOpenUniversity/moodle
Huong Nguyen [Thu, 17 Jul 2025 03:23:52 +0000 (10:23 +0700)]
Merge branch 'MDL-85050-master' of https://github.com/NashTechOpenUniversity/moodle

8 months agoMerge branch 'MDL-65027-main' of https://github.com/meirzamoodle/moodle
Huong Nguyen [Thu, 17 Jul 2025 02:59:53 +0000 (09:59 +0700)]
Merge branch 'MDL-65027-main' of https://github.com/meirzamoodle/moodle

8 months agoMDL-83424 tool_task: Correct path to CLI task runners
Andrew Nicols [Thu, 17 Jul 2025 02:34:35 +0000 (10:34 +0800)]
MDL-83424 tool_task: Correct path to CLI task runners

8 months agoMerge branch 'MDL-85944' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 17 Jul 2025 01:52:45 +0000 (08:52 +0700)]
Merge branch 'MDL-85944' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-81384' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 17 Jul 2025 01:43:47 +0000 (08:43 +0700)]
Merge branch 'MDL-81384' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-73003-main' of https://github.com/Jayce0808/moodle
Shamim Rezaie [Wed, 16 Jul 2025 21:30:16 +0000 (07:30 +1000)]
Merge branch 'MDL-73003-main' of https://github.com/Jayce0808/moodle

8 months agoMDL-85055 task: correct use of DI provided frozen Clock API.
Paul Holden [Wed, 16 Jul 2025 18:39:21 +0000 (19:39 +0100)]
MDL-85055 task: correct use of DI provided frozen Clock API.

Fixes some of the usage introduced in tests as part of a35335a9.

8 months agoMerge branch 'MDL-77237-main' of https://github.com/meirzamoodle/moodle
Mihail Geshoski [Wed, 16 Jul 2025 15:54:38 +0000 (23:54 +0800)]
Merge branch 'MDL-77237-main' of https://github.com/meirzamoodle/moodle

8 months agoMerge branch 'MDL-85726-main' of https://github.com/HuongNV13/moodle
Mihail Geshoski [Wed, 16 Jul 2025 15:38:48 +0000 (23:38 +0800)]
Merge branch 'MDL-85726-main' of https://github.com/HuongNV13/moodle

8 months agoMerge branch 'MDL-85996' of https://github.com/paulholden/moodle
Mihail Geshoski [Wed, 16 Jul 2025 15:27:34 +0000 (23:27 +0800)]
Merge branch 'MDL-85996' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-83893-main-int' of https://github.com/sarjona/moodle
Amaia Anabitarte [Wed, 16 Jul 2025 10:53:59 +0000 (12:53 +0200)]
Merge branch 'MDL-83893-main-int' of https://github.com/sarjona/moodle

8 months agoMDL-85726 tiny_premium: Support on-premise via Service URL
Huong Nguyen [Sun, 22 Jun 2025 01:32:59 +0000 (08:32 +0700)]
MDL-85726 tiny_premium: Support on-premise via Service URL

Some Tiny Premium features require server-side components.
It was done by Tiny Cloud. Alternatively, if you are using
a Self-hosted solution, you can use the on-premise version

On-premise version can be installed and run on an in-house
server an computing infrastructure, including a private cloud

8 months agoMDL-83893 mod_forum: Redirect index.php to course overview
Sara Arjona [Fri, 27 Jun 2025 06:47:36 +0000 (08:47 +0200)]
MDL-83893 mod_forum: Redirect index.php to course overview

8 months agoMDL-83893 mod_forum: Add course overview integration
Sara Arjona [Wed, 18 Jun 2025 16:23:08 +0000 (18:23 +0200)]
MDL-83893 mod_forum: Add course overview integration

8 months agoMDL-83893 mod_forum: Add WS calls to support toggle
Sara Arjona [Wed, 25 Jun 2025 18:23:43 +0000 (20:23 +0200)]
MDL-83893 mod_forum: Add WS calls to support toggle

8 months agoMerge branch 'MDL-84466_main' of https://github.com/marxjohnson/moodle
Mihail Geshoski [Wed, 16 Jul 2025 05:19:23 +0000 (13:19 +0800)]
Merge branch 'MDL-84466_main' of https://github.com/marxjohnson/moodle

8 months agoMerge branch 'MDL-85825-main' of https://github.com/Jayce0808/moodle
Huong Nguyen [Wed, 16 Jul 2025 03:13:00 +0000 (10:13 +0700)]
Merge branch 'MDL-85825-main' of https://github.com/Jayce0808/moodle

8 months agoMerge branch 'MDL-85609' of https://github.com/paulholden/moodle
Huong Nguyen [Wed, 16 Jul 2025 02:52:28 +0000 (09:52 +0700)]
Merge branch 'MDL-85609' of https://github.com/paulholden/moodle

8 months agoMDL-83558 mod_forum: fix incorrect message on edge case scenario
Andrew Gosali [Wed, 5 Feb 2025 05:43:20 +0000 (12:43 +0700)]
MDL-83558 mod_forum: fix incorrect message on edge case scenario

(when student tries to see all participants on a forum with visible groups mode)

8 months agoMDL-86023 core_task: Task failures always log a stack trace
Alexander Van der Bellen [Tue, 15 Jul 2025 12:59:41 +0000 (20:59 +0800)]
MDL-86023 core_task: Task failures always log a stack trace

8 months agoMDL-84466 question/qbank: Update pending transfer notification
Mark Johnson [Thu, 20 Mar 2025 11:01:45 +0000 (11:01 +0000)]
MDL-84466 question/qbank: Update pending transfer notification

This updates the logic and text of the notification that is shown while
the question transfer task is still pending, to include instances of the
new transfer_questions task. It also ensures the notification is shown
if a user tries to access the question editing screen from outside the
question bank.

8 months agoMDL-84466 qbank: Transfer question files and tags in separate tasks
Mark Johnson [Tue, 11 Feb 2025 08:40:07 +0000 (08:40 +0000)]
MDL-84466 qbank: Transfer question files and tags in separate tasks

On a large site, the task to transfer question categories to the new
mod_qbanks contexts could take a very long time, as of any transferred
categories contain questions using files, each file has to be updated
individually.

This change splits up the transfer into 2 stages. The first stage
(transfer_question_categories) updates the context IDs on each question
category and moves them to their new top category, then spawns an
instance of transfer_questions for each category that was moved.
transfer_questions then handles moving the files and tags for questions
in a single category at a time. This allows the transfer process to be
parallelised by using multi cron or ad-hoc task runners, so should speed
things up on larger sites.

8 months agoMDL-77237 core: Suppress debugging during capabilities cleanup
meirzamoodle [Wed, 2 Jul 2025 05:13:49 +0000 (12:13 +0700)]
MDL-77237 core: Suppress debugging during capabilities cleanup

To prevent the debugging messages from appearing during the upgrade,
I set a flag to hide them.

For the test file, I adjusted the parameters in
the unassign_capability() function, which seemed to be using
the parameter intended for assign_capability().

8 months agoMDL-85944 block_myoverview: specific styling for "My courses" page. 6415776da9ee5567cca03b08224749c030fc86d9
Paul Holden [Tue, 8 Jul 2025 08:11:49 +0000 (09:11 +0100)]
MDL-85944 block_myoverview: specific styling for "My courses" page.

8 months agoMerge branch 'MDL-84795' of https://github.com/paulholden/moodle
Huong Nguyen [Tue, 15 Jul 2025 03:42:05 +0000 (10:42 +0700)]
Merge branch 'MDL-84795' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-85257_main' of https://github.com/marxjohnson/moodle
Mihail Geshoski [Tue, 15 Jul 2025 03:27:00 +0000 (11:27 +0800)]
Merge branch 'MDL-85257_main' of https://github.com/marxjohnson/moodle

8 months agoMDL-86018 tool_xmldb: Check XML content in reconciler
Andrew Nicols [Tue, 15 Jul 2025 03:17:34 +0000 (11:17 +0800)]
MDL-86018 tool_xmldb: Check XML content in reconciler

8 months agoMerge branch 'MDL-85246-main' of https://github.com/rjnl/moodle
Mihail Geshoski [Tue, 15 Jul 2025 03:13:04 +0000 (11:13 +0800)]
Merge branch 'MDL-85246-main' of https://github.com/rjnl/moodle

8 months agoMerge branch 'MDL-72582-main' of https://github.com/tsmilan/moodle
Huong Nguyen [Tue, 15 Jul 2025 03:07:34 +0000 (10:07 +0700)]
Merge branch 'MDL-72582-main' of https://github.com/tsmilan/moodle

8 months agoMerge branch 'MDL-86016-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Tue, 15 Jul 2025 02:55:55 +0000 (09:55 +0700)]
Merge branch 'MDL-86016-main' of https://github.com/andrewnicols/moodle

8 months agoMerge branch 'MDL-85040-main-new' of https://github.com/meirzamoodle/moodle
Huong Nguyen [Tue, 15 Jul 2025 02:42:10 +0000 (09:42 +0700)]
Merge branch 'MDL-85040-main-new' of https://github.com/meirzamoodle/moodle

8 months agoMerge branch 'MDL-85754_main' of https://github.com/marxjohnson/moodle
Mihail Geshoski [Tue, 15 Jul 2025 02:32:16 +0000 (10:32 +0800)]
Merge branch 'MDL-85754_main' of https://github.com/marxjohnson/moodle

8 months agoMerge branch 'MDL-84385-requireonce' of https://github.com/leonstr/moodle into main
Mihail Geshoski [Tue, 15 Jul 2025 01:42:47 +0000 (09:42 +0800)]
Merge branch 'MDL-84385-requireonce' of https://github.com/leonstr/moodle into main

8 months agoMDL-86016 core: Remove xmldb test in favour of unit test
Andrew Nicols [Tue, 15 Jul 2025 01:31:51 +0000 (09:31 +0800)]
MDL-86016 core: Remove xmldb test in favour of unit test

8 months agoMDL-86016 tests: Make install.xml test less restrictive
Andrew Nicols [Tue, 15 Jul 2025 01:23:17 +0000 (09:23 +0800)]
MDL-86016 tests: Make install.xml test less restrictive

8 months agoMDL-85922 completion: correct/re-use new activity icon style classes.
Paul Holden [Tue, 15 Jul 2025 00:24:29 +0000 (01:24 +0100)]
MDL-85922 completion: correct/re-use new activity icon style classes.

8 months agoMDL-81384 theme_boost: centre help icon margin/padding.
Paul Holden [Thu, 15 May 2025 20:48:45 +0000 (21:48 +0100)]
MDL-81384 theme_boost: centre help icon margin/padding.

8 months agoMerge branch 'MDL-83900-main-patch' of https://github.com/laurentdavid/moodle
Sara Arjona [Mon, 14 Jul 2025 14:26:36 +0000 (16:26 +0200)]
Merge branch 'MDL-83900-main-patch' of https://github.com/laurentdavid/moodle

8 months agoMerge branch 'MDL-85837-main' of https://github.com/aanabit/moodle
Sara Arjona [Mon, 14 Jul 2025 14:13:11 +0000 (16:13 +0200)]
Merge branch 'MDL-85837-main' of https://github.com/aanabit/moodle

8 months agoMDL-83900 core_course: Fix behat test using wiki overview
Laurent David [Mon, 14 Jul 2025 14:05:49 +0000 (16:05 +0200)]
MDL-83900 core_course: Fix behat test using wiki overview

8 months agoMDL-65027 core_auth: Implement reCaptcha on forgot password page
meirzamoodle [Mon, 3 Mar 2025 14:16:28 +0000 (21:16 +0700)]
MDL-65027 core_auth: Implement reCaptcha on forgot password page

8 months agoMDL-85846 media: Use jsrev as the cache key when getting languages
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

8 months agoMDL-85837 core_grades: New is_gradable() function in gradelib
Amaia Anabitarte [Wed, 9 Jul 2025 11:03:57 +0000 (13:03 +0200)]
MDL-85837 core_grades: New is_gradable() function in gradelib

8 months agoMDL-85837 mod_assign: Apply last UX changes in overview page
Amaia Anabitarte [Wed, 2 Jul 2025 09:20:43 +0000 (11:20 +0200)]
MDL-85837 mod_assign: Apply last UX changes in overview page

8 months agoMerge branch 'MDL-83900-main' of https://github.com/laurentdavid/moodle
cescobedo [Mon, 14 Jul 2025 08:19:24 +0000 (10:19 +0200)]
Merge branch 'MDL-83900-main' of https://github.com/laurentdavid/moodle

8 months agoMDL-85040 forms: Make required form icons decorative
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>
8 months agoMerge branch 'MDL-85817-main' of https://github.com/davewoloszyn/moodle
Huong Nguyen [Mon, 14 Jul 2025 06:52:19 +0000 (13:52 +0700)]
Merge branch 'MDL-85817-main' of https://github.com/davewoloszyn/moodle

8 months agoMDL-83424 core: Guess dataroot correctly
Andrew Nicols [Mon, 14 Jul 2025 03:56:03 +0000 (11:56 +0800)]
MDL-83424 core: Guess dataroot correctly

8 months agoMDL-83424 core: Move admin/cli scripts to root directory
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.

8 months agoMDL-83424 core: Make \core\component more resilient outside of install
Andrew Nicols [Mon, 14 Jul 2025 02:07:33 +0000 (10:07 +0800)]
MDL-83424 core: Make \core\component more resilient outside of install

8 months agoMerge branch 'MDL-83424-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Mon, 14 Jul 2025 00:43:52 +0000 (07:43 +0700)]
Merge branch 'MDL-83424-main' of https://github.com/andrewnicols/moodle

8 months agoMDL-83424 core: Version bump to clear caches
Andrew Nicols [Tue, 3 Jun 2025 01:02:36 +0000 (09:02 +0800)]
MDL-83424 core: Version bump to clear caches

8 months agoMDL-83424 message: Add missing MOODLE_INTERNAL checks
Andrew Nicols [Tue, 6 May 2025 04:00:59 +0000 (12:00 +0800)]
MDL-83424 message: Add missing MOODLE_INTERNAL checks

8 months agoMDL-83424 install: Fix install scripts
Michael Aherne [Sun, 23 Feb 2025 14:49:31 +0000 (14:49 +0000)]
MDL-83424 install: Fix install scripts

8 months agoMDL-83424 core: Update component/plugin resolution to include new paths 3133520615dceb2df38a16b4b3b1166a1f9079e7
Andrew Nicols [Fri, 8 Nov 2024 15:52:59 +0000 (23:52 +0800)]
MDL-83424 core: Update component/plugin resolution to include new paths

8 months agoMDL-83424 core: Fix failing unit test
Andrew Nicols [Thu, 10 Oct 2024 16:01:39 +0000 (00:01 +0800)]
MDL-83424 core: Fix failing unit test

8 months agoMDL-83424 core: Fix things after restructure
Andrew Nicols [Fri, 27 Sep 2024 11:45:47 +0000 (19:45 +0800)]
MDL-83424 core: Fix things after restructure

8 months agoMDL-83424 core: Restructure Moodle codebase f747c15cbf1c1c963a9592a73b167b969ec33d75
Andrew Nicols [Fri, 4 Oct 2024 02:25:28 +0000 (10:25 +0800)]
MDL-83424 core: Restructure Moodle codebase

8 months agoAutomatically generated installer lang files
AMOS bot [Sat, 12 Jul 2025 00:08:03 +0000 (00:08 +0000)]
Automatically generated installer lang files

8 months agoMDL-85996 reportbuilder: default "Any value" category filter operator.
Paul Holden [Thu, 10 Jul 2025 17:55:29 +0000 (18:55 +0100)]
MDL-85996 reportbuilder: default "Any value" category filter operator.

8 months agoMDL-86001 qbank_columnsortorder: populate preview data question text.
Paul Holden [Fri, 11 Jul 2025 14:23:17 +0000 (15:23 +0100)]
MDL-86001 qbank_columnsortorder: populate preview data question text.

8 months agoMDL-85997 output: require CLI library from corresponding renderer.
Paul Holden [Fri, 11 Jul 2025 10:58:10 +0000 (11:58 +0100)]
MDL-85997 output: require CLI library from corresponding renderer.

8 months agoMDL-79540 qbank_managecategories: Don't allow own child as parent
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.

8 months agoweekly release 5.1dev
Michael Hawkins [Fri, 11 Jul 2025 04:48:28 +0000 (12:48 +0800)]
weekly release 5.1dev

8 months agoNOBUG: Add upgrade notes
Michael Hawkins [Fri, 11 Jul 2025 04:48:27 +0000 (12:48 +0800)]
NOBUG: Add upgrade notes

8 months agoMDL-84385 mod_assign: Remove unneeded require_once
Leon Stringer [Thu, 30 Jan 2025 14:56:31 +0000 (14:56 +0000)]
MDL-84385 mod_assign: Remove unneeded require_once

8 months agoMDL-85257 mod_quiz: Dont show edit links when you dont have permission
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.

8 months agoMDL-83900 mod_wiki: Refactor the course index page
Laurent David [Tue, 27 May 2025 19:48:29 +0000 (21:48 +0200)]
MDL-83900 mod_wiki: Refactor the course index page

8 months agoMDL-83900 mod_wiki: Add course overview page for wiki
Laurent David [Tue, 27 May 2025 19:47:59 +0000 (21:47 +0200)]
MDL-83900 mod_wiki: Add course overview page for wiki

8 months agoMDL-83900 mod_wiki: Implement a manager class
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

8 months agoMerge branch 'MDL-85863-main' of https://github.com/yusufwib01/moodle
Huong Nguyen [Thu, 10 Jul 2025 03:46:33 +0000 (10:46 +0700)]
Merge branch 'MDL-85863-main' of https://github.com/yusufwib01/moodle

8 months agoMerge branch 'MDL-84399-main' of https://github.com/dpfahl-ms/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

8 months agoMerge branch 'MDL-85689-main' of https://github.com/andelacruz/moodle into main
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

8 months agoMDL-85721 qtype_multianswer: Update find_duplicated_subquestions for Oracle compatibility
Mark Johnson [Wed, 9 Jul 2025 10:09:44 +0000 (11:09 +0100)]
MDL-85721 qtype_multianswer: Update find_duplicated_subquestions for Oracle compatibility

8 months agoMDL-84695 mod_qbank: Fix illegal whitespace
Mihail Geshoski [Thu, 10 Jul 2025 03:07:25 +0000 (11:07 +0800)]
MDL-84695 mod_qbank: Fix illegal whitespace

8 months agoMDL-84695 mod_qbank: Fix unit tests for MS SQL server
Mark Johnson [Thu, 3 Jul 2025 14:51:29 +0000 (15:51 +0100)]
MDL-84695 mod_qbank: Fix unit tests for MS SQL server

8 months agoMerge branch 'MDL-85262' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 10 Jul 2025 01:33:24 +0000 (08:33 +0700)]
Merge branch 'MDL-85262' of https://github.com/paulholden/moodle

8 months agoMerge branch 'MDL-84901' 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