Commit graph

116769 commits

Author SHA1 Message Date
Charles Fulton
fb3349e821 MDL-82313 mod_data: refactor field icon display 2024-12-09 09:30:59 -05:00
Andrew Gosali
7c712b0cdd MDL-79907 core_grades: removal on grade_structure's deprecated methods
- grade_structure::get_element_type_string()
- grade_structure::get_element_header()
- grade_structure::get_element_icon()
- grade_structure::get_activity_link()
2024-12-09 21:02:31 +07:00
Mark Johnson
bfb057001b
MDL-83883 qbank_editquestion: Add status filter condition
This allows users to filter questions based on whether a question is in
"draft" or "ready" status.
2024-12-09 11:12:21 +00:00
raortegar
01f13bee19 MDL-73909 core_message: Admin notification preferences saved on toggle 2024-12-09 10:31:04 +01:00
Paul Holden
45a6986aa4
MDL-83956 course: update spacer icon for category management tree.
Prior to fd676913 the manage course categories tree element used
the 'i/empty' icon as a fixed width spacer (fa-fw). However this
icon is now shown as a square, which looks out of place here.

Change to a different icon that maps to the same fixed width spacer
in order to restore the previous behaviour.
2024-12-09 08:55:26 +00:00
Laurent David
fea59f3ae1 MDL-81841 mod_data: Add spacing bottom of preset page
* The action menu is going under the sticky footer on
the preset page. Adding more space helps to display the
entire menu instead of cutting it off.
2024-12-09 08:12:04 +01:00
Huong Nguyen
2963073f55
MDL-83341 repository_onedrive: Fix download and create controlled link
Onedrive direct download URL does not accept authorization headers,
it will just return the `unauthenticated` content with 401 HTTP Code

We switched to a safer way. We fetch the item information and use
a new curl instance (without authorization headers)
to fetch the content via direct download URL
2024-12-09 09:29:34 +07:00
AMOS bot
568f9ccb5a Automatically generated installer lang files 2024-12-08 00:08:08 +00:00
Conn Warwicker
c5633888e2
MDL-81115 question: Question bank tag filter to use all available tags.
This makes the tags which are available to the user on the question
bank tag filter, use tags from all available contexts, not just
that course. This means they can filter by tags assigned to system
questions as well, for example.
2024-12-06 14:16:09 +00:00
Paul Holden
c255206768
MDL-83940 comment: fix collapse/loading icons in comment container. 2024-12-06 10:48:46 +00:00
meirzamoodle
58b9be52d5 MDL-82754 core: Improve treatStringsInContent() performance with arrays
Co-authored-by: JeanSotoriva <jeansotoriva@gmail.com>
2024-12-06 14:45:19 +07:00
Luca Bösch
7fbf8140a6 MDL-83920 core_question: Error when trying exporting 0 questions. 2024-12-06 08:36:12 +01:00
Luca Bösch
3c3b4b5573 MDL-83013 core_question: put "Delete" action last in menu. 2024-12-05 18:35:24 +01:00
Luca Bösch
c7feeb94be MDL-82886 qbank_managecategories: put "Delete" action last in menu. 2024-12-05 18:35:23 +01:00
Huong Nguyen
0888a6d324
weekly release 5.0dev 2024-12-05 22:32:27 +07:00
Huong Nguyen
49c975b918
NOBUG: Add upgrade notes 2024-12-05 22:32:26 +07:00
Mikel Martín
55a9c190c0 MDL-83456 mod_scorm: Revert FA6 updated status icons 2024-12-05 14:27:56 +01:00
Mark Johnson
e46a0c33ac
MDL-83859 qbank_viewquestiontype: Add type filter
This adds a new question bank filter for filtering by question type. The
filter can be applied with one or multiple question types, and can
either include or exclude the selected types.
2024-12-05 11:30:32 +00:00
Mark Johnson
1613a98102
MDL-83859 core_question: Update filter condition API
This corrects some definitions of the methods in the base condition
class to make things more obvious to developers implementing new
filters.

Previously if your filter wanted to use the default
`core/datafilter/filtertype` class, you still had to implement
`get_filter_class` to return `null`, since it was declared as abstract.
This change defines it as returning `null` by default, so this is no
longer necessary.

Also, this removes the default definitions for `get_condition_key` and
`build_query_from_functions`, and declares them abstract. Currently it
is necessary to override these to implement a functional filter so it
doesn't make sense to have a useless default definition.

This will not cause any breakages with existing filters. All filters
must already be defining the methods that are now abstract, otherwise
they will not function. Any filter that is now overriding
`get_filter_class` to return `null` will continue to work as before,
even though this is no longer necessary.
2024-12-05 11:30:32 +00:00
Conn Warwicker
3f36e1ca6a
MDL-77713 question: List question versions with most recent on top.
This makes the display of question versions consistent between
question preview and when users are building quizzes.
2024-12-05 11:17:06 +00:00
Huong Nguyen
0f7c41d664
MDL-83921 competency: Update unit tests with latest changes 2024-12-05 18:36:49 +08:00
Huong Nguyen
17552d4785
MDL-83606 Question bank: Fix PHPUnit failures 2024-12-05 15:31:57 +07:00
Huong Nguyen
bef45583cc
MDL-82379 core_user: Move email change token to user private access key 2024-12-05 13:37:56 +08:00
Huong Nguyen
488da643c6
Merge branch 'MDL-83606-master' of https://github.com/NashTechOpenUniversity/moodle 2024-12-05 12:09:24 +07:00
Huong Nguyen
376a4b5f76
Merge branch 'MDL-83345' of https://github.com/paulholden/moodle 2024-12-05 12:05:12 +07:00
Huong Nguyen
8a72d26558
Merge branch 'MDL-83396-main' of https://github.com/davewoloszyn/moodle 2024-12-05 11:54:48 +07:00
Huong Nguyen
076a519d97
Merge branch 'MDL-83852-web-install-fatal-error' of https://github.com/x-iy/moodle 2024-12-05 11:49:11 +07:00
Huong Nguyen
3da0c8952e
Merge branch 'MDL-83836-main' of https://github.com/davewoloszyn/moodle 2024-12-05 11:43:56 +07:00
Jun Pataleta
e9cded4559
Merge branch 'MDL-83727-master' of https://github.com/NashTechOpenUniversity/moodle 2024-12-05 12:35:52 +08:00
Huong Nguyen
b07c5f48cb
Merge branch 'MDL-83641' of https://github.com/paulholden/moodle 2024-12-05 11:29:03 +07:00
Huong Nguyen
a89646e0fa
MDL-83921 competency: Bump version 2024-12-05 11:19:53 +07:00
Michael Hawkins
950a829a31
MDL-83921 competency: Match web service capability check with page check 2024-12-05 11:18:58 +07:00
Jun Pataleta
51be71b1bf
Merge branch 'MDL-83823-main-enfix' of https://github.com/mudrd8mz/moodle 2024-12-05 11:48:34 +08:00
Huong Nguyen
199fd9a02b
Merge branch 'MDL-83584-main' of https://github.com/sammarshallou/moodle 2024-12-05 10:12:24 +07:00
Huong Nguyen
3eb413343e
Merge branch 'MDL-83223-main' of https://github.com/meirzamoodle/moodle 2024-12-05 10:08:19 +07:00
Huong Nguyen
016ae54134
MDL-82963 Tag: Improve validation for users tagged with sepecified tag 2024-12-05 11:01:56 +08:00
Jun Pataleta
eb67b65de1
Merge branch 'MDL-83844' of https://github.com/paulholden/moodle 2024-12-05 10:35:28 +08:00
Huong Nguyen
67bd6ce06a
Merge branch 'MDL-82946-main-fix' of https://github.com/lameze/moodle 2024-12-05 09:00:34 +07:00
Jun Pataleta
feeca026ae
Merge branch 'MDL-83710' of https://github.com/paulholden/moodle 2024-12-05 09:55:03 +08:00
Simey Lameze
80a26532bb MDL-82946 behat: use existing questions to validate bulk delete
This commit also changes the question names to something more logical
2024-12-05 08:27:23 +08:00
Mark Johnson
e347532af4
MDL-83883 datafilter: Fix initial state of binary filter
When a filter is added to a page after the initial page load, no
initialValues are passed, so we need to set a default value.
2024-12-04 11:21:01 +00:00
David Woloszyn
c54de57c74 MDL-83005 tool_usertours: Fixed animating scroll on Boost tours 2024-12-04 16:12:30 +11:00
David Woloszyn
0d8707517d MDL-83005 tool_usertours: Correct user tour highlighting bugs
This way of highlighting user tour content removes the need to
juggle z-index. It also resolves the problem of cloning the target
element into a separate container and breaking styling.
2024-12-04 15:44:39 +11:00
meirzamoodle
48e652623d MDL-83223 core: Use capture with addEventListener to intercept events
The issue is that Bootstrap’s dropdown component likely stops
event propagation after the first click to manage its own
dropdown behavior. This prevents your click event handler from
running on subsequent clicks.

To fix this, we can handle the event before Bootstrap’s code stops
the propagation by using capture option with addEventListener.
2024-12-04 10:35:36 +07:00
Laurent David
5f4c55e16a MDL-82757 mod_data: Improve group access handling
* Improved handling of group access to ensure correct visibility of records.
2024-12-04 02:44:22 +00:00
Jun Pataleta
cf5e586d03 MDL-61316 core: Fix session gc unit tests 2024-12-04 02:44:22 +00:00
meirzamoodle
cacf7546b9 MDL-61316 core: Removed 5x multiplier from guest session expiration 2024-12-04 02:44:22 +00:00
Mark Johnson
d0fb2d5cac MDL-83357 question: Fix filter cleaning in page links 2024-12-04 02:44:22 +00:00
Mark Johnson
c5f78e9bd3 MDL-83357 question: Additional cleaning of filter params 2024-12-04 02:44:22 +00:00
Huong Nguyen
0ff35dc282
Merge branch 'MDL-82946-main' of https://github.com/lameze/moodle 2024-12-04 09:39:10 +07:00