5273 Commits

Author SHA1 Message Date
Andrew Nicols
5a86d3178a
MDL-81521 mod_quiz: Update coding style of impacted tests 2024-11-15 12:50:56 +08:00
Andrew Nicols
9adfbcde4e
MDL-81521 mod_quiz: Fix attempt walkthrough tests 2024-11-15 12:50:56 +08:00
Andrew Nicols
a6acb015a3
MDL-81521 core: Update all possibly data providers to be static
Note: Some data providers could not be automatically be converted to
being static. These will be handled in a separate issue.
2024-11-15 12:50:55 +08:00
Huong Nguyen
5251979b01
MDL-82335 qbank_columnsortorder: Fix upgrade code coding style 2024-11-08 09:02:32 +07:00
Huong Nguyen
c89b3279bb
MDL-82335 qbank_columnsortorder: Cleanup upgrade code 2024-11-07 13:35:01 +07:00
Anupama Sarjoshi
795fa07c3c MDL-82335 qbank_columnsortorder: Fix upgrading issue
When upgraded to Moodle 4.4 or higher, for qbank_columnsortorder
the colsize values in the config_plugins were getting incorrectly set,
resulting in errors accessing the question bank. Changes done to fix
this code and to remove the corrupted colsize value from
config_plugins table.
2024-11-06 12:58:26 +00:00
meirzamoodle
758f79a5af MDL-82988 general: Apply helper to get path to fixture 2024-10-27 13:46:48 +07:00
Jun Pataleta
5cb05b44db
Merge branch 'MDL-83070' of https://github.com/timhunt/moodle 2024-10-15 19:09:08 +08:00
Tim Hunt
9f88c344cd MDL-83070 question restore: recode links in hints 2024-10-07 08:53:28 +01:00
Jun Pataleta
c9356e039f
MDL-83374 upgrade: add the 4.5.0 separation line to all upgrade scripts 2024-10-05 21:16:13 +08:00
Jun Pataleta
5b421c6db6
NOBUG: Add upgrade notes 2024-10-05 15:08:28 +08:00
Huong Nguyen
3a6640c461
NOBUG: Add upgrade notes 2024-10-04 21:06:11 +07:00
Jun Pataleta
62b8b3709d
Merge branch 'MDL-83238-main-enfix' of https://github.com/mudrd8mz/moodle 2024-10-03 16:01:53 +08:00
Sara Arjona
d7f28e0c93
Merge branch 'MDL-83309-main' of https://github.com/junpataleta/moodle 2024-10-03 08:22:26 +02:00
Jun Pataleta
f24e0ecf53
MDL-83309 versions: Bump all versions and requires near release 2024-10-02 17:04:53 +08:00
Huong Nguyen
13fdeab15e
Merge branch 'MDL-83327_main' of https://github.com/marxjohnson/moodle 2024-10-02 14:28:08 +07:00
Huong Nguyen
4a53eda14e
Merge branch 'MDL-83328_main' of https://github.com/marxjohnson/moodle 2024-10-02 13:48:41 +07:00
Mark Johnson
89a87b7d4e
MDL-83328 qbank_managecategories: Fix move dialogue for single child 2024-10-01 14:45:33 +01:00
Mark Johnson
8c1c013f78
MDL-83327 qbank_managecategories: Fix invalid parameter when moving
Clicking on the "Move" label of the move button resulted in an
incorrectly titled dialog and an "invalid parameter" error.
2024-10-01 14:35:05 +01:00
Huong Nguyen
4d1c0cb04b
NOBUG: Add upgrade notes 2024-10-01 19:37:15 +07:00
David Mudrák
cdd3b4648f MDL-83238 lang: Fix the changed strings in the tests, too 2024-09-30 20:04:54 +02:00
Helen Foster
8e8267144d MDL-83238 lang: Import fixed English strings (en_fix) 2024-09-30 19:42:49 +02:00
Huong Nguyen
282421ce6c
NOBUG: Change upgrade notes version 2024-09-27 19:16:56 +07:00
Huong Nguyen
7b4ed9096f
NOBUG: Add upgrade notes 2024-09-27 18:45:07 +07:00
Paul Holden
8e46e810ff
MDL-83235 qbank_columnsortorder: correct config retrieval ordering.
There is a unique index on plugin/name, so having a trailing order
clause on value would produce no effect. We also cannot order by
CLOB fields on Oracle, lest it complain loudly.
2024-09-23 08:51:05 +01:00
Huong Nguyen
1cabd82999
Merge branch 'MDL-83055' of https://github.com/paulholden/moodle 2024-09-20 11:03:32 +07:00
Jun Pataleta
2ea8adc589
Merge branch 'MDL-83127-main' of https://github.com/lucaboesch/moodle 2024-09-16 15:58:57 +08:00
Tim Hunt
60a1a65eea MDL-82875 question export: test for not exporting hidden questions 2024-09-13 16:03:40 +01:00
Vithusha Kethiri
352ca59dc6 MDL-82875 qbank_export: Fix removing hidden questions from the export 2024-09-13 13:08:28 +01:00
Luca Bösch
bdd8770347 MDL-83127 qtype_ordering: handle NULL in question_hints table entries. 2024-09-13 12:06:58 +02:00
Paul Holden
960e37ccd6
MDL-83055 qbank_managecategories: rollback transaction on exception. 2024-09-12 14:59:19 +01:00
Simey Lameze
3ac7a2f6c5 MDL-63399 behat: update existing tests to use the better download steps
Co-authored-by: Tim Hunt <T.J.Hunt@open.ac.uk>
2024-09-06 12:14:07 +08:00
Ilya Tregubov
71ede9e192 Merge branch 'MDL-75850-main-fix' of https://github.com/meirzamoodle/moodle 2024-09-03 10:17:17 +08:00
Huong Nguyen
7aef6e21cb
NOBUG: Add upgrade notes 2024-08-29 18:09:49 +07:00
Ilya Tregubov
5c50a77859 Merge branch 'MDL-82810' of https://github.com/timhunt/moodle 2024-08-29 10:56:48 +08:00
meirzamoodle
72b43c3541 MDL-75850 core: file redact
File redact is a core plugin to remove or obsure from a file (image, doc) prior to publication/release.
Currently, it has an EXIF remover service using exiftool command, but it is also possible to
add other services related to file redacting.

The plugin admin settings is under Server as it's parent.

Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2024-08-28 17:17:08 +07:00
Huong Nguyen
4f25ac1044
Merge branch 'MDL-82158-main' of https://github.com/andrewnicols/moodle 2024-08-27 10:01:38 +07:00
Sara Arjona
7ce18d2edb
NOBUG: Add upgrade notes 2024-08-23 16:04:48 +02:00
Shamim Rezaie
3a50726b29 Merge branch 'MDL-72397_main-reactive' of https://github.com/marxjohnson/moodle 2024-08-23 12:53:21 +10:00
Mark Johnson
cc17317b62
MDL-72397 qbank_managecategories: Deprecate question_category_object
This also deprecates moodle_list and list_item, which were only being
used by qbank_managecategories, and the QUESTION_PAGE_LENGTH constant
which was defined in question_category_object.php but only used by
moodle_list.
2024-08-22 10:59:25 +01:00
Mark Johnson
2dad710f12
MDL-72397 qbank_managecategories: UI enhancement
This implementation will introduce a new user interface for
"qbank_managecategories" plugin which will allow user to drag and drop.
Having this plugin will give users the flexibility of reordering, adding
or editing
categories from the qbank_managecategories view.

Co-authored-by: Marc-Alexandre Ghaly <marc-alexandreghaly@catalyst-ca.net>
Co-authored-by: Luca Bösch <luca.boesch@bfh.ch>
2024-08-22 10:59:24 +01:00
Mark Johnson
e3513f84a2
MDL-72397 qbank_managecategories: API reorganisation
This splits the API functions required for the reorganised category UI,
to properly separate the qbank_managecategories and core_question APIs.

This methods that were part of question_category_object that should live
in the core_question namespace (generate CRUD operations related to
categories) are moved to the new \core_question\category_manager class.
The parts that belong in the qbank_managecategories plugin as they are
used to display the editing UI are moved to the
\qbank_managecategories\question_categories class.

Static methods that were defined in \qbank_managecategories\helper and
were only used within methods that have been moved to one of the new
classes have been deprecated and moved to those new classes as well.

This will allow the entire
\qbank_managecategories\question_category_object class to be deprecated
in the following commit.
2024-08-22 10:27:16 +01:00
hieuvu
56f329366d
MDL-82832 ddimageortext: center the dd item using js. 2024-08-22 12:23:10 +07:00
Sara Arjona
7b6d283a64
Merge branch 'MDL-82832-master' of https://github.com/NashTechOpenUniversity/moodle 2024-08-21 16:12:44 +02:00
Sara Arjona
c1f92c7170
Merge branch 'MDL-82695' of https://github.com/andrewhancox/moodle 2024-08-21 16:07:41 +02:00
Andrew Hancox
e96eb08214 MDL-82695 qtype_multianswer: Fix div by zero in compute_final_grade 2024-08-21 13:46:46 +01:00
hieuvu
c25554b93c MDL-82832 ddimageortext: center the dd item using js. 2024-08-21 10:58:11 +07:00
Andrew Nicols
c21aeeb380
MDL-82158 core: Update most uses of cache_ classes 2024-08-20 20:44:28 +08:00
Huong Nguyen
dca18ebca3
Merge branch 'MDL-81634-main' of https://github.com/andrewnicols/moodle 2024-08-20 09:30:44 +07:00
Tim Hunt
8a662a008e MDL-82810 question bank: stop action menu from getting truncated 2024-08-16 13:34:06 +01:00