Commit graph

116395 commits

Author SHA1 Message Date
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
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
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
David Mudrák
ed0fffef85 MDL-83823 lang: Use the fixed strings in tests, too. 2024-12-03 20:08:25 +01:00
Paul Holden
8c1a4093b3
MDL-83345 reportbuilder: upgrade step to migrate existing filter data. 2024-12-03 16:42:36 +00:00
Paul Holden
f7e0e8cd96
MDL-83345 reportbuilder: migrate filter storage from user preferences.
Use a dedicated persistent table/model for storage of a users' report
filter configuration.
2024-12-03 16:42:35 +00:00
Sara Arjona
6a545b5fcc
Merge branch 'MDL-80303-main' of https://github.com/roland04/moodle 2024-12-03 15:55:50 +01:00
Sara Arjona
4023acad31
Merge branch 'MDL-83718-fix' of https://github.com/paulholden/moodle 2024-12-03 15:46:54 +01:00
Paul Holden
e76d99f29d
MDL-83718 reportbuilder: use aliased user fullname sort fields.
This is extending work started in 8f32e623 that removed duplicate
fields when sorting user fullname columns (to ensure compatibility
across supported DBs).

We must now refer to these sorted fields by their alias in order to
ensure they continue working when processed from the report table.

Co-authored-by: David Carrillo <davidmc@moodle.com>
2024-12-03 13:17:41 +00:00
Mikel Martín
c74102a3c6 MDL-80303 theme_boost: Clean and reorder course SCSS
- Reorder SCSS blocks to improve readability
- Clean comment style to improve readability
- Refactor some SCSS blocks
- Move some styles from core.scss to course.scss
2024-12-03 10:57:29 +01:00
Mikel Martín
195b14b3d9 MDL-80303 theme_boost: Remove unused/unneded course SCSS
- Remove unused/unneeded styles in course.scss
- The .activity-wrapper class and its related SCSS styles are not
needed anymore after MDL-77863 was integrated.
2024-12-03 10:57:29 +01:00
Mikel Martín
c0ba1ddfcb MDL-80303 theme_boost: Move non course related SCSS to other files
- Move course management SCSS to a new coursemanagement.scss file
- Move course listings and summary SCSS to a new courselisting.scss file
- Move block related SCSS to blocks.scss
- Move classic specific styles to theme_classic
- Move non-course specific styles to core.scss file
2024-12-03 10:57:27 +01:00
Sara Arjona
8126ba71df
Merge branch 'MDL-83718-fix' of https://github.com/paulholden/moodle 2024-12-03 09:14:20 +01:00
Paul Holden
321e04d630
MDL-83718 tag: consistently sort "flagged" report entity column.
It contains only a calculated boolean field, and should be sorted
as such.
2024-12-03 07:27:22 +00:00
Angelia Dela Cruz
192fc6882e MDL-82946 qbank: Behat coverage for questions bulk actions 2024-12-03 11:36:49 +08:00
Huong Nguyen
c0f349c034
Merge branch 'MDL-83718' of https://github.com/paulholden/moodle 2024-12-03 10:05:33 +07:00
Huong Nguyen
bc89603638
Merge branch 'MDL-82913' of https://github.com/paulholden/moodle 2024-12-03 09:45:32 +07:00
Huong Nguyen
3ffaddc136
Merge branch 'MDL-83128' of https://github.com/paulholden/moodle 2024-12-03 09:31:54 +07:00
david adamson
7d82486029 MDL-83852 core: Fix web install fatal error 2024-12-03 13:07:32 +11:00
Helen Foster
9f1293b10d MDL-83823 lang: Import fixed English strings (en_fix) 2024-12-02 21:25:01 +01:00