5242 Commits

Author SHA1 Message Date
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
Huong Nguyen
e2708aeacf
NOBUG: Add upgrade notes 2024-08-16 08:37:50 +07:00
Huong Nguyen
e6ea778c03
NOBUG: Fixed SVG browser compatibility 2024-08-16 08:37:01 +07:00
Jun Pataleta
06d273672d
Merge branch 'MDL-82798-main' of https://github.com/HuongNV13/moodle 2024-08-15 11:14:04 +08:00
Huong Nguyen
847b2d6da1
MDL-82798 qtype_ddmarker: Fix Behat failure 2024-08-15 09:15:06 +07:00
Huong Nguyen
31e1fa1f1b
Merge branch 'MDL-82211-main' of https://github.com/sarjona/moodle 2024-08-13 15:37:02 +07:00
Sara Arjona
08929e7a48
MDL-82211 qtype_ddmarker: Update SVG icons 2024-08-13 07:22:43 +02:00
Mikel Martín
f179890ad5 MDL-75671 theme_boost: Refactor text direction classes for BS5
- Add SCSS code for text direction utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (text-left > text-start, text-sm-right > text-sm-end, ...)
2024-08-09 07:40:17 +02:00
Mikel Martín
0a03018116 MDL-75671 theme_boost: Refactor spacing classes for BS5
- Add SCSS code for spacing utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (pr-1 > pe-1, ml-auto > ms-auto, ml-sm-3 > ms-sm-3, ...)
2024-08-09 07:40:17 +02:00
Jun Pataleta
6d1816797c
Merge branch 'MDL-82599-main-enfix' of https://github.com/mudrd8mz/moodle 2024-08-09 11:20:14 +08:00
Michael Hawkins
622ee09209
MDL-82576 qtype_calculated: Improve formula regexes 2024-08-08 11:11:02 +07:00
David Mudrák
7af4e8816f MDL-82599 lang: Use the fixed strings in tests, too 2024-08-02 14:57:43 +02:00
Andrew Nicols
024e36be17
MDL-81634 core: Fix all implicitly defined nullables
Note: This does not impact third-party libraries.
2024-08-02 14:11:12 +08:00
Huong Nguyen
784fb45459
Merge branch 'MDL-82465-master' of https://github.com/danghieu1407/moodle 2024-08-01 10:35:17 +07:00
Paul Holden
554ca6cc50
MDL-82596 behat: switch manual private files upload to generator. 2024-07-28 19:06:13 +01:00
Hieu Nguyen Dang
876082b34c MDL-82465 qtype_ddmarker: Mathjax support highlight dropzone 2024-07-26 09:54:30 +07:00
Jun Pataleta
cd7f94612c
Merge branch 'MDL-82373-main' of https://github.com/andrewnicols/moodle 2024-07-25 11:31:53 +08:00
Jun Pataleta
f96778f74d
Merge branch 'MDL-81075-main' of https://github.com/cameron1729/moodle 2024-07-17 12:44:29 +08:00
Andrew Nicols
9251a72e53
MDL-82373 question: Make window larger in behat tests
I would suggest that this is a stop gap to solve some failing tests. We
really need to look at whether we can improve the usability of this
interface on smaller displays as a longer-term fix.
2024-07-17 09:28:35 +08:00
Glenn Poder
2afdd8d220 MDL-81075 quiz: config option for defaults when creating questions 2024-07-16 23:26:51 +08:00
Ilya Tregubov
caa72b3595 Merge branch 'MDL-82282' of https://github.com/paulholden/moodle 2024-07-16 09:26:01 +08:00
Huong Nguyen
a0394ce78f
MDL-80489 qtype_ddtos: Update Behat to match language string 2024-07-11 15:15:34 +07:00
Huong Nguyen
e28937ccbc
MDL-80489 qtype_ddtos: Update language string 2024-07-11 11:16:44 +07:00
Huong Nguyen
2845d8cbde
Merge branch 'MDL-79717' of https://github.com/paulholden/moodle 2024-07-11 09:34:52 +07:00
Huong Nguyen
0ef2fa73ae
Merge branch 'MDL-80489-master' of https://github.com/danghieu1407/moodle 2024-07-11 09:28:56 +07:00
Paul Holden
bd0f8a058f
MDL-79717 phpunit: ensure unique data provider keys in tests.
Duplicate data provider keys were overwriting and/or duplicating
one another, leading to some cases being skipped.

Other "duplicate array key" errors were picked up by `phpcs` in
this dragnet across all tests, which have also been fixed.
2024-07-10 14:08:49 +01:00
Ilya Tregubov
c7af8d8afa NOBUG: Add upgrade notes 2024-07-05 09:01:53 +08:00
Huong Nguyen
1110e51e58
MDL-80907 qtype_ordering: Fix incorrect Behat column selectors 2024-07-04 21:21:01 +07:00
Paul Holden
23eee37e81
MDL-82282 question: consider only editable flags in JS module. 2024-07-04 10:19:22 +01:00
Andrew Nicols
9ad6cae1e2
MDL-78662 question: Correct upgrade notes 2024-07-04 12:17:50 +08:00
Andrew Nicols
10d1a28dda
Merge branch 'MDL-78662-master' of https://github.com/NashTechOpenUniversity/moodle 2024-07-04 12:17:36 +08:00
Sara Arjona
89dcf5066b
Merge branch 'MDL-74251-main' of https://github.com/lucaboesch/moodle 2024-07-03 09:35:56 +02:00