Commit graph

116395 commits

Author SHA1 Message Date
Mark Johnson
9118a619c6
MDL-75610 theme: Allow the activity title in Boost theme's secure layout 2024-11-15 08:31:29 +00:00
Mark Johnson
dd25891bda
MDL-75610 output: Fix title display logic in activity header
The display logic for including the title in the activity header was
such that the title would only display if both the theme default and the
layout option for 'notitle' were undefined or false. It was not possible
to a theme to have 'notitle' default to true, but have a layout override
that as false to display the title.

This change re-writes the is_title_allowed method to encapsulte the new
logic, first checking if the current layout has the option set and using
that, and if not falling back to the theme default if that is set. If
neither is set, the title is displayed.

This also tweaks moodle_page::magic_get_layout_options to ensure the
theme is initialised before trying to return the layout options.
2024-11-15 08:31:29 +00:00
Jun Pataleta
ef63c4cefd
Merge branch 'MDL-82877' of https://github.com/paulholden/moodle 2024-11-15 13:31:22 +08:00
Andrew Nicols
5a86d3178a
MDL-81521 mod_quiz: Update coding style of impacted tests 2024-11-15 12:50:56 +08:00
Andrew Nicols
9adfbcde4e
MDL-81521 mod_quiz: Fix attempt walkthrough tests 2024-11-15 12:50:56 +08:00
Andrew Nicols
a6acb015a3
MDL-81521 core: Update all possibly data providers to be static
Note: Some data providers could not be automatically be converted to
being static. These will be handled in a separate issue.
2024-11-15 12:50:55 +08:00
Huong Nguyen
269a8a8a1b
weekly release 5.0dev 2024-11-15 09:21:08 +07:00
Huong Nguyen
093a2034b6
NOBUG: Add upgrade notes 2024-11-15 09:21:07 +07:00
Jun Pataleta
1b7b12140b
Merge branch 'MDL-81285' of https://github.com/paulholden/moodle 2024-11-14 12:18:26 +08:00
Huong Nguyen
6c14a8aa86
MDL-81509 tasks: Fix upgrade note 2024-11-14 11:08:57 +07:00
Huong Nguyen
94568bc5e0
Merge branch 'MDL-81509_final-deprecation-of-task_base-is_blocking-and-set_blocking' of https://github.com/ziegenberg/moodle 2024-11-14 11:07:45 +07:00
Jun Pataleta
90af0ec61e
Merge branch 'MDL-80926-main' of https://github.com/lameze/moodle 2024-11-14 12:06:42 +08:00
Huong Nguyen
cbc68e95ad
MDL-78890 gradereport_grader: Fix upgrade note 2024-11-14 11:04:13 +07:00
Huong Nguyen
123e29201c
Merge branch 'MDL-78890-main' of https://github.com/mihailges/moodle 2024-11-14 11:03:10 +07:00
Huong Nguyen
1c67e24a85
Merge branch 'MDL-83095_final-deprecation-of-functions-in-block_tag_youtube' of https://github.com/ziegenberg/moodle 2024-11-14 10:45:47 +07:00
Huong Nguyen
29d873b02c
Merge branch 'MDL-79165-main' of https://github.com/daledavies/moodle 2024-11-14 10:22:53 +07:00
Dale Davies
47ba008504
MDL-79165 cachestore_file: Add igbinary serializer option
AMOS BEGIN
 CPY [serializer_igbinary,cachestore_redis],[serializer_igbinary,cachestore_file]
 CPY [serializer_php,cachestore_redis],[serializer_php,cachestore_file]
AMOS END
2024-11-14 10:22:37 +07:00
Jun Pataleta
55fbe740ab
Merge branch 'MDL-74836_main' of https://github.com/marxjohnson/moodle 2024-11-14 10:46:00 +08:00
Huong Nguyen
43784b0d98
Merge branch 'MDL-46739_main' of https://github.com/marxjohnson/moodle 2024-11-14 09:26:43 +07:00
James C
e85338bfee MDL-82762 course: Prevent "undefined" being added to course index 2024-11-14 10:15:26 +13:00
Paul Holden
01b145a5bb
MDL-83710 report_questioninstances: fix missing type query params. 2024-11-13 21:14:46 +00:00
James C
e43c5eaf6b MDL-72526 course: Make course format output stuff protected, not private 2024-11-14 10:03:44 +13:00
Wiktor Wandachowicz
6f0b5dec12 MDL-83048 mod_quiz: Fixed use of grade_out_of and plugin renderer 2024-11-13 16:58:10 +00:00
Huong Nguyen
a97260296d
Merge branch 'MDL-83185-main' of https://github.com/laurentdavid/moodle 2024-11-13 14:25:42 +07:00
Paul Holden
a42e43ba55
MDL-82450 tool_task: format fail delay in scheduled tasks list. 2024-11-13 07:13:29 +00:00
Huong Nguyen
86908e8aa9
Merge branch 'MDL-80689' of https://github.com/timhunt/moodle 2024-11-13 14:00:25 +07:00
Andrew Nicols
6f3ef90044
MDL-83704 core: Stop loading subplugins files to uninstall
The list of subplugin types was loaded from the json/php subplugins
file, but then the actual list of subplugins was loaded from the cache
in the component, rendering any benefit of using the source json/php as
pointless.
2024-11-13 10:23:27 +08:00
Andrew Nicols
0a4c1aab08
MDL-83704 core: Stop loading subplugins files to fetch caps
This information is heavily cached in the component class. This should
be used wherever possible rather than checking on disk.
2024-11-13 10:14:38 +08:00
Simey Lameze
b3d718147d MDL-83643 behat: make manual completion scenario names unique 2024-11-13 07:16:20 +08:00
Simey Lameze
9a3abb9148 MDL-83551 behat: make duplicated scenario names unique 2024-11-13 06:48:44 +08:00
ferran
b0683da877 MDL-82349 core_courseformat: new get_generic_section_name method
The string "sectionname" was an unnecessary coupling between
formats and other plugins. Now the generic name for a section
should be obtained using $format->get_generic_section_name.
This allow formats to use an alternative string for nameing
sections. This is especially important for rare formats like
the frontpage one that does not have a plugin lang file.
2024-11-12 12:22:25 +01:00
ferranrecio
0d04567882 MDL-82349 course: fix guest access to course 2024-11-12 12:21:55 +01:00
ferranrecio
cccacbdc04 MDL-82349 course: add frontpage behats 2024-11-12 12:21:55 +01:00
ferranrecio
a5ba68c97f MDL-82349 block_site_main_menu: fix behats 2024-11-12 12:21:55 +01:00
ferranrecio
2f13ffcfb1 MDL-82349 courseformat: add reactivity to main menu block 2024-11-12 12:02:16 +01:00
ferranrecio
c5133ddc47 MDL-82349 courseformat: add reactivity to frontpage topic 2024-11-12 12:02:16 +01:00
ferranrecio
c6a9177252 MDL-82349 core_courseformat: fix home section zero name 2024-11-12 12:02:16 +01:00
Paul Holden
22667ab397
MDL-82589 task: link to task logs report from failure notification. 2024-11-11 16:47:35 +00:00
Paul Holden
949dd966d0
MDL-83686 task: restore behaviour for custom report task name column.
The linked task name column was only required for the system report
and broke aggregation/grouping when used within a custom report, so
fix that.
2024-11-11 16:07:32 +00:00
Nexterday
cb13bba9b6
MDL-74836 theme: Display activity header on secure layouts 2024-11-11 15:14:03 +00:00
Laurent David
fbe420fc26 MDL-83185 core_courseformat: Refresh cache on group change
* When we add users to a group (or remove them), we should refresh
the course index cache so it stays in sync with what the user
can actually see.
2024-11-11 13:17:27 +01:00
ferran
1f7faa941b MDL-83185 core_courseformat: Allow global state cache invalidation 2024-11-11 13:17:26 +01:00
Tim Hunt
8f9b57d5d3
MDL-46739 user preferences: change value column to TEXT.
Other similar columns config.value and config_plugins.value are TEXT, so
it is surprising that this column is different, and that has lead to
bugs in the past, so we should make it consistent.
2024-11-11 11:33:52 +00:00
Philipp Memmel
5cceeccca5 MDL-82932 mod_data: Fix export with userdata of deleted users 2024-11-11 12:33:35 +01:00
Jun Pataleta
5b2b63c349
Merge branch 'MDL-79679_upgrade-constant-time' of https://github.com/ziegenberg/moodle 2024-11-11 11:47:47 +08:00
Huong Nguyen
07c33f409f
Merge branch 'MDL-81230_remove-deprecated-adhoc-tasks-in-BBB' of https://github.com/ziegenberg/moodle 2024-11-11 09:18:30 +07:00
Tim Hunt
09aacafb9e MDL-83653 file manager: report ajax errors
This is for things like when you click on a file, and then click on
the delete button, and an error happens then. Previously that was
ignored.
2024-11-08 17:12:57 +00:00
sam marshall
3a5a441373 MDL-83670 availability_group: With hidden groups, can throw warning 2024-11-08 11:57:12 +00:00
Daniel Ziegenberg
064e809e88
MDL-83095 block_tag_youtube: Final remove of deprecated methods
Finale removal of block_tag_youtube::fetch_request() and
block_tag_youtube::render_video_list(). The functions where never meant
to be called from external, so removing them entirely.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-11-08 11:23:16 +01:00
Paul Holden
fae40c06e5
MDL-81285 factor_webauthn: inform user on failed key registration. 2024-11-08 10:13:06 +00:00