Compare commits

..

293 Commits

Author SHA1 Message Date
Mihail Geshoski ffb6475f6a Moodle release 5.0.1 2025-06-06 12:32:05 +08:00
Mihail Geshoski a237da2cd7 NOBUG: Add upgrade notes 2025-06-06 12:32:05 +08:00
Sara Arjona 5f0de664bd weekly release 5.0+ 2025-06-05 16:43:29 +02:00
Sara Arjona c32e894dc2 NOBUG: Add upgrade notes 2025-06-05 16:43:28 +02:00
Michael Hawkins a98bb76076 MDL-83762 core_files: Bind resolve IPs and ports to cURL calls 2025-06-05 12:09:36 +07:00
Michael Hawkins 6d240f17ae Merge branch 'MDL-85571-500' of https://github.com/HuongNV13/moodle into MOODLE_500_STABLE 2025-06-05 12:34:37 +08:00
Mihail Geshoski 5f265a8be5 Merge branch 'MDL-85645-500' of https://github.com/lameze/moodle into MOODLE_500_STABLE 2025-06-05 12:31:56 +08:00
Mihail Geshoski 39fb6431d0 Merge branch 'MDL-85556_500_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_500_STABLE 2025-06-05 12:25:44 +08:00
Vincent Schneider 94d5d89e4b MDL-84518 course: improved course visibility state handling 2025-06-05 11:22:11 +07:00
Michael Hawkins 7db7444d53 Merge branch 'MDL-80380-500' of https://github.com/HuongNV13/moodle into MOODLE_500_STABLE 2025-06-05 12:19:35 +08:00
Jun Pataleta 9d8cf5fb22 Merge branch 'MDL-85450-500' of https://github.com/rjnl/moodle into MOODLE_500_STABLE 2025-06-05 12:15:48 +08:00
Huong Nguyen d0a00b74d8 MDL-80380 core_auth: Add upgrade note 2025-06-05 11:12:27 +07:00
Huong Nguyen 1db743ea9a MDL-80380 admin: Support Microsoft XOAUTH2 for outgoing email 2025-06-05 11:12:22 +07:00
Mihail Geshoski 971f1fc25f Merge branch 'MDL-69765-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-06-05 12:10:56 +08:00
Jun Pataleta 571990b7de Merge branch 'MDL-84941-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-06-05 12:08:39 +08:00
Mihail Geshoski 45ed9e9127 Merge branch 'MDL-85072-500' of https://github.com/olivabigyo/moodle into MOODLE_500_STABLE 2025-06-05 11:00:24 +07:00
Mihail Geshoski 1fbd0fd3ee Merge branch 'MDL-83654-500-5' of https://github.com/junpataleta/moodle into MOODLE_500_STABLE 2025-06-05 11:00:24 +07:00
Mihail Geshoski 22f52b9b4a Merge branch 'MDL-85369_500' of https://github.com/agaranin/moodle into MOODLE_500_STABLE 2025-06-05 11:00:24 +07:00
Martin Gauk db8f7fc95a MDL-85488 mathjax: refactor loader to enhance configuration and loading 2025-06-05 11:00:24 +07:00
Mark Johnson 7ac6e421ab MDL-85323 core: Don't cache the login page 2025-06-05 11:00:12 +07:00
meirzamoodle 07a58bdb33 MDL-85375 libraries: Escaping a query parameter on pg_insert_id() 2025-06-05 01:34:18 +00:00
Vincent Schneider dfec066e2e MDL-84706 bigbluebuttonbn: improved authorization and mitigate CSRF risks 2025-06-05 01:34:18 +00:00
Huong Nguyen 847a39b6d5 MDL-79993 course: Fix PHPUnit failure 2025-06-05 01:34:18 +00:00
raortegar 4a2d2b54b2 MDL-79993 course: Improve user access to recent courses service 2025-06-05 01:34:18 +00:00
Vincent Schneider 7979e44436 MDL-84497 badges: fix missing action sesskey checks. 2025-06-05 01:34:18 +00:00
andelacruz e0e626f684 MDL-85645 mod_quiz: Behat to display questionbank name of quiz question. 2025-06-05 09:28:58 +08:00
Jun Pataleta 98a80ac3ca MDL-85239 mod_quiz: Use visually-hidden instead of deprecated sr-only 2025-06-05 09:26:07 +08:00
Jun Pataleta 0f8951ce28 Merge branch 'MDL-85239-500' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_500_STABLE 2025-06-05 09:22:50 +08:00
Jun Pataleta f26f018876 Merge branch 'MDL-84804-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-06-05 08:12:39 +08:00
Sara Arjona 637f6dc508 Merge branch 'MDL-82069-500' of https://github.com/aanabit/moodle into MOODLE_500_STABLE 2025-06-04 15:37:00 +02:00
Paul Holden 9bed548080 MDL-84804 output: amend page title when navigating dynamic tabs.
Prepend the current tab name to the page title, to ensure we can
easily identify the current page/tab and that it is both unique
and accessible.
2025-06-04 14:07:38 +01:00
Paul Holden 410747af21 MDL-84804 javascript: new module for manipulating the page title. 2025-06-04 14:07:21 +01:00
cescobedo e20e2c044b Merge branch 'MDL-85273-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-06-04 12:59:13 +02:00
Jun Pataleta 03b1a727b6 Merge branch 'MDL-85041-500' of https://github.com/junpataleta/moodle into MOODLE_500_STABLE 2025-06-04 17:48:18 +08:00
Jun Pataleta a92df9e0ee MDL-85041 core: Make methods calling announceChanges async as well 2025-06-04 17:33:18 +08:00
meirzamoodle 25f8dd9d63 MDL-85041 core: Improve autocomplete/tag a11y for assistive tech
- Updated autocomplete behavior to announce dynamic changes
via ARIA live regions
- Fixed focus management for keyboard and screen reader navigation
- Added proper role/aria tags for interactive tag components
2025-06-04 17:33:17 +08:00
Huong Nguyen 72c71a1f89 MDL-85571 mod_assign: Improve PHPUnit tests 2025-06-04 12:50:33 +07:00
raortegar a52d4ed032 MDL-85571 mod_assign: Add visibility check to due digest notification 2025-06-04 12:50:33 +07:00
Jun Pataleta c947a7c303 Merge branch 'MDL-85507-500-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_500_STABLE 2025-06-04 11:58:12 +08:00
Huong Nguyen 41c19a5e02 Merge branch 'MDL-84732-m500' of https://github.com/sammarshallou/moodle into MOODLE_500_STABLE 2025-06-04 10:53:19 +07:00
Mihail Geshoski 301ae93c4a Merge branch 'MDL-84432-500' of https://github.com/HuongNV13/moodle into MOODLE_500_STABLE 2025-06-04 10:47:05 +08:00
Huong Nguyen d207b50abf MDL-84432 core: Use discovery endpoint for Microsoft OAuth2 service
- Instead of creating the endpoints manually, use the OpenId
configuration endpoint to auto-configure endpoints
- Updates user field mappings so they map the new OpenId userinfo fields
2025-06-04 08:36:50 +07:00
Amaia Anabitarte c1552bc519 Merge branch 'MDL-85471-500' of https://github.com/junpataleta/moodle into MOODLE_500_STABLE 2025-06-03 16:18:59 +02:00
cescobedo b2f4f7ab62 Merge branch 'MDL-85398-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-06-03 15:51:32 +02:00
Amaia Anabitarte 50d9f8f70e Merge branch 'MDL-85327-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-06-03 13:37:38 +02:00
cescobedo 9bc8fe3bc1 Merge branch 'MDL-85326-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-06-03 13:10:46 +02:00
Jun Pataleta a716da64af Merge branch 'MDL-85467-500' of https://github.com/yusufwib01/moodle into MOODLE_500_STABLE 2025-06-03 17:28:35 +08:00
Paul Holden 290104c964 MDL-85326 theme_boost: hide footer popover icon on small screens.
Fixes regression from add6f71d which forced `.btn-icon` display.

Co-authored-by: Mikel Martín <mikel@moodle.com>
2025-06-03 09:18:06 +01:00
Rajneel Totaram a0c88aec39 MDL-85450 block_calendar_upcoming: Fix heading level 2025-06-03 09:39:18 +12:00
Mark Johnson dfd0dc28e8 MDL-85556 backup: Only update question refs in restored course
The previous query updated all question references matching the original
question bank entry, regardless of whether they were part of the restore
or not. When we are dealing with duplicated questions, this means we
could accidentally change question references in the backed-up course as
well as the restored one.

This change filters the references to ensure they exist in a context
within the restored course, before updating them.
2025-06-02 15:53:37 +01:00
Amaia Anabitarte 30b08ee83a Merge branch 'MDL-85412-500' of https://github.com/aanabit/moodle into MOODLE_500_STABLE 2025-06-02 13:24:17 +02:00
yusufwib01 e5da273f9a MDL-85467 core: Replace orphaned label with span for accessibility
This commit replaces orphaned labels with spans for improved
accessibility. It also updates the XPATH partial named selector
for select_menu fields to target span elements.
2025-06-02 13:45:03 +07:00
hieuvu c248e82b52 MDL-85239 mod_quiz: Add caption for Attempt tables. 2025-06-02 13:38:24 +07:00
Luca Bösch 6d2b25f10f MDL-69765 qtype_essay: Create temporary draft file area only one time. 2025-05-31 12:58:52 +02:00
Jun Pataleta 8d57b56b5a MDL-83654 qtype_match: Only add the question text to the first field
In order to avoid repetition of the question text as the user navigates
to each answer field in a matching question (e.g. by tabbing).
2025-05-31 09:25:22 +08:00
Jun Pataleta edcff12191 MDL-83654 qtype_match: Add presentation role to table-related elements
The question and answer are displayed on a layout table and
does not really help with accessibility. We need to set a
presentation role for the table-related elements.
2025-05-31 09:25:22 +08:00
Jun Pataleta 1229c2b1ef MDL-83654 qtype_match: Provide better information to answer fields
* In order to provide better context for screen reader users about the
answer fields in matching questions, the question text and the
corresponding item to be matched are included to the answer fields via
the aria-describedby attribute.
2025-05-31 09:25:22 +08:00
Amaia Anabitarte 7edec4866f MDL-85412 course: adding and removing elements feedback message 2025-05-30 16:42:43 +02:00
Sara Arjona 5c22b04af4 Merge branch 'MDL-85315-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-05-30 12:33:05 +02:00
Luca Bösch 01866455af MDL-85315 themes: align modal closing button. 2025-05-30 11:32:01 +02:00
Michael Hawkins 1260cb24b8 weekly release 5.0+ 2025-05-30 16:28:46 +08:00
Michael Hawkins 77e0f0a889 NOBUG: Add upgrade notes 2025-05-30 16:28:46 +08:00
Michael Hawkins 9330731d93 Merge branch 'install_500_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_500_STABLE 2025-05-30 16:28:24 +08:00
Artem Garanin 8fa9939614 MDL-85369 question: fix tag collection ID in legacy‑filter upgrade.
Use the actual tag collection for the 'question' tag area instead of
the default collection.
2025-05-29 14:08:42 -04:00
Michael Hawkins 89d34beece Merge branch 'MDL-84824-500' of https://github.com/stevandoMoodle/moodle into MOODLE_500_STABLE 2025-05-29 12:27:08 +08:00
Michael Hawkins 325f273ca9 Merge branch 'MDL-83448-500' of https://github.com/stevandoMoodle/moodle into MOODLE_500_STABLE 2025-05-29 12:18:32 +08:00
Michael Hawkins c471fa4986 Merge branch 'MDL-84996-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-05-29 12:09:55 +08:00
Michael Hawkins b4e3dca13f Merge branch 'MDL-85513-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-05-29 12:04:15 +08:00
Michael Hawkins 7310e7d908 Merge branch 'MDL-85552-500' of https://github.com/yusufwib01/moodle into MOODLE_500_STABLE 2025-05-29 11:59:47 +08:00
Michael Hawkins e14e0428db Merge branch 'MDL-85437-500' of https://github.com/meirzamoodle/moodle into MOODLE_500_STABLE 2025-05-29 11:52:29 +08:00
Stevani Andolo 7f756ae983 MDL-84824 core_message: Fixed popup accessibility issue 2025-05-29 11:51:25 +08:00
Huong Nguyen 0e24a0400d Merge branch 'MDL-83044-500' of https://github.com/catalyst/moodle into MOODLE_500_STABLE 2025-05-29 10:27:10 +07:00
Huong Nguyen 1ad351d4a2 Merge branch 'MDL-85177-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-05-29 09:53:47 +07:00
Huong Nguyen 6c045bfefc Merge branch 'MDL-85525-500' of https://github.com/andelacruz/moodle into MOODLE_500_STABLE 2025-05-29 09:51:44 +07:00
Huong Nguyen 47c8a3ad7e Merge branch 'MDL-85400-500' of https://github.com/lameze/moodle into MOODLE_500_STABLE 2025-05-29 08:59:42 +07:00
Huong Nguyen aae09ebb6b Merge branch 'MDL-85389-500' of https://github.com/andelacruz/moodle into MOODLE_500_STABLE 2025-05-29 08:52:32 +07:00
AMOS bot 5feec7a0b0 Automatically generated installer lang files 2025-05-29 00:08:00 +00:00
andelacruz 28cf9407dd MDL-85525 mod_quiz: Behat test for quiz attempt page block display 2025-05-28 16:51:27 +08:00
andelacruz 06fd97cae1 MDL-85389 mod_lesson: Behat for filtering lesson reports/essays by group 2025-05-28 15:17:41 +08:00
sam marshall 82eecc9475 MDL-85400 PHPunit: Hard to test code that uses encryption
This change stops the encryption code setting created key files to
read-only during PHPunit runs, which means they will be safely
deleted when the system resets after a test.
2025-05-28 12:55:46 +08:00
meirzamoodle 499715e17e MDL-85437 AI: Move focus to the AI drawer 2025-05-28 11:31:06 +07:00
Mark Johnson 643eaa3418 MDL-85556 questions: Fix repeated_restore unit test
This unit test is meant to test restoring duplicated questions that
exist in a shared question bank. However, due to improvements in the
restore process from the introduction of mod_qbank, having the questions
in a bank that is not in the restored course means the questions don't
get restored at all, and we can't test that the process is working.

This changes the test to use a bank in the target course instead.
2025-05-27 10:46:44 +01:00
Jun Pataleta 181c55ad1c Merge branch 'MDL-84806-500' of https://github.com/davewoloszyn/moodle into MOODLE_500_STABLE 2025-05-27 15:37:08 +08:00
Huong Nguyen cb7d72d31d Merge branch 'MDL-85169-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-05-27 09:16:03 +07:00
Alexander Van der Bellen 114ff5fa92 MDL-83044 core_block: Add return value check on form submission 2025-05-26 23:03:27 +08:00
ferran dda97bdbfc Merge branch 'MDL-84304-500' of https://github.com/laurentdavid/moodle into MOODLE_500_STABLE 2025-05-26 13:50:05 +02:00
Sara Arjona e5d7e554ab Merge branch 'MDL-85404-500' of https://github.com/ferranrecio/moodle into MOODLE_500_STABLE 2025-05-26 11:27:45 +02:00
cescobedo 35588bca41 Merge branch 'MDL-85435-500' of https://github.com/aanabit/moodle into MOODLE_500_STABLE 2025-05-26 10:01:08 +02:00
David Mudrák e4247c79a6 MDL-85507 lang: Use fixed strings in tests, too 2025-05-25 08:54:02 +02:00
Helen Foster 00b809dbc5 MDL-85507 lang: Import fixed English strings (en_fix) 2025-05-25 08:53:09 +02:00
sam marshall d21fcdee19 MDL-84732 Accessibility: Focus issue after closing nested modal 2025-05-23 15:47:12 +01:00
Luca Bösch a8b08ea6fc MDL-85177 quiz: style the question version pulldown nicely. 2025-05-23 06:43:18 +02:00
Huong Nguyen a52fbcced6 weekly release 5.0+ 2025-05-23 11:03:46 +07:00
Huong Nguyen c957b909aa Merge branch 'install_500_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_500_STABLE 2025-05-23 11:03:39 +07:00
David Woloszyn 86990aaab5 MDL-84806 tiny_aiplacement: Remove unused div and css 2025-05-23 12:36:46 +10:00
David Woloszyn 3cebd0e59a MDL-84806 tiny_aiplacement: Announce action results for accessibility
The generatetext.js and associated templates have been adjusted to
match more closely with the generate image files. The generate image
way of displaying content was better suited to aria.
2025-05-23 12:36:46 +10:00
yusufwib01 077fbd22cf MDL-85552 core: Make group selector label use normal font weight 2025-05-22 16:28:56 +07:00
Stevani Andolo 56a250792c MDL-83448 core_hub: Fixed registration check 2025-05-22 13:44:57 +08:00
Huong Nguyen ace36dc3df Merge branch 'MDL-84899-500' of https://github.com/laurentdavid/moodle into MOODLE_500_STABLE 2025-05-22 11:00:21 +07:00
Huong Nguyen e8b3c7174a Merge branch 'MDL-84793-m500' of https://github.com/sammarshallou/moodle into MOODLE_500_STABLE 2025-05-22 10:48:19 +07:00
Huong Nguyen 1edb106e9b Merge branch 'MDL-84918-500' of https://github.com/HuongNV13/moodle into MOODLE_500_STABLE 2025-05-22 10:34:23 +07:00
David Woloszyn abae164f41 MDL-84918 core: Add zend.exception_ignore_args environment check 2025-05-22 10:09:44 +07:00
Huong Nguyen c7912e21ba MDL-84918 core: Add initial environment requirements for Moodle 5.1 2025-05-22 10:08:46 +07:00
Huong Nguyen 7df8f6e430 Merge branch 'MDL-74900-500' of https://github.com/raortegar/moodle into MOODLE_500_STABLE 2025-05-22 09:37:14 +07:00
Huong Nguyen 475ef128ae Merge branch 'MDL-85193-500' of https://github.com/junpataleta/moodle into MOODLE_500_STABLE 2025-05-22 09:23:14 +07:00
Amaia Anabitarte 586ae425e6 MDL-85435 course: Render HTML in activity overview name mustache 2025-05-21 17:37:11 +02:00
Katalin Lukacs Toth 8f6e56173e MDL-85072 qtype_ordering: Fix XML export
Option fields should not be left empty.
2025-05-21 10:52:45 +02:00
Huong Nguyen a23635adc0 Merge branch 'MDL-84274-500' of https://github.com/davewoloszyn/moodle into MOODLE_500_STABLE 2025-05-21 13:35:45 +07:00
raortegar bfdcf4b490 MDL-74900 core_course: Exception in module deletion if missing instance 2025-05-21 08:27:23 +02:00
Huong Nguyen 2e7c195aee Merge branch 'MDL-85311-500' of https://github.com/rjnl/moodle into MOODLE_500_STABLE 2025-05-21 10:23:04 +07:00
Huong Nguyen d7f7653a8e Merge branch 'MDL-84296-500' of https://github.com/davewoloszyn/moodle into MOODLE_500_STABLE 2025-05-21 10:00:08 +07:00
Huong Nguyen 00652388c5 Merge branch 'MDL-85374-500' of https://github.com/andrewnicols/moodle into MOODLE_500_STABLE 2025-05-21 09:55:54 +07:00
AMOS bot 3c83131e34 Automatically generated installer lang files 2025-05-21 00:07:57 +00:00
Andrew Nicols dff4bc87f5 MDL-85374 report_competency: Create custom step for setting autocomplete
The autocompletes used in the competency report have been bastardised to
redirect on selection. Unfortunately this also applies when when making
null-op changes like deleting the initial "Please select a value"
option.

The autocomplete code removes all current options before creating an
option, and because of this redirect the browser is redirecting before
the new value can be entered, but we retain a reference to the field as
`$this->field`, which is now stale.
2025-05-20 12:42:11 +08:00
Amaia Anabitarte 4a1395205f Merge branch 'MDL-85397-500' of https://github.com/tasiobg/moodle into MOODLE_500_STABLE 2025-05-19 12:43:35 +02:00
Amaia Anabitarte e534517f7f Merge branch 'MDL-85264-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-05-19 12:38:25 +02:00
Laurent David f17a871f1d MDL-84304 core_courseformat: Remove COMPLETION_COMPLETE_FAIL test
* Because we removed this status in mod_scorm, we cannot test it
anymore against any module as no module has custom_rules that leads
to COMPLETION_COMPLETE_FAIL
2025-05-19 11:56:40 +02:00
Laurent David ef5c806a70 MDL-84304 mod_scorm: Remove completion failed from behat test
* Now that we removed the COMPLETION_COMPLETE_FAIL status for scorm
behat tests needs to be updated
2025-05-19 11:56:40 +02:00
Magnus Samuelsson 4de4029044 MDL-84304 mod_scorm: Remove the COMPLETION_COMPLETE_FAIL status 2025-05-19 11:56:40 +02:00
Amaia Anabitarte 2a2e18461f MDL-82069 core_completion: Improve errors for multiple grading items 2025-05-19 09:32:59 +02:00
Jun Pataleta 44d1a98e70 MDL-85471 theme_boost: Dismiss tooltips on escape 2025-05-16 14:23:37 +08:00
Mihail Geshoski 328810e933 weekly release 5.0+ 2025-05-16 12:58:25 +08:00
Mihail Geshoski b6b043b147 Merge branch 'install_500_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_500_STABLE 2025-05-16 12:57:31 +08:00
Paul Holden 1babb4f4c2 MDL-85513 output: centre chevron icons within collapsible section. 2025-05-15 23:20:09 +01:00
sam marshall b5bb67d1f1 MDL-84793 Behat: Allow CLI scripts to run on Behat instance 2025-05-15 08:50:30 +01:00
Stevani Andolo 89358f92fb MDL-84296 core_hub: Added detailed AI usage data to registration page 2025-05-15 16:52:26 +10:00
Huong Nguyen 17f6225bc4 Merge branch 'MDL-83350-500' of https://github.com/meirzamoodle/moodle into MOODLE_500_STABLE 2025-05-15 12:02:14 +07:00
Huong Nguyen 77d63230a1 Merge branch 'MDL-84073-500' of https://github.com/sh-csg/moodle into MOODLE_500_STABLE 2025-05-15 11:57:21 +07:00
Huong Nguyen 43b4e56f8b Merge branch 'MDL-83943-500' of https://github.com/meirzamoodle/moodle into MOODLE_500_STABLE 2025-05-15 11:45:27 +07:00
Huong Nguyen 40add60152 Merge branch 'MDL-85279-500' of https://github.com/andelacruz/moodle into MOODLE_500_STABLE 2025-05-15 11:42:23 +07:00
Huong Nguyen 64e07e7afb Merge branch 'MDL-84009-500' of https://github.com/raortegar/moodle into MOODLE_500_STABLE 2025-05-14 21:51:53 +07:00
Huong Nguyen 1c67b54aa2 Merge branch 'MDL-84751-500' of https://github.com/davewoloszyn/moodle into MOODLE_500_STABLE 2025-05-14 21:41:44 +07:00
Amaia Anabitarte 2099b2cafb Merge branch 'MDL-85167-500' of https://github.com/roland04/moodle into MOODLE_500_STABLE 2025-05-14 21:41:44 +07:00
Amaia Anabitarte ef4af9dd82 Merge branch 'MDL-85205-500' of https://github.com/roland04/moodle into MOODLE_500_STABLE 2025-05-14 21:41:44 +07:00
Amaia Anabitarte 1c8d59349e Merge branch 'MDL-85360-500' of https://github.com/sarjona/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Sara Arjona ed999bea4b Merge branch 'MDL-85449-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Sara Arjona 1066601f0b Merge branch 'MDL-81436-500' of https://github.com/rjnl/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Sara Arjona b721f37d91 Merge branch 'MDL-81842-500' of https://github.com/laurentdavid/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Huong Nguyen b06bcdc209 Merge branch 'MDL-84128-500' of https://github.com/meirzamoodle/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Huong Nguyen 8e1c86a9a3 Merge branch 'MDL-85294-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Huong Nguyen b479e86c08 Merge branch 'MDL-85224_500' of https://github.com/PhilippImhof/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Huong Nguyen e927264c5a Merge branch 'MDL-85363-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Huong Nguyen 6effd2064a Merge branch 'MDL-84964-500' of https://github.com/Jayce0808/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
ferran b969f89b01 Merge branch 'MDL-85364-500' of https://github.com/sarjona/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
ferran 674a4c2a5f Merge branch 'mdl-84520_500' of https://github.com/james-cnz/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Sara Arjona 549e311fee Merge branch 'MDL-85248-500' of https://github.com/albertgasset/moodle into MOODLE_500_STABLE 2025-05-14 21:41:43 +07:00
Tasio c312a9871c MDL-85397 theme: update reports to use container queries
With container queries, responsive design is no longer limited to the full browser width. For example, we can now display
the report in a compact side panel, and it will automatically adapt its styling to suit smaller spaces.
2025-05-14 15:50:03 +02:00
raortegar 0f244e11a0 MDL-84009 factor_webauthn: Add additional security keys 2025-05-14 11:18:07 +02:00
raortegar 7d794f8a3e MDL-84009 tool_mfa: Additional factor instances support 2025-05-14 11:18:07 +02:00
Paul Holden f8db554520 MDL-84996 enrol_manual: ensure externally supplied users are valid. 2025-05-14 09:55:48 +01:00
ferran 38b9eb2653 MDL-85404 format_social: allow subsections in social activities 2025-05-14 09:58:59 +02:00
andelacruz 94233d6242 MDL-85279 mod_assign: Renamed behat test to a more specific name 2025-05-14 15:11:42 +08:00
andelacruz e8580cf851 MDL-85279 mod_page: Fix behat to match the expected behaviour 2025-05-14 15:07:14 +08:00
Rajneel Totaram b407011b18 MDL-81436 theme: Fix scope of showmore button selector
Co-authored-by: Mikel Martín <mikel@moodle.com>
2025-05-13 17:33:18 +12:00
David Woloszyn 67d2b86614 MDL-84751 aiprovider_ollama: Fix settings help spacing 2025-05-13 13:52:50 +10:00
David Woloszyn 52e9b4cdbe MDL-84751 aiprovider_openai: Fix settings help spacing 2025-05-13 13:52:50 +10:00
meirzamoodle 7725baa9db MDL-83350 files: Avoid cacheing user and file repo files
Set the lifetime to zero for files referenced in
the local/internal repository (private files and file system),
because they should not be cached.

Add `no-store` to the cache-control to ensure resources are
never cached, always fetching the latest version.
2025-05-13 09:37:40 +07:00
Jun Pataleta 3f534cad09 Merge branch 'MDL-84817-500' of https://github.com/davewoloszyn/moodle into MOODLE_500_STABLE 2025-05-12 12:44:37 +08:00
Laurent David be1e8f8887 MDL-81842 formlibs: Change display in sticky footer
* Make sure that form elements that are inserted in the
sticky footer are not wrapped
2025-05-12 06:23:50 +02:00
Paul Holden edd0e76bd1 MDL-85449 block_myoverview: preserve documentation language params.
Fixes the link to Moodle docs from zero state.
2025-05-11 19:27:36 +01:00
AMOS bot f84f671994 Automatically generated installer lang files 2025-05-10 00:08:00 +00:00
Philipp Imhof 237f9bd7c0 MDL-85224 quiz: consider submitted state when filtering
In function quiz_report_grade_method_sql(), also consider the new state 'submitted' when filtering for FIRSTATTEMPT or LASTATTEMPT.
2025-05-09 17:59:33 +02:00
Mikel Martín 3f832fda4d MDL-85205 theme_boost: Fix incorrect uses of 'btn-link' class
Because btn-link relies on $link-hover-decoration variable, some incorrect
btn-link usages need to be fixed.
2025-05-09 13:57:53 +02:00
Mikel Martín fad9778f8b MDL-85205 theme_boost: Add link hover underline 2025-05-09 13:57:53 +02:00
Paul Holden 406980d1b1 MDL-85398 blocks: constrain width of block controls dropdown menu. 2025-05-09 12:52:45 +01:00
Mikel Martín 7b472fae76 MDL-85167 theme_boost: Fix tertiary navigation key listeners 2025-05-09 13:47:41 +02:00
Laurent David c6253c34bb MDL-84899 mod_forum: Fix summary report form change checker
* The forum summary report was not removing the right form
from the list of forms to check for changes.
2025-05-09 08:43:43 +02:00
Laurent David ee9cc3b397 MDL-84899 core_form: Fix unWatchForm in FormChangeChecker
* The unWatchForm as it stood was not removing the form from the list.
2025-05-09 08:43:43 +02:00
Luca Bösch bbcc5462af MDL-85363 quiz: style the question number inplace editable nicely. 2025-05-09 08:13:07 +02:00
Luca Bösch 5ab4641119 MDL-85294 qbank: Align header, buttons and switch in "Edit categories". 2025-05-09 08:13:01 +02:00
meirzamoodle efacf36423 MDL-83943 core_tag: Fix the broken user tag pagination 2025-05-09 12:49:48 +07:00
meirzamoodle ffa4c0ea3f MDL-84128 core: Flip the image according to its orientation in PHP GD 2025-05-09 11:17:28 +07:00
Huong Nguyen 6999197243 weekly release 5.0+ 2025-05-09 09:50:13 +07:00
Huong Nguyen 4345819a25 Merge branch 'install_500_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_500_STABLE 2025-05-09 09:50:05 +07:00
Stefan Hanauska 1540e90991 MDL-84073 blocks: Load invisible blocks 2025-05-08 14:36:54 +02:00
David Woloszyn 758a35058f MDL-84817 core_message: Fix display issues in drawer at 400% 2025-05-08 17:07:28 +10:00
Huong Nguyen 2654ce0457 Merge branch 'MDL-85341-500' of https://github.com/snake/moodle into MOODLE_500_STABLE 2025-05-08 10:52:31 +07:00
Huong Nguyen 4220abfd22 Merge branch 'MDL-85280-500' of https://github.com/abias/moodle into MOODLE_500_STABLE 2025-05-08 10:38:27 +07:00
danghieu1407 62c3325c06 MDL-84708 question: Fixing layout answer box issue causing images 2025-05-08 09:48:04 +07:00
Huong Nguyen cc63c27931 Merge branch 'MDL-84677-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-05-08 09:28:13 +07:00
Huong Nguyen b47fc4a266 Merge branch 'MDL-84597-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-05-08 09:05:05 +07:00
Huong Nguyen dad46b2976 Merge branch 'MDL-85220-500' of https://github.com/rjnl/moodle into MOODLE_500_STABLE 2025-05-08 08:59:02 +07:00
Huong Nguyen e14280bf94 Merge branch 'MDL-84654-500' of https://github.com/andelacruz/moodle into MOODLE_500_STABLE 2025-05-08 08:44:13 +07:00
Amaia Anabitarte 685da75cd9 Merge branch 'MDL-85361-500' of https://github.com/sarjona/moodle into MOODLE_500_STABLE 2025-05-07 14:01:51 +02:00
Mikel Martín a6ce0dc708 MDL-83422 tiny_media: Fix modal footer layout 2025-05-07 13:51:26 +02:00
Jun Pataleta 0c8e1b6256 MDL-85193 course: Fix restore of backups with missing activity plugins
Show debugging instead of throwing an error when fetching an activity
icon from a missing activity plugin.
2025-05-07 18:10:25 +08:00
AMOS bot 5c89e91dad Automatically generated installer lang files 2025-05-07 00:07:53 +00:00
Angelia Dela Cruz 5b1761963c MDL-84654 mod_assign: Assignment additional files can be hidden 2025-05-06 12:41:47 +08:00
Huong Nguyen ebc9254a33 Merge branch 'MDL-85310-500' of https://github.com/andelacruz/moodle into MOODLE_500_STABLE 2025-05-06 10:31:59 +07:00
Sara Arjona f9dc580bb9 MDL-85364 block_social_activities: Move activities in mod pages too 2025-05-05 09:16:35 +02:00
Sara Arjona e1b0d8b770 MDL-85360 theme_boost: Fix active item indicator spacing
The fix in MDL-85017 covered the More menu; however, the secondary
navigation within the Single activity course format was not updated.
2025-05-05 08:38:02 +02:00
Sara Arjona 687857ea58 MDL-85361 block_social_activity: Fix inline editing text field 2025-05-04 19:37:40 +02:00
Paul Holden c3056486bf MDL-85264 javascript: reject promise when hiding saveCancel modal. 2025-05-02 17:30:09 +01:00
Paul Holden 5ee54fe953 MDL-85169 forms: focus grouped fields element based on parent data.
This fixes the previous attempt at focusing the first field within
grouped elements (aec60788) which inadvertently introduced duplicate
IDs.
2025-05-02 13:47:14 +01:00
Luca Bösch 1c0a30495c MDL-84677 backup: Filter course shortnames in copy progress viewer. 2025-05-02 08:51:34 +02:00
Huong Nguyen 69b36a36b4 weekly release 5.0+ 2025-05-02 09:16:13 +07:00
Huong Nguyen 4fb1ca66b4 Merge branch 'install_500_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_500_STABLE 2025-05-02 09:16:07 +07:00
Jake Dallimore 9c31818311 MDL-85341 core: remove unnecessary sesskey from module controlmenu items
This impacts those items using basemodurl:
- edit item
- move item
neither of which need sesskey at this stage as changes aren't being made
yet.
2025-05-02 09:55:37 +08:00
Paul Holden 286e5f0a7d MDL-85273 output: fix custom menu dropdowns within "More" sub-menu.
Since move to BS5 data-* attributes in 0c586b41 trying to open custom
menu dropdowns that had been moved to the "More" sub-menu was broken.

It appears that Bootstrap now handles open/close for us automatically
(so we were effectively closing the menu immediately after Bootstrap
opened it).
2025-05-01 22:04:11 +01:00
Paul Holden aab3c0722f MDL-85327 admin: observe show/hide settings on category page.
Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2025-05-01 10:55:22 +01:00
Huong Nguyen 536391d442 Merge branch 'MDL-85178-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-05-01 11:02:47 +07:00
Huong Nguyen a6a6e54862 Merge branch 'MDL-85107-500' of https://github.com/ferranrecio/moodle into MOODLE_500_STABLE 2025-05-01 09:50:51 +07:00
Rajneel Totaram 9026613016 MDL-85311 mod_forum: Fix broken unread posts styles 2025-05-01 13:05:04 +12:00
AMOS bot 60fd449bc6 Automatically generated installer lang files 2025-05-01 00:07:59 +00:00
Angelia Dela Cruz 8982f5ee9e MDL-85310 qtype: Renamed duplicate scenario names to fix warning 2025-04-30 13:32:43 +08:00
Huong Nguyen 1b9dfd94c1 Merge branch 'MDL-85222-500' of https://github.com/tasiobg/moodle into MOODLE_500_STABLE 2025-04-30 10:05:39 +07:00
Huong Nguyen 684a9fc34b Merge branch 'MDL-85208-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-04-30 10:03:48 +07:00
Sara Arjona d26bcd0069 Merge branch 'MDL-84805-500' of https://github.com/aanabit/moodle into MOODLE_500_STABLE 2025-04-29 15:31:51 +02:00
Amaia Anabitarte f083271328 MDL-84805 badges: Titles must be unique 2025-04-29 11:14:31 +02:00
Rajneel Totaram e64903b7b2 MDL-85220 block_recentlyaccesseditems: Fix heading level 2025-04-29 10:11:23 +12:00
Paul Holden 6f14d54be9 MDL-84941 course: fix activity button label on end of section.
Where the button is rendered after all section content, we should
fix the ARIA label attribute to refer to the current section rather
than non-existing subsequent activity.
2025-04-28 11:22:56 +01:00
Sara Arjona 2a131a18c3 Merge branch 'MDL-84192-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-04-28 11:25:05 +02:00
Paul Holden 2e90ab1ee8 MDL-84983 core: account for invalid locales in intl extension.
Recent PHP versions are now stricter on the `$locale` value passed
to `IntlDateFormatter` class and will throw exceptions for invalid
values (some of which may be present in our language packs).

See: https://github.com/php/php-src/issues/12912
2025-04-28 10:56:21 +07:00
Huong Nguyen 89285b7efc Merge branch 'MDL-84539-500' of https://github.com/andrewgos/moodle into MOODLE_500_STABLE 2025-04-28 08:59:27 +07:00
Paul Holden daa6fe8af1 MDL-84597 blog: confirm blogs enabled prior to settings nav access. 2025-04-25 12:22:08 +01:00
Luca Bösch 6ad24df3d0 MDL-85178 quiz: style the question number inplace editable nicely. 2025-04-25 08:39:11 +02:00
Alexander Bias 9b7ac2d4d1 MDL-85280 communication: Adapt communication button style 2025-04-25 08:15:41 +02:00
Andrew Nicols 15ab527174 MDL-84421 tool_uploadcourse: Stop MUC caching enrol instances
We should not normally cache instances of a class. This can lead to poor
design to work around the limitations of PHP Serialization, and could
theoretically cause issues with PHP versions changing within a Moodle
version.
2025-04-25 09:10:09 +07:00
Huong Nguyen 5511a18ae5 weekly release 5.0+ 2025-04-24 22:05:39 +07:00
Huong Nguyen 9bd83512e6 NOBUG: Add upgrade notes 2025-04-24 22:05:38 +07:00
Huong Nguyen 32fa48c8c9 Merge branch 'install_500_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_500_STABLE 2025-04-24 22:05:23 +07:00
Paul Holden 34bdcdaa00 MDL-84192 course: update course information page language string.
The previous version used an incorrectly deprecated summary string.
2025-04-24 11:53:36 +01:00
Paul Holden 20fb7a4f1a MDL-84480 files: correct text formatting params when filtering files. 2025-04-24 07:31:17 +02:00
Nathan Nguyen ec4bfaf137 MDL-84233 core_user: fix unit test 2025-04-24 07:31:17 +02:00
Lars Bonczek 742b58fb04 MDL-83563 form: Fix hideIf and disabledIf dependent on multiselects 2025-04-24 07:31:17 +02:00
Huong Nguyen a440099d46 Merge branch 'MDL-84442-metadata-task-logs-MOODLE_500_STABLE' of https://github.com/bwalkerl/moodle into MOODLE_500_STABLE 2025-04-24 07:31:17 +02:00
Huong Nguyen 13f476b154 Merge branch 'MDL-85202-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-04-24 07:31:16 +02:00
David Woloszyn 09b72f375e MDL-84274 tool_policy: Policy acceptance pages use secure layout 2025-04-24 12:00:03 +10:00
David Woloszyn 65a3bf07c4 MDL-84274 tool_mfa: Prevent tool_policy pages from redirecting 2025-04-24 12:00:03 +10:00
Paul Holden 03ee9f3c1d MDL-85264 output: fix form change checker when switching tabs.
During the Bootstrap 5.0 upgrade the event handling within dynamic
tabs appears to have changed such that the "click" event happens
too late for the form change checker module to determine whether
there were any "dirty" forms on the tab being switched from.

This is related to, although not specifically caused by, changes
made in 0c586b41.
2025-04-23 18:03:32 +01:00
Jayce a4f96dce4d MDL-84964 mod_glossary: min width only apply for large device 2025-04-23 10:01:53 +09:30
AMOS bot 62def094c8 Automatically generated installer lang files 2025-04-23 00:07:57 +00:00
Sara Arjona 01ae63ca47 Merge branch 'MDL-82658-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-04-22 16:46:29 +02:00
David Woloszyn 05f009fc14 MDL-84807 AI: Remove records on provider uninstall 2025-04-22 16:43:59 +02:00
Albert Gasset 997122cde0 MDL-85248 qtype_ddimageortext: Revert MDL-66584
This reverts commit d792c4916a.
2025-04-22 16:41:22 +02:00
Paul Holden 92a20551cf MDL-82658 mod_forum: calculate maxbytes correctly in reply handler. 2025-04-22 08:43:06 +01:00
Huong Nguyen 7582e6a677 Merge branch 'MDL-85182-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-04-22 10:09:07 +07:00
Brendan Heywood f3ab1afd05 MDL-84070 core: Fix race conditions setting user preferences 2025-04-22 08:39:17 +07:00
Benjamin Walker 9e34a5f4c0 MDL-84442 core_task: Add finalise log param to task failers 2025-04-22 09:26:56 +10:00
Andrew Gosali d4e9ca5712 MDL-84539 report_participation: use capability viewanonymousevents 2025-04-21 09:56:43 +07:00
Huong Nguyen c5d88c2426 Merge branch 'mdl-83262_500' of https://github.com/james-cnz/moodle into MOODLE_500_STABLE 2025-04-21 09:12:36 +07:00
AMOS bot 1eab163f65 Automatically generated installer lang files 2025-04-20 00:08:19 +00:00
AMOS bot edc2b3d49c Automatically generated installer lang files 2025-04-19 00:07:57 +00:00
AMOS bot 408adbe49a Automatically generated installer lang files 2025-04-18 00:08:00 +00:00
Luca Bösch 97752da2a8 MDL-85182 block_myoverview: Fix choice active item indicator spacing 2025-04-17 17:09:09 +02:00
Sara Arjona ba42149eb1 weekly release 5.0+ 2025-04-17 14:29:57 +02:00
Sara Arjona ac88fe5b13 NOBUG: Add upgrade notes 2025-04-17 14:29:57 +02:00
Tasio 6d522be2cf MDL-85222 themes: Remove grey zebra-striping background on reports
Only removing the grey background in small sceens when
the table is displayed as an accordion

Co-authored-by: Mikel Martín Corrales <mikel@moodle.com>
2025-04-17 14:16:16 +02:00
Paul Holden 6f28ea370d MDL-84298 mod_assign: target only first label for grade popout button. 2025-04-17 10:52:39 +07:00
Huong Nguyen 4a37e4438a Merge branch 'MDL-84625-M500_close-recordset-in-core_analytics-model-add_prediction_ids' of https://github.com/ziegenberg/moodle into MOODLE_500_STABLE 2025-04-17 10:27:50 +07:00
Huong Nguyen 40b6c3233c Merge branch '83713-javascript-error-xml-grades-import-500' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_500_STABLE 2025-04-17 10:11:57 +07:00
Dagoberto Robayo 2a48472266 MDL-84232 mod_quiz: Avoid recover grades in quiz view page
- If Recover grades default is not enabled, quiz grades should not be recover.
2025-04-17 08:39:15 +07:00
James C 49eccd6af2 MDL-83262 course: Refresh all-sections toggler on section delete 2025-04-17 12:49:52 +12:00
Paul Holden 8968b682be MDL-85208 core: switch to ARIA attribute to label table headings.
Since ad14d58d visually hidden text within tables was displayed as
block elements, which introduced artificial line breaks in headings
for column names and sorting icons.

Co-authored-by: Mikel Martín <mikel@moodle.com>
2025-04-16 21:25:05 +01:00
Julien Boulen 388d53c3fe MDL-83713 form: Fix javascript selector on file picker
Co-authored-by: Meirza <meirza.arson@moodle.com>
2025-04-16 16:46:38 +02:00
Paul Holden a5588f890e MDL-84820 moodlenet: correct activity modal icon size/alignment. 2025-04-16 15:24:59 +02:00
Amaia Anabitarte c06bf3b038 MDL-85170 mod_choice: Remove the unnecessary ul closing tag 2025-04-16 15:12:14 +02:00
Sara Arjona 5a3e26b0f2 Merge branch 'MDL-82132-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-04-16 14:55:05 +02:00
Leon Stringer 2b05496629 MDL-83195 mod_assign: Individual grade release
Fix pushing individual grades into the gradebook (as opposed to the
batch release of grades) when "Allow partial release of grades while
marking anonymously" is enabled.

This change reworks MDL-73626's fix for the same issue for releasing
multiple grades in a batch operation.
2025-04-16 09:39:37 +07:00
Paul Holden e2f4f23f34 MDL-82132 user: less restrictive returning first/lastname details.
The `viewfullnames` capability check was overeager in restricting
the inclusion of user first and lastname properties in the returned
structure. Especially given that the same data was almost always
present in the fullname property of the same structure.
2025-04-15 16:05:39 +01:00
Paul Holden 5a28a54627 MDL-82132 user: re-factor code for generating dummy user fullname. 2025-04-15 16:05:28 +01:00
Sara Arjona 1e3f359acf Merge branch 'MDL-84149-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-04-15 16:44:58 +02:00
Paul Holden 14bf5bd303 MDL-84140 course: more resilient check for activity footer component. 2025-04-15 16:31:14 +02:00
Paul Holden 803b561f80 MDL-83990 course: ensure course start/end dates set in external call. 2025-04-15 16:18:40 +02:00
Paul Holden 2bafdb41ab MDL-83537 check: confirm presence of instance action link. 2025-04-15 16:09:22 +02:00
Jun Pataleta 18a588063e Merge branch 'MDL-83979-url-always-proxy' of https://github.com/brendanheywood/moodle into MOODLE_500_STABLE 2025-04-15 20:38:56 +08:00
Sara Arjona d5c3f2325d Merge branch 'MDL-55034-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-04-15 13:36:44 +02:00
Huong Nguyen afc530a43f Merge branch 'MDL-85207-500' of https://github.com/sarjona/moodle into MOODLE_500_STABLE 2025-04-15 18:30:34 +07:00
Paul Holden 1ba74349e7 MDL-78381 course: observe default "showactivitydates" in external call. 2025-04-15 11:36:49 +02:00
Paul Holden 0d9d1ff504 MDL-80337 availability: more robust checking for plugin class presence.
Co-authored-by: Dustin Brisebois <dustin.brisebois@lambdasolutions.net>
2025-04-15 11:30:30 +02:00
Sara Arjona fae86af494 MDL-85207 glossary: Add missing step for autolink behat test 2025-04-15 10:34:37 +02:00
Paul Holden e1c750b49d MDL-84149 gradereport_grader: better support for collapse preferences.
The privacy provider is now resilient against missing courses, and also
supports retrieving preferences from multiple courses for the user.
2025-04-15 07:32:15 +01:00
Huong Nguyen 11a31a6b2c Merge branch 'MDL-85179-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Huong Nguyen 68cdd9d50c Merge branch 'MDL-85195-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Sara Arjona e5b9a12966 Merge branch 'MDL-62230' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Sara Arjona 033447ee87 Merge branch 'MDL-81454-main' of https://github.com/daniil-berg/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Sara Arjona 7195df2ca1 Merge branch 'MDL-83550-main' of https://github.com/andrewgos/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Sara Arjona 17f0b61b1d Merge branch 'MDL-78886-main' of https://github.com/mwehr/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Sara Arjona bf943db69e Merge branch 'MDL-66584-master' of https://github.com/danghieu1407/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Sara Arjona 3b62816190 Merge branch 'MDL-84833-main' of https://github.com/ferranrecio/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Sara Arjona c9defe656a Merge branch 'MDL-79464-main' of https://github.com/mihailges/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Sara Arjona cc73f24d4f Merge branch 'MDL-84937' of https://github.com/jfederico/moodle into MOODLE_500_STABLE 2025-04-15 08:31:55 +02:00
Wehr Mario f098bcde4f MDL-78886 assignfeedback_editpdf: Fix broken next page button in PDFView
Credits go to Cédric Gerbault cdgerbault@gmail.com for providing the fix.
2025-04-15 08:31:53 +02:00
ferran 80af23cdd3 MDL-84833 course: completion feedback messages 2025-04-15 08:31:53 +02:00
jfederico 26f7f7ef21 MDL-84937 mdl_bigbluebuttonbn: Hide Settings for RecordingsOnly 2025-04-15 08:31:52 +02:00
Paul Holden 6a462b63f1 MDL-55034 blog: update external blog deletion to not leak sesskey. 2025-04-14 17:32:29 +01:00
Paul Holden ad48d8ee81 MDL-85202 core: update list of stale files for 5.0 release. 2025-04-14 17:07:59 +01:00
ferran 377e0b4e46 MDL-85107 calendar: fix humandate year display 2025-04-14 12:46:01 +02:00
Luca Bösch 561842d7fe MDL-85195 block_myoverview: colour the button as in Bootstrap 4. 2025-04-14 11:54:00 +02:00
Luca Bösch f02a3572e2 MDL-85179 mod_data: colour the buttons upon creation as in Bootstrap 4. 2025-04-14 11:36:09 +02:00
Daniel Ziegenberg f721c97a19 MDL-84625 analytics: close recordset when it's not needed anymore
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-04-14 10:05:36 +02:00
Jun Pataleta 6f6b960cf8 MDL-85187 upgrade: Add the 5.0.0 separation line to all upgrade scripts 2025-04-14 09:32:14 +07:00
James C 4e6310fbe8 MDL-84520 course: CM anchor scrolls to specified CM 2025-04-14 12:19:07 +12:00
31432 changed files with 604751 additions and 638239 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ jobs:
cp .github/workflows/config-template.php config.php
mkdir ../moodledata
sudo locale-gen en_AU.UTF-8
php public/admin/tool/phpunit/cli/init.php --no-composer-self-update
php admin/tool/phpunit/cli/init.php --no-composer-self-update
- name: Run PHPUnit test (one by one)
env:
+5 -5
View File
@@ -19,7 +19,7 @@ env:
jobs:
Grunt:
runs-on: ubuntu-24.04
runs-on: ubuntu-22.04
steps:
- name: Checking out code
@@ -61,12 +61,12 @@ jobs:
matrix:
include:
# MySQL builds always run with the lowest PHP supported version.
- os: ubuntu-24.04
- os: ubuntu-22.04
php: 8.2
extensions:
db: mysqli
# PostgreSQL builds always run with the highest PHP supported version.
- os: ubuntu-24.04
- os: ubuntu-22.04
php: 8.4
db: pgsql
@@ -88,7 +88,7 @@ jobs:
if: ${{ matrix.db == 'pgsql' }}
uses: m4nu56/postgresql-action@v1
with:
postgresql version: 15
postgresql version: 14
postgresql db: test
postgresql user: test
postgresql password: test
@@ -115,7 +115,7 @@ jobs:
cp .github/workflows/config-template.php config.php
mkdir ../moodledata
sudo locale-gen en_AU.UTF-8
php public/admin/tool/phpunit/cli/init.php --no-composer-self-update
php admin/tool/phpunit/cli/init.php --no-composer-self-update
- name: Running PHPUnit tests
env:
+1 -1
View File
@@ -140,7 +140,7 @@ jobs:
echo "pathtophp=$(which php)" >> $GITHUB_ENV # Inject installed pathtophp to env. The template config needs it.
cp .github/workflows/config-template.php config.php
mkdir ../moodledata
php public/admin/tool/phpunit/cli/init.php --no-composer-self-update
php admin/tool/phpunit/cli/init.php --no-composer-self-update
- name: Running PHPUnit tests
env:
+4 -4
View File
@@ -43,9 +43,9 @@ composer.phar
/vendor/
/behat.yml
*/yui/build/*/*-coverage.js
/public/lib/yuilib/*/build/*/*-coverage.js
/lib/yuilib/*/build/*/*-coverage.js
# lib/yuilib/version/module/module-coverage.js
/public/lib/yuilib/*/*/*-coverage.js
/lib/yuilib/*/*/*-coverage.js
atlassian-ide-plugin.xml
/node_modules/
/.vscode/
@@ -53,8 +53,8 @@ moodle-plugin-ci.phar
.eslintignore
.stylelintignore
/jsdoc
/public/admin/tool/componentlibrary/docs
/public/admin/tool/componentlibrary/hugo/site/data/my-index.json
/admin/tool/componentlibrary/docs
/admin/tool/componentlibrary/hugo/site/data/my-index.json
.hugo_build.lock
phpcs.xml
jsconfig.json
+6 -9
View File
@@ -47,7 +47,7 @@ const fetchComponentData = () => {
const components = JSON.parse(fs.readFileSync(`${gruntFilePath}/lib/components.json`));
const pluginData = JSON.parse(fs.readFileSync(`${gruntFilePath}/lib/plugins.json`));
componentData.pluginTypes = components.plugintypes
componentData.pluginTypes = components.plugintypes;
const standardPlugins = Object.entries(pluginData.standard).map(
([pluginType, pluginNames]) => {
@@ -56,21 +56,18 @@ const fetchComponentData = () => {
).reduce((acc, val) => acc.concat(val), []);
// Build the list of moodle subsystems.
componentData.subsystems['public/lib'] = 'core';
componentData.pathList.push(`${process.cwd()}/public/lib`);
componentData.subsystems.lib = 'core';
componentData.pathList.push(process.cwd() + path.sep + 'lib');
for (const [component, thisPath] of Object.entries(components.subsystems)) {
if (thisPath) {
// Prefix "core_" to the front of the subsystems.
componentData.subsystems[thisPath] = `core_${component}`;
componentData.pathList.push(`${process.cwd()}/${thisPath}`);
componentData.pathList.push(process.cwd() + path.sep + thisPath);
}
}
// The list of components includes the list of subsystems.
componentData.components = Object.fromEntries(
Object.entries(componentData.subsystems)
.map(([path, name]) => ([path, name]))
);
componentData.components = {...componentData.subsystems};
const subpluginAdder = (subpluginType, subpluginTypePath) => {
glob.sync(`${subpluginTypePath}/*/version.php`).forEach(versionPath => {
@@ -107,7 +104,7 @@ const fetchComponentData = () => {
});
} else if (subpluginList.plugintypes) {
Object.entries(subpluginList.plugintypes).forEach(([subpluginType, subpluginTypePath]) => {
subpluginAdder(subpluginType, `public/${subpluginTypePath}`);
subpluginAdder(subpluginType, subpluginTypePath);
});
}
}
+1 -1
View File
@@ -217,7 +217,7 @@ const getInitialMessageValue = (options) => {
export const getCurrentVersion = async () => {
const versionRegex = new RegExp(/^ *\$release *= *['\"](?<release>[^ \+]+\+?) *\(Build:.*/m);
try {
const versionFile = await readFile('public/version.php', 'utf8');
const versionFile = await readFile('version.php', 'utf8');
const match = versionFile.match(versionRegex);
if (match) {
return match.groups.release;
-58
View File
@@ -1,58 +0,0 @@
#!/usr/bin/env node
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
import { getAllComponents } from './components.mjs';
import { getCombinedNotesByComponent } from './note.mjs';
import logger from './logger.mjs';
import { existsSync } from 'fs';
/**
* Generate links to component-specific upgrade notes for each component.
*
* @param {string|undefined} tag The git tag to link to
* @returns {Promise<void>}
*/
export default async (tag) => {
const notes = await getCombinedNotesByComponent();
if (Object.keys(notes).length === 0) {
logger.warn('No notes to generate');
return;
}
if (!tag) {
logger.error('No tag provided');
return;
}
// Generate the links for the components which have upgrade notes in this release.
let upgradeNotes = `### Component API updates\n<!--cspell: disable -->\n\n`;
const componentList = Object.fromEntries(
Object.values(getAllComponents()).map(({path, value}) => [value, path]),
);
Object.entries(notes)
.map(([component]) => ({
component,
componentPath: componentList[component],
}))
.filter(({ componentPath }) => existsSync(`./${componentPath}/UPGRADING.md`))
.forEach(({component, componentPath}) => {
upgradeNotes += `- [${component}](https://github.com/moodle/moodle/blob/${tag}/${componentPath}/UPGRADING.md)\n`;
});
console.log(upgradeNotes);
};
+2 -2
View File
@@ -30,7 +30,7 @@ module.exports = grunt => {
* @param {string} path
* @returns {string}
*/
const getCLPath = path => `public/admin/tool/componentlibrary/${path}`;
const getCLPath = path => `admin/tool/componentlibrary/${path}`;
/**
* Get a spawn handler.
@@ -97,7 +97,7 @@ module.exports = grunt => {
'--source-map',
'--embed-sources',
'--precision', 6,
'--load-path', `${process.cwd()}/public`,
'--load-path', process.cwd(),
getCLPath('hugo/scss/docs.scss'),
getCLPath('hugo/dist/css/docs.css'),
]);
+3 -3
View File
@@ -84,10 +84,10 @@ module.exports = grunt => {
const stylelintIgnores = [
'# Generated by "grunt ignorefiles"',
'**/yui/build/*',
'public/theme/boost/style/moodle.css',
'public/theme/classic/style/moodle.css',
'theme/boost/style/moodle.css',
'theme/classic/style/moodle.css',
'jsdoc/styles/*.css',
'public/admin/tool/componentlibrary/hugo/dist/css/docs.css',
'admin/tool/componentlibrary/hugo/dist/css/docs.css',
].concat(thirdPartyPaths);
grunt.file.write('.stylelintignore', stylelintIgnores.join('\n') + '\n');
+2 -2
View File
@@ -43,8 +43,8 @@ module.exports = (grunt) => {
const componentData = fetchComponentData().components;
for (const [thisPath, component] of Object.entries(componentData)) {
jsconfigData.compilerOptions.paths[`${component}/*`] = [`public/${thisPath}/amd/src/*`];
jsconfigData.include.push(`public/${thisPath}/amd/src/**/*`);
jsconfigData.compilerOptions.paths[`${component}/*`] = [`${thisPath}/amd/src/*`];
jsconfigData.include.push(`${thisPath}/amd/src/**/*`);
}
grunt.file.write('jsconfig.json', JSON.stringify(jsconfigData, null, " ") + "\n");
+3 -6
View File
@@ -27,16 +27,13 @@ module.exports = grunt => {
sass: {
dist: {
files: {
"public/theme/boost/style/moodle.css": "public/theme/boost/scss/preset/default.scss",
"public/theme/classic/style/moodle.css": "public/theme/classic/scss/classicgrunt.scss"
"theme/boost/style/moodle.css": "theme/boost/scss/preset/default.scss",
"theme/classic/style/moodle.css": "theme/classic/scss/classicgrunt.scss"
}
},
options: {
implementation: require('sass'),
includePaths: [
"public/theme/boost/scss/",
"public/theme/classic/scss/",
]
includePaths: ["theme/boost/scss/", "theme/classic/scss/"]
}
},
});
-8
View File
@@ -20,7 +20,6 @@ import chalk from 'chalk';
import { getNoteNames } from './notes/src/noteTypes.mjs';
import createAction from './notes/src/create.mjs';
import generateAction from './notes/src/generate.mjs';
import generateReleaseNotesLinks from './notes/src/releasenotes.mjs';
import logger from './notes/src/logger.mjs';
console.log(`
@@ -75,13 +74,6 @@ program
new Argument('[version]', 'The Moodle version to create the summary notes for')
)
.action((version) => generateAction(version));
program
.command('releasenotes')
.summary('Generate a list of upgrade notes for individual components in markdown format for the release notes')
.addArgument(
new Argument('[tag]', 'The Moodle tag')
)
.action((tag) => generateReleaseNotesLinks(tag));
program
.command('release')
@@ -1,8 +0,0 @@
issueNumber: MDL-31071
notes:
core:
- message: >-
The following function has been deprecated and should no longer be used:
`file_encode_url`. Please consider using the `core\url` factory methods
instead.
type: deprecated
@@ -1,17 +0,0 @@
issueNumber: MDL-41924
notes:
core_question:
- message: >
The question backup API has been improved to only include questions that
are actually used or owned by backed up activities.
Any activities that use question references should be supported
automatically. Activities that use *question set references* (for
example, random quiz questions) need to add a call to
`backup_question_set_reference_trait::annotate_set_reference_bank_entries()`
alongside the call to
`backup_question_set_reference_trait::add_question_set_references()` in
their backup step. See
`backup_quiz_activity_structure_step::define_structure()` for an
example.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-72123
notes:
core_message:
- message: >
The web service `core_message_get_member_info` additionally returns
`cancreatecontact` which is a boolean value for a user's permission to
add a contact.
type: improved
@@ -1,46 +0,0 @@
issueNumber: MDL-76612
notes:
mod_quiz:
- message: >
Final deprecations for the quiz. The following files have been removed:
- mod/quiz/accessmanager_form.php
- mod/quiz/accessmanager.php
- mod/quiz/accessrule/accessrulebase.php
- mod/quiz/attemptlib.php
- mod/quiz/cronlib.php
- mod/quiz/override_form.php
- mod/quiz/renderer.php
- mod/quiz/report/attemptsreport_form.php
- mod/quiz/report/attemptsreport_options.php
- mod/quiz/report/attemptsreport_table.php
- mod/quiz/report/attemptsreport.php
- mod/quiz/report/default.php
type: removed
- message: >
Final deprecations for the quiz. The following methods have been removed:
- mod_quiz\output\renderer::no_questions_message
- mod_quiz\output\renderer::render_mod_quiz_links_to_other_attempts
- mod_quiz\output\renderer::render_quiz_nav_question_button
- mod_quiz\output\renderer::render_quiz_nav_section_heading
- mod_quiz\structure::get_slot_tags_for_slot_id
- mod_quiz\structure::is_display_number_customised
type: removed
- message: >
Final deprecations for the quiz. The following functions have been removed:
- quiz_has_question_use
- quiz_update_sumgrades
- quiz_update_all_attempt_sumgrades
- quiz_update_all_final_grades
- quiz_set_grade
- quiz_save_best_grade
- quiz_calculate_best_grade
- quiz_calculate_best_attempt
type: deprecated
- message: >
Final deprecations for the quiz. The following classes have been removed:
- mod_quiz_overdue_attempt_updater
- moodle_quiz_exception
type: removed
- message: >-
The const quiz_statistics\calculator::TIME_TO_CACHE has been removed.
type: removed
@@ -1,12 +0,0 @@
issueNumber: MDL-77307
notes:
core_grades:
- message: >-
The previously deprecate methods have been removed:
- grade_structure::get_grade_analysis_icon
- grade_structure::get_reset_icon
- grade_structure::get_edit_icon
- grade_structure::get_hiding_icon
- grade_structure::get_locking_icon
- grade_structure::get_calculation_icon
type: removed
@@ -1,9 +0,0 @@
issueNumber: MDL-77307
notes:
gradereport_grader:
- message: |+
The previously deprecated methods have been removed:
- grade_report_grader::get_left_icons_row
- grade_report_grader::get_right_icons_row
- grade_report_grader::get_icons
type: removed
@@ -1,11 +0,0 @@
issueNumber: MDL-78091
notes:
mod_quiz:
- message: >-
Final deprecation of:
- mod_quiz\form\add_random_form::class
- mod_quiz\local\structure\slot_random::set_tags()
- mod_quiz\local\structure\slot_random::set_tags_by_id()
- const quiz_statistics\calculator::TIME_TO_CACHE
- quiz_add_random_questions()
type: removed
@@ -1,21 +0,0 @@
issueNumber: MDL-78091
notes:
core_question:
- message: >-
Final deprecation of:
- core_question\local\bank\random_question_loader::get_next_question_id()
- core_question\local\bank\random_question_loader::get_category_key()
- core_question\local\bank\random_question_loader::ensure_questions_for_category_loaded()
- core_question\local\bank\random_question_loader::get_question_ids()
- core_question\local\bank\random_question_loader::is_question_available()
- core_question\local\bank\random_question_loader::get_questions()
- core_question\local\bank\random_question_loader::count_questions()
- core_question\local\bank\view::display_top_pagnation()
- core_question\local\bank\view::display_bottom_pagination()
- question_finder::get_questions_from_categories_with_usage_counts()
- question_finder::get_questions_from_categories_and_tags_with_usage_counts()
type: removed
- message: >-
Intial deprecation of core_question_bank_renderer::render_question_pagination() and the associated template file.
Rendering the question pagination is now done via ajax based pagination.
type: deprecated
@@ -1,13 +0,0 @@
issueNumber: MDL-78091
notes:
mod_quiz:
- message: >
Initial deprecation add_random_form and associates.
The just removed mod_quiz\form\add_random_form was the only place in
core where the mod_quiz/add_random_form javascript was called, so we can
deprecate this now. This also enables us to deprecate the
mod_quiz/random_question_form_preview javascript and the
mod_quiz/random_question_form_preview_question_list template as they are
direct dependends.
type: deprecated
@@ -1,9 +0,0 @@
issueNumber: MDL-78375
notes:
core:
- message: >
Final deprecation of device related theme methods. The following two methods have been
removed from the core_useragent class:
- core_useragent::get_device_type_theme
- core_useragent::get_device_type_cfg_var_name
type: removed
@@ -1,11 +0,0 @@
issueNumber: MDL-79052
notes:
core:
- message: >
Final deprecation of removing the legacy theme settings.
The following method has been removed:
- core_useragent::get_device_type_list()
The following classes have been removed:
- core_adminpresets\local\setting\adminpresets_admin_setting_devicedetectregex
- admin_setting_devicedetectregex
type: removed
@@ -1,10 +0,0 @@
issueNumber: MDL-79319
notes:
theme_boost:
- message: >-
Theme can now inherit from their grand-parent and parents.
So if a child theme inherit from a parent theme that declares a new
layout, the child theme can use it without redeclaring it.
Also inheritance for layout uses the expected grandparent > parent >
child with precedence to the child theme.
type: improved
@@ -1,43 +0,0 @@
issueNumber: MDL-79756
notes:
core:
- message: >
Changes were implemented to make `checkbox-toggleall` output component
more inclusive:
* Replace the references to `master` checkboxes with `toggler`.
* Replace the references to `slave` checkboxes with `target`.
type: changed
- message: >+
The following `core/checkbox-toggleall` templates have been deprecated:
- `core/checkbox-toggleall-master-button` - This is replaced with
`core/checkbox-toggleall-toggler-button`
- `core/checkbox-toggleall-master` - This is replaced with
`core/checkbox-toggleall-toggler`
- `core/checkbox-toggleall-slave` - This is replaced with
`core/checkbox-toggleall-target`
The following items in the `core/checkbox-toggleall` JS module have been
deprecated:
- Method:
- `updateSlavesFromMasterState()` - This is replaced with `updateTargetsFromTogglerState()`.
- Usage of the following selectors:
- `data-toggle=master` - This is replaced with `data-toggle=toggler`.
- `data-toggle=slave` - This is replaced with `data-toggle=target`.
The usage of these selectors will continue to be supported until they
are removed by final deprecation. In the meantime, a deprecation warning
in the JavaScript console will be shown if usage of these selectors is
detected.
type: deprecated
@@ -1,9 +0,0 @@
issueNumber: MDL-79756
notes:
mod_scorm:
- message: >
The method `\mod_scorm\report::generate_master_checkbox()` has been
deprecated and should no longer be used. SCORM report plugins calling
this method should use `\mod_scorm\report::generate_toggler_checkbox()`
instead.
type: deprecated
@@ -1,13 +0,0 @@
issueNumber: MDL-80295
notes:
core_course:
- message: >-
The core_course_get_course_content_items is now deprecated. Use
core_courseformat_get_section_content_items instead.
type: deprecated
core_courseformat:
- message: >-
From now on, the activity chooser will use
core_courseformat_get_section_content_items to get the available modules
for a specific section
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-80295
notes:
core_course:
- message: >-
The course_section_add_cm_control course renderer method is deprecated.
Use section_add_cm_controls instead.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-80295
notes:
core_course:
- message: >-
Passing the section number (integer) to the
core_course\output\activitychooserbutton is deprecated. You must use a
core_course\section_info instead.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-80295
notes:
core_course:
- message: >-
The getModulesData and activityModules methods from
core_course/local/activitychooser/repository are deprecated. Use
getSectionModulesData and sectionActivityModules instead
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-80327
notes:
mod_quiz:
- message: >
Removed the deprecated class callbacks `quiz_structure_modified` and `quiz_attempt_deleted` from mod_quiz,
use the `structure_modified` and `attempt_state_changed` hooks instead. These callbacks were deprecated in
Moodle 4.4 and were outputting deprecation warnings since then.
type: removed
@@ -1,7 +0,0 @@
issueNumber: MDL-80327
notes:
core:
- message: >
Removed `core\hook\manager::is_deprecated_plugin_callback()` in favor of
`core\hook\manager::get_hooks_deprecating_plugin_callback()`.
type: removed
@@ -1,9 +0,0 @@
issueNumber: MDL-80380
notes:
core_auth:
- message: >
A new method called `get_additional_upgrade_token_parameters` has been
added to `oauth2_client` class. This will allow custom clients to
override this one and add their extra parameters for upgrade token
request.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-80455
notes:
core_badges:
- message: >-
Final removal of core_badges_renderer::render_badge_collection() and
core_badges_renderer::render_badge_recipients()
type: removed
@@ -1,5 +0,0 @@
issueNumber: MDL-80556
notes:
core_block:
- message: Removed block_section_links from Moodle 5.1.
type: removed
@@ -1,7 +0,0 @@
issueNumber: MDL-82132
notes:
core_user:
- message: >-
New method `\core_user::get_dummy_fullname(...)` for returning dummy
user fullname comprised of configured name fields only
type: improved
@@ -1,23 +0,0 @@
issueNumber: MDL-82159
notes:
core:
- message: |+
The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\breadcrumb_navigation_node` | `\core\navigation\breadcrumb_navigation_node` |
| `\flat_navigation_node` | `\core\navigation\flat_navigation_node` |
| `\flat_navigation` | `\core\navigation\flat_navigation_node` |
| `\global_navigation_for_ajax` | `\core\navigation\global_navigation_for_ajax` |
| `\global_navigation` | `\core\navigation\global_navigation` |
| `\navbar` | `\core\navigation\navbar` |
| `\navigation_cache` | `\core\navigation\navigation_cache` |
| `\navigation_json` | `\core\navigation\navigation_json` |
| `\navigation_node_collection` | `\core\navigation\navigation_node_collection` |
| `\navigation_node` | `\core\navigation\navigation_node` |
| `\settings_navigation_for_ajax` | `\core\navigation\settings_navigation_for_ajax` |
| `\settings_navigation` | `\core\navigation\settings_navigation` |
type: improved
@@ -1,12 +0,0 @@
issueNumber: MDL-82159
notes:
core:
- message: |
The following global constants have been deprecated in favour of class
constants:
| Old constant | New constant |
| --- | --- |
| `NAVIGATION_CACHE_NAME` | `\core\navigation\navigation_node::CACHE_NAME` |
| `NAVIGATION_SITE_ADMIN_CACHE_NAME` | `\core\navigation\navigation_node::SITE_ADMIN_CACHE_NAME` |
type: deprecated
@@ -1,11 +0,0 @@
issueNumber: MDL-82322
notes:
core_course:
- message: |
The following classes have been renamed and now support autoloading.
Existing classes are currently unaffected.
| Old class name | New class name |
| --- | --- |
| `\course_request` | `\core_course\course_request` |
type: improved
@@ -1,5 +0,0 @@
issueNumber: MDL-82381
notes:
report_progress:
- message: Added a new optional parameter $activegroup to render_groups_select()
type: changed
@@ -1,7 +0,0 @@
issueNumber: MDL-82464
notes:
core_reportbuilder:
- message: >-
The `count[distinct]` aggregation types support optional `'callback'`
value to customise the formatted output when applied to columns
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-83080
notes:
core_message:
- message: >-
The `contexturl` property to `\core\message\message` instances can now
contain `\core\url` values in addition to plain strings
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-83081
notes:
mod_label:
- message: >-
The dndmedia setting has been removed. From now on dropping a media file
into a course will always ask the user if they want to create a label.
type: removed
@@ -1,14 +0,0 @@
issueNumber: MDL-83147
notes:
core_ai:
- message: >-
Error message handler for AI subsystem.
- Object creation
Use `core_ai\error\factory::create($errorcode, $reason, $errorsource)` to generate the appropriate error object.
- Extensibility
Add new error types by extending `core_ai\error\base` and registering them in the factory.
Please see `core_ai\error\ratelimit` as an example.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-83448
notes:
core:
- message: >
- Added is_site_registered_in_hub method in lib/classes/hub/api.php to
check if the site is registered or not.
- Added get_secret method in lib/classes/hub/registration.php to get site's secret.
type: improved
@@ -1,6 +0,0 @@
issueNumber: MDL-83838
notes:
report_progress:
- message: >
Add download widget for report to download multiple formats.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-83838
notes:
report_progress:
- message: >
`report_progress\output\renderer::render_download_buttons`
No replacement. We no longer need to render the download custom button links.
type: deprecated
@@ -1,5 +0,0 @@
issueNumber: MDL-83887
notes:
core_block:
- message: Removed block_activity_modules from Moodle 5.1.
type: removed
@@ -1,5 +0,0 @@
issueNumber: MDL-83889
notes:
mod_bigbluebuttonbn:
- message: Add activity_dates class to BigblueButton module.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-83890
notes:
mod_choice:
- message: >-
Add manager class to the mod_choice activity. For now this is only for
the purpose of implementing the activity overview page but can be
improved to be used elsewhere.
type: improved
@@ -1,5 +0,0 @@
issueNumber: MDL-83890
notes:
mod_choice:
- message: Add new generator for choice responses
type: improved
@@ -1,5 +0,0 @@
issueNumber: MDL-83891
notes:
mod_data:
- message: Database entries generator could create 'approved' entries.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-83891
notes:
mod_data:
- message: >-
New get_approval_requested(), get_all_entries(),
filter_entries_by_user(), filter_entries_by_approval() and
get_comments() functions have been added to mod_data manager class.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-83893
notes:
mod_forum:
- message: >-
The function forum_tp_get_untracked_forums() has been deprecated because
it is no longer used.
type: deprecated
@@ -1,9 +0,0 @@
issueNumber: MDL-83896
notes:
core_courseformat:
- message: >-
Added new core_courseformat\output\local\overview\overviewdialog output
class to create dialog elements in the course overview page. Overview
dialog will display a combination of title, description and a list
of items (label: value).
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-83896
notes:
mod_lesson:
- message: >-
Added new 'count_all_submissions', 'count_submitted_participants' and
'count_all_participants' functions needed by the overview page.
type: improved
@@ -1,9 +0,0 @@
issueNumber: MDL-83898
notes:
mod_quiz:
- message: >-
Add helper methods in the mod/quiz/lib.php to count the number of
attempts (quiz_num_attempts), the number of users who attempted a quiz
(quiz_num_users_who_attempted) and users who can attempt
(quiz_num_users_who_can_attempt)
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-83899
notes:
mod_scorm:
- message: >-
Create a manager class to regroup common functionalities for course
overview page
type: improved
@@ -1,5 +0,0 @@
issueNumber: MDL-83899
notes:
mod_scorm:
- message: Add a new generator for scorm attempts to simulate user's attempt.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-83900
notes:
mod_wiki:
- message: >-
Create a manager class to regroup common functionalities and a wiki_mode
enum related to the two different modes
type: improved
@@ -1,10 +0,0 @@
issueNumber: MDL-83904
notes:
core_badges:
- message: >-
The class core_badges_observer in badges/classes/observer.php has been moved to
core_badges\event\observer in badges/classes/event/observer.php. A compatibility
layer has been added to maintain backward compatibility, but direct use of the old
class name is now deprecated. If you've extended or directly used the old class,
you should update your code to use the new namespaced class.
type: improved
@@ -1,9 +0,0 @@
issueNumber: MDL-84071
notes:
gradereport_singleview:
- message: >
The `grade/report/singleview/js/singleview.js` file has been removed. And the
`grade/report/singleview/amd/src/singleview.js` file has been added. The new file
is converted from YUI to native JS.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-84216
notes:
core_course:
- message: >
The duplicatesection param in course/view.php is deprecated. Use
course/format/update.php with action section_duplicate instead.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-84291
notes:
core_courseformat:
- message: >-
The maxsections setting is now considered deprecated and will be removed
in Moodle 6.0. Consider implementing your own setting in your format
plugin if needed.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-84291
notes:
format_weeks:
- message: >-
The weekly sections format now has a system setting called Maximum
initial number of weeks that replaced the old "Max sections" when
creating a new course
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-84291
notes:
format_topics:
- message: >-
Now the custom sections format won't ask for initial sections on the
creation form. Instead it will use the system number of sections
settings directly.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-84291
notes:
core_courseformat:
- message: >-
The param $maxsections of get_num_sections_data in addsection output is
not used anymore. If your format overrides this method, you should add
a default value 0 to be consistent with the new implementation.
type: changed
@@ -1,7 +0,0 @@
issueNumber: MDL-84291
notes:
core_courseformat:
- message: >-
The format base method get_max_sections has been deprecated, as the
maxsections setting is also deprecated and no longer in use.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-84442
notes:
core:
- message: >-
Added a new optional param to adhoc_task_failed and
scheduled_task_failed to allow skipping log finalisation when called
from a separate task.
type: improved
@@ -1,9 +0,0 @@
issueNumber: MDL-84464
notes:
core:
- message: >-
Add a new method has_valid_group in \core\report_helper that will return
true or false depending if the user has a valid group. This is mainly
false in case the user is not in any group in SEPARATEGROUPS. Used in
report_log and report_loglive
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-84531
notes:
core:
- message: >-
The `\core\attribute\deprecated` attribute constructor `$replacement`
parameter now defaults to null, and can be omitted
type: changed
@@ -1,8 +0,0 @@
issueNumber: MDL-84548
notes:
mod_qbank:
- message: >
The bulk_action_base class has gotten a get_bulk_action_classes function
to let bulk actions specify additional classes to add to the bulk action
menu entry. If none is defined in the child, '' is returned.
type: changed
@@ -1,7 +0,0 @@
issueNumber: MDL-84632
notes:
mod_book:
- message: >-
The \mod_book\event\course_module_instance_list_viewed event is now
deprecated. Use \core\event\course_resources_list_viewed instead.
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-84632
notes:
mod_folder:
- message: >-
The \mod_folder\event\course_module_instance_list_viewed event is now
deprecated. Use \core\event\course_resources_list_viewed instead.
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-84632
notes:
mod_imscp:
- message: >-
The \mod_imscp\event\course_module_instance_list_viewed event is now
deprecated. Use \core\event\course_resources_list_viewed instead.
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-84632
notes:
mod_page:
- message: >-
The \mod_page\event\course_module_instance_list_viewed event is now
deprecated. Use \core\event\course_resources_list_viewed instead.
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-84632
notes:
mod_resource:
- message: >-
The \mod_resource\event\course_module_instance_list_viewed event is now
deprecated. Use \core\event\course_resources_list_viewed instead.
type: deprecated
@@ -1,7 +0,0 @@
issueNumber: MDL-84632
notes:
mod_url:
- message: >-
The \mod_url\event\course_module_instance_list_viewed event is now
deprecated. Use \core\event\course_resources_list_viewed instead.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-84779
notes:
core_ai:
- message: >-
The method `has_model_settings` inside `core_ai\aimodel\base`
is now determined by values returned from a new method called
`get_model_settings`.
type: changed
@@ -1,7 +0,0 @@
issueNumber: MDL-84804
notes:
core:
- message: >-
There is a new `core/page_title` Javascript module for manipulating the
current page title
type: improved
@@ -1,12 +0,0 @@
issueNumber: MDL-84809
notes:
mod_workshop:
- message: >-
The function `workshop::count_submissions` has been deprecated and
should no longer be used, use `workshop::count_all_submissions`
instead.
type: deprecated
- message: >-
The function `workshop::count_assessments` has been deprecated and
should no longer be used, use `workshop::count_all_assessments` instead.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-84948
notes:
core:
- message: >-
The `core_plugin_manager::plugintype_name[_plural]` methods now require
language strings for plugin types always be defined via `type_<type>`
and `type_<type>_plural` language strings
type: changed
@@ -1,19 +0,0 @@
issueNumber: MDL-85069
notes:
core_question:
- message: >
`core_question_search_shared_banks` will now search all question banks,
not just those outside the current course.
This makes the service usable in cases outside of the current "Switch
banks" UI, which require searching all banks on the site.
It also makes the autocomplete in the "Switch banks" UI more consistent,
as it was previously excluding some of the banks listed in the UI
(Question banks in this course), but not others (Recently viewed
question banks).
This change has also adds a 'requiredcapabilties' parameter to the
function, which accepts an list of abbreviated capabilities for
checking access against question banks before they are returned.
type: changed
@@ -1,11 +0,0 @@
issueNumber: MDL-85146
notes:
theme_boost:
- message: >-
The `core:e/text_highlight` and `core:e/text_highlight_picker` icons are
deprecated and will be removed in Moodle 6.0.
The UX team recommended this change to reduce visual clutter and improve
readability. The icons were removed because they didn't indicate status
changes, were repetitive across all notifications, and took up space that
could be used for more content.
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-85158
notes:
core:
- message: >-
Added support for configurable `aspectRatio` in charts rendered using
Chart.js. This enables developers to control chart sizing more precisely
via the `chart_base` API and the frontend renderer.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-85216
notes:
core_reportbuilder:
- message: >-
The `report_action` class now accepts a `pix_icon` to include inside the
rendered action element
type: improved
@@ -1,10 +0,0 @@
issueNumber: MDL-85240
notes:
qtype_multichoice:
- message: >-
Restrict override of margin-bottom for fitem_id_answer_* and
fitem_id_fraction_* divs to own edit form. Question type
plugins currently benefitting from the unlimited style override
will need to change their styles.css accordingly. An example
can be found in calculatedmulti's style sheet.
type: changed
@@ -1,13 +0,0 @@
issueNumber: MDL-85284
notes:
core_course:
- message: >-
The changenumsections.php script is deprecated. Please use
course/format/update.php instead.
type: deprecated
core_courseformat:
- message: >-
The course format "numsections" option to increment and decrement the
number of sections of the course one by one is now deprecated and will
be removed in Moodle 6.0.
type: deprecated
@@ -1,10 +0,0 @@
issueNumber: MDL-85392
notes:
block_site_main_menu:
- message: >-
The "Main menu" block has been renamed to "Additional activities." Its
title is now customizable, and it can be used in course formats without
a dedicated view page (for instance, Single activity). On the Home page,
this block has also been renamed; administrators will need to manually
revert the name if they wish to retain "Main menu" after upgrading.
type: improved
@@ -1,9 +0,0 @@
issueNumber: MDL-85433
notes:
core_course:
- message: >-
The 'Show description' checkbox is now present in all course formats.
Activity descriptions can be displayed via the Additional activities block
(formerly the Main menu block), regardless of whether the course
format's has_view_page() function returns false.
type: changed
@@ -1,8 +0,0 @@
issueNumber: MDL-85433
notes:
core_courseformat:
- message: >-
A new interface, `main_activity_interface`, is now available. Course
format plugins should implement it if they intend to display only a
single activity in the course page.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-85433
notes:
core_block:
- message: >-
Subcontext visibility is now turned on by default when adding blocks.
This change makes it much easier to manage blocks, for example, in
courses that lack a view page.
type: changed
@@ -1,12 +0,0 @@
issueNumber: MDL-85436
notes:
theme:
- message: >-
These icons are no longer in use and have been deprecated:
- core:e/insert_col_after
- core:e/insert_col_before
- core:e/split_cells
- core:e/text_color
- core:t/locktime
- tool_policy/level
type: deprecated
@@ -1,8 +0,0 @@
issueNumber: MDL-85509
notes:
core_courseformat:
- message: >-
The core_courseformat\local\overview\overviewfactory now includes a new
method, activity_has_overview_integration, which determines if a module
supports overview integration.
type: improved
@@ -1,8 +0,0 @@
issueNumber: MDL-85509
notes:
core:
- message: >-
Output classes can now implement the core\output\externable interface.
This allows these classes to define methods for exporting their data in a format
suitable for use in web services.
type: improved
@@ -1,10 +0,0 @@
issueNumber: MDL-85518
notes:
core_admin:
- message: >
- Added `searchmatchtype` property to `admin_settings`
to track search match type.
- Plugins that extend either `admin_settings` or `admin_externalpage`
are encouraged to specify a search match type from the available
types in `admin_search`.
type: improved
@@ -1,7 +0,0 @@
issueNumber: MDL-85533
notes:
core_course:
- message: >-
The activitychoosertabmode setting has been removed. Consider
implementing your own setting in your theme if needed.
type: removed
@@ -1,8 +0,0 @@
issueNumber: MDL-85556
notes:
core_question:
- message: >
The unit test repeated\_restore\_test::test\_restore\_course\_with\_same\_stamp\_questions was passing incorrectly on 5.x for question types that use answers.
Maintainers of third-party question types may want to re-run the test with the fix in place, or if they have copied parts of this test as the basis of a test in their own plugin, review the changes and see if they should be reflected in their own test.
type: fixed
@@ -1,8 +0,0 @@
issueNumber: MDL-85598
notes:
core_course:
- message: >-
Activities can now specify an additional purpose in their
PLUGINNAME_supports function by using the new FEATURE_MOD_OTHERPURPOSE
feature.
type: improved
@@ -1,9 +0,0 @@
issueNumber: MDL-85660
notes:
format_social:
- message: >-
The social course format is now disabled by default for all new and
upgraded installations. Existing courses using this format will continue
to function, but administrators must re-enable it to create new social
courses.
type: deprecated

Some files were not shown because too many files have changed in this diff Show More