32518 Commits

Author SHA1 Message Date
Safat
968897b653 MDL-78551 core_enrol: Add support for hooks api 2024-03-26 13:53:39 +11:00
Jake Dallimore
e97ce38e18
Merge branch 'MDL-80167-main-int' of https://github.com/HuongNV13/moodle 2024-03-15 12:54:24 +08:00
Jake Dallimore
93aa177f11
Merge branch 'MDL-81180-main' of https://github.com/andrewnicols/moodle 2024-03-15 10:27:51 +08:00
Huong Nguyen
699a0e9328 MDL-80167 core: Skip Oracle for Oracle environment in unit tests 2024-03-15 08:45:42 +07:00
Huong Nguyen
6a19d3289b MDL-80167 admin: Add environment check for Oracle database 2024-03-14 17:41:56 +07:00
Jun Pataleta
a0e333fb7c
Merge branch 'MDL-80896-main' of https://github.com/andrewnicols/moodle 2024-03-12 11:38:26 +08:00
Ilya Tregubov
6c9e011d32 Merge branch 'MDL-80991' of https://github.com/paulholden/moodle 2024-03-12 11:28:21 +08:00
Huong Nguyen
2bf5b05f5a Merge branch 'MDL-80958-main' of https://github.com/mickhawkins/moodle 2024-03-12 10:26:50 +07:00
Andrew Nicols
9cdc5850c5
Merge branch 'MDL-75952' of https://github.com/stronk7/moodle 2024-03-12 10:45:02 +08:00
Ilya Tregubov
5c0ad525b0 Merge branch 'MDL-81035-main' of https://github.com/HuongNV13/moodle 2024-03-12 10:40:26 +08:00
Andrew Nicols
08fce52dd3
Merge branch 'MDL-72438' of https://github.com/Chocolate-lightning/moodle 2024-03-12 10:36:37 +08:00
Jun Pataleta
70d4a925ac
Merge branch 'MDL-80677-main' of https://github.com/andrewnicols/moodle 2024-03-12 10:21:38 +08:00
Huong Nguyen
34bb16ab27 MDL-79769 core: Tidy up core/togglesensitive 2024-03-12 09:19:58 +07:00
Huong Nguyen
88dc0f5010 Merge branch 'MDL-79769-master' of https://github.com/davewoloszyn/moodle 2024-03-12 09:18:10 +07:00
Huong Nguyen
cb409b0cf0 Merge branch 'MDL-81124' of https://github.com/stronk7/moodle 2024-03-12 08:53:54 +07:00
Andrew Nicols
ad9322aba2
MDL-80677 core: Deprecation attribute can apply to interfaces and traits 2024-03-12 09:49:02 +08:00
Sara Arjona
b4ab5ae980
Merge branch 'MDL-79673' of https://github.com/paulholden/moodle 2024-03-11 17:44:48 +01:00
Sara Arjona
8c29e71c39
Merge branch 'MDL-79667-main' of https://github.com/mihailges/moodle 2024-03-11 17:08:50 +01:00
Sara Arjona
e5b601c313
Merge branch 'MDL-80431' of https://github.com/marinaglancy/moodle 2024-03-11 17:01:12 +01:00
Andrew Nicols
f09d886f11
MDL-80677 core: deprecation::from should always return 2024-03-11 21:48:32 +08:00
Andrew Nicols
57ec38d136
MDL-80677 core: Move deprecated attributes to \core\attribute NS
Note: Removing the manual require for the attribute from moodlelib
because the class does not have to exist at time of definition, only
when the Reflection API instantiates an instance in \core\deprecation,
by which point the autoloader is available.
2024-03-11 21:48:32 +08:00
Andrew Nicols
807da4963b
MDL-80677 core: Any feature of a deprecated class should emit 2024-03-11 21:28:50 +08:00
Andrew Nicols
d6112c0bfb
MDL-80677 core: Get deprecated item description automatically 2024-03-11 21:28:48 +08:00
Paul Holden
f4843f268c
MDL-81047 hook: fix typo in constructor docblock. 2024-03-11 12:31:45 +00:00
Paul Holden
3d97e8616c
Merge branch 'MDL-81047-main' of https://github.com/andrewnicols/moodle into main 2024-03-11 12:18:05 +00:00
Paul Holden
f45e391f72
MDL-79664 libraries: upgrade to version 6.9.1 of PHPMailer. 2024-03-11 11:03:32 +00:00
Huong Nguyen
a7503b01ce MDL-81035 core: Fix redirect with sub-path 2024-03-11 15:56:06 +07:00
Andrew Nicols
bbc98c82c0
MDL-81180 core: Add support for array notation in hook callback 2024-03-11 16:49:54 +08:00
Andrew Nicols
6231d9119d
MDL-81180 core: Fix coding violations in hook manager tests 2024-03-11 16:49:54 +08:00
raortegar
e14a950fa9
MDL-80958 tiny_premium: Improve the strings of "Tiny Premium" settings. 2024-03-11 14:56:45 +08:00
Mathew May
886d86623e MDL-72438 question: Final deprecations 2024-03-11 13:26:18 +08:00
Eloy Lafuente (stronk7)
361dfe8145
MDL-75952 general: Since php81, refection->setAccessible() is no-op
Refereces:
- https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
- https://www.php.net/manual/en/reflectionproperty.setaccessible.php
- https://www.php.net/manual/en/reflectionmethod.setaccessible.php

As of PHP 8.1.0, calling this method has no effect; all methods are
invokable by default. So, let's remove all uses from core, they are
no-op.
2024-03-10 21:15:00 +01:00
Mihail Geshoski
73ac16f4ad MDL-79667 lib: Upgrade OpenSpout to 4.23.0 2024-03-09 22:09:47 +08:00
Eloy Lafuente (stronk7)
78b5db34a8
MDL-81124 install: Enable is_major_upgrade_required for 4.4dev
Setting it to 2024010400.00 that is the week when MDL-80186 landed.
2024-03-08 17:20:45 +01:00
Andrew Nicols
017e52f213
MDL-81047 core: Standardise init of before_standard_head_html_generation 2024-03-08 23:56:40 +08:00
Andrew Nicols
0a30867cdf
MDL-81047 core: Rename standard_head_html_prepend hook
This commit updates the name of the standard_head_html_prepend hook to
meet coding style agreed in MDL-79077.
2024-03-08 23:56:39 +08:00
Marina Glancy
36c91ff907 MDL-80431 forms: do not use fieldset tag without a legend 2024-03-08 15:02:15 +00:00
David Woloszyn
cd935eb3e2 MDL-79769 login: Fix focus loss of loginpageautofocus setting
Added new form event to fix login fields focus loss when DOM is
manipulated by togglesensitive.
2024-03-08 15:54:37 +11:00
David Woloszyn
cb6acfc46a MDL-79769 login: Add password toggle icon to the login screen 2024-03-08 15:54:11 +11:00
Ilya Tregubov
24e42ed7d1 Merge branch 'MDL-79044-main' of https://github.com/geichelberger/moodle 2024-03-08 11:15:16 +08:00
Huong Nguyen
826a3a2401 Merge branch 'MDL-81123-main' of https://github.com/andrewnicols/moodle 2024-03-08 10:12:47 +07:00
Huong Nguyen
2830de44c2 Merge branch 'MDL-81046-main' of https://github.com/andrewnicols/moodle 2024-03-08 10:06:56 +07:00
Huong Nguyen
7701e6a079 Merge branch 'MDL-78547' of https://github.com/timhunt/moodle 2024-03-08 08:51:57 +07:00
Ilya Tregubov
96c9fd4b16 MDL-80943 reportbuilder: Fix bad conflict resolution. 2024-03-08 09:35:55 +08:00
Ilya Tregubov
82859f1848 Merge branch 'MDL-80943' of https://github.com/paulholden/moodle 2024-03-08 09:21:44 +08:00
Jun Pataleta
3278ce7aba
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle 2024-03-08 08:00:41 +08:00
Sara Arjona
46e6d412bf
Merge branch 'MDL-80634' of https://github.com/paulholden/moodle 2024-03-07 17:47:20 +01:00
Tim Hunt
3020d180d8 MDL-78547 quiz: in a preview, if a question has been edited, update it
As part of implementing this, there is a new more efficient method
get_version_information_for_questions_in_attempt to see if any
questions in a quiz need to be updated. The regrade code was updated
to take advantage of this.

Co-authored-by: Khoa Nguyen Dang <khoanguyend7@nashtechglobal.com>
2024-03-07 16:14:47 +00:00
Sara Arjona
307d5e8c04
Merge branch 'MDL-81065-master' of https://github.com/jleyva/moodle 2024-03-07 17:01:55 +01:00
Juan Leyva
f693e84ff5 MDL-81065 core_filters: New WS core_filters_get_all_states 2024-03-07 15:52:07 +01:00