116256 Commits

Author SHA1 Message Date
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
Sara Arjona
a798b1db39
weekly release 5.0dev 2024-11-29 12:36:42 +01:00
Sara Arjona
44a0f48a30
NOBUG: Add upgrade notes 2024-11-29 12:36:42 +01:00
Sara Arjona
7895cc4c0a
NOBUG: Fixed SVG browser compatibility 2024-11-29 12:36:28 +01:00
Jun Pataleta
5a70440260
MDL-83470 composer: Require behat/gherkin 4.9.0 for now
`behat/gherkin` 4.10.0 introduces a breaking change where backslashes
in feature files need to be escaped. We need to pin the Behat version
to 4.9.0 for now and raise a separate issue to update to the later
versions once we've fixed the affected feature files and communicated
this change to the community.

More details:
https://github.com/Behat/Gherkin/releases/tag/v4.10.0
2024-11-29 10:39:12 +07:00
Jun Pataleta
bce4b7fa2c
MDL-83470 environment: Put back Oracle support for now
Even though Oracle support is planned to be dropped for 5.0, the
actual issue that drops it (MDL-83172) has not yet landed. So, it's
better to keep this in environment.xml for now and defer its removal
from environment.xml in MDL-83172.
2024-11-28 16:04:31 +07:00
Jun Pataleta
719fea2752
MDL-83470 gha: Bump min PHP version to 8.2 for web installer workflow 2024-11-28 14:01:00 +07:00
Jun Pataleta
5d5cedc8ff
Merge branch 'MDL-82475' of https://github.com/paulholden/moodle 2024-11-28 13:23:55 +08:00
Huong Nguyen
711e58f1a4
Merge branch 'MDL-83776' of https://github.com/paulholden/moodle 2024-11-28 13:23:55 +08:00
Jun Pataleta
053a0b367b
Merge branch 'MDL-83614' of https://github.com/paulholden/moodle 2024-11-28 13:23:55 +08:00
Huong Nguyen
7fd11604da
Merge branch 'MDL-81821-main' of https://github.com/roland04/moodle 2024-11-28 13:23:54 +08:00
Huong Nguyen
c77fb0e6e0
Merge branch 'MDL-83473_main' of https://github.com/dasistwas/moodle 2024-11-28 13:23:54 +08:00
Huong Nguyen
4d530b5048
Merge branch 'MDL-81745-main' of https://github.com/roland04/moodle 2024-11-28 13:23:54 +08:00
Jun Pataleta
f491ab0ef8
Merge branch 'MDL-83759-main' of https://github.com/roland04/moodle 2024-11-28 13:23:54 +08:00
Huong Nguyen
3db0bb1436
Merge branch 'MDL-83811-main' of https://github.com/junpataleta/moodle 2024-11-28 13:23:53 +08:00
Jun Pataleta
0069dde1d9
Merge branch 'MDL-83412-main' of https://github.com/junpataleta/moodle 2024-11-28 13:23:53 +08:00
Huong Nguyen
d08c982135
Merge branch 'MDL-83470-main' of https://github.com/junpataleta/moodle 2024-11-28 13:23:53 +08:00
Jun Pataleta
17e8952015
MDL-83470 core: Bump versions in moodle_minimum_php_version_is_met() 2024-11-28 13:23:50 +08:00
Jun Pataleta
6bd4b3fd68
MDL-83412 core: Coding style fixes 2024-11-28 11:54:31 +08:00
Andrew Nicols
7cb2b0ca40
MDL-83412 calendartype_gregorian: Use core_date
Update timestamp_to_date_string to use core_date.
2024-11-28 11:47:30 +08:00
Andrew Nicols
941d0df29e
MDL-83412 core: Use LLL/LLLL for standalone Month names
We currently use MMM and MMMM which mean 'month in year', however in
some locales this is context-specific and should only be used in
conjunction with a day, for example "10 October 2024".

LLL and LLLL are for "stand-alone on the in year" and should be used
when a month is used without a day.
2024-11-28 11:46:35 +08:00
Huong Nguyen
376bcbe79f
Merge branch 'MDL-63264' of https://github.com/paulholden/moodle 2024-11-28 10:45:51 +07:00
Huong Nguyen
9bfa5c2b65
Merge branch 'MDL-83653' of https://github.com/timhunt/moodle 2024-11-28 10:21:07 +07:00
Huong Nguyen
d3a0d5c6cb
Merge branch 'MDL-82931-main' of https://github.com/PhMemmel/moodle 2024-11-28 09:43:30 +07:00
Huong Nguyen
2dd2c3db17
Merge branch 'MDL-83661-main' of https://github.com/ferranrecio/moodle 2024-11-28 09:38:49 +07:00
Huong Nguyen
282f9dc2ad
Merge branch 'MDL-82932-main' of https://github.com/PhMemmel/moodle 2024-11-28 09:27:45 +07:00
Huong Nguyen
8da8b20ff9
Merge branch 'MDL-83643-main' of https://github.com/lameze/moodle 2024-11-28 09:19:52 +07:00
Jun Pataleta
e84d95ed67
MDL-83811 dml: Make expected debugging message less specific
* Plus minor fixes for better unit test assertions
2024-11-28 10:03:42 +08:00
Jun Pataleta
134ae0ba57
Merge branch 'MDL-83211-main' of https://github.com/sammarshallou/moodle 2024-11-27 23:28:38 +08:00
Jun Pataleta
57529b2920
Merge branch 'MDL-83788-main' of https://github.com/andrewnicols/moodle 2024-11-27 16:19:22 +08:00
Huong Nguyen
8fc0a38df0
Merge branch 'mdl-72526_main' of https://github.com/james-cnz/moodle 2024-11-27 10:02:15 +07:00
Huong Nguyen
f27ba19f25
Merge branch 'MDL-83658-main' of https://github.com/praxisdigital/moodle 2024-11-27 09:50:48 +07:00
Jun Pataleta
4e22073a9b
MDL-83811 core: Make sure to trim leading backslashes too for Windows 2024-11-27 10:36:46 +08:00
Jun Pataleta
03729748d1
MDL-83470 core: Remove upgrade steps from 4.1 2024-11-27 10:27:09 +08:00
Andrew Nicols
324182ccef
MDL-83788 mod_glossary: Correct assertions for assertArrayHasKey 2024-11-27 13:26:01 +11:00
Mikel Martín
636ab0fba9 MDL-81821 theme_boost: Refactor font utility classes for BS5 2024-11-26 15:17:30 +01:00
Shamim Rezaie
1132cfcf44 Merge branch 'MDL-77957-main-test2' of https://github.com/rezaies/moodle 2024-11-26 20:56:42 +11:00
Bastian Schmidt-Kuhl
a202f297f1 MDL-77957 theme_boost: Fix drawer not closing on mobile if it has focus 2024-11-26 20:15:52 +11:00
jacob.viertel@wunderbyte.at
1773124a97 MDL-83473 course: hooks api for external courses 2024-11-26 09:11:45 +01:00
Jun Pataleta
b234e013bb
Merge branch 'MDL-82584-main-fix' of https://github.com/HuongNV13/moodle 2024-11-26 15:13:21 +08:00
Huong Nguyen
40630e1bd2
Merge branch 'mdl-82762_main_wip' of https://github.com/james-cnz/moodle 2024-11-26 12:10:17 +07:00
Huong Nguyen
ea4b1f8e7b
MDL-82584 mod_workshop: Correct DB select fields
We cannot use the `DISTINCT` CLOB fields on Oracle.
Instead of selecting all the fields, we just need
to select the needed fields only
2024-11-26 11:34:33 +07:00
Simon Adams
231d110dd9 MDL-71378 mod_quiz: Fix GROUP BY statement in SQL 2024-11-26 14:34:06 +11:00
Jun Pataleta
d3cabadd38
MDL-83811 gha: Replace redis-64 with redis 5.0 2024-11-26 01:06:13 +08:00
Mikel Martín
b873a345bb MDL-83759 theme_boost: Fix user navigation items height 2024-11-25 12:08:10 +01:00
Huong Nguyen
f29f2ad5d3
Merge branch 'MDL-82584-main' of https://github.com/cwarwicker/moodle 2024-11-25 16:05:06 +07:00
Shamim Rezaie
f72b4938ce MDL-71378 mod_qbank: fix version number 2024-11-25 18:38:59 +11:00
Huong Nguyen
86c1eaa4ef
Merge branch 'MDL-83786-main' of https://github.com/andrewnicols/moodle 2024-11-25 14:34:25 +07:00
Shamim Rezaie
0af9b5ca7e Merge branch 'MDL-71378_main' of https://github.com/SimonasAdams/moodle 2024-11-25 18:21:18 +11:00