Commit graph

115861 commits

Author SHA1 Message Date
Mihail Geshoski
594750e157
MDL-82393 mod_assign: Remove the null default value from $course
Removes the default null value from the deprecated parameter $course,
which was introduced as part of its deprecation. Since PHP 8.0, it
is deprecated to declare functions where an optional parameter is
followed by a required parameter, as is the case here. Therefore,
the default value needs to be removed.
2024-08-08 21:01:45 +08:00
Mark Johnson
ff31b37c78
MDL-81987 redis: Set connection and read timeouts to 10 seconds
This allows the site to continue operating in case of degraded
performance, rather than throwing exceptions.
2024-08-08 13:45:48 +01:00
Huong Nguyen
587f65f34f
Merge branch 'MDL-82393-main-1' of https://github.com/mihailges/moodle 2024-08-08 12:04:38 +07:00
Huong Nguyen
a3df578e08
Merge branch 'MDL-82508-main-1' of https://github.com/mihailges/moodle 2024-08-08 11:46:35 +07:00
Huong Nguyen
9b1d50a039
Merge branch 'MDL-63015' of https://github.com/paulholden/moodle 2024-08-08 11:43:51 +07:00
Michael Hawkins
a74008207a
MDL-82745 filter_tex: Improve filter deny list 2024-08-08 11:39:48 +07:00
Michael Hawkins
622ee09209
MDL-82576 qtype_calculated: Improve formula regexes 2024-08-08 11:11:02 +07:00
Ilya Tregubov
c00e44c248 Merge branch 'MDL-82608' of https://github.com/paulholden/moodle 2024-08-08 11:09:06 +08:00
Ilya Tregubov
fe2bfd6bbd Merge branch 'MDL-82605' of https://github.com/paulholden/moodle 2024-08-08 11:03:18 +08:00
Safat
73b20fec1c
MDL-82395 tool_xmldb: Table layout update 2024-08-08 10:00:10 +07:00
Jun Pataleta
ad4a45b219
Merge branch 'MDL-82560-main' of https://github.com/lameze/moodle 2024-08-08 10:45:23 +08:00
Jun Pataleta
8f3338195d
Merge branch 'MDL-82585' of https://github.com/paulholden/moodle 2024-08-08 10:42:11 +08:00
Paul Holden
f4d0fd92e8
MDL-79373 admin: ensure all current password configs are defined.
Ensure the admin preset export tool has an accurate record of each,
to be observed as sensitive settings when creating an export.
2024-08-08 09:21:50 +07:00
Angelia Dela Cruz
43356d891f MDL-82560 mod_forum: Test that students can only start one discussion 2024-08-08 10:20:56 +08:00
Andrew Nicols
68dacb79dc
Merge branch 'MDL-80593-main-alt' of https://github.com/HuongNV13/moodle 2024-08-08 10:19:14 +08:00
Huong Nguyen
a707c4f965
Merge branch 'MDL-82177' of https://github.com/timhunt/moodle 2024-08-08 09:10:42 +07:00
Huong Nguyen
ad40c27bd9
Merge branch 'MDL-82592' of https://github.com/timhunt/moodle 2024-08-08 09:01:53 +07:00
Huong Nguyen
2102a9dd89
Merge branch 'MDL-82669' of https://github.com/paulholden/moodle 2024-08-08 08:58:17 +07:00
Jun Pataleta
f41300bce0
Merge branch 'MDL-77784' of https://github.com/paulholden/moodle 2024-08-08 09:56:21 +08:00
Huong Nguyen
3119497793
Merge branch 'mdl-826620-main' of https://github.com/matthewhilton/moodle 2024-08-08 08:41:03 +07:00
Ilya Tregubov
47b707f631 Merge branch 'MDL-82209' of https://github.com/paulholden/moodle 2024-08-08 09:21:51 +08:00
Ilya Tregubov
b6a0a658b5 Merge branch 'MDL-82525' of https://github.com/paulholden/moodle 2024-08-08 08:25:31 +08:00
Ilya Tregubov
86372ac828 Merge branch 'MDL-82208' of https://github.com/paulholden/moodle 2024-08-08 08:15:34 +08:00
Daniel Ziegenberg
be2c9f57dd
MDL-80639 libs: upgrade AWS SDK for PHP to 3.318.0
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-08-07 20:03:38 +02:00
Paul Holden
fc4c0dba23
MDL-64675 mod_feedback: better detection of last page break element.
Inform user when a page break item cannot be added.
2024-08-07 16:57:28 +01:00
Kristiina.Bax
5404d89819 MDL-82339 admin: adjusted usertours form text boxes width 2024-08-07 10:51:47 +01:00
Mihail Geshoski
b7481cf4aa MDL-82393 course: Deprecate the $course argument in group_selector
Deprecates the $course parameter in the constructor of the
core_course\output\actionbar\group_selector class. This parameter is no
longer used, as the $course object can now be obtained through the
$context class property. Additionaly, the $course class property has
been removed in accordance with this change.
2024-08-07 17:27:41 +08:00
Mihail Geshoski
02755c4f95 MDL-82393 course: Refactor the renderable class for the group selector
The group selector renderable class should extend the comboboxsearch
renderable class to eliminate the need for initializing the
comboboxsearch object within the export_for_template() method and to
prevent duplicating the get_template() method.
2024-08-07 17:27:41 +08:00
Mihail Geshoski
19786070c7 MDL-82393 mod_assign: The group selector follows the correct group mode
This change ensures that the group selector correctly appears on the
submission page, adhering to the assignment's group mode settings or
the enforced group mode set by the course.
2024-08-07 17:27:41 +08:00
Mihail Geshoski
4da5dbcb52 MDL-82393 course: The group selector component should be context-aware
The group selector component should be sensitive to the current context
to ensure accurate validation and retrieval of group settings
(e.g. group mode).
2024-08-07 17:27:41 +08:00
Jun Pataleta
d55cbfca08
Merge branch 'MOODLE_main_MDL-82518' of https://github.com/danielneis/moodle 2024-08-07 17:12:14 +08:00
Jun Pataleta
91ba1edb99
Merge branch 'MDL-82425-master' of https://github.com/NguyenTuanAnh3/moodle 2024-08-07 16:22:26 +08:00
Paul Holden
e618178326
MDL-82633 mod_quiz: filter user visible overrides in external methods. 2024-08-07 16:08:00 +08:00
Paul Holden
b44452b0ac
MDL-82633 mod_quiz: re-factor visibility check for overrides. 2024-08-07 16:07:59 +08:00
Ilya Tregubov
d139880d12 Merge branch 'MDL-81830' of https://github.com/paulholden/moodle 2024-08-07 15:24:52 +08:00
Philipp Memmel
9eabb86233 MDL-82724 editor_tiny: Harden check for quicktoolbar and contextmenu 2024-08-07 09:15:33 +02:00
Paul Holden
0f334dd5f3 MDL-81394 restore: format backup file metadata details safely. 2024-08-07 14:04:01 +08:00
Ilya Tregubov
647b15d5ac MDL-79541 gradereport_user: Fix indentation in Behat. 2024-08-07 04:12:45 +00:00
Huong Nguyen
3c86ca2865 MDL-81718 core_grades: Fix Behat failures 2024-08-07 04:12:45 +00:00
raortegar
01fde971ad MDL-81718 core: Improve localstorage validation 2024-08-07 04:12:45 +00:00
Paul Holden
c7d9026715 MDL-82558 h5p: escape template error/exception content. 2024-08-07 04:12:45 +00:00
Paul Holden
687f735387 MDL-82392 blocks: consistent cleaning of block instance names. 2024-08-07 04:12:45 +00:00
Paul Holden
e1aa194b3d MDL-82261 mod_feedback: ensure only non-respondents can be messaged. 2024-08-07 04:12:45 +00:00
Paul Holden
19d2552caa MDL-82390 badges: correct context check when deleting badges. 2024-08-07 04:12:45 +00:00
lameze
b24e08c18d MDL-79541 behat: use the right steps to assert user search content 2024-08-07 04:12:45 +00:00
meirzamoodle
7a6e504b02 MDL-82136 curl: Send credentials to redirect URL if allowed
Curl has the option CURLOPT_UNRESTRICTED_AUTH. If true, curl will send
the credentials to a different host. If false, they will not be sent.

CURLOPT_UNRESTRICTED_AUTH can only work if the CURLOPT_FOLLOWLOCATION
option is true. The filelib forces the CURLOPT_FOLLOWLOCATION option
to be false, because all redirects are emulated at the PHP level. So,
in this case, the CURLOPT_UNRESTRICTED_AUTH option is only being used
in our logic and will not work as you might expect it to.

This patch works almost the same as CURLOPT_UNRESTRICTED_AUTH in ideal
conditions. It will check whether the host is different. If so, the
system will check what value CURLOPT_UNRESTRICTED_AUTH has. If it is
not specified, then by default, it will be false. If false, then
credentials will not be sent.
2024-08-07 04:12:45 +00:00
Paul Holden
a8157c10aa MDL-82262 mod_feedback: fix broken bulk message sesskey checks. 2024-08-07 04:12:45 +00:00
Paul Holden
7f4d8b04eb MDL-64984 mod_glossary: capability check when restoring global type. 2024-08-07 04:12:45 +00:00
David Woloszyn
9658ba6710 MDL-81951 communication_matrix: Fix suspended users ignored bug 2024-08-07 04:12:45 +00:00
David Woloszyn
90c1a7613c MDL-81951 communication_matrix: New trait for power levels
A more reliable way of obtaining room power levels is now used in the
new trait get_room_power_levels_v3. This makes
get_room_powerlevels_from_sync_v3 less needed, but not necessarily
redundant. The names of the containing methods have been adjusted to
make better sense of which trait they belong to.
2024-08-07 04:12:45 +00:00