113257 Commits

Author SHA1 Message Date
Ilya Tregubov
b47c590e10 Merge branch 'MDL-78370-main' of https://github.com/junpataleta/moodle 2024-04-04 14:17:15 +08:00
Andrew Nicols
8d472234f8
NOBUG: mod_h5pactivity - Version bump after rewrite 2024-04-04 10:36:04 +08:00
Huong Nguyen
857fe04b95
Merge branch 'MDL-79131-main' of https://github.com/raortegar/moodle 2024-04-04 10:31:46 +08:00
Ilya Tregubov
ddc1c5ee9a
Merge branch 'MDL-81144-main' of https://github.com/andrewnicols/moodle 2024-04-04 10:30:37 +08:00
Ilya Tregubov
28e441aee1 Merge branch 'MDL-73975-main' of https://github.com/sarjona/moodle 2024-04-04 08:54:12 +08:00
Sara Arjona
3ec6cab881
Merge branch 'MDL-80765-main' of https://github.com/laurentdavid/moodle 2024-04-03 17:18:42 +02:00
Sara Arjona
e1ca397f5a
Merge branch 'MDL-81419-main' of https://github.com/andrewnicols/moodle 2024-04-03 17:15:59 +02:00
Huong Nguyen
dcd753fd37
MDL-81393 atto: Disable mediaplugin filter for Behat test 2024-04-03 18:11:22 +07:00
Andrew Nicols
794c62db58
MDL-81419 core: Ensure that frames exist before checking them 2024-04-03 15:56:08 +08:00
raortegar
29e7de043e MDL-79131 core: Version bump 2024-04-03 09:09:23 +02:00
raortegar
d9f4cc11b8 MDL-79131 core: Add test for max fail delay in scheduled and adhoc task 2024-04-03 09:08:50 +02:00
raortegar
5488908538 MDL-79131 core: Hook listener callback for failed_task_max_delay 2024-04-03 09:08:50 +02:00
raortegar
10ecfa731d MDL-79131 core: Dispatch the new Hook 2024-04-03 09:08:50 +02:00
raortegar
abefcdb09a MDL-79131 core: Added new Hook instance for task failed max delay 2024-04-03 09:08:50 +02:00
raortegar
cc6316368e MDL-79131 core: Added failed task message notification 2024-04-03 09:08:50 +02:00
Shamim Rezaie
e02006b96e Merge branch 'MDL-81393-main' of https://github.com/HuongNV13/moodle 2024-04-03 16:37:43 +11:00
Andrew Nicols
412fae4792
Merge branch 'MDL-80818-main' of https://github.com/aanabit/moodle 2024-04-03 13:02:40 +08:00
Andrew Nicols
14ca464910
Merge branch 'MDL-80397-main' of https://github.com/roland04/moodle 2024-04-03 12:53:03 +08:00
Huong Nguyen
8cd8838acd
Merge branch 'MDL-80838-main' of https://github.com/andrewnicols/moodle 2024-04-03 10:05:42 +07:00
Huong Nguyen
ec5d23b450
Merge branch 'MDL-81326-main' of https://github.com/sarjona/moodle 2024-04-03 09:16:02 +07:00
Huong Nguyen
db360850b9
Merge branch 'MDL-77779-main' of https://github.com/ilyatregubov/moodle 2024-04-03 09:12:13 +07:00
Huong Nguyen
5c1319b0e8
Merge branch 'MDL-81300-main' of https://github.com/roland04/moodle 2024-04-03 09:06:36 +07:00
Huong Nguyen
dfc198c928
Merge branch 'MDL-77838' of https://github.com/paulholden/moodle 2024-04-03 08:52:03 +07:00
Sara Arjona
2cfb5b8efe
MDL-81326 mod_book: Deprecate book_get_nav_classes
While reviewing MDL-72376, I realised book_get_nav_classes is not
used anymore in Moodle LMS since Moodle 4.0 so it should be deprecated
Probably it should have been deprecated together with book_get_nav_types.
2024-04-02 17:11:23 +02:00
Sara Arjona
c188ec80be
MDL-73975 course: Remove course_search_form template
The template core_course/course_search_form has been removed following
its cessation of use upon MDL-69454 in Moodle 3.11.
2024-04-02 16:47:24 +02:00
Sara Arjona
8efe31ee96
MDL-73975 course: Final deprecation methods in management_renderer
Final deprecation for management_heading() and course_search_form()
in core_course_management_renderer.
2024-04-02 16:42:31 +02:00
Sara Arjona
4da813d35e
on-demand release 4.4dev+ 2024-04-02 14:47:08 +02:00
Andrew Nicols
d1613e331f Merge branch 'MDL-79712-main' of https://github.com/snake/moodle 2024-04-02 17:43:42 +11:00
Huong Nguyen
07680ea817 Merge branch 'MDL-81366-main' of https://github.com/meirzamoodle/moodle 2024-04-02 17:43:42 +11:00
Ilya Tregubov
a6047e0fbb Merge branch 'MDL-79959-repo-equella-sso-identification' of https://github.com/gbarat87/moodle 2024-04-02 17:43:41 +11:00
Laurent David
d8f1091a03 MDL-80765 mod_data: Trim values on field update
* When creating a field we usually trim values, so we should
do the same on field update
2024-04-02 05:41:14 +02:00
Jake Dallimore
30e2af60f1
MDL-79712 auth_lti: ensure MoodleSession uses SameSite=None Secure
The MoodleSession cookie is already set this way when using Chrome, but
not for Firefox. This is a decision made in \core\session\manager. When
Firefox eventually defaults to SameSite=Lax when the SameSite attribute
is omitted from the Set-Cookie headers, the MoodleSession cookie won't
be sent. This change ensures the cookies used during LTI launches will
continue to work if/when this happens, and despite any changes which may
be made to core's sessionlib in future.
2024-04-02 11:38:40 +08:00
Huong Nguyen
db01ae4d9d
MDL-81393 media_videojs: Switch to use Ogv.Js tech for Chrome 2024-04-02 10:24:32 +07:00
Andrew Nicols
1eef3605cc
MDL-80838 mod_forum: Use \core\clock for forum generators 2024-04-02 10:52:33 +08:00
Andrew Nicols
298c13ac3b
MDL-80838 core: Add PSR-20/Clock support
This commit adds the PSR-20 ClockInterface to core, with a
moodle-specific extension to the Interface at `\core\clock`, and a
standard clock at `\core\system_clock`.

Further clocks are provided as `\incrementing_clock` and `\frozen_clock`
which are available to unit tests using:

- `$this->mock_clock_with_incrementing(?int $starttime = null);`
- `$this->mock_clock_with_frozen(?int $time = null);`

For the incrementing clock, every call to fetch the time will bump the
current time by one second.

For the frozen clock the time will not change, but can be modified with:
- `$clock->set_to(int $time);`; and
- `$clock->bump(int $seconds = 1);`
2024-04-02 10:24:54 +08:00
Andrew Nicols
9bd3228d69
MDL-81144 core: Standardise init of standard_head_html_prepend hook 2024-04-02 10:23:44 +08:00
Andrew Nicols
305248f41d
MDL-81144 core: Convert before_http_headers 2024-04-02 10:23:44 +08:00
Andrew Nicols
679001e729
MDL-81144 core: Convert before_footer to hook 2024-04-02 10:23:44 +08:00
Andrew Nicols
e4a8ed5cc2
MDL-81144 core: Convert standard_after_main_region_html to hook 2024-04-02 10:23:43 +08:00
Andrew Nicols
ecd5274e74
MDL-81144 core: Convert add_htmlattributes to hook 2024-04-02 10:23:42 +08:00
Andrew Nicols
6ad9f2606f
MDL-81144 tool_mobile: Standarise hook locations 2024-04-02 10:23:42 +08:00
Andrew Nicols
e3f2b03685
MDL-81144 core: Migrate non-hook footer usages 2024-04-02 10:23:41 +08:00
Andrew Nicols
770e6b49f4
MDL-81144 core: Convert standard_footer_html to hook 2024-04-02 10:23:41 +08:00
Andrew Nicols
3105ea7dc2
MDL-81144 core: Convert before_standard_top_of_body_html to hook 2024-04-02 10:23:41 +08:00
Huong Nguyen
10e1504135
Merge branch 'MDL-81315-main' of https://github.com/mihailges/moodle 2024-04-01 10:14:06 +07:00
Huong Nguyen
1417cbb65a
Merge branch 'MDL-81347-main' of https://github.com/roland04/moodle 2024-03-29 15:51:47 +07:00
Huong Nguyen
e084be6526
Merge branch 'main_MDL-81154' of https://github.com/mattporritt/moodle 2024-03-28 14:46:37 +07:00
Huong Nguyen
61c8cdaf11
Merge branch 'MDL-81365-main' of https://github.com/ilyatregubov/moodle 2024-03-28 14:31:16 +07:00
Matt Porritt
6d3d498362 MDL-81154 Administration: Remove Moodle Services page
This commit effectively reverts MDL-63153.
Calls to action in the UI for other products or marketing
should link directly to the corresponding services in moodle.com
rather than trying to replicate parts of it in LMS.
2024-03-28 16:57:50 +11:00
Huong Nguyen
1320a2a397
Merge branch 'main_MDL-81172' of https://github.com/mattporritt/moodle 2024-03-28 11:46:51 +07:00