407 Commits

Author SHA1 Message Date
Sara Arjona
fb2a5bb129
Merge branch 'MDL-83537' of https://github.com/paulholden/moodle 2025-04-15 16:08:59 +02:00
Mikel Martín
ad14d58dc5 MDL-85077 theme_boost: Fix responsive tables after BS5 upgrade
- Replace class 'no-overflow' with 'table-responsive' for responsive tables.
- Fix dropdown positioning inside responsive tables.
- Fix visually-hidden elements inside tables generating incorrect page scrolling.
2025-04-10 10:28:23 +02:00
Huong Nguyen
0c014c7095 Merge branch 'MDL-84980-main' of https://github.com/sarjona/moodle 2025-04-02 14:24:59 +07: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
Jun Pataleta
db11ca6a1d
Merge branch 'MDL-85028-main' of https://github.com/andrewnicols/moodle 2025-03-27 12:03:34 +08:00
Andrew Nicols
48adc55cfc
MDL-85028 core: Check correct var name for router config 2025-03-27 11:44:49 +08:00
Jun Pataleta
e8146c0831
Merge branch 'MDL-82565-main' of https://github.com/andrewnicols/moodle 2025-03-27 10:45:20 +08:00
Andrew Nicols
968183714d
MDL-82565 core: Improve routed Error handling
In previous versions of Moodle we recommended use of the fallback
resource with /error/index.php.

This is incompatible with the routing system because they use the same
mechanism for responding to any unknown request.

To better handle this we need to move the current error handler page to
a routed page, and to provide a shim for the old location.

At the same time we need to improve the Slim Error handling middleware
to respond with our 404 handler for all 404s, except for those on API
routes where we always respond with JSON.
2025-03-26 21:20:59 +08: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
c8e4bbe938
Merge branch 'MDL-84555-main' of https://github.com/ferranrecio/moodle 2025-03-25 10:41:50 +08:00
ferran
9b5018b4a3 MDL-84555 core_course: new activity_icon output class 2025-03-24 16:49:53 +01:00
Sara Arjona
52e4933d84
MDL-84980 pix: Replace insert_page_break icon
To provide a visually clearer and more user-friendly quiz experience,
the 'add new page' icon has been standardized to 'fa-plus'.
2025-03-24 12:52:12 +01: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
Jun Pataleta
56183c786e Merge branch 'MDL-81714_main' of https://github.com/marxjohnson/moodle 2025-03-18 12:57:55 +08:00
Mark Johnson
69afa8a3ac
MDL-81714 grades: Display "Run now" button for admins in task indicator 2025-03-14 16:01:05 +00:00
Mark Johnson
10de329397
MDL-81714 grades: Add regrading progress indicator to grade reports 2025-03-14 16:01:05 +00:00
Paul Holden
09c191aefd
MDL-83537 check: confirm presence of instance action link. 2025-03-13 17:52:36 +00: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
Mark Johnson
b94b1ed5ff
MDL-81714 output: Update stored progress bar APIs
Expand the methods available in the stored_progress_bar output component
and stored_progress_task_trait to allow a progress bar to be created in
a "pending" state before the associated task is executed.
2025-03-10 12:41:29 +00:00
Andrew Nicols
8d5f85017a
Merge branch 'MDL-84036-main' of https://github.com/aanabit/moodle 2025-03-06 11:47:47 +08:00
Sara Arjona
01a5feb9b5
Merge branch 'MDL-83888-main-v02' of https://github.com/ferranrecio/moodle 2025-03-05 08:31:28 +01:00
Andrew Nicols
a4b3cf493d
Merge branch 'MDL-75875-main' of https://github.com/laurentdavid/moodle 2025-03-05 14:25:26 +08: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
Mikel Martín
11657fe082 MDL-84692 theme_boost: Update .btn-icon class
- Update and improve styles for .btn-icon helper class for consistency.
- Added new $btn-icon-border-radius SCSS variable to cuztomize the btn-icon
border radius.
- Fix and simplify current .btn-icon usages
2025-03-04 10:23:00 +01:00
ferran
f92afcee5c MDL-83888 core: add renderer_helper for DI 2025-03-03 13:15:13 +01:00
ferran
9b2f727a3e MDL-83888 core: notice badge renderer method 2025-03-03 13:15:13 +01:00
Laurent David
0803d255d5 MDL-75875 core: Remove Single Button primary parameter
* Final deprecation for the use of a boolean as 'primary' parameter
(4th parameter of the constructor), used before to specify a button
was a primary button. This has been replaced by a wider range of
choices.
2025-02-24 06:49:18 +01:00
Sara Arjona
f660214f25
Merge branch 'MDL-83872-main-v03' of https://github.com/ferranrecio/moodle 2025-02-19 12:43:19 +01:00
Mikel Martín
04975cd2b2 MDL-75669 theme_boost: Refactor custom form elements to BS5
- .custom-check is now .form-check.
- .custom-check.custom-switch is now .form-check.form-switch.
- .custom-select is now .form-select.
- .custom-file and .form-file have been replaced by custom styles on top of .form-control.
- .custom-range is now .form-range.
- Dropped .input-group-append and .input-group-prepend. You can now just add buttons
  and .input-group-text as direct children of the input groups.
2025-02-14 10:58:36 +01:00
Mikel Martín
2aa19cb088 MDL-75669 theme_boost: Refactor dropdowns positioning classes
- Replace .dropdown-menu-[left|right] with .dropdown-menu-[start|end].
2025-02-14 09:10:33 +01:00
ferran
802920fd4c MDL-83872 core: creating button and text_align properties
This issue creates a couple of enum to style buttons and text
alignments. Enums can be used by output classes to limit the
types of values accepted by using strict types.
2025-02-08 11:36:01 +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
Amaia Anabitarte
1ccec343f4 MDL-84036 core: Finally remove deprecated external functions 2025-01-28 12:11:27 +01:00
ferran
46318e53d0 MDL-83869 output: new collapsable section component 2025-01-22 11:36:27 +01:00
Jun Pataleta
d0a31f104a
Merge branch 'MDL-83172-main' of https://github.com/meirzamoodle/moodle 2025-01-15 17:02:12 +08:00
Sara Arjona
7c9bfaa0f0
Merge branch 'MDL-84072' of https://github.com/paulholden/moodle 2025-01-14 14:43:47 +01:00
meirzamoodle
c26cc0e005 MDL-83172 dml: Remove Oracle from LMS 2025-01-13 17:11:55 +07:00
Sara Arjona
6ab62a98cd
MDL-83933 pix: Switch import/export icons 2025-01-09 17:15:51 +01: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
Huong Nguyen
d5505e0ae2
Merge branch 'MDL-83639-main' of https://github.com/sarjona/moodle 2025-01-02 10:00:11 +07:00
Sara Arjona
314d41f427
MDL-83639 pix: Update custom icons
Sabina Abellán from the UX team has created the following custom icons:

- ai*:sparkles
- core:e/insert_col_after
- core:e/insert_col_before
- core:e/split_cells
- core:e/text_color
- core:i/bulk_edit
- core:i/export
- core:i/grade_partiallycorrect
- core:i/item
- core:t/completion_incomplete
- core:t/locktime
- mod_scorm:browsed
- tool_policy:level

In addition to updating these SVG files, the entries in the icon_map() have
been removed to ensure that the customized version is always used.
2024-12-20 07:40:23 +01:00
Sara Arjona
c0366ffea1
MDL-82460 pix: Deprecate unused icons
While addressing MDL-82211, these icons were identified as candidates
for deprecation. After confirmation that they are no longer in use,
they can now be safely deprecated.
2024-12-20 07:39:52 +01: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
Jun Pataleta
fce8ddcac8
Merge branch 'MDL-83765-main' of https://github.com/aanabit/moodle 2024-12-12 11:43:29 +08:00
Amaia Anabitarte
1d8d35a2c5 MDL-83765 core_output: deprecated functions have been removed from action_menu class. 2024-12-11 11:10:18 +01:00