Commit Graph

10726 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
Nathan Nguyen 224b6eb39a MDL-80984 gradepenalty: add penalty feature 2025-03-19 23:00:51 +08:00
Huong Nguyen 75c48d66ff Merge branch 'MDL-84892' of https://github.com/paulholden/moodle 2025-03-19 14:32:16 +07:00
Huong Nguyen 88da54e37b MDL-84905 Behat: Fix I set the following administration settings failure 2025-03-19 09:15:30 +07:00
Paul Holden ba8b93a1b8 MDL-84892 admin: general style improvements to the environment table.
Co-authored-by: Mikel Martín <mikel@moodle.com>
2025-03-18 09:38:02 +00:00
Jun Pataleta 56183c786e Merge branch 'MDL-81714_main' of https://github.com/marxjohnson/moodle 2025-03-18 12:57:55 +08:00
Paul Holden fe8dbab58f MDL-84892 theme_boost: re-use native alerts on environment page table. 2025-03-16 19:48:17 +00: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
Sara Arjona 74fb6ec9d6 Merge branch 'MDL-83552' of https://github.com/dravek/moodle 2025-03-12 17:41:33 +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
Jun Pataleta c64a5720b8 Merge branch 'MDL-84416-main' of https://github.com/sarjona/moodle 2025-03-11 11:06:28 +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
David Carrillo c03f47abfd MDL-83552 reportbuilder: Add custom fields to Report builder 2025-03-10 08:21:10 +01:00
Sara Arjona 328b325fbc MDL-84416 backup: Add backup_import_badges setting
While MDL-43938 introduced badge importing, two tasks were left incomplete.

1) Creating the backup_import_badges setting for default import behaviour.
2) Preventing the inclusion of badges during activity duplication.

This commit implements them.
2025-03-10 08:16:36 +01: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
Daniel Ziegenberg 3dc9d02b51 MDL-84652 mnetservice_enrol: Remove mnetservice_enrol dependencies
Original issue: MDL-84311

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-07 10:45:24 +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 2d8fc486da Merge branch 'MDL-81623' of https://github.com/paulholden/moodle 2025-03-07 09:25:01 +08:00
Andrew Nicols e7dd68201b Merge branch 'MDL-80173' of https://github.com/paulholden/moodle 2025-03-07 09:03:55 +08:00
Andrew Nicols 0f4cf18554 Merge branch 'MDL-82936' of https://github.com/paulholden/moodle 2025-03-07 09:01:41 +08:00
Paul Holden e44c23c982 MDL-82936 reportbuilder: implement report actions for existing reports.
Applied to the admin user listing page, and the report/schedule pages
to align the "New X" buttons.
2025-03-06 14:22:53 +00:00
Sara Arjona 6068a51009 Merge branch 'MDL-84740-main' of https://github.com/roland04/moodle 2025-03-06 15:03:04 +01: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 5354e2af6c Merge branch 'MDL-82399' of https://github.com/paulholden/moodle 2025-03-05 16:35:10 +01:00
Mikel Martín a4aeacaca1 MDL-84740 theme_boost: Fix deprecated styles 2025-03-05 11:12:01 +01: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
Huong Nguyen 17904f8baf Merge branch 'MDL-83282-main' of https://github.com/andrewnicols/moodle 2025-03-05 10:44:06 +07:00
Andrew Nicols 1aeaf278c1 MDL-83282 core: Remove most reference to Atto
Some references can remain, and others should remain until we drop
support for YUI, or Atto is no longer supported in the plugins database.

Note: Some reference to Atto will remain until such a time as it is no
longer possible to support the editor via the plugins database.
2025-03-05 11:35:25 +08:00
Jun Pataleta 5d34eeb6d5 Merge branch 'MDL-78778-main' of https://github.com/safatshahin/moodle 2025-03-05 10:27:46 +08:00