Commit Graph

3525 Commits

Author SHA1 Message Date
Jun Pataleta bd3bae8b9c Merge branch 'MDL-87694-course-participant-profile-missing-heading-M5.0' of https://github.com/stopfstedt/moodle into MOODLE_500_STABLE 2026-02-03 15:18:08 +08:00
Huong Nguyen 94bc33b976 Merge branch 'MDL-87520-500-branch-number' of https://github.com/mudrd8mz/moodle into MOODLE_500_STABLE 2026-02-03 10:32:43 +07:00
Stefan Topfstedt a23bd2ad53 MDL-87694 core: prevent empty heading in context header. 2026-02-02 10:38:14 -08:00
Jun Pataleta 35b132b2c2 MDL-87694 core: headinglevel display option for $OUTPUT->confirm()
`\core\output\core_renderer::confirm()`'s `$displayoptions` parameter
now also accepts a `headinglevel` option that developers can use to
specify the heading level of the confirmation's heading. If not
specified, the confirmation heading will be rendered in an `h4` tag.
2026-02-02 09:19:34 -08:00
David Mudrák 0f61bd060e MDL-87520 core: Fix interpretation of CFG->branch in update API client
Starting in version 3.10, Moodle started to use a different format for
the $CFG->branch that has not been fixed here. This is to make sure that
we request the correct version of the plugin.
2026-01-30 14:20:21 +01:00
Paul Holden 215d9d623c MDL-87104 message: remove border from contact request sent profile info. 2026-01-27 10:26:07 +00:00
Adrian Greeve 4e1053e6ce Merge branch 'MDL-87625-500' of https://github.com/andrewnicols/moodle into MOODLE_500_STABLE 2026-01-21 14:20:35 +08:00
Andrew Nicols 8be48fd41e MDL-87659 core: Hide "Details" section of checks Table when there are none 2026-01-21 13:01:41 +08:00
Andrew Nicols 072658a276 MDL-87625 core: Use the /r.php basepath to guess routes 2026-01-13 08:06:38 +08:00
Mihail Geshoski 627fdd0bfd Merge branch 'MDL-86416-500' of https://github.com/junpataleta/moodle into MOODLE_500_STABLE 2025-12-17 12:15:05 +08:00
Huong Nguyen e7f3feac7e Merge branch 'MOODLE_500_STABLE_MDL-73396' of https://github.com/niko-hoogeveen/moodle into MOODLE_500_STABLE 2025-12-15 08:55:46 +07:00
Niko Hoogeveen 307ed32403 MDL-73396 core_user: prioritize active users when retrieving by email
Updated get_users_by_email() to return active users at the
start of the returned array, suspended users last.
2025-12-10 14:21:51 -05:00
Stefan Topfstedt fa50aa22b9 MDL-86416 navigation: Render the more menu only when it's not empty
Co-authored-by: Jun Pataleta <jun@moodle.com>
2025-12-09 11:15:29 +08:00
Andi Permana 87eef1669d MDL-86679 oauth2: Support MS personal and work account names 2025-12-05 15:44:23 +07:00
David Woloszyn bcf67dd1cb MDL-72744 dataformat: Escape formulas when exporting spreadsheets
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2025-12-04 08:57:58 +07:00
Huong Nguyen 822dd5aeb7 Merge branch 'MDL-87339-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-12-03 12:15:02 +07:00
David Woloszyn 8565f480a3 MDL-86544 lib: Adjust checks on local URL params 2025-12-03 03:14:20 +00:00
Paul Holden f2ca4d59b2 MDL-87339 hook: ensure cache directory present/writeable for use.
Avoids PHP warnings during Behat initialisation:

- file_put_contents(...): Failed to open stream: No such file or directory;
- rename(...): No such file or directory
2025-11-27 19:06:14 +00:00
Petr Skoda f00eecb062 MDL-87066 core: add clean_string() to solve double encoding in Mustache
The idea is to prevent double escaping in s()
and mustache.escape() by using numeric html
entities to sanitise result of format_string(),
get_string() and similar.
2025-11-27 14:59:00 +01:00
Paul Holden b01cffa8c7 Merge branch 'MDL-87046-500' of https://github.com/andrewnicols/moodle into MOODLE_500_STABLE 2025-11-25 15:25:23 +00:00
Andrew Nicols 0edf1c226c Merge branch 'MDL-86279-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-11-25 21:04:36 +08:00
Andrew Nicols a5a6c1f554 MDL-87046 core: Fix shutdown manager early return
If the `\core_shutdown_manager::initialize` method is called multiple
times, it should only succeed once.

Unfortunately whilst logging existed, the shutdown manager did not
actually exit.
2025-11-21 08:53:03 +08:00
Paul Holden f1d0e24258 MDL-86279 core: fix deprecation emitting/annotation in AWS helpers. 2025-11-17 11:01:03 +00:00
Huong Nguyen 06a1c95afa Merge branch 'MDL-85235-500' of https://github.com/safatshahin/moodle into MOODLE_500_STABLE 2025-11-17 16:02:01 +07:00
Huong Nguyen 3a7525ed2f Merge branch 'MDL-87107-500' of https://github.com/andrewnicols/moodle into MOODLE_500_STABLE 2025-11-17 09:09:02 +07:00
Huong Nguyen e72988cdf3 Merge branch 'MDL-82867-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-11-13 08:44:42 +07:00
Safat 5637b4f6ed MDL-85235 core: Add extend url hook 2025-11-10 22:07:39 +11:00
Andrew Nicols f3702d06e0 MDL-87107 core: Stop using MUC for hook manager caching 2025-11-07 17:19:09 +08:00
Huong Nguyen b80d614961 Merge branch 'MDL-87079-500' of https://github.com/andrewnicols/moodle into MOODLE_500_STABLE 2025-11-06 15:37:29 +07:00
Huong Nguyen 2ab3f1088f Merge branch 'MDL-87019-redis-bloat-MOODLE_500_STABLE' of https://github.com/bwalkerl/moodle into MOODLE_500_STABLE 2025-11-06 10:35:11 +07:00
Andrew Nicols 7e9255978b MDL-87079 core: Call existing pcntl handlers
Whilst `register_shutdown_function` works as a queue, `pcntl_signal`
does not.

To preserve the behaviour of existing signal handlers, as are typically
found in CLI wrappers like PHPUnit and Behat, we should store any
existing handler
2025-11-05 08:52:34 +08:00
Benjamin Walker 2530e564b1 MDL-87019 redis: Avoid storing userhashkey for non-login users 2025-10-31 16:20:34 +10:00
Andi Permana 2a4b767402 MDL-86235 core: Add table-hover class to admintable and generaltable 2025-10-24 15:50:06 +07:00
Mihail Geshoski ba4ffb5881 Merge branch 'MDL-86063-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-10-22 10:21:45 +08:00
Amaia Anabitarte 60950923a6 Merge branch 'MDL-85796-500' of https://github.com/junpataleta/moodle into MOODLE_500_STABLE 2025-10-21 19:56:09 +02:00
Shamim Rezaie e36f16ec13 Merge branch 'MDL-85592-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-10-21 17:10:33 +11:00
Paul Holden f9f4c49fd2 MDL-86063 customfield: internally validate numeric data in persistent.
Move previous validation from the data controller, added in 89dbe63d,
into the persistent class itself so that it can internally validate
itself rather than relying on callers.

This resolves problems with empty/null numeric fields contained within
course backups (e.g. during course copy).
2025-10-19 16:53:17 +01:00
Andrew Nicols b286e6c65a Merge branch 'm500-86376' of https://github.com/danmarsden/moodle into MOODLE_500_STABLE 2025-10-17 11:04:40 +08:00
Jun Pataleta 7db7c26280 MDL-85796 core: Remove unnecessary title attribute on profile links
The title attribute with value "View profile" on profile links is
not necessary as the user's name on the link itself is sufficient
to convey the purpose of the link.
2025-10-16 15:51:01 +08:00
Dan Marsden fb9d6e718d MDL-86376 core: Make public static functions more resilient
a
2025-10-16 20:45:50 +13:00
Andrew Nicols 360cb2d370 Merge branch 'MDL-85736-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-10-16 13:39:55 +08:00
Julien Boulen aeb3794af4 MDL-86322 phpdoc: Fix the given example in the phpdoc 2025-10-12 21:49:15 +02:00
Paul Holden ebc79d11de MDL-82867 output: consistently space external link pixicon. 2025-10-08 16:17:56 +01:00
David Woloszyn 0aaacc446a MDL-86494 router: Display error details only when debugging is on 2025-10-01 06:24:16 +00:00
David Woloszyn a2c9b6cef7 MDL-86335 router: Hide detailed payload data for non-admins 2025-10-01 06:24:16 +00:00
Stevani Andolo 052d50f8a4 MDL-86667 registration: Unset fields after site being unregistered 2025-09-29 10:32:34 +08:00
Mihail Geshoski a5132bc695 Merge branch 'MDL-86177-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-09-26 12:02:57 +08:00
Huong Nguyen 0d39faed51 Merge branch 'mdl-84491_redis_connection_500' of https://github.com/ngandrass/moodle into MOODLE_500_STABLE 2025-09-26 10:20:51 +07:00
Amaia Anabitarte 00cb0cdff3 Merge branch 'MDL-86488-500-2' of https://github.com/junpataleta/moodle into MOODLE_500_STABLE 2025-09-24 17:17:55 +02:00
Mihail Geshoski 83ec402da6 Merge branch 'MDL-83080-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-09-21 22:48:10 +08:00