116198 Commits

Author SHA1 Message Date
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
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
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
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
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
Jun Pataleta
94b89dd9d4
Merge branch 'MDL-83290-main' of https://github.com/meirzamoodle/moodle 2024-11-21 11:46:08 +08:00
Andrew Nicols
d2c5ae9f75
Merge branch 'MDL-83226' of https://github.com/paulholden/moodle 2024-11-21 11:44:32 +08:00
Jun Pataleta
e5a241a02c
Merge branch 'MDL-71257-main' of https://github.com/junpataleta/moodle 2024-11-21 11:33:32 +08:00
David Woloszyn
2be5e7e18d
MDL-71257 dml: Rename master/slave to primary/replica 2024-11-21 11:17:51 +08:00
Andrew Nicols
3d24572e55
Merge branch 'MDL-83391-main' of https://github.com/cwarwicker/moodle 2024-11-21 10:51:52 +08:00
Conn Warwicker
5dc79c468d MDL-82584 mod_workshop: Refactor DB queries
Refactor workshop participant queries to improve performance.

This commit refactors how the authors/reviewers selectors are done in
mod_workshop. Previously this was trying to do all the work within SQL
so querying user roles and capabilities, with massive UNIONS for each
group on the course, which on big courses lead to SQL thousands of
lines long which broke the page, or took 5+ minutes to load.

This has been refactored to try and query only what is required
and then do capability checks within code instead of SQL.
2024-11-20 15:04:35 +00:00
Paul Holden
2770dd65f1
Merge branch 'MDL-83570-main-fix' of https://github.com/junpataleta/moodle into main 2024-11-20 12:28:49 +00:00
Jun Pataleta
7f122657cf
MDL-83570 tiny_recordrtc: Use the correct upgrade_plugin_savepoint()
And move the release upgrade line comment before the upgrade step.
2024-11-20 18:06:32 +08:00
Huong Nguyen
3b2311a4c3
Merge branch 'MDL-83570-main' of https://github.com/meirzamoodle/moodle 2024-11-20 16:10:57 +07:00
Jun Pataleta
d5190768cb
Merge branch 'MDL-72077-ro-debug' of https://github.com/catalyst/moodle 2024-11-20 15:24:47 +08:00
meirzamoodle
392ed9c627 MDL-83570 tiny_recordrtc: Turn the audio bitrate input to Select field
The current code may have a bug. If users set the audio bit rate to
a non-supported value, such as 1000,
Firefox will display an error in the console,
while Chrome will create the recorded audio file successfully,
but it will have no sound. I tested this on Ubuntu 24.04.

The minimum bit rate threshold varies depending on the audio format.
During my tests with Firefox version 131.0.3, which uses
the audio/Ogg format, I found that the minimum supported value
is 24000. In Chrome 129.0.6668.70, which uses the audio/MP4 format,
the minimum supported value is 2400.

Due to these differences, I decided to change the input from
a text field to a select field, offering options that support both
Ogg and MP4 audio formats.

The database conversion for the old value has been provided in
the lib/db/upgrade.php. The script will find the closest match to
the current data and update it accordingly.
2024-11-20 09:59:14 +07:00
Huong Nguyen
68fd46d625
Merge branch 'MDL-83513-main' of https://github.com/roland04/moodle 2024-11-20 09:00:27 +07:00
Jun Pataleta
fcb39d60a9
Merge branch 'MDL-81521-main' of https://github.com/andrewnicols/moodle 2024-11-19 15:15:17 +08:00
Huong Nguyen
c6353ef018
Merge branch 'MDL-81823-main' of https://github.com/roland04/moodle 2024-11-19 10:28:33 +07:00
Huong Nguyen
5c7588552c
Merge branch 'MDL-77065' of https://github.com/paulholden/moodle 2024-11-19 10:18:50 +07:00
Huong Nguyen
155c4bd1e8
Merge branch 'MDL-82349-main-v03' of https://github.com/ferranrecio/moodle 2024-11-19 09:51:54 +07:00
Huong Nguyen
7a9bd90e2c
Merge branch 'MDL-83610' of https://github.com/marinaglancy/moodle 2024-11-19 09:27:55 +07:00
Mikel Martín
7aee0a3aaa MDL-83513 theme_boost: Remove mediumwidth layout size 2024-11-18 16:21:49 +01:00
Jun Pataleta
d88d8d902d
MDL-83747 mod_data: Add accessible name for delcheck checkboxes 2024-11-18 19:38:40 +08:00
Marina Glancy
947684505e MDL-83610 behat: allow to set date fields in groups 2024-11-18 10:36:38 +00:00
Simon Adams
a0cf3d2da5 MDL-71378 core_question & mod_quiz: Refactor deprecated contexts 2024-11-18 10:22:59 +00:00
Simon Adams
5955868d3d MDL-71378 mod_quiz: Add pill badge to question slot template 2024-11-18 10:22:59 +00:00