116389 Commits

Author SHA1 Message Date
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
Mark Johnson
58efdf8871
MDL-82657 qbank_managecategories: Check "includesubcategories" on reload
The "includesubcategories" parameter is passed in the URL as lowercase,
but the Javascript was looking for "includeSubcategories" in camel case.
This meant it was always being set as false (unchecked) even when the
URL said it was true.

This fixes the casing in the Javascript, and adds a behat test to
confirm the fix.
2024-11-26 13:37:57 +00: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
Khoa Nguyen
69fc9048bf MDL-83606 Question bank: Delete questions to fit one page causes errors. 2024-11-26 11:15:56 +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
Amaia Anabitarte
bf4f930773 MDL-83783 core_course: Make activity chooser button ids unique 2024-11-25 14:37:46 +01:00
Mikel Martín
b873a345bb MDL-83759 theme_boost: Fix user navigation items height 2024-11-25 12:08:10 +01:00
Amaia Anabitarte
48df296967 MDL-83733 blocks: 'Activity' non used selectors had been deleted 2024-11-25 11:55:39 +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
Huong Nguyen
6ef15493a2
Merge branch 'MDL-83704-main' of https://github.com/andrewnicols/moodle 2024-11-25 10:15:21 +07:00
Huong Nguyen
a4f859f5ea
Merge branch 'MDL-82351-main-v02' of https://github.com/ferranrecio/moodle 2024-11-25 09:28:40 +07:00
ferran
694edcf76b MDL-82351 core_courseformat: fix social format phpunits 2024-11-22 17:20:55 +01:00
ferranrecio
ab5b390a77 MDL-82351 block_social_activities: migrate to reactive course editor
This commit integrate and clean the social activities block to use the
standard course format outputs and the course editor modules. The code
is similar to the one used in the site_main_menu block and cleanup most
of the ancient code.
2024-11-22 17:20:55 +01:00
ferranrecio
8be3db6de2 MDL-82351 format_social: migrate to reactive course editor
The commit adds all the necessary methods to allow social format to use
the course editor. The code is similar to the one used in the frontpage
format. The commit does not include the migration of the
social_activities blocks.
2024-11-22 17:20:55 +01:00
ferranrecio
fa1296a7a4 MDL-82351 courseformat: allow blocks to use the course editor
Some formats like the social need the blocks and drawers to access the
course editor. However, the include_course_ajax was called after the
main page structure is created and produces some errors, especially in
behat. Now include_course_ajax is called before the page header.
2024-11-22 17:20:55 +01:00
ferranrecio
4053bd2139 MDL-82351 course: fix course_ajax_enabled function
The course_ajax_enabled was using a course_format_ajax_support which
does not initialize the course format with the correct parameters.
Having a global function to get something the format base format can
provide is unnecessary and redudant, for this reason the function is now
deprecated.
2024-11-22 17:20:55 +01:00
Paul Holden
466f6e88b5
MDL-63264 enrol: retrieve additional welcome message contact data.
The `maildisplay` field is required to determine from whom to send
the welcome message.

Co-authored-by: Zak Risha <zjrisha@gmail.com>
2024-11-22 16:17:39 +00:00
Paul Holden
dfcbfde2bb
MDL-83614 javascript: apply icon class to legacy lightbox spinner. 2024-11-22 16:13:24 +00:00
ferran
121f4ad5c5 MDL-83661 core_courseformat: fix drop file modal
When the user drags and drops a file into a course section that can
create more than one type of activity (for example a zip file) the modal
had repeated form elements ids. Now every radio option has its own id.
2024-11-22 17:12:13 +01:00
Jun Pataleta
9c206d1e72
MDL-83470 core: Bump version in phpcs.xml.dist 2024-11-22 23:48:22 +08:00
Jun Pataleta
dd4c741d76
MDL-83470 core: Update composer.json 2024-11-22 23:48:22 +08:00
Jun Pataleta
70b1f1d61f
MDL-83470 gha: Bump versions to the required values
For 5.0:
- Minimum PHP version is bumped to 8.2
- Minimum MySQL version is bumped to 8.4
- Minimum PostgreSQL version is bumped to 14
2024-11-22 23:48:22 +08:00
Jun Pataleta
18a3c3d186
MDL-83470 core: Define environment requirements for Moodle 5.0 2024-11-22 23:48:21 +08:00
Paul Holden
a0ef4bb8fe
MDL-82913 reportbuilder: simplify select filter for limited options.
Where the select filter contains upto two items (making it a binary
choice), then we can simplify the filter form elements to always
assume: "Equal to [ Option 1 | Option 2 ]".
2024-11-22 15:38:11 +00:00
Jun Pataleta
505a85eb9a
weekly release 5.0dev 2024-11-22 22:26:25 +08:00
Jun Pataleta
1a85875c34
NOBUG: Add upgrade notes 2024-11-22 22:26:24 +08:00
Andrew Nicols
4d961d28ff
Merge branch 'MDL-83551-main' of https://github.com/lameze/moodle 2024-11-22 10:50:48 +07:00
Andrew Nicols
305952533d
Merge branch 'MDL-82589' of https://github.com/paulholden/moodle 2024-11-22 10:50:48 +07:00
Huong Nguyen
32a31cbb3f
Merge branch 'MDL-83529-main' of https://github.com/sammarshallou/moodle 2024-11-22 10:50:48 +07:00
Andrew Nicols
a3db27263a
Merge branch 'MDL-82450' of https://github.com/paulholden/moodle 2024-11-22 10:50:48 +07:00
Huong Nguyen
1d35129541
Merge branch 'MDL-83747-main' of https://github.com/junpataleta/moodle 2024-11-22 10:50:48 +07:00
Huong Nguyen
c2af08a68b
Merge branch 'MDL-83048' of https://github.com/timhunt/moodle 2024-11-22 10:50:47 +07:00
Huong Nguyen
443871d320
Merge branch 'MDL-80430' of https://github.com/paulholden/moodle 2024-11-22 10:50:47 +07:00
Andrew Nicols
9781d5f392
MDL-83786 navigation: Correct incorrect paren in navfilter
This condition was checking whether navgfilter was true, and the
stringfilter was also true.

In most cases the condition will have actually worked correctly, albeit
by fluke. For users upgrading or otherwise missing the navfilter
configuration this condition led to warnings.
2024-11-22 08:36:17 +08:00
Paul Holden
b48cb6861e
MDL-83776 customfield_text: correct link field URL encoding. 2024-11-21 09:02:33 +00:00
Andrew Nicols
0ec23aca48
Merge branch 'MDL-83501-url-encode-nginx-paths' of https://github.com/rajandangi/moodle 2024-11-21 11:47:59 +08:00