moodle.git
19 months agoMDL-75670 theme: Refactor form-inline helper class dropped in BS5 d0d62fd06c79fd43ab118b1c2fcf88700f162205
Mikel Martín [Wed, 13 Dec 2023 14:41:47 +0000 (15:41 +0100)]
MDL-75670 theme: Refactor form-inline helper class dropped in BS5

- Replace .form-inline Bootstrap helper class with .d-flex.flex-wrap.align-items-center
- Refactor .form-inline occurrences in SCSS files or remove when unneeded

19 months agoMDL-75670 theme: Refactor form-group helper class dropped in BS5
Mikel Martín [Wed, 13 Dec 2023 08:56:24 +0000 (09:56 +0100)]
MDL-75670 theme: Refactor form-group helper class dropped in BS5

- Replace .form-group Boostrap helper class with .mb-3. The .form-group class was only
adding margin bottom styles, so it is an straightforward change.
- Replace .form-group references in SCSS files with .fitem now .form-group has been removed.
- There were some other .form-group occurrences in the code that were using it not for styling
but incorrectly for managing some logic. These have been also replaced with .fitem or removed.

19 months agoweekly release 4.4dev
Huong Nguyen [Fri, 23 Feb 2024 01:37:39 +0000 (08:37 +0700)]
weekly release 4.4dev

19 months agoNOBUG: Fixed SVG browser compatibility
Huong Nguyen [Fri, 23 Feb 2024 01:37:37 +0000 (08:37 +0700)]
NOBUG: Fixed SVG browser compatibility

19 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Huong Nguyen [Fri, 23 Feb 2024 01:37:35 +0000 (08:37 +0700)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

19 months agoMerge branch 'MDL-80207-behat' of https://github.com/HuongNV13/moodle
Jun Pataleta [Thu, 22 Feb 2024 05:56:27 +0000 (13:56 +0800)]
Merge branch 'MDL-80207-behat' of https://github.com/HuongNV13/moodle

19 months agoMerge branch 'MDL-80844' of https://github.com/stronk7/moodle
Huong Nguyen [Thu, 22 Feb 2024 04:23:47 +0000 (11:23 +0700)]
Merge branch 'MDL-80844' of https://github.com/stronk7/moodle

19 months agoMerge branch 'MDL-80338' of https://github.com/paulholden/moodle 40f501fb4e8ccad7eaacde873bf8fa809df192c5
Huong Nguyen [Thu, 22 Feb 2024 04:17:52 +0000 (11:17 +0700)]
Merge branch 'MDL-80338' of https://github.com/paulholden/moodle

19 months agoMerge branch 'MDL-80608-main' of https://github.com/sammarshallou/moodle 3061024726abdd5581d90e3a589c38b01eb533a2
Huong Nguyen [Thu, 22 Feb 2024 04:05:28 +0000 (11:05 +0700)]
Merge branch 'MDL-80608-main' of https://github.com/sammarshallou/moodle

19 months agoMerge branch 'MDL-79266' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 22 Feb 2024 03:54:18 +0000 (10:54 +0700)]
Merge branch 'MDL-79266' of https://github.com/paulholden/moodle

19 months agoMerge branch 'MDL-80821' of https://github.com/marinaglancy/moodle
Andrew Nicols [Thu, 22 Feb 2024 03:50:38 +0000 (11:50 +0800)]
Merge branch 'MDL-80821' of https://github.com/marinaglancy/moodle

19 months agoMerge branch 'MDL-62404' of https://github.com/timhunt/moodle
Huong Nguyen [Thu, 22 Feb 2024 03:49:38 +0000 (10:49 +0700)]
Merge branch 'MDL-62404' of https://github.com/timhunt/moodle

19 months agoMerge branch 'MDL-80868' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 22 Feb 2024 03:43:00 +0000 (10:43 +0700)]
Merge branch 'MDL-80868' of https://github.com/paulholden/moodle

19 months agoMerge branch 'MDL-80950-main' of https://github.com/sarjona/moodle
Huong Nguyen [Thu, 22 Feb 2024 03:40:11 +0000 (10:40 +0700)]
Merge branch 'MDL-80950-main' of https://github.com/sarjona/moodle

19 months agoMerge branch 'MDL-80862-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Thu, 22 Feb 2024 03:35:59 +0000 (10:35 +0700)]
Merge branch 'MDL-80862-main' of https://github.com/andrewnicols/moodle

19 months agoMDL-80207 tool_messageinbound: Fix Behat failure
Huong Nguyen [Thu, 22 Feb 2024 02:02:34 +0000 (09:02 +0700)]
MDL-80207 tool_messageinbound: Fix Behat failure

19 months agoMerge branch 'MDL-80481_master' of https://github.com/santoshndev/moodle
Huong Nguyen [Thu, 22 Feb 2024 02:50:34 +0000 (09:50 +0700)]
Merge branch 'MDL-80481_master' of https://github.com/santoshndev/moodle

19 months agoMDL-80481 report: Fixed breadcrumb menu issue
Santosh Nagargoje [Mon, 12 Feb 2024 08:42:45 +0000 (14:12 +0530)]
MDL-80481 report: Fixed breadcrumb menu issue

19 months agoMerge branch 'MDL-76441' of https://github.com/stronk7/moodle
Sara Arjona [Wed, 21 Feb 2024 16:49:52 +0000 (17:49 +0100)]
Merge branch 'MDL-76441' of https://github.com/stronk7/moodle

19 months agoMerge branch 'MDL-79151-fix' of https://github.com/sarjona/moodle
Sara Arjona [Wed, 21 Feb 2024 16:46:38 +0000 (17:46 +0100)]
Merge branch 'MDL-79151-fix' of https://github.com/sarjona/moodle

19 months agoMDL-79151 customfield: Remove illegal whitespace
Sara Arjona [Wed, 21 Feb 2024 16:46:12 +0000 (17:46 +0100)]
MDL-79151 customfield: Remove illegal whitespace

19 months agoMerge branch 'mdl-79151-master' of https://github.com/Fragonite/moodle
Sara Arjona [Wed, 21 Feb 2024 16:36:12 +0000 (17:36 +0100)]
Merge branch 'mdl-79151-master' of https://github.com/Fragonite/moodle

19 months agoMerge branch 'wip_MDL-79802_line_v8' of https://github.com/gjb2048/moodle
Sara Arjona [Wed, 21 Feb 2024 16:29:39 +0000 (17:29 +0100)]
Merge branch 'wip_MDL-79802_line_v8' of https://github.com/gjb2048/moodle

19 months agoMerge branch 'MDL-80605-master' of https://github.com/jbs1/moodle
Sara Arjona [Wed, 21 Feb 2024 15:19:11 +0000 (16:19 +0100)]
Merge branch 'MDL-80605-master' of https://github.com/jbs1/moodle

19 months agoMerge branch 'MDL-80404-main' of https://github.com/andelacruz/moodle
Sara Arjona [Wed, 21 Feb 2024 12:23:25 +0000 (13:23 +0100)]
Merge branch 'MDL-80404-main' of https://github.com/andelacruz/moodle

19 months agoMerge branch 'MDL-78944' of https://github.com/Chocolate-lightning/moodle
Sara Arjona [Wed, 21 Feb 2024 08:18:45 +0000 (09:18 +0100)]
Merge branch 'MDL-78944' of https://github.com/Chocolate-lightning/moodle

19 months agoMDL-80404 mod_data: Behat for url autolinking and opening in new window
Angelia Dela Cruz [Mon, 18 Dec 2023 08:19:40 +0000 (16:19 +0800)]
MDL-80404 mod_data: Behat for url autolinking and opening in new window

19 months agoNOBUG: Avoid already closed PRs to get any comment
Eloy Lafuente (stronk7) [Wed, 21 Feb 2024 07:08:43 +0000 (08:08 +0100)]
NOBUG: Avoid already closed PRs to get any comment

This is an adjustment for MDL-77166, where the auto-close PRs
workflow was introduced.

That workflow does close and lock any PR in the moodle/moodle.git repo.

We have detected that, when proceeding to lock the PRs it's
always adding a comment. But we only want that when closing the
PRs (as they are open). When the only task is to lock them (normally
old PRs that are already closed by not locked) we don't want any
comment to be added (so no notification/spam happens on those old PRs).

Luckily there is a setting for it: skip-closed-pr-comment: true

So applying for it. Note that we have run various tests in fork
repository and it seems to be working ok. Only open PRs got the
comment and closed PRs were silently locked.

19 months agoMerge branch 'MDL-79792-master' of https://github.com/andelacruz/moodle
Huong Nguyen [Wed, 21 Feb 2024 07:25:11 +0000 (14:25 +0700)]
Merge branch 'MDL-79792-master' of https://github.com/andelacruz/moodle

19 months agoMDL-79792 core_badges: Behat test for awarding badge to group members
Angelia Dela Cruz [Fri, 20 Oct 2023 07:53:34 +0000 (15:53 +0800)]
MDL-79792 core_badges: Behat test for awarding badge to group members

19 months agoMerge branch 'MDL-78284-main' of https://github.com/sarjona/moodle
Huong Nguyen [Wed, 21 Feb 2024 02:49:41 +0000 (09:49 +0700)]
Merge branch 'MDL-78284-main' of https://github.com/sarjona/moodle

19 months agoMerge branch 'MDL-78994_master' of https://github.com/marxjohnson/moodle
Jun Pataleta [Wed, 21 Feb 2024 02:47:35 +0000 (10:47 +0800)]
Merge branch 'MDL-78994_master' of https://github.com/marxjohnson/moodle

19 months agoMerge branch 'MDL-80730-main' of https://github.com/sarjona/moodle
Huong Nguyen [Wed, 21 Feb 2024 02:43:16 +0000 (09:43 +0700)]
Merge branch 'MDL-80730-main' of https://github.com/sarjona/moodle

19 months agoMerge branch 'MDL-79003-main' of https://github.com/andrewnicols/moodle
Jun Pataleta [Wed, 21 Feb 2024 02:36:21 +0000 (10:36 +0800)]
Merge branch 'MDL-79003-main' of https://github.com/andrewnicols/moodle

19 months agoMerge branch 'MDL-80251-main' of https://github.com/laurentdavid/moodle
Huong Nguyen [Wed, 21 Feb 2024 02:33:05 +0000 (09:33 +0700)]
Merge branch 'MDL-80251-main' of https://github.com/laurentdavid/moodle

19 months agoMDL-79802 tool_mobile: Support new setting in the mobile app
Juan Leyva [Fri, 16 Feb 2024 10:19:43 +0000 (11:19 +0100)]
MDL-79802 tool_mobile: Support new setting in the mobile app

19 months agoMDL-79802 core_h5p: Add a new setting for adding custom H5P styles.
Gareth Barnard [Fri, 27 Oct 2023 11:20:09 +0000 (12:20 +0100)]
MDL-79802 core_h5p: Add a new setting for adding custom H5P styles.

19 months agoMerge branch 'MDL-79520-fix' of https://github.com/sarjona/moodle into main
Paul Holden [Tue, 20 Feb 2024 16:10:11 +0000 (16:10 +0000)]
Merge branch 'MDL-79520-fix' of https://github.com/sarjona/moodle into main

19 months agoMDL-79520 core: Fix upgrade version
Sara Arjona [Tue, 20 Feb 2024 15:27:26 +0000 (16:27 +0100)]
MDL-79520 core: Fix upgrade version

19 months agoMerge branch 'MDL-80912' of https://github.com/paulholden/moodle
Sara Arjona [Tue, 20 Feb 2024 14:39:18 +0000 (15:39 +0100)]
Merge branch 'MDL-80912' of https://github.com/paulholden/moodle

19 months agoMerge branch 'MDL-79520-main' of https://github.com/snake/moodle
Jun Pataleta [Tue, 20 Feb 2024 14:22:05 +0000 (22:22 +0800)]
Merge branch 'MDL-79520-main' of https://github.com/snake/moodle

19 months agoMerge branch 'MDL-80383-main' of https://github.com/rjnl/moodle
Sara Arjona [Tue, 20 Feb 2024 14:20:00 +0000 (15:20 +0100)]
Merge branch 'MDL-80383-main' of https://github.com/rjnl/moodle

19 months agoMDL-78994 tool_policy: Move guest consent to start of page.
Mark Johnson [Wed, 25 Oct 2023 12:48:49 +0000 (13:48 +0100)]
MDL-78994 tool_policy: Move guest consent to start of page.

When a site has policies but a user has not logged in, a banner is
displayed to inform the guest user of the polciies. This banner was
inserted by Javascript at the end of the DOM, so keyboard users had to
tab through the whole page to reach it.

This commit makes the following changes:
* Change the callback used to display the policy banner from
_before_standard_html_head to _before_standard_top_of_body_html.
* Define the banner's body text in an HTML element, rather than a
Javascript parameter.
* Set absolute positioning on the banner for behat sites, so it does not
display at the top of the page and overlap the site header.
* Revert use of the standard_head_html_prepend hook in tool_policy from
MDL-79076.

The combination of these changes means that the banner will be output
near the start of the HTML DOM, so will be accessible to keyboard users
early on in the tab order until dismissed. However, it will still appear
visually at the end of the page, to avoid clashing with the site header.

19 months agoMerge branch 'MDL-76024-fix' of https://github.com/HuongNV13/moodle
Sara Arjona [Tue, 20 Feb 2024 11:29:10 +0000 (12:29 +0100)]
Merge branch 'MDL-76024-fix' of https://github.com/HuongNV13/moodle

19 months agoNOBUG: Bump version and missed upgrade step
Sara Arjona [Tue, 20 Feb 2024 08:32:42 +0000 (09:32 +0100)]
NOBUG: Bump version and missed upgrade step

When MDL-80557 was integrated, the version number in the upgrading
step, 2024020200.02, was previous to the released version, 2024021500.00,
so anybody that has updated to 4.4dev between 0202 and 0215 didn't
get that upgrade step executed.
This commit should fix it :-)

19 months agoMDL-76024 qtype calculated: Fix deprecation related to dynamic property
Huong Nguyen [Tue, 20 Feb 2024 09:38:49 +0000 (16:38 +0700)]
MDL-76024 qtype calculated: Fix deprecation related to dynamic property

19 months agoMDL-79520 core: upgrade step to update existing Clever issuers to OIDC
Jake Dallimore [Thu, 28 Sep 2023 05:09:22 +0000 (13:09 +0800)]
MDL-79520 core: upgrade step to update existing Clever issuers to OIDC

This change is an upgrade step which:
- Updates endpoints to the new endpoints
- Updates user field mappings so they map the new OIDC userinfo fields
- Updates the issuer's baseurl

19 months agoMDL-79520 core: update Clever integration to use OpenId Connect
Jake Dallimore [Mon, 26 Jun 2023 03:20:18 +0000 (11:20 +0800)]
MDL-79520 core: update Clever integration to use OpenId Connect

Instead of creating the endpoints manually, and fetching the user info
from several endpoints, which also necessitates the use of a custom
client subclass, use the OpenId configuration endpoint to auto-configure
endpoints, and then use the userinfo endpoint to fetch user info.

19 months agoMDL-79151 backup: Add custom field backup and restore API
Alexander Van der Bellen [Wed, 22 Nov 2023 04:04:25 +0000 (12:04 +0800)]
MDL-79151 backup: Add custom field backup and restore API

19 months agoMDL-80862 core: Tidy up state vars in task manager
Andrew Nicols [Tue, 20 Feb 2024 03:13:44 +0000 (11:13 +0800)]
MDL-80862 core: Tidy up state vars in task manager

19 months agoMerge branch 'MDL-80936' of https://github.com/paulholden/moodle
Huong Nguyen [Tue, 20 Feb 2024 03:28:10 +0000 (10:28 +0700)]
Merge branch 'MDL-80936' of https://github.com/paulholden/moodle

19 months agoMerge branch 'MDL-76024-main' of https://github.com/opitz/moodle
Huong Nguyen [Tue, 20 Feb 2024 03:22:54 +0000 (10:22 +0700)]
Merge branch 'MDL-76024-main' of https://github.com/opitz/moodle

19 months agoMerge branch 'MDL-80207-main' of https://github.com/HuongNV13/moodle
Jun Pataleta [Tue, 20 Feb 2024 03:06:24 +0000 (11:06 +0800)]
Merge branch 'MDL-80207-main' of https://github.com/HuongNV13/moodle

19 months agoMDL-80862 testing: Reset task manager between behat tests
Andrew Nicols [Tue, 20 Feb 2024 02:54:12 +0000 (10:54 +0800)]
MDL-80862 testing: Reset task manager between behat tests

19 months agoMDL-80207 core: Remove Horde library
Huong Nguyen [Fri, 19 Jan 2024 02:32:26 +0000 (09:32 +0700)]
MDL-80207 core: Remove Horde library

19 months agoMDL-80207 admin: Replace use of Horde with Roundcube
Huong Nguyen [Fri, 24 Nov 2023 15:08:02 +0000 (22:08 +0700)]
MDL-80207 admin: Replace use of Horde with Roundcube

19 months agoMDL-80207 tool_messageinbound: Add Roundcube Framework 1.6.6 library
Huong Nguyen [Tue, 21 Nov 2023 05:17:51 +0000 (12:17 +0700)]
MDL-80207 tool_messageinbound: Add Roundcube Framework 1.6.6 library

19 months agoAutomatically generated installer lang files
AMOS bot [Tue, 20 Feb 2024 00:14:00 +0000 (00:14 +0000)]
Automatically generated installer lang files

19 months agoMDL-80605 uploaduser: fixed username already existing when mail-matching
Jeremy Schulz [Tue, 16 Jan 2024 14:15:55 +0000 (15:15 +0100)]
MDL-80605 uploaduser: fixed username already existing when mail-matching

19 months agoMerge branch 'MDL-80258' of https://github.com/paulholden/moodle
Sara Arjona [Mon, 19 Feb 2024 14:48:51 +0000 (15:48 +0100)]
Merge branch 'MDL-80258' of https://github.com/paulholden/moodle

19 months agoMerge branch 'MDL-80082-main' of https://github.com/lucaboesch/moodle
Sara Arjona [Mon, 19 Feb 2024 14:28:08 +0000 (15:28 +0100)]
Merge branch 'MDL-80082-main' of https://github.com/lucaboesch/moodle

19 months agoMDL-80082 forumreport_summary: Output 'Nothing to display' as notific.
Luca Bösch [Tue, 21 Nov 2023 22:03:23 +0000 (23:03 +0100)]
MDL-80082 forumreport_summary: Output 'Nothing to display' as notific.

19 months agoMDL-80082 report_outline: Output 'Nothing to display' as notification.
Luca Bösch [Tue, 21 Nov 2023 21:58:13 +0000 (22:58 +0100)]
MDL-80082 report_outline: Output 'Nothing to display' as notification.

19 months agoMDL-80082 report_progress: Output 'Nothing to display' as notification.
Luca Bösch [Tue, 21 Nov 2023 21:01:47 +0000 (22:01 +0100)]
MDL-80082 report_progress: Output 'Nothing to display' as notification.

19 months agoMDL-80082 report_completion: Output 'Nothing to display' as notification
Luca Bösch [Tue, 21 Nov 2023 20:51:04 +0000 (21:51 +0100)]
MDL-80082 report_completion: Output 'Nothing to display' as notification

19 months agoMDL-80082 mod_feedback: Output 'Nothing to display' as notification.
Luca Bösch [Tue, 21 Nov 2023 20:39:39 +0000 (21:39 +0100)]
MDL-80082 mod_feedback: Output 'Nothing to display' as notification.

19 months agoMDL-80082 tool_lp: Output 'Nothing to display' as notification.
Luca Bösch [Tue, 21 Nov 2023 19:55:41 +0000 (20:55 +0100)]
MDL-80082 tool_lp: Output 'Nothing to display' as notification.

19 months agoMDL-80082 tool_cohortroles: Output 'Nothing to display' as notification.
Luca Bösch [Tue, 21 Nov 2023 19:17:32 +0000 (20:17 +0100)]
MDL-80082 tool_cohortroles: Output 'Nothing to display' as notification.

19 months agoMDL-80082 mod_workshop: Output 'Nothing to display' as notification.
Luca Bösch [Tue, 21 Nov 2023 18:52:11 +0000 (19:52 +0100)]
MDL-80082 mod_workshop: Output 'Nothing to display' as notification.

19 months agoMDL-80082 quiz_grading: Output 'Nothing to display' as notification.
Luca Bösch [Tue, 21 Nov 2023 18:02:51 +0000 (19:02 +0100)]
MDL-80082 quiz_grading: Output 'Nothing to display' as notification.

19 months agoMDL-80082 table: Output 'Nothing to display' as notification.
Luca Bösch [Sat, 11 Nov 2023 16:53:04 +0000 (17:53 +0100)]
MDL-80082 table: Output 'Nothing to display' as notification.

19 months agoMDL-80821 dml: declare arguments for sql_concat()
Marina Glancy [Fri, 2 Feb 2024 19:15:44 +0000 (19:15 +0000)]
MDL-80821 dml: declare arguments for sql_concat()

19 months agoMDL-80912 reportbuilder: output table caption when rendering reports.
Paul Holden [Fri, 16 Feb 2024 14:56:52 +0000 (14:56 +0000)]
MDL-80912 reportbuilder: output table caption when rendering reports.

Move the `get_name` method to the base report class, so that it can be
implemented by all report types. Provide a default implementation for
system reports based on the name of the class.

Use the name of the report as the caption. Target via Behat selectors.

19 months agoMerge branch 'MDL-79674-main-2' of https://github.com/junpataleta/moodle
Sara Arjona [Mon, 19 Feb 2024 09:20:41 +0000 (10:20 +0100)]
Merge branch 'MDL-79674-main-2' of https://github.com/junpataleta/moodle

19 months agoMerge branch 'MDL-80613-main' of https://github.com/lameze/moodle
Sara Arjona [Mon, 19 Feb 2024 08:14:16 +0000 (09:14 +0100)]
Merge branch 'MDL-80613-main' of https://github.com/lameze/moodle

19 months agoMDL-80251 behat: Add new step to go to section
Laurent David [Wed, 6 Dec 2023 06:27:59 +0000 (07:27 +0100)]
MDL-80251 behat: Add new step to go to section

19 months agoMDL-76024 calculated questions: improving coding style
Matthias Opitz [Wed, 14 Feb 2024 12:12:08 +0000 (12:12 +0000)]
MDL-76024 calculated questions: improving coding style

19 months agoMDL-76024 calculated questions: cast float type before comparison
Matthias Opitz [Wed, 14 Feb 2024 11:48:37 +0000 (11:48 +0000)]
MDL-76024 calculated questions: cast float type before comparison

* added calculated question for multiplication to tests/helper.php.
* added test_grading_of_negative_responses() test to question/type/calculated/tests/question_test.php

19 months agoMDL-79674 behat: Use proper tags for testing WCAG 2.1 criteria
Jun Pataleta [Tue, 30 Jan 2024 08:04:05 +0000 (16:04 +0800)]
MDL-79674 behat: Use proper tags for testing WCAG 2.1 criteria

`wcag2a` and `wcag2aa` refer to WCAG 2.0 standards. We should be using
`wcag21a` and `wcag21aa` to test against WCAG 2.1 standards.

See:
https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#axe-core-tags

19 months agoMDL-79674 behat: Disable target-size rule
Jun Pataleta [Tue, 30 Jan 2024 07:59:59 +0000 (15:59 +0800)]
MDL-79674 behat: Disable target-size rule

Since axe-core has introduced WCAG 2.2 Level AA support, a `target-size`
rule has been added which is a Level AA success criterion. Since we
haven't started working on WCAG 2.2 Level AA compliance, let's disable
this rule for now.

See https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html

19 months agoMDL-79674 behat: Bump axe-core to v4.8.4
Jun Pataleta [Tue, 30 Jan 2024 07:10:19 +0000 (15:10 +0800)]
MDL-79674 behat: Bump axe-core to v4.8.4

* Improve readme_moodle.txt and add more detailed instructions
* Update \behat_accessibility::run_axe_validation_for_tags()'s
  PHPDoc block to reflect the current version.
* Fix incorrect copyright tag for the library

19 months agoMDL-80844 phpunit: Only some tests can use the debugging sink
Eloy Lafuente (stronk7) [Tue, 6 Feb 2024 13:52:07 +0000 (14:52 +0100)]
MDL-80844 phpunit: Only some tests can use the debugging sink

The only tests that have COMPLETE* support for the debugging sink
are the advanced_testcase and the database_driver ones (store and
report). So we must ensure that the rest of tests don't use the
debugging sink at all.

Right now we are using it for storing, but later there is not
reporting, so any debugging happening within non advanced tests
is not detected.

This commit just ensures that we stop making that storing for
non advanced/database_driver tests. Nothing more, nothing less.

* Note that we have had to add a few missing bits to the
database_driver testcase because it was not 100% complete. Now
it behaves 100% the same than the advanced_testcase one regarding
the debugging sink.

19 months agoMDL-76441 env: Moodle 4.2.x and 4.3.x do not support PHP 8.3
Eloy Lafuente (stronk7) [Fri, 2 Feb 2024 10:26:20 +0000 (11:26 +0100)]
MDL-76441 env: Moodle 4.2.x and 4.3.x do not support PHP 8.3

19 months agoMDL-80950 external: Fix PHP deprecated error for explode()
Sara Arjona [Thu, 15 Feb 2024 09:13:02 +0000 (10:13 +0100)]
MDL-80950 external: Fix PHP deprecated error for explode()

This patch fixes the following error:
PHP Deprecated:  explode(): Passing null to parameter #2 ($string)
of type string is deprecated in lib/upgradelib.php on line 1299

19 months agoMDL-78284 componentlibrary: Update activity icons information
Sara Arjona [Tue, 23 Jan 2024 12:37:54 +0000 (13:37 +0100)]
MDL-78284 componentlibrary: Update activity icons information

19 months agoMDL-78284 theme: Add new interactive content and update styles
Sara Arjona [Fri, 12 Jan 2024 15:15:23 +0000 (16:15 +0100)]
MDL-78284 theme: Add new interactive content and update styles

19 months agoMDL-78284 mod: Add new _is_branded() function
Sara Arjona [Fri, 19 Jan 2024 15:32:55 +0000 (16:32 +0100)]
MDL-78284 mod: Add new _is_branded() function

There is a new callback, <modname>_is_branded, which, by default,
returns false. It needs to be implemented by modules that want their
logo to be displayed as it is (so without applying any filter to
colour them based on their main purpose).

19 months agoMDL-78284 mod: Replace activity icons with the new SVGs
Sara Arjona [Fri, 12 Jan 2024 15:03:12 +0000 (16:03 +0100)]
MDL-78284 mod: Replace activity icons with the new SVGs

The old monocromo.png activity icon files have been removed and
replaced with the new SVG files created by the UX team.

Special thanks to Sabina Abellán! :-)

19 months agoMDL-80730 theme: Remove unused SCSS files
Sara Arjona [Fri, 26 Jan 2024 13:07:53 +0000 (14:07 +0100)]
MDL-80730 theme: Remove unused SCSS files

The following files in theme/boost/scss/moodle  were not imported
so they can be removed because the styles defined in them are not
used anywhere:
- editor.scss
- expendable.scss

19 months agoweekly release 4.4dev
Sara Arjona [Thu, 15 Feb 2024 14:39:37 +0000 (15:39 +0100)]
weekly release 4.4dev

19 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Thu, 15 Feb 2024 14:39:32 +0000 (15:39 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

19 months agoMDL-62404 mod_quiz: Delete previews after repaginate
lihidor [Thu, 28 Apr 2022 14:02:42 +0000 (17:02 +0300)]
MDL-62404 mod_quiz: Delete previews after repaginate

19 months agoMDL-80613 behat: convert manual completion steps to use generators
Simey Lameze [Tue, 16 Jan 2024 01:57:58 +0000 (09:57 +0800)]
MDL-80613 behat: convert manual completion steps to use generators

19 months agoMerge branch 'MDL-80823-wwwroot-redirect' of https://github.com/brendanheywood/moodle
Huong Nguyen [Thu, 15 Feb 2024 04:13:33 +0000 (11:13 +0700)]
Merge branch 'MDL-80823-wwwroot-redirect' of https://github.com/brendanheywood/moodle

19 months agoMerge branch 'MDL-78088-master' of https://github.com/jleyva/moodle
Sara Arjona [Wed, 14 Feb 2024 15:53:03 +0000 (16:53 +0100)]
Merge branch 'MDL-78088-master' of https://github.com/jleyva/moodle

19 months agoMDL-78088 tool_dataprivacy: New WS tool_dataprivacy_get_data_requests
Juan Leyva [Tue, 12 Dec 2023 13:15:04 +0000 (14:15 +0100)]
MDL-78088 tool_dataprivacy: New WS tool_dataprivacy_get_data_requests

19 months agoMDL-78088 tool_dataprivacy: New WS tool_dataprivacy_create_data_request
Juan Leyva [Thu, 7 Dec 2023 17:27:11 +0000 (18:27 +0100)]
MDL-78088 tool_dataprivacy: New WS tool_dataprivacy_create_data_request

19 months agoMDL-78088 tool_dataprivacy: New WS get_access_information
Juan Leyva [Mon, 4 Dec 2023 09:04:55 +0000 (10:04 +0100)]
MDL-78088 tool_dataprivacy: New WS get_access_information

19 months agoMDL-78088 tool_dataprivacy: Enable and return additional info
Juan Leyva [Thu, 30 Nov 2023 16:20:08 +0000 (17:20 +0100)]
MDL-78088 tool_dataprivacy: Enable and return additional info

19 months agoMDL-80608 core_form: Fire modal form event for errors in definition
sam marshall [Mon, 15 Jan 2024 17:10:32 +0000 (17:10 +0000)]
MDL-80608 core_form: Fire modal form event for errors in definition

The ERROR event is defined as being fired if an exception occurs while
contacting the server. This change ensures it is fired for exceptions
in the form definition AJAX request, not just form submission.

Additionally, if such an error occurs in submission, the form buttons
were left in disabled state. This change makes them enabled again.