integration.git
4 months agoMDL-75669 theme_boost: Fix BS5 related JS 0c586b41c1336202286dcfcb2709cc2f75679c91
Mikel Martín [Wed, 27 Nov 2024 08:59:07 +0000 (09:59 +0100)]
MDL-75669 theme_boost: Fix BS5 related JS

- Migrate Boostrap components related JS from JQuery to vanilla JS.
- Migrate Boostrap components related Events from JQuery to vanilla JS.

4 months agoMDL-75669 theme_boost: Fix BS5 related behat steps and scenarios
Mikel Martín [Tue, 3 Dec 2024 15:06:49 +0000 (16:06 +0100)]
MDL-75669 theme_boost: Fix BS5 related behat steps and scenarios

- Fix some behat steps and scenarios that are failing because of
  Bootstrap 5 syntax changes.
- Add a new $behatsite SCSS variable when behat is runinng that
  disables Bootstrap transitions and effects.

4 months agoMDL-75669 theme_boost: Fix simplesearchform BS5 related styles
Mikel Martín [Wed, 18 Dec 2024 09:45:13 +0000 (10:45 +0100)]
MDL-75669 theme_boost: Fix simplesearchform BS5 related styles

4 months agoMDL-75669 theme_boost: Fix double closing icon on BS5 buttons
Mikel Martín [Tue, 17 Dec 2024 16:35:24 +0000 (17:35 +0100)]
MDL-75669 theme_boost: Fix double closing icon on BS5 buttons

- With BS5 now closing icon ("X") on modals, alerts, ... is being displayed twice.
  This commit Fixes that incorrect behaviour.

4 months agoMDL-75669 theme_boost: Refactor btn-block class removed in BS5
Mikel Martín [Tue, 17 Dec 2024 14:15:40 +0000 (15:15 +0100)]
MDL-75669 theme_boost: Refactor btn-block class removed in BS5

4 months agoMDL-75669 theme_boost: Refactor "media-breakpoint-down" mixin to BS5
Mikel Martín [Tue, 17 Dec 2024 09:44:15 +0000 (10:44 +0100)]
MDL-75669 theme_boost: Refactor "media-breakpoint-down" mixin to BS5

- media-breakpoint-down() uses the breakpoint itself instead of the next breakpoint (e.g., media-breakpoint-down(lg)
instead of media-breakpoint-down(md) targets viewports smaller than lg).

4 months agoMDL-75669 theme_boost: Fix incorrect .row BS5 class usages
Mikel Martín [Wed, 18 Dec 2024 13:08:48 +0000 (14:08 +0100)]
MDL-75669 theme_boost: Fix incorrect .row BS5 class usages

In BS5 all .row classes are intended to contain elements with any .col class
There were some cases where the .row class was being used only for display flex
purposes, so they where replaced.

4 months agoMDL-75669 theme_boost: Remove .navbar-light for BS5
Mikel Martín [Fri, 20 Dec 2024 11:50:27 +0000 (12:50 +0100)]
MDL-75669 theme_boost: Remove .navbar-light for BS5

4 months agoMDL-75669 theme_boost: Refactor custom form elements to BS5
Mikel Martín [Mon, 16 Dec 2024 15:44:08 +0000 (16:44 +0100)]
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.

4 months agoMDL-75669 theme_boost: Refactor BS5 data attributes
Mikel Martín [Fri, 29 Nov 2024 12:20:48 +0000 (13:20 +0100)]
MDL-75669 theme_boost: Refactor BS5 data attributes

Data attributes for all Bootstrap5 JavaScript plugins are now namespaced
to help distinguish Bootstrap functionality from third parties and your own code.
For example, data-bs-toggle instead of data-toggle.
This commit refactor all old Bootstrap data-attributes to the new syntax.

Co-authored-by: Daniel Ziegenberg <daniel@ziegenberg.at>
4 months agoMDL-75669 theme_boost: Refactor dropdowns positioning classes
Mikel Martín [Fri, 29 Nov 2024 11:30:43 +0000 (12:30 +0100)]
MDL-75669 theme_boost: Refactor dropdowns positioning classes

- Replace .dropdown-menu-[left|right] with .dropdown-menu-[start|end].

4 months agoMDL-75669 theme_boost: Upgrade Boostrap to v5.3
Mikel Martín [Mon, 25 Nov 2024 13:42:40 +0000 (14:42 +0100)]
MDL-75669 theme_boost: Upgrade Boostrap to v5.3

- Follow upgrade steps
- Fix some SCSS to avoid CSS compilation errors.

4 months agoMDL-75669 theme_boost: Remove BS5 bridge
Mikel Martín [Mon, 25 Nov 2024 13:50:51 +0000 (14:50 +0100)]
MDL-75669 theme_boost: Remove BS5 bridge

4 months agoweekly release 5.0dev
Jun Pataleta [Fri, 14 Feb 2025 01:53:24 +0000 (09:53 +0800)]
weekly release 5.0dev

4 months agoNOBUG: Add upgrade notes
Jun Pataleta [Fri, 14 Feb 2025 01:53:24 +0000 (09:53 +0800)]
NOBUG: Add upgrade notes

4 months agoMerge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 14 Feb 2025 01:53:10 +0000 (09:53 +0800)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install

4 months agoMerge branch 'MDL-83579' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 13 Feb 2025 04:11:19 +0000 (11:11 +0700)]
Merge branch 'MDL-83579' of https://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-84245' of https://github.com/ssj365/moodle
Jun Pataleta [Thu, 13 Feb 2025 03:57:16 +0000 (11:57 +0800)]
Merge branch 'MDL-84245' of https://github.com/ssj365/moodle

4 months agoMerge branch 'mdl-83306_main' of https://github.com/james-cnz/moodle
Jun Pataleta [Thu, 13 Feb 2025 03:54:52 +0000 (11:54 +0800)]
Merge branch 'mdl-83306_main' of https://github.com/james-cnz/moodle

4 months agoMerge branch 'MDL-84147' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 13 Feb 2025 03:53:11 +0000 (10:53 +0700)]
Merge branch 'MDL-84147' of https://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-84102-main' of https://github.com/andelacruz/moodle
Jun Pataleta [Thu, 13 Feb 2025 03:48:51 +0000 (11:48 +0800)]
Merge branch 'MDL-84102-main' of https://github.com/andelacruz/moodle

4 months agoMerge branch 'MDL-83542-main' of https://github.com/laurentdavid/moodle
Jun Pataleta [Thu, 13 Feb 2025 03:47:38 +0000 (11:47 +0800)]
Merge branch 'MDL-83542-main' of https://github.com/laurentdavid/moodle

4 months agoMerge branch 'MDL-83645' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 13 Feb 2025 03:42:29 +0000 (10:42 +0700)]
Merge branch 'MDL-83645' of https://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-69142' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 13 Feb 2025 03:33:19 +0000 (10:33 +0700)]
Merge branch 'MDL-69142' of https://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-79265-master' of https://github.com/NashTechOpenUniversity/moodle
Huong Nguyen [Thu, 13 Feb 2025 02:15:20 +0000 (09:15 +0700)]
Merge branch 'MDL-79265-master' of https://github.com/NashTechOpenUniversity/moodle

5 months agoMDL-84102 message: Behat for setting default notification preferences
Angelia Dela Cruz [Tue, 4 Feb 2025 02:51:44 +0000 (10:51 +0800)]
MDL-84102 message: Behat for setting default notification preferences

5 months agoMerge branch 'MDL-83452-addbodyclass' of https://github.com/leonstr/moodle
Huong Nguyen [Wed, 12 Feb 2025 04:29:41 +0000 (11:29 +0700)]
Merge branch 'MDL-83452-addbodyclass' of https://github.com/leonstr/moodle

5 months agoMerge branch 'MOODLE_main_MDL-82601' of https://github.com/danielneis/moodle
Huong Nguyen [Tue, 11 Feb 2025 04:46:17 +0000 (11:46 +0700)]
Merge branch 'MOODLE_main_MDL-82601' of https://github.com/danielneis/moodle

5 months agoMerge branch 'MDL-82440-main' of https://github.com/praxisdigital/moodle
Huong Nguyen [Tue, 11 Feb 2025 04:39:02 +0000 (11:39 +0700)]
Merge branch 'MDL-82440-main' of https://github.com/praxisdigital/moodle

5 months agoMerge branch 'MDL-84414-main' of https://github.com/andelacruz/moodle
Huong Nguyen [Tue, 11 Feb 2025 04:17:15 +0000 (11:17 +0700)]
Merge branch 'MDL-84414-main' of https://github.com/andelacruz/moodle

5 months agoMerge branch 'MDL-70610-main' of https://github.com/kevpercy/moodle
Huong Nguyen [Tue, 11 Feb 2025 04:12:58 +0000 (11:12 +0700)]
Merge branch 'MDL-70610-main' of https://github.com/kevpercy/moodle

5 months agoMDL-84414 gradingform_guide: Behat test to set marking guide as ready
Angelia Dela Cruz [Tue, 4 Feb 2025 07:26:08 +0000 (15:26 +0800)]
MDL-84414 gradingform_guide: Behat test to set marking guide as ready

5 months agoAutomatically generated installer lang files
AMOS bot [Tue, 11 Feb 2025 00:09:28 +0000 (00:09 +0000)]
Automatically generated installer lang files

5 months agoMDL-69142 tool_cohortroles: fix table ordering by role name.
Paul Holden [Mon, 16 Dec 2024 20:30:15 +0000 (20:30 +0000)]
MDL-69142 tool_cohortroles: fix table ordering by role name.

5 months agoMerge branch 'MDL-67462-main' of https://github.com/albertgasset/moodle
Sara Arjona [Mon, 10 Feb 2025 08:38:35 +0000 (09:38 +0100)]
Merge branch 'MDL-67462-main' of https://github.com/albertgasset/moodle

5 months agoMDL-84245 mod_bigbluebuttonbn: Add manual grades
Shamiso.Jaravaza [Mon, 10 Feb 2025 03:03:49 +0000 (20:03 -0700)]
MDL-84245 mod_bigbluebuttonbn: Add manual grades

* Added grade API functions to implement grades
* Created phpunit test to ensure grades are removed on reset

5 months agoMDL-83542 core_completion: Add hooks for cm completion
Laurent David [Mon, 11 Nov 2024 10:31:33 +0000 (11:31 +0100)]
MDL-83542 core_completion: Add hooks for cm completion

* Add hooks for events that lead to session_cache_reset

5 months agoMDL-83542 core: Add hooks for user switching
Laurent David [Mon, 11 Nov 2024 10:31:12 +0000 (11:31 +0100)]
MDL-83542 core: Add hooks for user switching

* Add hooks for events that lead to session_cache_reset

5 months agoMDL-83542 core_course: Add hook for course content update
Laurent David [Mon, 11 Nov 2024 10:30:22 +0000 (11:30 +0100)]
MDL-83542 core_course: Add hook for course content update

* Add hooks for course events that lead to session_cache_reset

5 months agoMDL-67462 badges: Improve tests of external functions
Albert Gasset [Fri, 7 Feb 2025 08:02:25 +0000 (09:02 +0100)]
MDL-67462 badges: Improve tests of external functions

Now units tests covering external functions `core_badges_get_badge`,
`core_badges_get_user_badges` and `core_badges_get_user_badge_by_hash`
check all badge fields,  including cases where the user has no
permission to view all details.

5 months agoMDL-67462 badges: Fix badge alignments returned in external functions
Albert Gasset [Fri, 7 Feb 2025 08:02:25 +0000 (09:02 +0100)]
MDL-67462 badges: Fix badge alignments returned in external functions

5 months agoweekly release 5.0dev
Sara Arjona [Thu, 6 Feb 2025 15:21:38 +0000 (16:21 +0100)]
weekly release 5.0dev

5 months agoNOBUG: Add upgrade notes
Sara Arjona [Thu, 6 Feb 2025 15:21:38 +0000 (16:21 +0100)]
NOBUG: Add upgrade notes

5 months agoMerge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Thu, 6 Feb 2025 15:21:29 +0000 (16:21 +0100)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install

5 months agoMerge branch 'MDL-83794-main' of https://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 6 Feb 2025 09:09:48 +0000 (17:09 +0800)]
Merge branch 'MDL-83794-main' of https://github.com/andrewnicols/moodle

5 months agoMDL-79265 question bank: fix which questions are listed with hidden
Hieu Nguyen Dang [Wed, 3 Jul 2024 08:05:31 +0000 (15:05 +0700)]
MDL-79265 question bank: fix which questions are listed with hidden

This fixes the bug where if the latest version of the question is hidden,
the question disappears, even if older versions exist that are still visible.

5 months agoMDL-83794 editor_tiny: Fix typo in style name
Andrew Nicols [Thu, 6 Feb 2025 05:49:00 +0000 (13:49 +0800)]
MDL-83794 editor_tiny: Fix typo in style name

5 months agoMerge branch 'MDL-81829-fix-pretty-whoops' of https://github.com/brendanheywood/moodle
Jun Pataleta [Thu, 6 Feb 2025 04:20:09 +0000 (12:20 +0800)]
Merge branch 'MDL-81829-fix-pretty-whoops' of https://github.com/brendanheywood/moodle

5 months agoMerge branch 'MDL-83757-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Thu, 6 Feb 2025 03:51:57 +0000 (10:51 +0700)]
Merge branch 'MDL-83757-main' of https://github.com/andrewnicols/moodle

5 months agoMerge branch 'MDL-72080' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 6 Feb 2025 03:36:44 +0000 (11:36 +0800)]
Merge branch 'MDL-72080' of https://github.com/paulholden/moodle

5 months agoMDL-84271 core_course: Validate module list in search
Laurent David [Wed, 5 Feb 2025 10:12:27 +0000 (11:12 +0100)]
MDL-84271 core_course: Validate module list in search

* We need to validate the list of modules in the course search

Co-authored-by: Lars Bonczek <bonczek@math.tu-berlin.de>
5 months agoMDL-84003 mod_glossary: capability check restoring trusted entry text.
Paul Holden [Thu, 12 Dec 2024 15:00:27 +0000 (15:00 +0000)]
MDL-84003 mod_glossary: capability check restoring trusted entry text.

5 months agoMDL-84145 report_loglive: format event description as plain text.
Paul Holden [Thu, 9 Jan 2025 17:14:45 +0000 (17:14 +0000)]
MDL-84145 report_loglive: format event description as plain text.

5 months agoMerge branch 'MDL-84394' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 6 Feb 2025 02:26:09 +0000 (09:26 +0700)]
Merge branch 'MDL-84394' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-84343-main' of https://github.com/lameze/moodle
Huong Nguyen [Thu, 6 Feb 2025 01:53:10 +0000 (08:53 +0700)]
Merge branch 'MDL-84343-main' of https://github.com/lameze/moodle

5 months agoMerge branch 'MDL-83635-main' of https://github.com/junpataleta/moodle
Huong Nguyen [Thu, 6 Feb 2025 01:45:32 +0000 (08:45 +0700)]
Merge branch 'MDL-83635-main' of https://github.com/junpataleta/moodle

5 months agoMerge branch 'MDL-84016' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 6 Feb 2025 01:36:07 +0000 (09:36 +0800)]
Merge branch 'MDL-84016' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-74488' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 6 Feb 2025 01:33:58 +0000 (09:33 +0800)]
Merge branch 'MDL-74488' of https://github.com/paulholden/moodle

5 months agoMDL-81829 core: Fix early bootstrap bug with whoops
Brendan Heywood [Tue, 4 Jun 2024 04:54:59 +0000 (14:54 +1000)]
MDL-81829 core: Fix early bootstrap bug with whoops

5 months agoMDL-74488 reportbuilder: method for retrieving report row counts.
Paul Holden [Thu, 21 Nov 2024 22:04:38 +0000 (22:04 +0000)]
MDL-74488 reportbuilder: method for retrieving report row counts.

5 months agoMDL-79976 mod_feedback: Check group for response
Leon Stringer [Tue, 4 Feb 2025 15:21:32 +0000 (15:21 +0000)]
MDL-79976 mod_feedback: Check group for response

Check the teacher's group membership if group mode is SEPARATEGROUPS
prior to showing or deleting responses.

5 months agoMerge branch 'MDL-80848-main' of https://github.com/andrewgos/moodle
Sara Arjona [Wed, 5 Feb 2025 16:16:50 +0000 (17:16 +0100)]
Merge branch 'MDL-80848-main' of https://github.com/andrewgos/moodle

5 months agoMerge branch 'MDL-83753-main' of https://github.com/djarran/moodle
Jun Pataleta [Wed, 5 Feb 2025 14:44:19 +0000 (22:44 +0800)]
Merge branch 'MDL-83753-main' of https://github.com/djarran/moodle

5 months agoMerge branch 'mdl-83695_main' of https://github.com/james-cnz/moodle
Jun Pataleta [Wed, 5 Feb 2025 09:39:18 +0000 (17:39 +0800)]
Merge branch 'mdl-83695_main' of https://github.com/james-cnz/moodle

5 months agoMerge branch 'MDL-67683-main' of https://github.com/junpataleta/moodle
Sara Arjona [Wed, 5 Feb 2025 07:50:20 +0000 (08:50 +0100)]
Merge branch 'MDL-67683-main' of https://github.com/junpataleta/moodle

5 months agoMerge branch 'MDL-83909-main' of https://github.com/sarjona/moodle
Huong Nguyen [Wed, 5 Feb 2025 03:36:44 +0000 (10:36 +0700)]
Merge branch 'MDL-83909-main' of https://github.com/sarjona/moodle

5 months agoMerge branch 'MDL-79214-main' of https://github.com/aanabit/moodle
Huong Nguyen [Wed, 5 Feb 2025 03:34:03 +0000 (10:34 +0700)]
Merge branch 'MDL-79214-main' of https://github.com/aanabit/moodle

5 months agoMerge branch 'mdl-83690_main' of https://github.com/james-cnz/moodle
Huong Nguyen [Wed, 5 Feb 2025 03:26:50 +0000 (10:26 +0700)]
Merge branch 'mdl-83690_main' of https://github.com/james-cnz/moodle

5 months agoMerge branch 'MDL-83650-main_fix_ods_cell' of https://github.com/Cl3mensM/moodle
Huong Nguyen [Wed, 5 Feb 2025 03:21:19 +0000 (10:21 +0700)]
Merge branch 'MDL-83650-main_fix_ods_cell' of https://github.com/Cl3mensM/moodle

5 months agoMerge branch 'MDL-83809-main' of https://github.com/sammarshallou/moodle
Jun Pataleta [Wed, 5 Feb 2025 03:15:51 +0000 (11:15 +0800)]
Merge branch 'MDL-83809-main' of https://github.com/sammarshallou/moodle

5 months agoMDL-83757 core: Force DI to use global DB instead of scoped
Andrew Nicols [Wed, 5 Feb 2025 12:07:42 +0000 (20:07 +0800)]
MDL-83757 core: Force DI to use global DB instead of scoped

5 months agoMDL-83809 Accessibility: Focus issues in modals
sam marshall [Wed, 27 Nov 2024 15:41:19 +0000 (15:41 +0000)]
MDL-83809 Accessibility: Focus issues in modals

This change fixes 2 issues:

1 The focus lock for modals (e.g. within Tiny editor) did not
  correctly loop round from the end of the modal to the start.

2 After clicking 'Browse repositories' button in a Tiny editor
  modal, and closing the file picker, focus did not return to
  the button as expected.

5 months agoMDL-83695 backup: Add space before course Restores in progress heading
james-cnz [Tue, 12 Nov 2024 02:08:57 +0000 (15:08 +1300)]
MDL-83695 backup: Add space before course Restores in progress heading

5 months agoMDL-84343 phpunit: handle warnings on failing tests
Simey Lameze [Wed, 29 Jan 2025 22:59:46 +0000 (06:59 +0800)]
MDL-84343 phpunit: handle warnings on failing tests

Signed-off-by: Simey Lameze <simey@moodle.com>
5 months agoMDL-84343 core: bump workflow to use pgsql 14
Simey Lameze [Wed, 29 Jan 2025 22:59:18 +0000 (06:59 +0800)]
MDL-84343 core: bump workflow to use pgsql 14

Signed-off-by: Simey Lameze <simey@moodle.com>
5 months agoMDL-84239 badges: remove defunct code for disabling badge.
Paul Holden [Fri, 17 Jan 2025 14:15:53 +0000 (14:15 +0000)]
MDL-84239 badges: remove defunct code for disabling badge.

5 months agoMDL-84136 filter_tex: Improve sanitization of forbidden items
David Woloszyn [Wed, 15 Jan 2025 01:17:06 +0000 (12:17 +1100)]
MDL-84136 filter_tex: Improve sanitization of forbidden items

5 months agoMDL-84146 question: Improve handling of JS parameters
Mark Johnson [Mon, 3 Feb 2025 07:05:06 +0000 (14:05 +0700)]
MDL-84146 question: Improve handling of JS parameters

5 months agoMDL-84023 lib: Update requirejs to 2.3.7
meirzamoodle [Tue, 7 Jan 2025 03:58:13 +0000 (10:58 +0700)]
MDL-84023 lib: Update requirejs to 2.3.7

5 months agoMDL-83941 tags: prevent users from browsing unsearchable collections
Marina Glancy [Fri, 6 Dec 2024 16:10:30 +0000 (16:10 +0000)]
MDL-83941 tags: prevent users from browsing unsearchable collections

5 months agoMDL-82896 qtype_ddimageortext: Clean drop zone label text
Mihail Geshoski [Thu, 19 Dec 2024 04:20:14 +0000 (12:20 +0800)]
MDL-82896 qtype_ddimageortext: Clean drop zone label text

It is unnecessary to allow HTML to be added to the drop zone label text,
as this content is hidden and only accessible to screen readers.
Additionally, the content is currently not properly formatted, which
introduces a risk for potential XSS exploits. This change ensures that
only plain text (PARAM_TEXT) is allowed when adding content and that the
content is properly formatted before being output.

5 months agoMerge branch 'MDL-83822-main' of https://github.com/PhMemmel/moodle
Huong Nguyen [Tue, 4 Feb 2025 02:30:25 +0000 (09:30 +0700)]
Merge branch 'MDL-83822-main' of https://github.com/PhMemmel/moodle

5 months agoMerge branch 'MDL-84337' of https://github.com/paulholden/moodle
Jun Pataleta [Tue, 4 Feb 2025 02:05:58 +0000 (10:05 +0800)]
Merge branch 'MDL-84337' of https://github.com/paulholden/moodle

5 months agoMDL-84337 ai: revert external set_action parameter renaming.
Paul Holden [Mon, 27 Jan 2025 15:49:47 +0000 (15:49 +0000)]
MDL-84337 ai: revert external set_action parameter renaming.

This preserves backwards compatibility pre 368114c7 and fixes the
placement table.

5 months agoMerge branch 'MDL-84388-main' of https://github.com/lameze/moodle
Huong Nguyen [Mon, 3 Feb 2025 08:08:42 +0000 (15:08 +0700)]
Merge branch 'MDL-84388-main' of https://github.com/lameze/moodle

5 months agoMDL-67683 theme_boost: Update selector for calendar block styles
Jun Pataleta [Mon, 4 Nov 2024 06:21:10 +0000 (14:21 +0800)]
MDL-67683 theme_boost: Update selector for calendar block styles

With the change from `aside` to `section` for blocks within the main
content region, the selector for instances of the calendar block not in
the main content region also needs to be updated to use a more generic
selector that can cover when either the blocks container containing the
calendar block is an `aside` or a `section`.

The `data-blockregion` attribute is a good selector for this purpose.

5 months agoMDL-67683 behat: Add accessibility test for the maintenance mode layout
Jun Pataleta [Fri, 26 Jul 2024 03:41:26 +0000 (11:41 +0800)]
MDL-67683 behat: Add accessibility test for the maintenance mode layout

5 months agoMDL-67683 behat: Add accessibility test for the secure layout
Jun Pataleta [Fri, 26 Jul 2024 03:10:09 +0000 (11:10 +0800)]
MDL-67683 behat: Add accessibility test for the secure layout

Also, add page title and heading to the secure test page to make
it accessible.

5 months agoMDL-67683 output: Make block regions unique
Jun Pataleta [Fri, 26 Jul 2024 03:07:50 +0000 (11:07 +0800)]
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.

5 months agoMDL-67683 theme: Set page heading in a header landmark for secure layout
Jun Pataleta [Thu, 25 Jul 2024 09:19:40 +0000 (17:19 +0800)]
MDL-67683 theme: Set page heading in a header landmark for secure layout

5 months agoMDL-67683 auth: Test login page accessibility with axe best-practice tag
Jun Pataleta [Mon, 22 Jul 2024 02:26:31 +0000 (10:26 +0800)]
MDL-67683 auth: Test login page accessibility with axe best-practice tag

5 months agoMDL-67683 behat: Update xpath selector for #region-main
Jun Pataleta [Fri, 21 Jun 2024 12:50:54 +0000 (20:50 +0800)]
MDL-67683 behat: Update xpath selector for #region-main

5 months agoMDL-67683 blocks: Do not assign a complementary role for blocks
Jun Pataleta [Fri, 21 Jun 2024 09:23:17 +0000 (17:23 +0800)]
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/

5 months agoMDL-67683 theme: Do not use section for block containers
Jun Pataleta [Fri, 21 Jun 2024 08:52:22 +0000 (16:52 +0800)]
MDL-67683 theme: Do not use section for block containers

The containers for the blocks in layout templates should not be using a
<section> tag (which has a default landmark role of "region") as the
blocks are already contained in an <aside> tag that has the default
"complementary" role which should be a top-level landmark.

Read more at:
https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/

5 months agoMDL-67683 theme: Do not use section for #region-main
Jun Pataleta [Fri, 21 Jun 2024 08:43:07 +0000 (16:43 +0800)]
MDL-67683 theme: Do not use section for #region-main

The #region-main container should not be a <section> tag (which has a
default landmark role of "region") as it contains the container with
the "main" role which should be a top-level landmark.

Read more at:
https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/

5 months agoMDL-83635 tool_brickfield: Use core_text:strlen() for img alt check
Jun Pataleta [Tue, 5 Nov 2024 05:17:39 +0000 (13:17 +0800)]
MDL-83635 tool_brickfield: Use core_text:strlen() for img alt check

Multibyte alt texts will cause this check to fail easily. We need to be
using `core_text::strlen()` when checking the image alt text's length.

5 months agoMerge branch 'MDL-84336' of https://github.com/paulholden/moodle
Jun Pataleta [Mon, 3 Feb 2025 04:28:24 +0000 (12:28 +0800)]
Merge branch 'MDL-84336' of https://github.com/paulholden/moodle

5 months agoMerge branch 'MDL-83871-main-v02' of https://github.com/ferranrecio/moodle
Huong Nguyen [Mon, 3 Feb 2025 02:37:25 +0000 (09:37 +0700)]
Merge branch 'MDL-83871-main-v02' of https://github.com/ferranrecio/moodle

5 months agoMerge branch 'MDL-81478-main' of https://github.com/meirzamoodle/moodle
Huong Nguyen [Mon, 3 Feb 2025 02:32:02 +0000 (09:32 +0700)]
Merge branch 'MDL-81478-main' of https://github.com/meirzamoodle/moodle

5 months agoMerge branch 'MDL-83794-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Mon, 3 Feb 2025 02:20:15 +0000 (09:20 +0700)]
Merge branch 'MDL-83794-main' of https://github.com/andrewnicols/moodle