Commit Graph

46 Commits

Author SHA1 Message Date
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
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
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
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 5bc4eb67b3 MDL-86490 output: Mark icon in action_icon as decorative 2025-09-16 22:35:49 +08:00
Diego Monroy 72940def9d MDL-86541 blocks: validate allowing block title to be '0' (zero). 2025-09-10 12:32:21 +02: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
Jun Pataleta 77065687fa MDL-85795 search: Enclose the search widget in a group 2025-08-04 19:15:00 +08:00
Andrew Nicols bf18273a08 MDL-85897 core: Move all deprecations to emit_deprecation 2025-07-30 13:53:27 +08:00
yusufwib01 5517b264f3 MDL-72123 message: Hide add to contacts button if user not allowed 2025-06-06 08:28:56 +07:00
Paul Holden 2bafdb41ab MDL-83537 check: confirm presence of instance action link. 2025-04-15 16:09:22 +02:00
Huong Nguyen 2c65c010d8 Merge branch 'MDL-85025-main' of https://github.com/roland04/moodle 2025-04-02 13:20:34 +07:00
Mikel Martín 54e2fffe96 MDL-85025 mod_forum: Fix ratings layout after BS5 upgrade 2025-03-27 10:23:00 +01:00
Andrew Nicols 9137558cd5 MDL-82565 core: Add support for routing of front-end pages
This is the beginning of the end for non-routed pages in Moodle and the
start of SEO-friendly page URLs.

A 'shim' is provided for backwards compatibility.
2025-03-26 21:20:58 +08:00
Andrew Nicols 2c121ab509 Merge branch 'MDL-84674_trim-old-deprecations' of https://github.com/ziegenberg/moodle 2025-03-21 08:15:12 +08:00
Paul Holden 8f2087f2e6 Merge branch 'MDL-81655' of https://github.com/larsbonczek/moodle into main 2025-03-20 15:15:44 +00:00
Daniel Ziegenberg 15579eb07f MDL-84674 core: Remove long-deprecated methods
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-18 10:36:53 +01:00
Sara Arjona 48455be56a Merge branch 'MDL-78926_final-deprecation-of-core_course-output-activity_information-output-class' of https://github.com/ziegenberg/moodle 2025-03-12 17:48:28 +01:00
Daniel Ziegenberg be4b3e3d03 MDL-78926 core: Final deprecation of activity_information
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-04 20:38:57 +01:00
ferran 9b2f727a3e MDL-83888 core: notice badge renderer method 2025-03-03 13:15:13 +01:00
Jun Pataleta 4e2a7af970 MDL-67683 output: Make block regions unique
Unique labels for the block regions:
* `side-pre` blocks - "Blocks"
* `side-post` blocks - "Supplementary blocks"
* `content` blocks - "Main content blocks"

Blocks in the main content region (div role="main") should not also be
in an <aside> as it is a top-level landmark.
2025-02-03 15:54:50 +08:00
Jun Pataleta e671b1ff0b MDL-67683 blocks: Do not assign a complementary role for blocks
Blocks are contained in an <aside> which has a default ARIA role of
"complementary", a top-level landmark. So assigning a "complementary"
role for block instances is not needed. As blocks are already in a
<section> tag which has a default role of "region", there's no need
to override the ARIA role, unless specified by the block plugin.

Read more at:
https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/
2025-02-03 15:54:49 +08:00
Paul Holden a296bdfc5b MDL-84072 output: correct progress bar component percentage parameter.
Avoid mixing float/string types, where the decimal separator could
vary according to current locale (as per previous fix 5a1aef5a, which
was subsequently re-broken by b92886ad).
2025-01-07 13:14:26 +00:00
Lars Bonczek f128e7b916 MDL-81655 theme: Fix maintenance warning positioning 2024-12-17 13:01:31 +01:00
Huong Nguyen bb3cda8b64 Merge branch 'MDL-75075-master' of https://github.com/NashTechOpenUniversity/moodle 2024-12-16 09:50:12 +07:00
Mikel Martín a973ea46d7 MDL-81825 core: Replace sr_text() with visually_hidden_text()
In core renderer, replace 'sr_text' method with 'visually_hidden_text' to be
consistent with Bootstrap 5 upgrade.
2024-12-10 14:02:34 +01:00
Mikel Martín f9abc562f5 MDL-81825 theme_boost: Refactor .sr-only usages for BS5
- Add .visually-hidden to the Boostratp 5 bridge SCSS file
- Replace .sr-only occurrences with .visually-hidden
- Replace .dropzone-sr-only-focusable  with .dropzone-visually-hidden-focusable
  for consistency
2024-12-10 14:02:32 +01:00
Khoa Nguyen c5e4c202f5 MDL-75075 core_tag: Add an option to render tag lists without links 2024-12-10 13:44:17 +07:00
Paul Holden 430020f3ba MDL-83128 blocks: consistently style/align block list icons. 2024-12-02 09:25:16 +00:00
Huong Nguyen 86c1eaa4ef Merge branch 'MDL-83786-main' of https://github.com/andrewnicols/moodle 2024-11-25 14:34:25 +07:00
Andrew Nicols 9781d5f392 MDL-83786 navigation: Correct incorrect paren in navfilter
This condition was checking whether navgfilter was true, and the
stringfilter was also true.

In most cases the condition will have actually worked correctly, albeit
by fluke. For users upgrading or otherwise missing the navfilter
configuration this condition led to warnings.
2024-11-22 08:36:17 +08:00
Simon Adams 776d1e40e4 MDL-71378 mod_qbank: Add question bank management 2024-11-15 15:18:47 +00:00
Michael Milette b2d59a0372 MDL-63219 Output: Enable filters in custom menus. 2024-09-30 18:12:20 -04:00
Huong Nguyen 5f2d20ef64 Merge branch 'MDL-72856-main' of https://github.com/michael-milette/moodle 2024-09-25 08:58:04 +07:00
Andrew Nicols 11216cc711 MDL-83164 core: Add support for namespaced renderer methods 2024-09-23 21:35:13 +08:00
Huong Nguyen cb4e621ce9 MDL-80890 AI: Course Assistance Placement
Co-authored-by: Matt Porritt <pozze30@gmail.com>
2024-09-19 09:30:10 +07:00
Michael Milette dff8969548 MDL-72856 lib: Only inject one robots/noindex in head of Additional HTML 2024-09-04 12:29:51 -04:00
Laurent David 29b2bfe51f MDL-82297 core: Improve core notification message
* Improve the notification message so it can have a
title and titleicon.
2024-08-26 14:49:02 +02:00
Mikel Martín 0a03018116 MDL-75671 theme_boost: Refactor spacing classes for BS5
- Add SCSS code for spacing utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (pr-1 > pe-1, ml-auto > ms-auto, ml-sm-3 > ms-sm-3, ...)
2024-08-09 07:40:17 +02:00
Paul Holden 31163d5e02 MDL-82629 output: switch to named message/contact mapped icons. 2024-07-29 09:05:28 +01:00
Conn Warwicker b92886ad59 MDL-70854 core: Add stored progress bars.
- Alters existing progress_bar class to support extension
    - Adds stored_progress_bar class as child of progress_bar
    - Adds webservice to poll stored progress
    - Updates database tables
    - Bumps version
    - Adds unit/behat tests
2024-07-23 17:58:53 +08:00
Adrian Perez e1353c7649 MDL-74251 core: Remove old icon helper classes 2024-06-27 18:28:05 +02:00
Jun Pataleta 85a83eb365 MDL-82183 output: Move render_context_header()
* With \core_renderer in lib/outputrenderers.php moved to its
standalone class in \core\output, the method ::render_context_header()
introduced in MDL-82160 also needs to be moved to the new class.
2024-06-27 09:02:11 +08:00
Andrew Nicols 9043dc75bf MDL-82183 core: Coding style fixes for core\output 2024-06-26 23:00:33 +08:00
Andrew Nicols ff0fd2764a MDL-82183 core: Update namespace of moved output classes 2024-06-26 23:00:33 +08:00
Andrew Nicols 2fff48b07c MDL-82183 core: Migrate all output classes to autoloaded 2024-06-26 23:00:31 +08:00