Commit graph

117139 commits

Author SHA1 Message Date
Jun Pataleta
fb3f28a847
Merge branch 'MDL-74488' of https://github.com/paulholden/moodle 2025-02-06 09:33:58 +08:00
Brendan Heywood
1f503304c5 MDL-81829 core: Fix early bootstrap bug with whoops 2025-02-06 09:31:22 +11:00
Paul Holden
476c0539ed
MDL-81996 block_mentees: consistently ordered list of users. 2025-02-05 20:17:01 +00:00
Paul Holden
dd3af70440
MDL-74488 reportbuilder: method for retrieving report row counts. 2025-02-05 17:38:21 +00:00
Leon Stringer
f8cab1509f
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.
2025-02-05 18:05:40 +01:00
Sara Arjona
35a82f9ecf
Merge branch 'MDL-80848-main' of https://github.com/andrewgos/moodle 2025-02-05 18:05:40 +01:00
Jun Pataleta
5bb4758f77
Merge branch 'MDL-83753-main' of https://github.com/djarran/moodle 2025-02-05 18:05:40 +01:00
Jun Pataleta
1fbe085b1a
Merge branch 'mdl-83695_main' of https://github.com/james-cnz/moodle 2025-02-05 18:05:40 +01:00
Sara Arjona
d8dbb53c36
Merge branch 'MDL-67683-main' of https://github.com/junpataleta/moodle 2025-02-05 18:05:40 +01:00
Huong Nguyen
fb211931cb
Merge branch 'MDL-83909-main' of https://github.com/sarjona/moodle 2025-02-05 18:05:40 +01:00
Huong Nguyen
d4220bd9c9
Merge branch 'MDL-79214-main' of https://github.com/aanabit/moodle 2025-02-05 18:05:39 +01:00
Huong Nguyen
433ee6ecbc
Merge branch 'mdl-83690_main' of https://github.com/james-cnz/moodle 2025-02-05 18:05:39 +01:00
Huong Nguyen
b8eb960fe5
Merge branch 'MDL-83650-main_fix_ods_cell' of https://github.com/Cl3mensM/moodle 2025-02-05 18:05:39 +01:00
Jun Pataleta
d1b6d2eaf8
Merge branch 'MDL-83809-main' of https://github.com/sammarshallou/moodle 2025-02-05 18:05:39 +01:00
Andrew Nicols
e17dd3bf62
MDL-83757 core: Force DI to use global DB instead of scoped 2025-02-05 20:35:25 +08:00
sam marshall
f1f8163b27 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.
2025-02-04 12:50:53 +00:00
james-cnz
d7054236c4 MDL-83695 backup: Add space before course Restores in progress heading 2025-02-05 00:19:13 +13:00
Simey Lameze
635522dc3c MDL-84343 phpunit: handle warnings on failing tests
Signed-off-by: Simey Lameze <simey@moodle.com>
2025-02-04 19:00:29 +08:00
Simey Lameze
1bd9705200 MDL-84343 core: bump workflow to use pgsql 14
Signed-off-by: Simey Lameze <simey@moodle.com>
2025-02-04 19:00:29 +08:00
Paul Holden
06fd28ba2b
MDL-84239 badges: remove defunct code for disabling badge. 2025-02-04 15:18:22 +08:00
David Woloszyn
fbae5e1ed5 MDL-84136 filter_tex: Improve sanitization of forbidden items 2025-02-04 11:34:14 +07:00
Mark Johnson
c968ab77be MDL-84146 question: Improve handling of JS parameters 2025-02-04 02:34:28 +00:00
meirzamoodle
595db30261 MDL-84023 lib: Update requirejs to 2.3.7 2025-02-04 02:34:28 +00:00
Marina Glancy
4ca6597422 MDL-83941 tags: prevent users from browsing unsearchable collections 2025-02-04 02:34:28 +00:00
Mihail Geshoski
1ea3084c8f 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.
2025-02-04 02:34:28 +00:00
Huong Nguyen
83a027b132
Merge branch 'MDL-83822-main' of https://github.com/PhMemmel/moodle 2025-02-04 09:30:25 +07:00
Jun Pataleta
458b35a7bb Merge branch 'MDL-84337' of https://github.com/paulholden/moodle 2025-02-04 10:05:58 +08:00
Paul Holden
b3fed61aee
MDL-84337 ai: revert external set_action parameter renaming.
This preserves backwards compatibility pre 368114c7 and fixes the
placement table.
2025-02-03 10:46:57 +00:00
Huong Nguyen
e6b368e16b Merge branch 'MDL-84388-main' of https://github.com/lameze/moodle 2025-02-03 15:08:42 +07:00
Jun Pataleta
0c584487d5
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.
2025-02-03 15:54:51 +08:00
Jun Pataleta
598d806333
MDL-67683 behat: Add accessibility test for the maintenance mode layout 2025-02-03 15:54:51 +08:00
Jun Pataleta
7b3ec91919
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.
2025-02-03 15:54:51 +08: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
8553573e84
MDL-67683 theme: Set page heading in a header landmark for secure layout 2025-02-03 15:54:50 +08:00
Jun Pataleta
706b99f298
MDL-67683 auth: Test login page accessibility with axe best-practice tag 2025-02-03 15:54:50 +08:00
Jun Pataleta
cf3ee68ce6
MDL-67683 behat: Update xpath selector for #region-main 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
Jun Pataleta
10736389fa
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/
2025-02-03 15:54:49 +08:00
Jun Pataleta
29f452307d
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/
2025-02-03 15:54:49 +08:00
Jun Pataleta
a9a7883bcc
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.
2025-02-03 15:51:10 +08:00
Jun Pataleta
24b1c58505
Merge branch 'MDL-84336' of https://github.com/paulholden/moodle 2025-02-03 12:28:24 +08:00
Huong Nguyen
4cbf74c0eb
Merge branch 'MDL-83871-main-v02' of https://github.com/ferranrecio/moodle 2025-02-03 09:37:25 +07:00
Huong Nguyen
56a7e2077c
Merge branch 'MDL-81478-main' of https://github.com/meirzamoodle/moodle 2025-02-03 09:32:02 +07:00
Huong Nguyen
4292f1a886
Merge branch 'MDL-83794-main' of https://github.com/andrewnicols/moodle 2025-02-03 09:20:15 +07:00
AMOS bot
abc432cd6e Automatically generated installer lang files 2025-02-01 00:07:55 +00:00
Sara Arjona
5075be8ecd
Merge branch 'MDL-83562-main-v02' of https://github.com/ferranrecio/moodle 2025-02-01 00:20:37 +08:00
Sara Arjona
70bba6e9b2
Merge branch 'mdl-82679_main_wip' of https://github.com/james-cnz/moodle 2025-02-01 00:20:37 +08:00
Sara Arjona
b2ff1cb848
Merge branch 'MDL-84321-main-enfix' of https://github.com/mudrd8mz/moodle 2025-02-01 00:20:37 +08:00
Jun Pataleta
8008466be8
Merge branch 'MDL-82542-master' of https://github.com/NashTechOpenUniversity/moodle 2025-02-01 00:20:36 +08:00
Sara Arjona
a16934d66b
MDL-83909 core_badges: Remove author name, email and url fields
The fields imageauthorname, imageauthoremail, and imageauthorurl have
been removed from badges due to confusion and their absence from the
official specification. These fields also do not appear in OBv3.0.

Additionally, the image_author_json.php file has been removed as it
is no longer needed.
2025-01-31 15:28:30 +01:00