Commit Graph

3491 Commits

Author SHA1 Message Date
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
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
Paul Holden 39f1775180 Merge branch 'MDL-86541-500' of https://github.com/dfelipemonroy/moodle into MOODLE_500_STABLE 2025-09-17 11:52:55 +01:00
Jun Pataleta e8dd16f7fd MDL-86488 output: Make the icon in action menu triggers decorative
* Set the action label properly.
* Set the kebab icon as a decorative icon.
* Move the title attribute to the menu button itself instead of the
kebab icon.
2025-09-17 15:16:34 +08:00
Jun Pataleta 5bc4eb67b3 MDL-86490 output: Mark icon in action_icon as decorative 2025-09-16 22:35:49 +08:00
Paul Holden 3995498467 MDL-83080 message: handle core\url instance data as contexturl. 2025-09-15 10:40:23 +01:00
Diego Monroy 72940def9d MDL-86541 blocks: validate allowing block title to be '0' (zero). 2025-09-10 12:32:21 +02:00
Huong Nguyen c18ab7c188 Merge branch 'MDL-85270-m50' of https://github.com/micaherne/moodle into MOODLE_500_STABLE 2025-09-10 09:08:21 +07:00
Huong Nguyen b71a12b73e Merge branch 'MDL-83003-M500_INFO-command-not-compatible-with-envoy-proxy-redis' of https://github.com/ziegenberg/moodle into MOODLE_500_STABLE 2025-09-09 09:28:51 +07:00
Michael Aherne bfcc1cf4ec MDL-85270 output: Export url_select for template. 2025-09-08 10:24:13 +01:00
Paul Holden 3597ec7916 MDL-86177 task: ensure tasks are runnable in indicator output.
Also fix case where task indicator progress data no longer exists,
which lead to exceptions when encountered, breaking the gradebook.
2025-08-29 15:51:25 +01:00
Huong Nguyen 453da3a159 Merge branch 'MDL-85743-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-08-29 11:00:43 +07:00
Huong Nguyen 223b4065d5 Merge branch 'MDL-86315-500' of https://github.com/davewoloszyn/moodle into MOODLE_500_STABLE 2025-08-26 09:23:25 +07:00
Paul Holden 36e4118e2d MDL-85592 output: export missing node sort attribute for template. 2025-08-21 13:06:24 +01:00
Huong Nguyen c77e19c8ac Merge branch 'MDL-86311-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-08-21 09:30:10 +07:00
Paul Holden 984e1b8954 MDL-85743 user: correct debugging for missing user picture fields. 2025-08-19 17:12:33 +01:00
Paul Holden 8cd752c0df MDL-85736 core: don't double escape page URL in meta refresh tag.
Co-authored-by: Clay Cross <claycross@gmail.com>
2025-08-19 17:11:52 +01:00
Paul Holden e908a04251 MDL-86311 core: ensure component is normalised prior to comparison. 2025-08-19 09:17:07 +01:00
Paul Holden 3ad4e6bb69 MDL-86015 output: support autoclose behaviour in dropdown dialog. 2025-08-15 11:07:39 +01:00
David Woloszyn 7f38d50aee MDL-86315 registration: Unset emails in hub when dependant value not set 2025-08-15 12:29:26 +10:00
Huong Nguyen 8597284d8a Merge branch 'MDL-85795-500-2' of https://github.com/junpataleta/moodle into MOODLE_500_STABLE 2025-08-07 11:26:17 +07:00
Laurent David 14c293058c MDL-84464 report_log: Hide report for teachers without groups
* Teachers without groups in SEPARATEGROUP mode should not see the report log page nor access it
2025-08-06 10:15:25 +07:00
Huong Nguyen d5e8fa372b Merge branch 'MDL-86043-500' of https://github.com/tasiobg/moodle into MOODLE_500_STABLE 2025-08-05 08:32:06 +07:00
Jun Pataleta 77065687fa MDL-85795 search: Enclose the search widget in a group 2025-08-04 19:15:00 +08:00
Tasio 1a6d4949cf MDL-86043 core: keep SQL consistent with other Moodle versions.
This change resolves issues with Oracle in Moodle 4.5. It has been ported to newer Moodle versions as it improves
the existing SQL and helps maintain consistency across different Moodle versions.
2025-07-30 16:18:41 +02:00
Andrew Nicols bf18273a08 MDL-85897 core: Move all deprecations to emit_deprecation 2025-07-30 13:53:27 +08:00
Andrew Nicols 18586a863d MDL-85897 core: Add emit_deprecation() method
This changeset adds a new `\core\deprecation::emit_deprecation` method
with the same signature as the `emit_deprecation_if_found()` method.

It is intended to be used in places where something is guaranteed to
have been deprecated, and will throw appropriate debugging if the
deprecated attribute is not found.

The `emit_deprecation_if_found()` method should still be used where the
item being checked is not known to be deprecated or not, for example in
calling code.
2025-07-30 13:53:21 +08:00
Huong Nguyen 8fecec1471 Merge branch 'MDL-85759-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-07-24 09:30:36 +07:00
Amaia Anabitarte c82ba0b35e Merge branch 'MDL-85989-500' of https://github.com/sarjona/moodle into MOODLE_500_STABLE 2025-07-23 10:13:33 +02:00
Huong Nguyen aa70d4652e Merge branch 'MDL-83996-readonly-false-positive-MOODLE_500_STABLE' of https://github.com/bwalkerl/moodle into MOODLE_500_STABLE 2025-07-23 09:00:07 +07:00
Mihail Geshoski 9f9ac79d0a Merge branch 'MDL-85997-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-07-22 23:36:57 +08:00
Benjamin Walker 859fb5a319 MDL-83996 sessions: Fix false positive read only sessions errors 2025-07-21 10:26:29 +10:00
Mihail Geshoski 241094d371 Merge branch 'MDL-77237-500' of https://github.com/meirzamoodle/moodle into MOODLE_500_STABLE 2025-07-16 23:53:57 +08:00
meirzamoodle 86021f2698 MDL-77237 core: Suppress debugging during capabilities cleanup
To prevent the debugging messages from appearing during the upgrade,
I set a flag to hide them.

For the test file, I adjusted the parameters in
the unassign_capability() function, which seemed to be using
the parameter intended for assign_capability().
2025-07-15 14:33:26 +07:00
Paul Holden 1829c5e8b2 MDL-85997 output: require CLI library from corresponding renderer. 2025-07-11 11:59:33 +01:00
Sara Arjona 16303a2dd2 MDL-85989 output: Fix choicelist when selected 0 is not first
Previously, when the selected value in a choicelist was 0 but not in
the first position, the behavior was incorrect.
This commit fixes that issue, ensuring the choicelist behaves as expected
regardless of the position of the 0 value.
2025-07-11 09:15:06 +02:00