Commit Graph

25065 Commits

Author SHA1 Message Date
Huong Nguyen b7a7263c17 Merge branch 'MDL-80087_403' of https://github.com/PhilippImhof/moodle into MOODLE_403_STABLE 2024-04-25 09:38:12 +07:00
Huong Nguyen 3669994452 Merge branch 'MDL-81301_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE 2024-04-24 15:20:14 +07:00
Jun Pataleta 52ebdd1de3 Merge branch 'MDL-81567-403' of https://github.com/lucaboesch/moodle into MOODLE_403_STABLE 2024-04-24 12:21:49 +08:00
Huong Nguyen 46fe243cf7 Merge branch 'MDL-81564-403' of https://github.com/HuongNV13/moodle into MOODLE_403_STABLE 2024-04-24 08:58:37 +07:00
Laurent David f88a774a5c MDL-81564 mod_data: Remove duplicate error messages
* When a field is missing the error is duplicated for all field
subsequently added to the database
2024-04-24 08:55:09 +07:00
Paul Holden e48ff65880 MDL-81274 mod_data: observe current approved value on record import. 2024-04-22 12:48:56 +01:00
Luca Bösch 7bd800b563 MDL-81567 mod_quiz: Adopt edit section title pencil icons size. 2024-04-20 18:03:17 +02:00
Laurent David 4443ecf6b4 MDL-81267 mod_data: Additional tests 2024-04-17 10:33:13 +02:00
Laurent David faadca21a9 MDL-81267 mod_data: Clean field type before inclusion
* Filter out wrong field types when restoring or creating a field.
2024-04-17 10:33:13 +02:00
Paul Holden c988992f7e MDL-81062 mod_lesson: escape identity fields in overview report. 2024-04-17 03:24:19 +00:00
Paul Holden 4408c3fcaa MDL-80712 mod_workshop: stricter cleaning of sub-plugin values. 2024-04-17 03:24:19 +00:00
Laurent David fcd361badb MDL-81284 mod_wiki: Add stricter cleaning of contentformat
* When restoring backup we clean the contentformat and defaultformat
to avoid issue with invalid value.
* Add tests for format and defaultformat so to check that we
 filter out invalid formats
* Remove private $basepath variable as it was used one and not always
initialised correctly.
2024-04-17 03:24:19 +00:00
Paul Holden f9e6040e28 MDL-81135 mod_feedback: stricter cleaning of item type parameter. 2024-04-17 03:24:19 +00:00
Tim Hunt 53a265917a MDL-81301 quiz: improve performance of deleting a quiz 2024-04-12 10:46:24 +01:00
Huong Nguyen 15912783c4 Merge branch 'MDL-77015-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE 2024-04-12 11:46:05 +07:00
Andrew Nicols 99748cdee6 Merge branch 'MDL-70829-403' of https://github.com/junpataleta/moodle into MOODLE_403_STABLE 2024-04-12 11:59:04 +08:00
Andrew Nicols d16fc3c7e3 Merge branch 'MDL-78902_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE 2024-04-12 11:18:49 +08:00
Jun Pataleta ca0e61a79d MDL-70829 mod_workshop: Mark up decorative images properly
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
2024-04-12 11:13:13 +08:00
Jun Pataleta f0aa5e9668 MDL-70829 mod_quiz: Mark up decorative images properly
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes
2024-04-12 11:13:13 +08:00
Jun Pataleta 814fea407a MDL-70829 mod_data: Mark up decorative images properly
* Decorative images should have an empty alt text and there's no need
to set a presentation role.
* Accessibility Behat tests added to cover the changes
2024-04-12 11:13:13 +08:00
Huong Nguyen 8a1547bb17 Merge branch 'MDL-81320-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE 2024-04-12 10:11:42 +07:00
Tomo Tsuyuki b81756cc04 MDL-78902 quiz restore: fix restore of 3.x backups with random questions
... where the random questions come from the quiz module context.

Co-authored-by: Tim Hunt <T.J.Hunt@open.ac.uk>
2024-04-11 22:09:59 +01:00
Sara Arjona 98a9e324d8 Merge branch 'MDL-81472-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE 2024-04-11 17:35:49 +02:00
Andrew Nicols a341231108 Merge branch 'MDL-81114_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE 2024-04-11 23:25:43 +08:00
Huong Nguyen 78cac12d8e Merge branch 'MDL-81362-403' of https://github.com/ssj365/moodle into MOODLE_403_STABLE 2024-04-11 10:59:26 +07:00
Shamiso.Jaravaza ffa09ce293 MDL-81362 mod_bigbluebuttonbn: Fix content type 2024-04-10 11:51:06 -06:00
Huong Nguyen 0cd42e33bf Merge branch 'MDL-81351-403-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_403_STABLE 2024-04-10 13:55:26 +07:00
Paul Holden 596b317c27 MDL-81472 mod_scorm: add missing library require to privacy class. 2024-04-09 11:38:08 +01:00
Paul Holden 5de37ea321 MDL-81320 datafield_checkbox: account for empty field content. 2024-04-05 15:16:40 +01:00
Andrew Nicols d1d193c61a NOBUG: mod_h5pactivity - Version bump after rewrite 2024-04-04 10:36:26 +08:00
Sara Arjona 1f037c1abb Merge branch 'MDL-80765-403' of https://github.com/laurentdavid/moodle into MOODLE_403_STABLE 2024-04-03 17:18:56 +02:00
Paul Holden 7f01b0369a MDL-77015 mod_data: consistent escaping of template field names.
* When creating default templates, avoid escaping the field names
  contained within [[ ]] brackets;
* When managing field, ensure the field names are escaped.
2024-04-02 10:02:07 +01:00
Laurent David b7b1e20ed4 MDL-80765 mod_data: Trim values on field update
* When creating a field we usually trim values, so we should
do the same on field update
2024-04-02 05:41:39 +02:00
Helen Foster 3fdae1298f MDL-81351 lang: Import fixed English strings (en_fix) 2024-03-28 10:58:24 +01:00
Ilya Tregubov bc0c77d35c Merge branch 'mdl80598-403' of https://github.com/matthewhilton/moodle into MOODLE_403_STABLE 2024-03-28 09:06:11 +08:00
Matthew Hilton 336f311676 MDL-80598 bigbluebutton: Gracefully handle invalid customdata 2024-03-26 10:09:30 +10:00
Sara Arjona ce8ec44c40 Merge branch 'MDL-80088-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE 2024-03-25 16:20:31 +01:00
Paul Holden d238e4fd99 MDL-80488 mod_lesson: avoid overflowing length of page titles. 2024-03-20 23:51:18 +00:00
Philipp Imhof e35eb6b9eb MDL-80087 Questions: warn if preload_all_step_users was not called
Co-authored-by: Tim Hunt <T.J.Hunt@open.ac.uk>
2024-03-15 19:41:04 +01:00
Ilya Tregubov 2c757362db Merge branch 'MDL-81190-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE 2024-03-15 08:42:19 +08:00
Simey Lameze 585eb7d2e8 MDL-80479 behat: improve new test for quiz timer 2024-03-14 10:21:17 +08:00
Angelia Dela Cruz 745c87c8a3 MDL-80479 mod_quiz: Behat to set quiz opening and closing time 2024-03-14 10:21:17 +08:00
Huong Nguyen a734d9caba Merge branch 'MDL-76805-403' of https://github.com/lameze/moodle into MOODLE_403_STABLE 2024-03-12 10:32:24 +07:00
Shamiso.Jaravaza 5fdf46bbca MDL-76805 mod_bigbluebuttonbn: Fix up behat tests 2024-03-12 10:58:33 +08:00
Paul Holden 0b82683d9d MDL-81190 mod_assign: correct context argument to format string. 2024-03-11 16:58:00 +00:00
Tim Hunt 36e03243da MDL-81114 question: fix selection of random questions with draft status
We need to pick the latest 'ready' version of each question
(not questions where the latest version is ready).

There are test of the behaviour of random_question_loader, and
then a test in the quiz to prove it works in use.
2024-03-11 10:45:19 +00:00
Paul Holden 6cde2b3bc0 Merge branch 'MDL-81128-403-STABLE' of https://github.com/davidcerezal/moodle into MOODLE_403_STABLE 2024-03-08 14:50:26 +00:00
Paul Holden aec51de205 Merge branch 'MDL-81152-403' of https://github.com/snake/moodle into MOODLE_403_STABLE 2024-03-08 14:45:22 +00:00
Huong Nguyen a28e42c0c1 MDL-78547 quiz: Remove unnecessary call to clear_regrade_date_cache()
This method is designed to clear the values but these values are never set anywhere
It's safe to remove it out of the test now
2024-03-08 12:42:04 +07:00
Huong Nguyen d56573e41c Merge branch 'MDL-78547_403' of https://github.com/timhunt/moodle into MOODLE_403_STABLE 2024-03-08 08:52:11 +07:00