115471 Commits

Author SHA1 Message Date
Shamim Rezaie
c171c6ef6b MDL-80747 output: Support dividers in the single-select combobox widget 2024-08-23 01:29:49 +10:00
Jun Pataleta
f831904480
Merge branch 'MDL-82843-main' of https://github.com/juliavs85/moodle 2024-08-22 23:05:40 +08:00
KarlReyesCatalyst
07b2224e9a MDL-79215 lib/graphlib: Fix unrelated coding style in graphlib_test.php 2024-08-22 10:30:18 -04:00
Sara Arjona
0ee8bb05bc
Merge branch 'MDL-81662-main' of https://github.com/kevpercy/moodle 2024-08-22 16:27:43 +02:00
Sara Arjona
ded557c62b
Merge branch 'MDL-76889' of https://github.com/paulholden/moodle 2024-08-22 16:16:15 +02:00
KarlReyesCatalyst
10705ab716 MDL-79215 lib/graphlib: Typecasting round() function to INT. 2024-08-22 10:00:01 -04:00
Sara Arjona
62c2c6f385
MDL-82862 tool_lp: Update edit icon for learning plans
The edit icon in the learning plans page has been replaced from pen
to cog, for consistency with changes done in MDL-82211.
This patch also reduces the size for this icon.
2024-08-22 13:55:06 +02:00
Sara Arjona
2142377dda
MDL-82863 tool_generator: Add missing BEHAT_TEST constant
The tool_generator now defines the BEHAT_TEST constant to ensure
that Behat generators are consistently utilized.
2024-08-22 13:23:07 +02:00
juliavs85
e01bf4142d MDL-82843 contentbank: Remove unused string 2024-08-22 10:28:17 +00: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
Jun Pataleta
c3d10c447b
Merge branch 'MDL-82357-main' of https://github.com/laurentdavid/moodle 2024-08-22 17:47:37 +08:00
Mark Johnson
2419bd64de
MDL-72397 mod_quiz: Replace call to qbank plugin
When qbank plugins were first introduced, the method to add a question
category was put inside qbank_managecategories. This created an invalid
call between the mod_quiz and qbank_managecategories plugins.

Now that this method has been moved to the core_question namespace, we
can update mod_quiz to call the method there instead.
2024-08-22 10:27:16 +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
Jun Pataleta
3d8b7fb363
Merge branch 'MDL-81658_upgrade-tcpdf' of https://github.com/ziegenberg/moodle 2024-08-22 14:45:32 +08:00
Kevin Percy
d91c0000ee MDL-81662 media_videojs: Upgrade ogv.js to 1.9.0 2024-08-22 14:40:39 +08:00
Kevin Percy
4f2b039ce1 MDL-81662 media_videojs: Upgrade VideoJS to 8.17.3 2024-08-22 14:40:39 +08:00
hieuvu
56f329366d
MDL-82832 ddimageortext: center the dd item using js. 2024-08-22 12:23:10 +07: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
Shamiso.Jaravaza
e80fe0c3a4 MDL-80225 mod_bigbluebuttonbn: Fix missing recordings 2024-08-21 21:04:49 -06:00
Andrew Nicols
fc7945cbc3
MDL-79011 core: Convert after_config callback to hook 2024-08-22 10:52:25 +08:00
Huong Nguyen
032ce5bb45
Merge branch 'MDL-82498-main' of https://github.com/sarjona/moodle 2024-08-22 09:01:58 +07:00
Huong Nguyen
9978cbaabb
Merge branch 'MDL-82495-main-cl' of https://github.com/ferranrecio/moodle 2024-08-22 08:47:09 +07:00
Huong Nguyen
20f0247098
Merge branch 'MDL-82841-main' of https://github.com/andelacruz/moodle 2024-08-22 08:43:14 +07:00
Mihail Geshoski
eb228521dc MDL-82857 mod_assign: Deprecate mod_assign_grading_options_form class 2024-08-22 09:34:51 +08:00
Mihail Geshoski
cab7c403fe MDL-82857 mod_assign: Revert removal of markerfilter form element
The markerfilter form element was removed too aggressively from the
mod_assign_grading_options_form class. To avoid potentially introducing
unwanted behavior-especially if any external code relies on this
form-the original structure should be preserved.
2024-08-22 09:34:51 +08:00
Mihail Geshoski
975712437f MDL-82857 mod_assign: Temporary assignment grading options form
Creates a temporary assignment grading options form class as a
replacement for mod_assign_grading_options_form, which will be
deprecated but must remain unchanged to avoid introducing any
unwanted behaviour in case an external code is currently using it.
This temporary form is intended for exclusive use on the assignment
submissions page during the gradual migration of form elements. It
will be removed from the core once the migration process is complete.
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
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
Sara Arjona
3f966333bd
Merge branch 'MDL-82655-main' of https://github.com/andelacruz/moodle 2024-08-21 15:53:43 +02:00
Andrew Nicols
553480e044 MDL-82359 mod_forum: Move user posts links logic into module
The logic about adding links to view user posts in the forum module
was previously in core code, but there is an existing callback that
means this can be implemented entirely within the forum module.

Co-authored-by: sam marshall <s.marshall@open.ac.uk>
2024-08-21 13:47:20 +01:00
sam marshall
cdd8cbb3b9 MDL-82359 Install: Allow install to succeed with missing default blocks 2024-08-21 13:47:20 +01:00
Andrew Hancox
e96eb08214 MDL-82695 qtype_multianswer: Fix div by zero in compute_final_grade 2024-08-21 13:46:46 +01:00
Angelia Dela Cruz
27cbc47fbd MDL-82841 mod_workshop: Behat for submissions with set # of attachments 2024-08-21 18:56:09 +08:00
Huong Nguyen
508dd8c77e
Merge branch 'MDL-82110-main' of https://github.com/andrewnicols/moodle 2024-08-21 17:43:11 +07:00
Huong Nguyen
c6bdae8f76
Merge branch 'MDL-82212-main' of https://github.com/sarjona/moodle 2024-08-21 17:35:59 +07:00
Angelia Dela Cruz
4fbb20466c MDL-82655 mod_workshop: Behat test for manual and random allocation 2024-08-21 17:08:25 +08:00
Jun Pataleta
33d6ae05c5
Merge branch 'MDL-79680_upgrade-prismjs' of https://github.com/ziegenberg/moodle 2024-08-21 17:00:49 +08:00
Jun Pataleta
0909b814aa
Merge branch 'MDL-79678_upgrade-otphp' of https://github.com/ziegenberg/moodle 2024-08-21 16:52:33 +08:00
Sara Arjona
dbd0b66ade
Merge branch 'MDL-72620' of https://github.com/paulholden/moodle 2024-08-21 10:44:22 +02:00
Sara Arjona
253383fc23
Merge branch 'MDL-82377-main' of https://github.com/ferranrecio/moodle 2024-08-21 10:17:08 +02:00
Laurent David
aa18e063d7 MDL-82357 core_courseformat: A subsection cannot move onto itself
* Subsections are considered as section and need to be prevented to
be moved into itself so to avoid infinite recursive structures.
This prevent this from happenning at a lower level (state)
2024-08-21 09:46:52 +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
Sara Arjona
7a0db549b8
MDL-82498 pix: Update smiley icons
The emoticons have been updated to match those found in the emoji-data
third-party library.
2024-08-21 07:02:14 +02:00
Huong Nguyen
2e8c1d1bb3
Merge branch 'MDL-82175-cron-logs' of https://github.com/brendanheywood/moodle 2024-08-21 11:51:18 +07:00
hieuvu
c25554b93c MDL-82832 ddimageortext: center the dd item using js. 2024-08-21 10:58:11 +07:00