Commit Graph

3248 Commits

Author SHA1 Message Date
Huong Nguyen 199fd9a02b Merge branch 'MDL-83584-main' of https://github.com/sammarshallou/moodle 2024-12-05 10:12:24 +07:00
meirzamoodle cacf7546b9 MDL-61316 core: Removed 5x multiplier from guest session expiration 2024-12-04 02:44:22 +00:00
Huong Nguyen 3ffaddc136 Merge branch 'MDL-83128' of https://github.com/paulholden/moodle 2024-12-03 09:31:54 +07:00
Paul Holden 430020f3ba MDL-83128 blocks: consistently style/align block list icons. 2024-12-02 09:25:16 +00:00
Shamim Rezaie 17201694ef Merge branch 'MDL-75610_main' of https://github.com/marxjohnson/moodle 2024-12-02 15:23:23 +11:00
Huong Nguyen 7fd11604da Merge branch 'MDL-81821-main' of https://github.com/roland04/moodle 2024-11-28 13:23:54 +08:00
Jun Pataleta 0069dde1d9 Merge branch 'MDL-83412-main' of https://github.com/junpataleta/moodle 2024-11-28 13:23:53 +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
Mikel Martín 636ab0fba9 MDL-81821 theme_boost: Refactor font utility classes for BS5 2024-11-26 15:17:30 +01: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
Andrew Nicols 305952533d Merge branch 'MDL-82589' of https://github.com/paulholden/moodle 2024-11-22 10:50:48 +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
Simon Adams a0cf3d2da5 MDL-71378 core_question & mod_quiz: Refactor deprecated contexts 2024-11-18 10:22:59 +00:00
Simon Adams 776d1e40e4 MDL-71378 mod_qbank: Add question bank management 2024-11-15 15:18:47 +00:00
Simon Adams 78d73cc9b7 MDL-71378 mod_qbank: Add initial plugin structure 2024-11-15 15:18:46 +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
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
Huong Nguyen 43784b0d98 Merge branch 'MDL-46739_main' of https://github.com/marxjohnson/moodle 2024-11-14 09:26:43 +07: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
Paul Holden 22667ab397 MDL-82589 task: link to task logs report from failure notification. 2024-11-11 16:47:35 +00: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
Daniel Ziegenberg c14810e7d1 MDL-81509 tasks: Final deprecation of blocking tasks
Final deprecation of task_base::is_blocking and task_base::set_blocking.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-11-08 11:05:58 +01:00
sam marshall a1e6cc050a MDL-83584 report_log: Group filter can get list of all users in system 2024-11-07 09:38:33 +00:00
Huong Nguyen 3fedbab7d1 Merge branch 'MDL-83316-main' of https://github.com/lameze/moodle 2024-11-07 09:26:21 +07:00
sam marshall 152a37cb59 MDL-83316 Behat: New step allows system clock change 2024-11-06 13:59:09 +00:00
Jun Pataleta bf18f379f7 Merge branch 'MDL-83154-main' of https://github.com/davewoloszyn/moodle 2024-11-04 16:48:39 +08:00
Andrew Nicols b8c3c13467 MDL-82824 core: Order the PSR4 component list 2024-11-04 11:58:47 +08:00
Andrew Nicols a8c6201dbf MDL-82824 core: Correct thirdparty entry for slim 2024-11-04 11:52:10 +08:00
Andrew Nicols 670121daa3 MDL-82824 core: Add missing composer/PSR for various libs
Add missing aws-sdk composer.json
Add missing composer/PSR4 for SimplePie
Add missing composer/PSR4 for others
Add missing composer/PSR4 for markdown
Add missing composer/PSR4 for PHP-CSS-Parser
Add missing composer/PSR4 for Mustache
Add missing composer/PSR4 for RTLCSS
Add missing composer/PSR4 for SCSSPHP
Add missing composer/PSR4 for OpenSpout
Add missing composer/PSR4 for LTI
Add missing composer/PSR4 for GeoPattern
Add missing composer/PSR4 for CFPropertylist
Add missing composer/PSR4 for ZipStream
Add missing composer/PSR4 for PSR-20
Add missing composer/PSR4 for phpxmlrpc
Add missing composer/PSR4 for WebAuthn
2024-11-04 11:52:07 +08:00
Andrew Nicols 16bacf8134 MDL-82824 core: Add/correct missing autoload functions 2024-11-04 11:49:47 +08:00
Andrew Nicols 7fe199c58b MDL-82824 core: Standardise PSR-4 paths to remove trailing / 2024-11-04 11:49:47 +08:00
Andrew Nicols e918f86624 MDL-82824 core: Standardise MaxMind classes 2024-11-04 11:49:47 +08:00
David Woloszyn e4b39e764d MDL-83154 hub: Add model to AI usage data 2024-11-01 10:39:31 +11:00
Huong Nguyen 5c9cf0955f Merge branch 'MDL-63219v3-main' of https://github.com/michael-milette/moodle 2024-10-31 11:21:43 +07:00
Jun Pataleta 4319b82bfb Merge branch 'MDL-83477-main' of https://github.com/HuongNV13/moodle 2024-10-31 11:21:41 +07:00
Mikel Martín 93285b103c MDL-83477 output: Deprecate t/collapsedcaret icon 2024-10-22 09:28:27 +07:00
Marina Glancy 18067c8971 MDL-83504 user: reset preference cache in unittests 2024-10-21 17:58:50 +01:00
Jun Pataleta 659f7b1908 Merge branch 'MDL-83367' of https://github.com/dravek/moodle 2024-10-17 12:08:46 +08:00
Huong Nguyen b0c3652af6 Merge branch 'MDL-82580' of https://github.com/paulholden/moodle 2024-10-17 10:49:01 +07:00
David Carrillo 6fe29f7bc1 MDL-83367 tasks: Apply trim() to pathtophp setting
- It fixes the problem that when "pathtophp" setting is stored with
whitespaces, the "Run now" button will still show up in the tasks list,
but the task will never run
2024-10-07 08:15:19 +02:00
Sara Arjona 3f9087a161 Merge branch 'MDL-83318-main' of https://github.com/aanabit/moodle 2024-10-03 08:11:10 +02:00
Andrew Nicols 0d19dd6491 Merge branch 'MDL-83293-main' of https://github.com/junpataleta/moodle 2024-10-03 08:46:16 +08:00
Jun Pataleta f173a7026a MDL-83293 core: Fix path separator when guessing the base path
Ensure that path separator for the script when guessing the base path
uses forward slash instead of the OS' directory separator.
(e.g. "\" in Windows)
2024-10-03 08:01:30 +08:00
Amaia Anabitarte 76f84a929d MDL-83318 pix: Recover previous and next icons 2024-10-02 15:14:36 +02:00
meirzamoodle 3229dda3d6 MDL-83332 core: Revert the slashargument removal on MDL-62640
Removing the option causes issues on MacOS.
2024-10-02 18:36:14 +07:00
Huong Nguyen 838a9abb73 Merge branch 'MDL-82900-main' of https://github.com/mickhawkins/moodle 2024-10-01 11:40:37 +07:00
Michael Hawkins e50249fbea MDL-82900 AI: Update language strings 2024-10-01 12:33:38 +08:00
Michael Milette b2d59a0372 MDL-63219 Output: Enable filters in custom menus. 2024-09-30 18:12:20 -04:00