integration.git
16 hours agoMerge branch 'MDL-83231-main' of https://github.com/andrewnicols/moodle main
Mihail Geshoski [Tue, 5 May 2026 06:29:38 +0000 (14:29 +0800)]
Merge branch 'MDL-83231-main' of https://github.com/andrewnicols/moodle

19 hours agoMerge branch 'MDL-88505-main' of https://github.com/meirzamoodle/moodle
Adrian Greeve [Tue, 5 May 2026 03:26:00 +0000 (11:26 +0800)]
Merge branch 'MDL-88505-main' of https://github.com/meirzamoodle/moodle

19 hours agoMDL-87174 core: Check that session is not started before starting
Andrew Nicols [Tue, 5 May 2026 03:14:29 +0000 (11:14 +0800)]
MDL-87174 core: Check that session is not started before starting

20 hours agoMerge branch 'MDL-87555-main' of https://github.com/andimendunia/moodle
Huong Nguyen [Tue, 5 May 2026 02:47:37 +0000 (09:47 +0700)]
Merge branch 'MDL-87555-main' of https://github.com/andimendunia/moodle

20 hours agoMerge branch 'MDL-87792-main' of https://github.com/Jayce0808/moodle
Huong Nguyen [Tue, 5 May 2026 02:45:52 +0000 (09:45 +0700)]
Merge branch 'MDL-87792-main' of https://github.com/Jayce0808/moodle

20 hours agoMerge branch 'MDL-88113-main' of https://github.com/meirzamoodle/moodle
Adrian Greeve [Tue, 5 May 2026 02:40:50 +0000 (10:40 +0800)]
Merge branch 'MDL-88113-main' of https://github.com/meirzamoodle/moodle

21 hours agoMerge branch 'MDL-87421' of https://github.com/paulholden/moodle
Huong Nguyen [Tue, 5 May 2026 02:13:49 +0000 (09:13 +0700)]
Merge branch 'MDL-87421' of https://github.com/paulholden/moodle

21 hours agoMerge branch 'MDL-64249-main' of https://github.com/AnupamaSarjoshi/moodle
Huong Nguyen [Tue, 5 May 2026 02:11:25 +0000 (09:11 +0700)]
Merge branch 'MDL-64249-main' of https://github.com/AnupamaSarjoshi/moodle

21 hours agoMerge branch 'MDL-87313-main' of https://github.com/davewoloszyn/moodle
Huong Nguyen [Tue, 5 May 2026 02:09:05 +0000 (09:09 +0700)]
Merge branch 'MDL-87313-main' of https://github.com/davewoloszyn/moodle

21 hours agoMerge branch 'MDL-86597' of https://github.com/paulholden/moodle
Huong Nguyen [Tue, 5 May 2026 02:05:53 +0000 (09:05 +0700)]
Merge branch 'MDL-86597' of https://github.com/paulholden/moodle

31 hours agoMerge branch 'MDL-88397' of https://github.com/paulholden/moodle
Sara Arjona [Mon, 4 May 2026 15:31:43 +0000 (17:31 +0200)]
Merge branch 'MDL-88397' of https://github.com/paulholden/moodle

32 hours agoMerge branch 'MDL-88579-main' of https://github.com/andrewnicols/moodle
Mihail Geshoski [Mon, 4 May 2026 15:14:25 +0000 (23:14 +0800)]
Merge branch 'MDL-88579-main' of https://github.com/andrewnicols/moodle

34 hours agoMDL-64249 user: Show extra status info for Not current status
Anupama Sarjoshi [Wed, 11 Mar 2026 10:28:35 +0000 (15:58 +0530)]
MDL-64249 user: Show extra status info for Not current status

Add explanatory messages for “Not current” enrolment status
(future start date, expired enrolment, and disabled plugin).

41 hours agoMerge branch 'MDL-87174-main' of https://github.com/andrewnicols/moodle
Mihail Geshoski [Mon, 4 May 2026 05:37:55 +0000 (13:37 +0800)]
Merge branch 'MDL-87174-main' of https://github.com/andrewnicols/moodle

43 hours agoMDL-88113 core: Add ESM layer for consuming AMD modules in React
Meirza [Mon, 4 May 2026 03:59:56 +0000 (10:59 +0700)]
MDL-88113 core: Add ESM layer for consuming AMD modules in React

Introduces requireAsync/requireManyAsync in core/amd to wrap RequireJS's
callback-based requirejs() in native Promises. Uses requirejs instead of
require to avoid ambiguity with Node's module system. Type definitions come
from @types/requirejs and @types/jquery rather than custom ambient declarations,
and JQuery.Thenable is used for the deferred type instead of a hand-rolled
equivalent.

Builds core/ajax on top to bridge jQuery Deferreds from core/ajax.call()
into fetchOne(), fetchMany(), and isMoodleAjaxError(). The ajax module is
loaded at module root via top-level await so callers do not pay a lazy-load
overhead on every call. core/fetch is wrapped the same way for modules that
already return native Promises.

Also includes ESLint TypeScript overrides to suppress false positives on
type method parameters.

44 hours agoMDL-88579 core: Allow previous exception to be passed
Andrew Nicols [Thu, 4 Dec 2025 05:08:19 +0000 (13:08 +0800)]
MDL-88579 core: Allow previous exception to be passed

44 hours agoMDL-87174 core: Update endpoints which do not use cookies
Andrew Nicols [Mon, 23 Mar 2026 03:10:51 +0000 (11:10 +0800)]
MDL-87174 core: Update endpoints which do not use cookies

44 hours agoMDL-87174 core: Add helper for loading full Moodle stack
Andrew Nicols [Mon, 23 Mar 2026 02:55:43 +0000 (10:55 +0800)]
MDL-87174 core: Add helper for loading full Moodle stack

44 hours agoMDL-87174 core: Allow sessions to be started after NO_MOODLE_COOKIES
Andrew Nicols [Wed, 12 Nov 2025 06:36:36 +0000 (14:36 +0800)]
MDL-87174 core: Allow sessions to be started after NO_MOODLE_COOKIES

2 days agoMDL-83231 core: Deprecate the FEATURE_GROUPMEMBERSONLY constant
Andrew Nicols [Tue, 28 Apr 2026 02:17:22 +0000 (10:17 +0800)]
MDL-83231 core: Deprecate the FEATURE_GROUPMEMBERSONLY constant

4 days agoweekly release 5.3dev
Shamim Rezaie [Fri, 1 May 2026 07:22:38 +0000 (17:22 +1000)]
weekly release 5.3dev

5 days agoMerge branch 'mdl83526' of https://github.com/danmarsden/moodle
Huong Nguyen [Thu, 30 Apr 2026 04:31:17 +0000 (11:31 +0700)]
Merge branch 'mdl83526' of https://github.com/danmarsden/moodle

5 days agoMerge branch 'MDL-88424-main' of https://github.com/andimendunia/moodle
Huong Nguyen [Thu, 30 Apr 2026 04:28:32 +0000 (11:28 +0700)]
Merge branch 'MDL-88424-main' of https://github.com/andimendunia/moodle

5 days agoMerge branch 'MDL-87668' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 30 Apr 2026 04:25:37 +0000 (11:25 +0700)]
Merge branch 'MDL-87668' of https://github.com/paulholden/moodle

5 days agoMerge branch 'MDL-87566' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 30 Apr 2026 04:23:48 +0000 (11:23 +0700)]
Merge branch 'MDL-87566' of https://github.com/paulholden/moodle

7 days agoMDL-83526 core: Improve SameSite handling.
Dan Marsden [Tue, 17 Mar 2026 01:56:48 +0000 (14:56 +1300)]
MDL-83526 core: Improve SameSite handling.

7 days agoMerge branch 'MDL-86169_main' of https://github.com/marxjohnson/moodle
Huong Nguyen [Tue, 28 Apr 2026 02:11:01 +0000 (09:11 +0700)]
Merge branch 'MDL-86169_main' of https://github.com/marxjohnson/moodle

7 days agoMerge branch 'MDL-88369-main' of https://github.com/lucaboesch/moodle
Huong Nguyen [Tue, 28 Apr 2026 01:24:13 +0000 (08:24 +0700)]
Merge branch 'MDL-88369-main' of https://github.com/lucaboesch/moodle

7 days agoMerge branch 'MDL-87365-take2' of https://github.com/timhunt/moodle
Huong Nguyen [Tue, 28 Apr 2026 01:21:13 +0000 (08:21 +0700)]
Merge branch 'MDL-87365-take2' of https://github.com/timhunt/moodle

8 days agoMDL-87555 enrol_fee: add scheduled task to process enrolment expirations
Andi Permana [Tue, 7 Apr 2026 02:38:50 +0000 (09:38 +0700)]
MDL-87555 enrol_fee: add scheduled task to process enrolment expirations

8 days agoMDL-88424 libraries: fix PHP 8.1 stripos() null deprecation in XHProf
Andi Permana [Mon, 27 Apr 2026 06:33:10 +0000 (13:33 +0700)]
MDL-88424 libraries: fix PHP 8.1 stripos() null deprecation in XHProf

8 days agoMDL-88369 backup: Multilang course name in recycle bin.
Luca Bösch [Fri, 3 Apr 2026 11:06:53 +0000 (13:06 +0200)]
MDL-88369 backup: Multilang course name in recycle bin.

8 days agoMDL-88505 javascript: add core/import & core/component AMD for ESM
meirzamoodle [Thu, 23 Apr 2026 06:09:45 +0000 (13:09 +0700)]
MDL-88505 javascript: add core/import & core/component AMD for ESM

8 days agoweekly on-sync release 5.3dev
Huong Nguyen [Mon, 27 Apr 2026 02:42:33 +0000 (09:42 +0700)]
weekly on-sync release 5.3dev

8 days agoMerge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Huong Nguyen [Mon, 27 Apr 2026 02:41:54 +0000 (09:41 +0700)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install

10 days agoAutomatically generated installer lang files
AMOS bot [Sat, 25 Apr 2026 00:07:56 +0000 (00:07 +0000)]
Automatically generated installer lang files

11 days agoMDL-87219 course: Remove failed Behat test
Huong Nguyen [Fri, 24 Apr 2026 04:12:14 +0000 (11:12 +0700)]
MDL-87219 course: Remove failed Behat test

11 days agoAutomatically generated installer lang files
AMOS bot [Fri, 24 Apr 2026 00:08:34 +0000 (00:08 +0000)]
Automatically generated installer lang files

12 days agoMerge branch 'MDL-88479' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 23 Apr 2026 02:38:15 +0000 (09:38 +0700)]
Merge branch 'MDL-88479' of https://github.com/paulholden/moodle

12 days agoAutomatically generated installer lang files
AMOS bot [Thu, 23 Apr 2026 00:07:55 +0000 (00:07 +0000)]
Automatically generated installer lang files

13 days agoMerge branch 'MDL-80321-main' of https://github.com/Jayce0808/moodle
Mihail Geshoski [Wed, 22 Apr 2026 08:09:21 +0000 (16:09 +0800)]
Merge branch 'MDL-80321-main' of https://github.com/Jayce0808/moodle

13 days agoMerge branch 'MDL-87879-main' of https://github.com/sh-csg/moodle
Mihail Geshoski [Wed, 22 Apr 2026 08:00:52 +0000 (16:00 +0800)]
Merge branch 'MDL-87879-main' of https://github.com/sh-csg/moodle

13 days agoMerge branch 'MDL-83091-cache-404' of https://github.com/brendanheywood/moodle
Huong Nguyen [Wed, 22 Apr 2026 01:51:56 +0000 (08:51 +0700)]
Merge branch 'MDL-83091-cache-404' of https://github.com/brendanheywood/moodle

13 days agoMerge branch 'MDL-88375-main' of https://github.com/lucaboesch/moodle
Huong Nguyen [Wed, 22 Apr 2026 01:46:55 +0000 (08:46 +0700)]
Merge branch 'MDL-88375-main' of https://github.com/lucaboesch/moodle

13 days agoMerge branch 'MDL-88422-main' of https://github.com/cameron1729/moodle
Huong Nguyen [Wed, 22 Apr 2026 01:42:37 +0000 (08:42 +0700)]
Merge branch 'MDL-88422-main' of https://github.com/cameron1729/moodle

13 days agoMerge branch 'MDL-88137-main' of https://github.com/yusufwib01/moodle
Huong Nguyen [Wed, 22 Apr 2026 01:39:59 +0000 (08:39 +0700)]
Merge branch 'MDL-88137-main' of https://github.com/yusufwib01/moodle

13 days agoMerge branch 'MDL-83815-main' of https://github.com/muhammadarnaldo/moodle
Huong Nguyen [Wed, 22 Apr 2026 01:26:54 +0000 (08:26 +0700)]
Merge branch 'MDL-83815-main' of https://github.com/muhammadarnaldo/moodle

13 days agoMerge branch 'MDL-86816-main' of https://github.com/yusufwib01/moodle
Huong Nguyen [Wed, 22 Apr 2026 01:23:55 +0000 (08:23 +0700)]
Merge branch 'MDL-86816-main' of https://github.com/yusufwib01/moodle

13 days agoAutomatically generated installer lang files
AMOS bot [Wed, 22 Apr 2026 00:07:56 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoMDL-88479 output: correct initial spacing of paging size selector.
Paul Holden [Fri, 17 Apr 2026 12:14:11 +0000 (13:14 +0100)]
MDL-88479 output: correct initial spacing of paging size selector.

See also 0faeff2e, which largely resolved this. We just need to match
the expected DOM attributes here.

2 weeks agoMDL-87421 mod: deprecated unused "modhidden" language strings.
Paul Holden [Mon, 29 Dec 2025 14:21:44 +0000 (14:21 +0000)]
MDL-87421 mod: deprecated unused "modhidden" language strings.

Appeared entirely unused in c5bd7dfe, remove now.

2 weeks agoMDL-87566 communication: defensive usage of processor instance.
Paul Holden [Mon, 29 Dec 2025 12:26:48 +0000 (12:26 +0000)]
MDL-87566 communication: defensive usage of processor instance.

Ensure it actually exists before trying to interact with it.

2 weeks agoMDL-87668 output: ensure toggle element reflects current values.
Paul Holden [Wed, 14 Jan 2026 14:09:39 +0000 (14:09 +0000)]
MDL-87668 output: ensure toggle element reflects current values.

This affected the various AI provider/placement admin tables, where
using the toggle and then refreshing the page could show the previous
value on reload.

2 weeks agoMerge branch 'MDL-88403' of https://github.com/yerairogo/moodle
Paul Holden [Tue, 21 Apr 2026 10:34:12 +0000 (11:34 +0100)]
Merge branch 'MDL-88403' of https://github.com/yerairogo/moodle

2 weeks agoMDL-83091 theme: Serve correct 404's when cached files not found
Brendan Heywood [Fri, 5 Dec 2025 15:16:42 +0000 (02:16 +1100)]
MDL-83091 theme: Serve correct 404's when cached files not found

2 weeks agoMDL-83815 core_rating: Grade update after forum rating removal
Muhammad Arnaldo [Tue, 28 Oct 2025 14:34:22 +0000 (21:34 +0700)]
MDL-83815 core_rating: Grade update after forum rating removal

Prevents the previous non-null rating value from persisting in
the gradebook and single view report after an instructor sets a
forum post rating back to "Rate...". This ensures the gradebook
correctly reflects the null rating and allows forum rating
settings to be updated as expected after a rating is removed.

2 weeks agoMerge branch 'MDL-87219-main' of https://github.com/lucaboesch/moodle
Huong Nguyen [Tue, 21 Apr 2026 01:45:46 +0000 (08:45 +0700)]
Merge branch 'MDL-87219-main' of https://github.com/lucaboesch/moodle

2 weeks agoMerge branch 'MDL-87930-main' of https://github.com/muhammadarnaldo/moodle
Huong Nguyen [Tue, 21 Apr 2026 01:38:05 +0000 (08:38 +0700)]
Merge branch 'MDL-87930-main' of https://github.com/muhammadarnaldo/moodle

2 weeks agoMerge branch 'MDL-87497' of https://github.com/paulholden/moodle
Huong Nguyen [Tue, 21 Apr 2026 01:35:14 +0000 (08:35 +0700)]
Merge branch 'MDL-87497' of https://github.com/paulholden/moodle

2 weeks agoMerge branch 'MDL-86088-cache-warning' of https://github.com/brendanheywood/moodle
Huong Nguyen [Tue, 21 Apr 2026 01:32:14 +0000 (08:32 +0700)]
Merge branch 'MDL-86088-cache-warning' of https://github.com/brendanheywood/moodle

2 weeks agoMDL-88137 tool_mfa: prevent lock counter exceeding lockout threshold
yusufwib01 [Wed, 1 Apr 2026 16:58:02 +0000 (23:58 +0700)]
MDL-88137 tool_mfa: prevent lock counter exceeding lockout threshold

2 weeks agoMDL-86816 quiz: skip restricted users in open-soon notifications
yusufwib01 [Tue, 7 Apr 2026 16:01:43 +0000 (23:01 +0700)]
MDL-86816 quiz: skip restricted users in open-soon notifications

2 weeks agoMDL-87879 courseformat: Exclude not displaying modules from state update
Stefan Hanauska [Wed, 18 Feb 2026 06:24:58 +0000 (07:24 +0100)]
MDL-87879 courseformat: Exclude not displaying modules from state update

2 weeks agoMDL-80321 mod_lesson: redirect to correct page on unlimited attempts
Jayce Birrell [Mon, 17 Nov 2025 02:30:05 +0000 (13:00 +1030)]
MDL-80321 mod_lesson: redirect to correct page on unlimited attempts

2 weeks agoMerge branch 'MDL-88456-main' of https://github.com/HuongNV13/moodle
Safat [Mon, 20 Apr 2026 05:38:22 +0000 (15:38 +1000)]
Merge branch 'MDL-88456-main' of https://github.com/HuongNV13/moodle

2 weeks agoMerge branch 'MDL-88455-main' of https://github.com/HuongNV13/moodle
Safat [Mon, 20 Apr 2026 05:24:56 +0000 (15:24 +1000)]
Merge branch 'MDL-88455-main' of https://github.com/HuongNV13/moodle

2 weeks agoMDL-86088 cachestore_file: Fix warnings when cache is purged
Brendan Heywood [Fri, 5 Dec 2025 14:29:04 +0000 (01:29 +1100)]
MDL-86088 cachestore_file: Fix warnings when cache is purged

2 weeks agoAutomatically generated installer lang files
AMOS bot [Fri, 17 Apr 2026 00:07:58 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoMDL-87930 core: fix hidden restricted subsections in navigation
Muhammad Arnaldo [Thu, 2 Apr 2026 09:27:52 +0000 (16:27 +0700)]
MDL-87930 core: fix hidden restricted subsections in navigation

2 weeks agoMDL-88456 upgrade: Add the 5.2.0 separation line to all upgrade scripts
Huong Nguyen [Thu, 16 Apr 2026 05:23:38 +0000 (12:23 +0700)]
MDL-88456 upgrade: Add the 5.2.0 separation line to all upgrade scripts

2 weeks agoMDL-88455 backup: Bump release to 5.3
Huong Nguyen [Thu, 16 Apr 2026 05:07:14 +0000 (12:07 +0700)]
MDL-88455 backup: Bump release to 5.3

2 weeks agoweekly back-to-dev release 5.3dev
Huong Nguyen [Thu, 16 Apr 2026 03:45:00 +0000 (10:45 +0700)]
weekly back-to-dev release 5.3dev

2 weeks agoMoodle release 5.2 v5.2.0
Huong Nguyen [Thu, 16 Apr 2026 03:00:17 +0000 (10:00 +0700)]
Moodle release 5.2

2 weeks agoNOBUG: Add upgrade notes
Huong Nguyen [Thu, 16 Apr 2026 03:00:17 +0000 (10:00 +0700)]
NOBUG: Add upgrade notes

2 weeks agoAutomatically generated installer lang files
AMOS bot [Thu, 16 Apr 2026 00:07:57 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 weeks agoMDL-87219 course: Remove hidden class in course index visible activities
Luca Bösch [Wed, 8 Apr 2026 08:47:03 +0000 (10:47 +0200)]
MDL-87219 course: Remove hidden class in course index visible activities

2 weeks agoMDL-88375 tool_customlang: title row without borders.
Luca Bösch [Mon, 6 Apr 2026 08:55:04 +0000 (10:55 +0200)]
MDL-88375 tool_customlang: title row without borders.

2 weeks agoMoodle release 5.2rc2 v5.2.0-rc2
Mihail Geshoski [Wed, 15 Apr 2026 10:51:19 +0000 (18:51 +0800)]
Moodle release 5.2rc2

2 weeks agoNOBUG: Add upgrade notes
Mihail Geshoski [Wed, 15 Apr 2026 10:51:19 +0000 (18:51 +0800)]
NOBUG: Add upgrade notes

2 weeks agoMerge branch 'MDL-88444-main' of https://github.com/HuongNV13/moodle
Safat [Wed, 15 Apr 2026 05:49:23 +0000 (15:49 +1000)]
Merge branch 'MDL-88444-main' of https://github.com/HuongNV13/moodle

2 weeks agoMerge branch 'MDL-88340-main' of https://github.com/mickhawkins/moodle
Mihail Geshoski [Wed, 15 Apr 2026 05:04:53 +0000 (13:04 +0800)]
Merge branch 'MDL-88340-main' of https://github.com/mickhawkins/moodle

2 weeks agoMDL-88340 tool_mobile: Language and display improvements
Daniel Ureña [Mon, 6 Apr 2026 10:55:09 +0000 (12:55 +0200)]
MDL-88340 tool_mobile: Language and display improvements

2 weeks agoMDL-88444 versions: Main version bump
Huong Nguyen [Wed, 15 Apr 2026 03:19:59 +0000 (10:19 +0700)]
MDL-88444 versions: Main version bump

2 weeks agoMDL-88444 versions: Bump all versions and requires near release
Huong Nguyen [Wed, 15 Apr 2026 03:19:06 +0000 (10:19 +0700)]
MDL-88444 versions: Bump all versions and requires near release

2 weeks agoMerge branch 'MDL-85352-main' of https://github.com/HuongNV13/moodle
Mihail Geshoski [Wed, 15 Apr 2026 03:14:31 +0000 (11:14 +0800)]
Merge branch 'MDL-85352-main' of https://github.com/HuongNV13/moodle

2 weeks agoMDL-87760 message: Improve the validation
Huong Nguyen [Wed, 8 Apr 2026 03:03:23 +0000 (10:03 +0700)]
MDL-87760 message: Improve the validation

`can_send_message_to_conversation()` has been updated
to improve the validation of the sender and the recipient

2 weeks agoMerge branch 'MDL-88363-main-enfix' of https://github.com/davewoloszyn/moodle
Huong Nguyen [Wed, 15 Apr 2026 02:20:09 +0000 (09:20 +0700)]
Merge branch 'MDL-88363-main-enfix' of https://github.com/davewoloszyn/moodle

2 weeks agoMDL-88087 gradepenalty_duedate: verify sesskey when resetting rules.
Paul Holden [Tue, 3 Mar 2026 10:37:06 +0000 (10:37 +0000)]
MDL-88087 gradepenalty_duedate: verify sesskey when resetting rules.

2 weeks agoMDL-88423 repository: Filename in prepared file path should be a name only
Michael Hawkins [Mon, 13 Apr 2026 07:40:38 +0000 (15:40 +0800)]
MDL-88423 repository: Filename in prepared file path should be a name only

2 weeks agoMerge branch 'MDL-86165-main' of https://github.com/jfederico/moodle
Huong Nguyen [Wed, 15 Apr 2026 01:59:06 +0000 (08:59 +0700)]
Merge branch 'MDL-86165-main' of https://github.com/jfederico/moodle

2 weeks agoMerge branch 'MDL-88358-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Wed, 15 Apr 2026 01:57:50 +0000 (08:57 +0700)]
Merge branch 'MDL-88358-main' of https://github.com/andrewnicols/moodle

2 weeks agoMDL-88138 auth_db: drop sybasequoting setting
yusufwib01 [Tue, 7 Apr 2026 08:24:50 +0000 (15:24 +0700)]
MDL-88138 auth_db: drop sybasequoting setting

2 weeks agoMDL-84495 MNet: Improve authorization check and mitigate CSRF risk
Vincent Schneider [Wed, 4 Mar 2026 15:41:53 +0000 (16:41 +0100)]
MDL-84495 MNet: Improve authorization check and mitigate CSRF risk

2 weeks agoMDL-87598 libraries: Upgrade AWS SDK for PHP to 3.369.22
Andi Permana [Wed, 4 Feb 2026 17:46:35 +0000 (00:46 +0700)]
MDL-87598 libraries: Upgrade AWS SDK for PHP to 3.369.22

2 weeks agoMerge branch 'MDL-88266-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Wed, 15 Apr 2026 01:25:56 +0000 (08:25 +0700)]
Merge branch 'MDL-88266-main' of https://github.com/andrewnicols/moodle

2 weeks agoMerge branch 'MDL-87676-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Wed, 15 Apr 2026 01:23:42 +0000 (08:23 +0700)]
Merge branch 'MDL-87676-main' of https://github.com/andrewnicols/moodle

3 weeks agoMDL-85352 aiprovider_openai: Switch to b64_json format
Huong Nguyen [Tue, 14 Apr 2026 03:59:22 +0000 (10:59 +0700)]
MDL-85352 aiprovider_openai: Switch to b64_json format

Previously, the OpenAI image generation processor sent a fixed
response_format=url and downloaded the generated image via a second
HTTP request. This approach does not work for newer models such as
gpt-image-1.5, which always return base64-encoded image data and use
output_format instead of response_format.

Changes:
- Add `openai_image_base` interface with four per-model methods:
  `response_format()`, `get_output_format()`, `calculate_size()`, and
  `calculate_quality()`. Models return null from `response_format()` or
  `get_output_format()` to omit those parameters from the API request.

- Update dalle3 to implement `openai_image_base`. It now returns
  response_format=b64_json (dropping the URL round-trip), omits
  `output_format` (not accepted by DALL-E 3), and moves size/quality
  logic into the class. Quality values are passed through unchanged
  ('standard', 'hd') as DALL-E 3 uses them directly.

- Add gptimage1 model class for gpt-image-1.5. This model does not
  accept `response_format`, so that method returns null. It uses
  output_format=png and maps Moodle quality values to the API values
  expected by gpt-image-1.5: standard -> medium, hd -> high.
  Image sizes also differ from DALL-E 3 (e.g. 1536x1024 for
  landscape).

- Update process_generate_image to delegate size and quality
  calculation to the model class (with a fallback for unknown
  models),
  conditionally set response_format and output_format based on what
  the model reports, and decode the returned b64_json directly into a
  local file instead of downloading from a URL.

3 weeks agoMDL-88403 customfield: fix recalculating numbers for shared CF
Yerai Rodríguez [Mon, 13 Apr 2026 09:48:17 +0000 (11:48 +0200)]
MDL-88403 customfield: fix recalculating numbers for shared CF

For shared custom fields, the number provider was not being recalculated
due to a mismatch between the task custom data and the
custom field's actual field component/area.

3 weeks agoMDL-88363 lang: Use the fixed strings in the tests, too
David Mudrák [Tue, 7 Apr 2026 21:05:32 +0000 (23:05 +0200)]
MDL-88363 lang: Use the fixed strings in the tests, too

3 weeks agoMDL-88363 lang: Import fixed English strings (en_fix)
Helen Foster [Tue, 7 Apr 2026 21:01:44 +0000 (23:01 +0200)]
MDL-88363 lang: Import fixed English strings (en_fix)

Co-authored-by: David Woloszyn <david.woloszyn@moodle.com>