114983 Commits

Author SHA1 Message Date
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
Ilya Tregubov
77996428b5 MDL-79541 core_grades: Add missing user info to search services.
Seems just fullname is not enough. So added all name fields.
2024-08-07 04:12:45 +00:00
Ilya Tregubov
f41f222dcd MDL-79541 core_grades: Hidden user fields check for search.
If some user profile fields are hidden on some grade reports
users without permission were able to see those.
2024-08-07 04:12:45 +00:00
Huong Nguyen
7cdec21075
Merge branch 'MDL-82643' of https://github.com/paulholden/moodle 2024-08-07 10:44:45 +07:00
Huong Nguyen
0e9b8c6c26
Merge branch 'MDL-82611' of https://github.com/paulholden/moodle 2024-08-07 10:24:48 +07:00
Huong Nguyen
4fc57b90c0
Merge branch 'MDL-82620-main' of https://github.com/ericmerrill/moodle 2024-08-07 10:20:18 +07:00
Huong Nguyen
16985f844e
Merge branch 'MDL-79733-main' of https://github.com/davewoloszyn/moodle 2024-08-07 10:17:17 +07:00
Jun Pataleta
605b8959f0
Merge branch 'MDL-82606' of https://github.com/timhunt/moodle 2024-08-07 11:11:34 +08:00
Tim Hunt
db963dffe6 MDL-82606 filterlib: pass a row limit to recordset for performance
On Postgres, at least, get_recordset_sql performs signficantly worse
if you don't pass a limit. So, we add a limit to the query, but one
that in enormously too large, so it should never have an effect.
(And, there is code to check we never hit the limit, to avoid subtle bugs.)
2024-08-06 10:43:57 +01:00
Jun Pataleta
2b09ffb466
Merge branch 'MDL-82344-main' of https://github.com/snake/moodle 2024-08-06 17:26:36 +08:00
Jun Pataleta
318e82d7cb
Merge branch 'MDL-79568' of https://github.com/paulholden/moodle 2024-08-06 17:20:35 +08:00
Jun Pataleta
6a8799937b
NOBUG: Fix leftover trailing whitespace 2024-08-06 16:51:43 +08:00
Jun Pataleta
dc223e7f16
MDL-81031 core: Fix whitespace errors raised by CI 2024-08-06 16:43:25 +08:00
Jun Pataleta
daed5e02a1
Merge branch 'MDL-82702-main' of https://github.com/andrewnicols/moodle 2024-08-06 16:01:09 +08:00
Shamim Rezaie
1504850f9f
Merge branch 'MDL-81031-main' of https://github.com/andrewnicols/moodle 2024-08-06 16:01:09 +08:00
Andrew Nicols
2b9af8ca38
MDL-81031 mod_assign: Fix incorrect use of setUserPreference 2024-08-06 16:01:08 +08:00
Andrew Nicols
90b2057620
MDL-81031 core: Correct hinting for default exception handler 2024-08-06 16:01:08 +08:00
Andrew Nicols
b3988ffa18
MDL-81031 core: Load standard libraries in router init 2024-08-06 16:01:08 +08:00
Andrew Nicols
f64ce7b46e
MDL-81031 core: Add JS client-side validation 2024-08-06 16:01:08 +08:00
Andrew Nicols
091ae55c20
MDL-81031 admin: Add swagger UI 2024-08-06 16:01:07 +08:00
Andrew Nicols
fbca10b8f3
MDL-81031 core: Add core/fetch to query new WS layer 2024-08-06 16:01:07 +08:00
Andrew Nicols
614b3bf9b3
MDL-81031 core: Add some new WS 2024-08-06 16:01:07 +08:00
Andrew Nicols
1b7d08465c
MDL-81031 core: Add routing 2024-08-06 16:01:07 +08:00
Andrew Nicols
d3d5d8bc73
MDL-81031 core: Coding style fixes for \core\user 2024-08-06 16:01:07 +08:00
Andrew Nicols
f943311753
MDL-81031 core: Rename \core_user to \core\user 2024-08-06 16:01:06 +08:00
Andrew Nicols
0c143ff7ce
MDL-81031 core: Add Slim Framework 2024-08-06 16:01:06 +08:00
Andrew Nicols
712dc98c7e
MDL-81031 core: Move phpspreadsheet to autoload properly 2024-08-06 16:01:06 +08:00
Andrew Nicols
3782af5a13
MDL-81031 core: Move psr\simple-cache 2024-08-06 16:01:06 +08:00
Andrew Nicols
cb75bffafa
MDL-81031 core: De-duplicate HTTP-* PSRs
PHPSpreadsheet was incorrectly importing these.
2024-08-06 16:01:06 +08:00
Andrew Nicols
9ca271e42d
MDL-81031 core: Add PSR interfaces for PSRs 3, 7, 11, and 15 2024-08-06 16:01:05 +08:00
Andrew Nicols
2c6910cb77
MDL-81031 core: Use ::class for PSR namespacing 2024-08-06 16:00:43 +08:00
Paul Holden
9e2fdb7255
MDL-79568 javascript: remove lang parameter from legacy string calls. 2024-08-05 08:33:13 +01:00
Jun Pataleta
fde872dd2e
Merge branch 'MDL-82587-main' of https://github.com/cameron1729/moodle 2024-08-05 15:17:41 +08:00
Ilya Tregubov
555d183cbe Merge branch 'MDL-82171-muc-sited' of https://github.com/brendanheywood/moodle 2024-08-05 11:18:26 +08:00
Andrew Nicols
7e50e55a46
MDL-82702 filter_emailprotect: Fix broken unit test 2024-08-05 09:31:31 +08:00
Dan Marsden
ceca66c6e9 MDL-82702 filter_empailprotect: remove calls to old functions. 2024-08-05 10:47:46 +12:00
Shamim Rezaie
221d30fe56 Merge branch 'MDL-82384-main' of https://github.com/jwcatau/moodle 2024-08-03 23:55:44 +10:00
Paul Holden
492c6fbdbe
Merge branch 'MDL-82688-main' of https://github.com/andrewnicols/moodle into main 2024-08-02 14:01:44 +01:00