Commit Graph

4834 Commits

Author SHA1 Message Date
Paul Holden 657273b823 Merge branch 'MDL-84538_fix-duplicated-language-strings' of https://github.com/ziegenberg/moodle into main 2025-03-20 14:44:58 +00:00
Daniel Ziegenberg 30c18117b0 MDL-84538 language: Remove duplicated lang string entries
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-20 00:15:22 +01:00
Jun Pataleta 56183c786e Merge branch 'MDL-81714_main' of https://github.com/marxjohnson/moodle 2025-03-18 12:57:55 +08:00
Daniel Ziegenberg af878dc381 MDL-76565 core: Final removal of deprecated strings
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-16 19:52:41 +01: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
Mark Johnson f96965b930 MDL-81714 tool_recyclebin: Remove unnecessary task runs in tests
I assume that it was necessary at some point to run the ad-hoc tasks in
these tests, however the only task now being run is
regrade_final_grades, which causes the tests to fail due as they produce
output.

Whether the regrade is performed or not has no impact on the result of
the test, so removing the ad-hoc task run seems appropriate.
2025-03-14 16:01:05 +00:00
Mark Johnson b746bcd186 MDL-81714 grades: Make large regrades asynchronous
Currently, large courses can take a long time to perform a full regrade.
This is currently handled with a progress bar to prevent frontend
timeouts while the regrade takes place. However, because it can take so
long a teacher may not want to wait with the page open for several
minutes, particularly if they are performing several operations that
trigger a regrade.

This adds a new async flag to grade_regrade_final_grades which is true
by default. Instead of performing the regrade immediately, this queues
an instance of \core\task\regrade_final_grades for the course, which
will be executed in the background.

It is advisable to always leave the async flag set true, except in the
following scenarios:
- Automated tests.
- The regrade_final_grades task which actually wants to do the
calculations immediately.
- When you have performed a check to determine that the regrade process
is unlikely to take a long time, for example there are only a small
number of grade items.
2025-03-14 16:01:04 +00:00
Sara Arjona db93e6943b Merge branch 'MDL-83634-main' of https://github.com/junpataleta/moodle 2025-03-13 16:28:12 +01:00
Huong Nguyen 35622df64c Merge branch 'MDL-84640-main' of https://github.com/andelacruz/moodle 2025-03-12 16:32:00 +07:00
Angelia Dela Cruz 8abc980bcf MDL-84640 analytics: Behat for obtaining prediction models insights 2025-03-12 16:11:32 +08:00
Jun Pataleta aa7e06c0b8 MDL-83634 tool_brickfield: Test the image alt text check's severity 2025-03-12 12:02:57 +08:00
Jun Pataleta 33a8062efd MDL-83634 tool_brickfield: Increase the alt text limit to 750 characters
This is consistent with the alt-text length limit of 750 characters in
Moodle's editor.
2025-03-12 12:02:57 +08:00
Jun Pataleta 206b3c3bba MDL-83634 tool_brickfield: Downgrade image alt text check's severity
Given that
* There is no formally defined limit for alt text length,
* Current versions of screen readers can read alt texts longer than
125 characters,
* Accessibility checkers like axe DevTools, WAVE, etc., do not raise
errors or warnings about long image alt texts.

This patch:
- Downgrades the default severity for the `img_alt_is_too_long`
check from `BA_TEST_SEVERE` to `BA_TEST_SUGGESTION`.
- Updates the `checkdesc:imgaltistoolong` lang string to be more of a
reminder/suggestion rather than an error.
2025-03-12 12:02:56 +08:00
Daniel Ziegenberg bdf91420da MDL-84620 accessibility: close recordset when it's not needed anymore
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-05-06 06:40:24 +02:00
Jun Pataleta fb5abbafb6 NOBUG: Add upgrade notes 2025-03-08 11:45:27 +08:00
Jun Pataleta 80ddc793fb Merge branch 'MDL-80995' of https://github.com/paulholden/moodle 2025-03-07 12:25:09 +08:00
Huong Nguyen 31e26bae5e Merge branch 'MDL-84107-main' of https://github.com/HuongNV13/moodle 2025-03-07 11:00:08 +07:00
Jun Pataleta 820b16f97d Merge branch 'MDL-84652-main' of https://github.com/davewoloszyn/moodle 2025-03-07 10:54:11 +08:00
Daniel Ziegenberg 60f7db3a93 MDL-84652 core: Remove block_mnet_hosts dependencies
- Remove block_mnet_hosts from the standard plugins
- Remove block_mnet_hosts from default admin presets
- Replace block_mnet_hosts in behat tests of core features

Original issue: MDL-84309

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-07 10:49:58 +08:00
Andrew Nicols ce74bfca99 Merge branch 'MDL-83334_remove-all-references-to-E_STRICT' of https://github.com/ziegenberg/moodle 2025-03-07 09:35:26 +08:00
Andrew Nicols e7dd68201b Merge branch 'MDL-80173' of https://github.com/paulholden/moodle 2025-03-07 09:03:55 +08:00
Huong Nguyen 110a0afbaa MDL-84107 core_adminpresets: Remove Analytics setting 2025-03-06 16:29:30 +07:00
Huong Nguyen 1e604efa65 MDL-84107 core_analytics: Switch Behat to use Python backend 2025-03-06 16:29:30 +07:00
Jun Pataleta 35801224df Merge branch 'MDL-84179-main' of https://github.com/meirzamoodle/moodle 2025-03-06 15:11:57 +08:00
David Woloszyn 42c2b70505 MDL-84107 mlbackend_php: Remove mlbackend_php
Replaced by mlbackend_python as the new default. New installs
will have analytics disabled to give admins a chance to
configure mlbackend_python before enabling analytics again.
2025-03-06 11:48:32 +07:00
Jun Pataleta d057b12be1 MDL-84163 componentlibrary: Update fontawesomeicons.json 2025-03-06 10:53:17 +08:00
Jun Pataleta b56de54faa Merge branch 'MDL-84163-main' of https://github.com/meirzamoodle/moodle 2025-03-06 10:49:39 +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
Sara Arjona 17c6b8509a Merge branch 'MDL-84265-main' of https://github.com/andrewnicols/moodle 2025-03-05 08:22:36 +01:00
Andrew Nicols d36b08315d Merge branch 'MDL-84692-main' of https://github.com/roland04/moodle 2025-03-05 13:58:18 +08:00
Jun Pataleta 5d34eeb6d5 Merge branch 'MDL-78778-main' of https://github.com/safatshahin/moodle 2025-03-05 10:27:46 +08:00
Andrew Nicols 61534718fe MDL-84265 core: Remove sqlite support 2025-03-05 10:27:10 +08:00
Safat 001c5361d3 MDL-78778 auth_cas: Uninstall cas & remove dependencies 2025-03-05 12:53:58 +11:00
Daniel Ziegenberg c23d5edb0f MDL-83334 core: Remove deprecated constant E_STRICT
One of the error levels PHP previously emitted was E_STRICT, on code
that was not strictly correct to ensure interoperability and forward
compatibility. PHP 7.0 converted the majority of existing E_STRICT
warnings to E_NOTICE, and since PHP 8.0, all E_STRICT notices have
changed to E_NOTICE.

Because all of the E_STRICT notices are upgraded to E_NOTICE since PHP
8.0, PHP 8.4 deprecates the E_STRICT constant.

The E_STRICT constant is deprecated in PHP 8.4. Using the constant
anywhere in PHP code now emits a deprecation notice in PHP 8.4 and
later.

The E_STRICT constant will be removed in PHP 9.0.

PHP core and core extensions since PHP 8.0 and later do not emit
E_STRICT notices at all. It is safe to assume that any PHP applications
that run on PHP 8.0 and later will never encounter E_STRICT notices, and
error reporting and handling can be safely updated to ignore E_STRICT
notices.

See: https://php.watch/versions/8.4/E_STRICT-deprecated

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-04 20:38:04 +01:00
Sara Arjona 4c2d8b0205 NOBUG: Add upgrade notes 2025-03-04 16:14:27 +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
meirzamoodle 6cdbfa8b11 MDL-84179 tool_messageinbound: Upgrade Roundcube to version 1.6.10 2025-03-04 13:11:32 +07:00
meirzamoodle 6ca5ff4d79 MDL-84163 theme: Adjust Moodle files after the Font Awesome upgrade 2025-03-04 13:09:04 +07:00
ferran 9b2f727a3e MDL-83888 core: notice badge renderer method 2025-03-03 13:15:13 +01:00
Huong Nguyen ba03cfbb1a Merge branch 'MDL-84346-main' of https://github.com/roland04/moodle 2025-02-27 11:16:32 +07:00
Jun Pataleta 0ad0c882f2 Merge branch 'MDL-80519-main' of https://github.com/roland04/moodle 2025-02-27 10:22:48 +08:00
Simey Lameze b20eac7c99 MDL-84424 behat: add template_competencies generator and improve test 2025-02-27 07:46:22 +08:00
Angelia Dela Cruz 6dc2c065b2 MDL-84424 tool_lp: admin can create learning plans from template 2025-02-27 07:46:22 +08:00
Paul Holden fea9abc471 Merge branch 'MDL-84613-main' of https://github.com/roland04/moodle into main 2025-02-26 14:44:04 +00:00
Sara Arjona 48fc4b1ee8 Merge branch 'MDL-84381-main' of https://github.com/roland04/moodle 2025-02-26 13:08:35 +01:00
Jun Pataleta 465144b15a Merge branch 'MDL-84554-main' of https://github.com/jleyva/moodle 2025-02-26 14:25:38 +08:00
Mikel Martín 89dd407bcf MDL-84381 tool_componentlibrary: Remove Bootstrap 4 documentation
After Bootstrap 5 upgrade in MDL-75669, Bootstrap 4 docs included are not
applicable anymore.
2025-02-25 15:06:26 +01:00
Mikel Martín f9d5238ccb MDL-80519 theme_boost: Fix deprecated BS4 SCSS usages 2025-02-25 13:13:58 +01:00
Mikel Martín 0e8dd50d91 MDL-84346 theme_boost: Add new '.btn-subtle-' helper class
- Add new .btn-subtle helper class that accept different colour themes
(.btn-subtle-success, .btn-subtle-warning, ...) and also .btn-subtle-body
for basic styling
- Remove specific styles in course.scss that are not needed anymore
- Adjust some styles in course.scss that were affected by this change
2025-02-24 12:49:17 +01:00