111075 Commits

Author SHA1 Message Date
Mark Johnson
37d69fff6b
MDL-74054 qbank_columnsortorder: Implement add, remove and resize
This updates the admin interface, and hooks into the question bank view
for users to override admin defaults with their preferences.
2023-09-22 10:53:52 +08:00
Mark Johnson
6001ee3dfd
MDL-74054 core_question: Define unique question bank column IDs
This also resolves MDL-78829.
Some question bank plugins use a separate class for each plugin they
define. However, qbank_customfields (and potentially others in the
future) uses a single class to define multiple fields. Using the class
name as an ID for the column doesn't give us a way of reliable
instantiating an object for the column. Previously, qbank_customfields
appended the field name as though it was a namespaced class, but this
had to be manually constructed and deconstructed by detecting this
particular column class.

This change introduces a standard way of constructing a unique ID for
each question bank column, in the form
pluginname\columnclass-columnname. This ensures that the ID will be
unique for each column, and the ID can be used to instatiate the
column's object.
2023-09-22 10:53:51 +08:00
Nathan Nguyen
2be0e10a80
MDL-74054 core_question: Add additional plugin points
This refactors the question bank view class to support new plugin points
required for the question bank UI customisation features.
2023-09-22 10:53:51 +08:00
Mark Johnson
feef716c91
MDL-74054 core_question: Re-apply filters when performing a qbank action
This changes the root element used by the fragment when
applying filters, so that the whole of display_question_list()
is reloaded.

This ensures that the returnurl will be updated correctly on the
question actions and bulk actions without manipulating then
further in Javascript.
2023-09-22 10:53:46 +08:00
Ilya Tregubov
9890e67e6d
on-demand release 4.3dev+ 2023-09-20 09:03:45 +08:00
Huong Nguyen
dee9c195fe
Merge branch 'MDL-79395' of https://github.com/stronk7/moodle 2023-09-19 14:29:58 +08:00
Huong Nguyen
267462f99c
Merge branch 'MDL-79370' of https://github.com/paulholden/moodle 2023-09-19 14:29:57 +08:00
Jake Dallimore
1b768a1f64
Merge branch 'MDL-79186' of https://github.com/paulholden/moodle 2023-09-19 11:12:24 +08:00
Ilya Tregubov
69a243f18c
Merge branch 'MDL-79390' of https://github.com/paulholden/moodle 2023-09-19 11:03:37 +08:00
Ilya Tregubov
eb96238d36
Merge branch 'MDL-79384-master' of https://github.com/snake/moodle 2023-09-19 10:54:13 +08:00
Ilya Tregubov
7d6129be45
Merge branch 'MDL-79338' of https://github.com/skodak/moodle 2023-09-19 10:40:54 +08:00
Huong Nguyen
0c49449efa
Merge branch 'MDL-79347-master-2' of https://github.com/junpataleta/moodle 2023-09-19 09:19:25 +07:00
Jake Dallimore
9c6891e73a
MDL-79384 tool_analytics: remove extraneous param from modal create call 2023-09-19 09:41:20 +08:00
Jake Dallimore
4476164613
MDL-79384 mod_lti: fix tool configuration details modal 2023-09-19 09:41:19 +08:00
Jun Pataleta
678ec36716
Merge branch 'MDL-79327' of https://github.com/paulholden/moodle 2023-09-18 19:38:39 +02:00
Paul Holden
92957ab97f
MDL-79327 gradereport_grader: fix markup in collapsed columns dialog. 2023-09-18 18:36:05 +01:00
Eloy Lafuente (stronk7)
b7c2415522
MDL-79395 install: update the list of stale files for 4.3 2023-09-18 16:26:46 +02:00
Huong Nguyen
1ed52c0019
Merge branch 'MDL-79332' of https://github.com/timhunt/moodle 2023-09-18 18:55:53 +07:00
Paul Holden
310b29441c
MDL-79390 mod_glossary: right-align export menu dropdown menu. 2023-09-18 11:03:27 +01:00
Huong Nguyen
7ac9c99c74
Merge branch 'MDL-79351-master' of https://github.com/ferranrecio/moodle 2023-09-18 16:10:17 +07:00
Paul Holden
c230741457
Merge branch 'MDL-78955-patch' of https://github.com/ilyatregubov/moodle 2023-09-18 09:59:36 +01:00
Paul Holden
4e13a9e892
MDL-79370 user: set profile page URL earlier, avoid subsequent error.
Co-authored-by: Dominique Palumbo <domenico.palumbo@uclouvain.be>
2023-09-18 09:25:22 +01:00
Jake Dallimore
6b214f1c81
MDL-79384 core: fix modal footer logic when rendering it from template
If the footer property is a Templates.render() promise, and the modal is
set to show immediately (show=true), the show() logic - which contains
the footer show/hide logic - can run before the footer content is set
(i.e. before the promise chain is complete). In such cases, the footer
will be marked as hidden and must be made visible again.
2023-09-18 16:04:58 +08:00
Ilya Tregubov
553567e16c
MDL-78955 lib: Fix unit test. 2023-09-18 14:47:24 +08:00
Ilya Tregubov
2b69eaf942
Merge branch 'MDL-79047-master' of https://github.com/junpataleta/moodle 2023-09-18 12:24:51 +08:00
Ilya Tregubov
826ef1f915
Merge branch 'MDL-79336' of https://github.com/skodak/moodle 2023-09-18 11:12:22 +08:00
Ilya Tregubov
c2d59f626e
Merge branch 'MDL-78955-master-v03' of https://github.com/ilyatregubov/moodle 2023-09-18 10:42:34 +08:00
Ferran Recio
4dcac269be
MDL-78955 lib: fix choice list styling 2023-09-18 10:41:24 +08:00
Ferran Recio
6b6f71ea6f
MDL-78955 lib: merge choicelist templates 2023-09-18 10:41:14 +08:00
Jun Pataleta
f35e2080af
MDL-79047 grade: Use the gradebook plugin name for the page title
* Use the appropriate gradebook plugin string for the page title.
* Improve gradebook page titles set by grade_get_plugin_info() by
listing the unique identifying information for the page first
(e.g. the gradebook plugin name), followed by broader information
(Grades + Course name), separating these bits of information using the
pipe `|` character.

For more information, check out
https://www.w3.org/WAI/WCAG21/Techniques/general/G88
2023-09-18 03:40:43 +02:00
Sara Arjona
ecddfa6ccd
on-demand release 4.3dev+ 2023-09-15 18:41:22 +02:00
Sara Arjona
6e2534047a
weekly release 4.3dev+ 2023-09-15 17:33:29 +02:00
Sara Arjona
3079511dc7
NOBUG: Fixed SVG browser compatibility 2023-09-15 17:33:23 +02:00
Ilya Tregubov
259ec50af6
Merge branch 'luca-branch' of https://github.com/ilyatregubov/moodle 2023-09-15 17:05:27 +08:00
Shamim Rezaie
24a063bd67
Merge branch 'MDL-78833-master' of https://github.com/ilyatregubov/moodle 2023-09-15 16:58:00 +08:00
Huong Nguyen
c73c1d1d6b
Merge branch 'MDL-79283' of https://github.com/paulholden/moodle 2023-09-15 16:58:00 +08:00
Jun Pataleta
ced2753bff
Merge branch 'MDL-79291' of https://github.com/paulholden/moodle 2023-09-15 16:58:00 +08:00
Huong Nguyen
fb56acd3a7
Merge branch 'MDL-79320' of https://github.com/paulholden/moodle 2023-09-15 16:58:00 +08:00
Jun Pataleta
e510b7bed8
Merge branch 'MDL-78916-master' of https://github.com/junpataleta/moodle 2023-09-15 16:57:57 +08:00
Ilya Tregubov
4355e38e88
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle 2023-09-15 16:56:22 +08:00
Huong Nguyen
b65724480b
Merge branch 'MDL-79057-master' of https://github.com/junpataleta/moodle 2023-09-15 16:54:09 +08:00
Huong Nguyen
0f1a65723f
Merge branch 'MDL-79313-master' of https://github.com/junpataleta/moodle 2023-09-15 16:54:09 +08:00
Huong Nguyen
632e603304
Merge branch 'MDL-78728' of https://github.com/paulholden/moodle 2023-09-15 16:19:27 +08:00
Jun Pataleta
62a91c861c
Merge branch 'MDL-78467-master' of https://github.com/sammarshallou/moodle 2023-09-15 16:19:26 +08:00
Jun Pataleta
4370887449
Merge branch 'MDL-78916-master' of https://github.com/junpataleta/moodle 2023-09-15 16:19:06 +08:00
Ilya Tregubov
8f8ea5a4d1
Merge branch 'MDL-78312-master' of https://github.com/NashTechOpenUniversity/moodle 2023-09-15 16:19:04 +08:00
Huong Nguyen
9fc4c35ca7
Merge branch 'MDL-79057-master' of https://github.com/junpataleta/moodle 2023-09-15 16:16:21 +08:00
Huong Nguyen
58ff81ac83
Merge branch 'MDL-79313-master' of https://github.com/junpataleta/moodle 2023-09-15 16:16:21 +08:00
Jun Pataleta
bb4bcf6165
MDL-79347 course_format: Fix focus outline for Edit conditions link
Use `btn btn-sm` classes to provide a default focus outline for the
Edit conditions link.
2023-09-15 15:05:13 +08:00
Jake Dallimore
4464e46336
MDL-78916 mod_lti: deprecate and remove unused strings and files
These strings and files supported the old way of creating course-level
tools, which has now been fully replaced.
2023-09-15 10:47:10 +08:00