112648 Commits

Author SHA1 Message Date
Huong Nguyen
255162f595
Merge branch 'MDL-76024-main' of https://github.com/opitz/moodle 2024-02-20 10:22:54 +07:00
Jun Pataleta
dd8fa68f5d
Merge branch 'MDL-80207-main' of https://github.com/HuongNV13/moodle 2024-02-20 11:06:24 +08:00
Andrew Nicols
becd11a84a
MDL-80862 testing: Reset task manager between behat tests 2024-02-20 10:54:12 +08:00
Huong Nguyen
6bddb8626f
MDL-80207 core: Remove Horde library 2024-02-20 09:36:24 +07:00
Huong Nguyen
a63d39b0ad
MDL-80207 admin: Replace use of Horde with Roundcube 2024-02-20 09:36:24 +07:00
Huong Nguyen
28074f65af
MDL-80207 tool_messageinbound: Add Roundcube Framework 1.6.6 library 2024-02-20 09:36:12 +07:00
AMOS bot
f8479a8a89 Automatically generated installer lang files 2024-02-20 00:14:00 +00:00
Jeremy Schulz
f1f517df34 MDL-80605 uploaduser: fixed username already existing when mail-matching 2024-02-19 17:24:27 +01:00
Sara Arjona
40375fa6d2
Merge branch 'MDL-80258' of https://github.com/paulholden/moodle 2024-02-19 15:48:51 +01:00
Sara Arjona
cf8bb7abb6
Merge branch 'MDL-80082-main' of https://github.com/lucaboesch/moodle 2024-02-19 15:28:08 +01:00
Luca Bösch
127cefa543 MDL-80082 forumreport_summary: Output 'Nothing to display' as notific. 2024-02-19 15:10:32 +01:00
Luca Bösch
aa9008821e MDL-80082 report_outline: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Luca Bösch
841fa9d556 MDL-80082 report_progress: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Luca Bösch
49d7ca455c MDL-80082 report_completion: Output 'Nothing to display' as notification 2024-02-19 15:10:32 +01:00
Luca Bösch
f4282b726e MDL-80082 mod_feedback: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Luca Bösch
5a18657447 MDL-80082 tool_lp: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Luca Bösch
e6962170ad MDL-80082 tool_cohortroles: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Luca Bösch
9aa5b450e6 MDL-80082 mod_workshop: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Luca Bösch
307aee2c42 MDL-80082 quiz_grading: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Luca Bösch
6bb59759e7 MDL-80082 table: Output 'Nothing to display' as notification. 2024-02-19 15:10:32 +01:00
Marina Glancy
5117dee664 MDL-80821 dml: declare arguments for sql_concat() 2024-02-19 12:27:51 +00:00
Paul Holden
1acca870d9
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.
2024-02-19 11:57:51 +00:00
Sara Arjona
8800cf3d25
Merge branch 'MDL-79674-main-2' of https://github.com/junpataleta/moodle 2024-02-19 10:20:41 +01:00
Sara Arjona
f5377be4d2
Merge branch 'MDL-80613-main' of https://github.com/lameze/moodle 2024-02-19 09:14:16 +01:00
Laurent David
11fee57c5c MDL-80251 behat: Add new step to go to section 2024-02-19 07:18:55 +01:00
Matthias Opitz
1c96f28569 MDL-76024 calculated questions: improving coding style 2024-02-16 10:20:48 +00:00
Matthias Opitz
97e3b9d657 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
2024-02-16 10:20:48 +00:00
Jun Pataleta
32ae09a672
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
2024-02-16 11:53:53 +08:00
Jun Pataleta
ecb8465ebe
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
2024-02-16 11:53:53 +08:00
Jun Pataleta
f47baadc93
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
2024-02-16 11:53:52 +08:00
Eloy Lafuente (stronk7)
6e2c5b7b45
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.
2024-02-15 18:46:16 +01:00
Eloy Lafuente (stronk7)
97a69a8360
MDL-76441 env: Moodle 4.2.x and 4.3.x do not support PHP 8.3 2024-02-15 18:44:42 +01:00
Sara Arjona
fc191c76c6
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
2024-02-15 17:52:23 +01:00
Sara Arjona
1cace1d129
MDL-78284 componentlibrary: Update activity icons information 2024-02-15 17:49:43 +01:00
Sara Arjona
8cdd62ca88
MDL-78284 theme: Add new interactive content and update styles 2024-02-15 17:49:43 +01:00
Sara Arjona
76474b6c59
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).
2024-02-15 17:49:42 +01:00
Sara Arjona
10f8e19f40
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! :-)
2024-02-15 17:49:41 +01:00
Sara Arjona
6531d930b0
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
2024-02-15 17:47:36 +01:00
Sara Arjona
d3ad77e476
weekly release 4.4dev 2024-02-15 15:39:37 +01:00
Sara Arjona
54a129d3b4
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2024-02-15 15:39:32 +01:00
lihidor
78c1a0a3e5 MDL-62404 mod_quiz: Delete previews after repaginate 2024-02-15 10:59:23 +00:00
Simey Lameze
7b7be30b4d MDL-80613 behat: convert manual completion steps to use generators 2024-02-15 17:52:38 +08:00
Huong Nguyen
f364cf18eb Merge branch 'MDL-80823-wwwroot-redirect' of https://github.com/brendanheywood/moodle 2024-02-15 11:13:33 +07:00
Sara Arjona
8bde08c96d
Merge branch 'MDL-78088-master' of https://github.com/jleyva/moodle 2024-02-14 16:53:03 +01:00
Juan Leyva
53c94c0b21 MDL-78088 tool_dataprivacy: New WS tool_dataprivacy_get_data_requests 2024-02-14 15:38:57 +01:00
Juan Leyva
2108c3a053 MDL-78088 tool_dataprivacy: New WS tool_dataprivacy_create_data_request 2024-02-14 15:38:57 +01:00
Juan Leyva
f54185ab3a MDL-78088 tool_dataprivacy: New WS get_access_information 2024-02-14 15:09:31 +01:00
Juan Leyva
0be4d7b2bd MDL-78088 tool_dataprivacy: Enable and return additional info 2024-02-14 15:09:31 +01:00
sam marshall
4bb42cc362 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.
2024-02-14 13:49:39 +00:00
Paul Holden
ebcc967d2e
MDL-80258 reportbuilder: ensure consistent reporting of entity themes.
Courses, categories, users & cohorts each have a configurable `theme`
attribute - ensure reporting on said value is consistent across all the
corresponding entities.
2024-02-14 12:12:37 +00:00