Commit graph

396 commits

Author SHA1 Message Date
Shamim Rezaie
6495bebac2 MDL-72397 qbank_managecategories: Fix whitespace 2024-08-23 13:45:17 +10:00
Shamim Rezaie
3a50726b29 Merge branch 'MDL-72397_main-reactive' of https://github.com/marxjohnson/moodle 2024-08-23 12:53:21 +10:00
Daniel Ziegenberg
492bca0a67
MDL-69684 session: Redis session locks set with expiry atomically
Co-Authored-By: Jamie Chapman-Brown <jamie.chapman-brown@agilicus.com>
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-08-22 18:22:50 +02:00
Shamim Rezaie
0d23024ad0 MDL-80747 output: Inline labels in the single-select combobox widget 2024-08-23 01:29:49 +10:00
Shamim Rezaie
c171c6ef6b MDL-80747 output: Support dividers in the single-select combobox widget 2024-08-23 01:29:49 +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
Shamim Rezaie
96410abbf9 Merge branch 'MDL-82857-main' of https://github.com/mihailges/moodle 2024-08-22 13:38:30 +10:00
Huong Nguyen
29bbead33a
Merge branch 'MDL-79011-main' of https://github.com/andrewnicols/moodle 2024-08-22 10:30:12 +07:00
Andrew Nicols
fc7945cbc3
MDL-79011 core: Convert after_config callback to hook 2024-08-22 10:52:25 +08:00
Mihail Geshoski
eb228521dc MDL-82857 mod_assign: Deprecate mod_assign_grading_options_form class 2024-08-22 09:34:51 +08:00
Daniel Ziegenberg
7c5199bdc9
MDL-71326 plagiarism: Final deprecation of plagiarism functions
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-08-21 23:25:25 +02:00
Sara Arjona
b628db7abe
Merge branch 'MDL-82742-main' of https://github.com/albertgasset/moodle 2024-08-21 16:43:44 +02:00
Huong Nguyen
c6bdae8f76
Merge branch 'MDL-82212-main' of https://github.com/sarjona/moodle 2024-08-21 17:35:59 +07:00
Sara Arjona
dbd0b66ade
Merge branch 'MDL-72620' of https://github.com/paulholden/moodle 2024-08-21 10:44:22 +02:00
Sara Arjona
c77a0dad13
MDL-82212 behat: Display error when deprecated icons are found
A check for deprecated icons has been integrated into Behat tests.
This check can be disabled by adding the --no-icon-deprecations flag
to the Behat initialization command.
2024-08-21 07:05:14 +02:00
Sara Arjona
9f63a03d93
MDL-82212 core: Add a mechanism to deprecate icons
A new method, get_deprecated_icons(), has been added to the icon_system class.
All deprecated icons should be registered through this method.
When $CFG->debugpageinfo is enabled, a console message will display a list of
the deprecated icons.
2024-08-21 07:05:13 +02:00
Andrew Nicols
aa298d575f
MDL-82158 core_cache: Note API changes 2024-08-20 20:44:29 +08:00
Jake Dallimore
45faf93d87
Merge branch 'MDL-82778-main' of https://github.com/andrewnicols/moodle 2024-08-20 11:07:13 +08:00
Huong Nguyen
c986f00ed8
Merge branch 'MDL-74939' of https://github.com/paulholden/moodle 2024-08-20 09:43:06 +07:00
Ilya Tregubov
82694f5fee MDL-82295 mod_assign: Action menus for grade and status columns.
Edit column is removed from view all submissions page. Its merged
into grade and status columns.

Co-authored-by: Mihail Geshoski <mihail@moodle.com>
2024-08-16 11:57:17 +08:00
Andrew Nicols
d85201adcb
MDL-82778 core: Update core/fetch module to use Class 2024-08-15 22:45:47 +08:00
Paul Holden
5b4e858e80
MDL-74939 output: final removal of deprecated navigation namespace. 2024-08-15 11:14:18 +01:00
Jun Pataleta
20dcede4b5
Merge branch 'MDL-82747-main' of https://github.com/andrewnicols/moodle 2024-08-14 23:05:06 +08:00
Jun Pataleta
5b15521c90
Merge branch 'MDL-82385-main' of https://github.com/dpalou/moodle 2024-08-14 19:02:57 +08:00
Dani Palou
883448dae4 MDL-82385 course: Return new section fields in core_course_get_contents 2024-08-14 11:29:24 +02:00
Sara Arjona
8f2a665e26
Merge branch 'MDL-82687' of https://github.com/timhunt/moodle 2024-08-13 12:40:44 +02:00
Andrew Nicols
be3482f339
MDL-82747 core: Provide a standard way to register the Autoloader 2024-08-12 13:49:37 +08:00
Albert Gasset
d9ea6bc804 MDL-82742 badges: Include recipient in web services that return badges 2024-08-09 15:24:56 +02:00
Huong Nguyen
587f65f34f
Merge branch 'MDL-82393-main-1' of https://github.com/mihailges/moodle 2024-08-08 12:04:38 +07:00
Mihail Geshoski
b7481cf4aa MDL-82393 course: Deprecate the $course argument in group_selector
Deprecates the $course parameter in the constructor of the
core_course\output\actionbar\group_selector class. This parameter is no
longer used, as the $course object can now be obtained through the
$context class property. Additionaly, the $course class property has
been removed in accordance with this change.
2024-08-07 17:27:41 +08:00
David Woloszyn
9658ba6710 MDL-81951 communication_matrix: Fix suspended users ignored bug 2024-08-07 04:12:45 +00:00
Tim Hunt
fc19af4ce5 MDL-82687 formslib: only allow positive durations by default 2024-08-06 13:53:56 +01:00
Andrew Nicols
f943311753
MDL-81031 core: Rename \core_user to \core\user 2024-08-06 16:01:06 +08:00
Jun Pataleta
ecbdd8d268
Merge branch 'MDL-82427-main' of https://github.com/andrewnicols/moodle 2024-08-01 11:57:32 +08:00
Huong Nguyen
c81be53a7b
Merge branch 'MDL-80017-master' of https://github.com/jleyva/moodle 2024-08-01 09:11:37 +07:00
Jun Pataleta
60c19ee53f
Merge branch 'MDL-82447-master' of https://github.com/jleyva/moodle 2024-08-01 10:09:14 +08:00
Shamim Rezaie
5aee595206 Merge branch 'MDL-78030-main-improvement' of https://github.com/meirzamoodle/moodle 2024-07-31 17:38:29 +10:00
Ilya Tregubov
ab4f1d1578 Merge branch 'MDL-80752-main' of https://github.com/rezaies/moodle 2024-07-31 10:59:42 +08:00
Huong Nguyen
d11eaeefb9
Merge branch 'MDL-82259-main' of https://github.com/aanabit/moodle 2024-07-31 09:17:38 +07:00
Huong Nguyen
0c2d74b1af
Merge branch 'MDL-64148-main' of https://github.com/meirzamoodle/moodle 2024-07-31 09:15:03 +07:00
Ilya Tregubov
f14746511b Merge branch 'MDL-78776-expunge_myisam' of https://github.com/leonstr/moodle 2024-07-31 09:38:25 +08:00
meirzamoodle
699daafc64 MDL-64148 core: Make email greetings consistent
Some email body strings use first names as greetings,
some use full names, and some do not.

Using the first name for greeting makes it consistent and
a bit more "personal".
2024-07-30 22:40:47 +07:00
meirzamoodle
020259dbad MDL-64148 core: Deprecate reset_password_and_mail 2024-07-30 22:40:47 +07:00
meirzamoodle
9354b80a52 MDL-78030 user: Implementing the count window function 2024-07-29 13:58:38 +07:00
meirzamoodle
42664ee49a MDL-78030 dml: get total count records using the window function
The COUNT window function can be helpful to fasten the complex query,
but it's not recommended to be used for a single table query.

The patch is specifically for PostgreSQL, MariaDB and Oracle databases as they have better performance
compared to MySQL and MSSQL. Although these databases support the COUNT window functions,
the results indicate that the query runs slower when using them.
2024-07-29 13:53:46 +07:00
Amaia Anabitarte
d4a887987a MDL-82259 behat: Improve section behat steps to allow section name 2024-07-26 10:02:47 +02:00
Juan Leyva
c9c8e2870c MDL-82447 mod_bigbluebuttonbn: Remove mobile support via plugin 2024-07-25 12:22:13 +02:00
Juan Leyva
57650852e5 MDL-80017 core_grades: Fix return type for itemname 2024-07-24 16:15:57 +02:00