Jun Pataleta
91eae783fc
Merge branch 'MDL-77784-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-08 09:56:07 +08:00
Huong Nguyen
912817f097
Merge branch 'mdl-826620-44' of https://github.com/matthewhilton/moodle into MOODLE_404_STABLE
2024-08-08 08:41:25 +07:00
Ilya Tregubov
36412a5fea
Merge branch 'MDL-82209-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-08 09:22:12 +08:00
Ilya Tregubov
a7f19c9072
Merge branch 'MDL-82525-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-08 08:27:15 +08:00
Ilya Tregubov
4bc773ad03
Merge branch 'MDL-82208-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-08 08:18:04 +08:00
Paul Holden
cb05767ce1
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:44 +01:00
Jun Pataleta
4973da2768
Merge branch 'MOODLE_404_MDL-82518' of https://github.com/danielneis/moodle into MOODLE_404_STABLE
2024-08-07 17:12:08 +08:00
Paul Holden
aa145e2669
MDL-82633 mod_quiz: filter user visible overrides in external methods.
2024-08-07 16:08:16 +08:00
Paul Holden
bdc4367460
MDL-82633 mod_quiz: re-factor visibility check for overrides.
2024-08-07 16:08:16 +08:00
Ilya Tregubov
fc467246b4
Merge branch 'MDL-81830-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-07 15:28:02 +08:00
Paul Holden
ee502bf6b5
MDL-81394 restore: format backup file metadata details safely.
2024-08-07 14:04:30 +08:00
Ilya Tregubov
ee6e605770
MDL-79541 gradereport_user: Fix indentation in Behat.
2024-08-07 04:13:49 +00:00
Huong Nguyen
2d953eb291
MDL-81718 core_grades: Fix Behat failures
2024-08-07 04:13:49 +00:00
raortegar
6e7faf5854
MDL-81718 core: Improve localstorage validation
2024-08-07 04:13:49 +00:00
Paul Holden
50569e6f4a
MDL-82558 h5p: escape template error/exception content.
2024-08-07 04:13:49 +00:00
Paul Holden
23a61db0f0
MDL-82392 blocks: consistent cleaning of block instance names.
2024-08-07 04:13:49 +00:00
Paul Holden
d3d580671a
MDL-82261 mod_feedback: ensure only non-respondents can be messaged.
2024-08-07 04:13:49 +00:00
Paul Holden
8304649791
MDL-82390 badges: correct context check when deleting badges.
2024-08-07 04:13:49 +00:00
meirzamoodle
c8c3b17cd2
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:13:49 +00:00
Paul Holden
3e5569a61a
MDL-82262 mod_feedback: fix broken bulk message sesskey checks.
2024-08-07 04:13:49 +00:00
Paul Holden
80782f8907
MDL-64984 mod_glossary: capability check when restoring global type.
2024-08-07 04:13:49 +00:00
David Woloszyn
51af50ade5
MDL-81951 communication_matrix: Fix suspended users ignored bug
2024-08-07 04:13:49 +00:00
David Woloszyn
b683a38423
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:13:49 +00:00
Ilya Tregubov
54dc1112cb
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:13:49 +00:00
Ilya Tregubov
421c0608e8
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:13:49 +00:00
Huong Nguyen
7678c3f41c
Merge branch 'MDL-82643-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-07 10:45:41 +07:00
Huong Nguyen
a3573087d1
Merge branch 'MDL-82611-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-07 10:25:18 +07:00
Huong Nguyen
f809e209e3
Merge branch 'MDL-82620-404' of https://github.com/ericmerrill/moodle into MOODLE_404_STABLE
2024-08-07 10:20:38 +07:00
Jun Pataleta
59a377abbe
Merge branch 'MDL-82606_404' of https://github.com/timhunt/moodle into MOODLE_404_STABLE
2024-08-07 11:12:05 +08:00
Philipp Memmel
ac7cecfb37
MDL-82724 editor_tiny: Harden check for quicktoolbar and contextmenu
2024-08-06 16:47:22 +02:00
Tim Hunt
83a24b0e9f
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:47:24 +01:00
Jun Pataleta
7ffbd04d35
Merge branch 'MDL-82344-404' of https://github.com/snake/moodle into MOODLE_404_STABLE
2024-08-06 17:26:44 +08:00
Jun Pataleta
19284518d1
Merge branch 'MDL-79568-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
2024-08-06 17:20:26 +08:00
Neill Magill
cb8578e93f
MDL-82214 admin: Settings should not change when in read only mode
...
Before this change if some settings were:
* read only
* visible on a settings page
* are set or have values selected
when the settings page was saved the setting would be set tobe empty,
because the hidden input remained on the page, while the other inputs
where not posted to Moodle.
2024-08-06 09:53:34 +01:00
Paul Holden
217f5d8f8d
MDL-82446 files: pleasantly style the filepicker modal containers.
2024-08-05 08:40:35 +01:00
Paul Holden
dec2143d73
MDL-79568 javascript: remove lang parameter from legacy string calls.
2024-08-05 08:33:19 +01:00
Ilya Tregubov
abd4203547
Merge branch 'MDL-82171-muc-sited-MOODLE_404_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_404_STABLE
2024-08-05 11:18:59 +08:00
Shamim Rezaie
28922ba889
Merge branch 'MDL-82384-MOODLE_404_STABLE' of https://github.com/jwcatau/moodle into MOODLE_404_STABLE
2024-08-03 23:55:36 +10:00
Daniel Neis Araujo
b67fb190b9
MDL-82518 core_user: Fix regression introduced by MDL-80271
2024-08-02 14:46:51 -03:00
David Mudrák
1e0f46a125
MDL-82599 lang: Use the fixed strings in tests, too
2024-08-02 17:44:42 +02:00
Helen Foster
1abeac9ba4
MDL-82599 lang: Import fixed English strings (en_fix)
2024-08-02 17:42:52 +02:00
Paul Holden
84c134f7c0
MDL-82669 mod_assign: remove Atto reliance workaround for Behat.
...
See 8fe80e743c for context, and 802ff3e2e3 for additonal comments.
2024-08-02 10:33:34 +01:00
Paul Holden
aa8f7a6a39
MDL-82669 editor: remove reliance on Atto editor in Behat scenarios.
2024-08-02 10:33:34 +01:00
Jun Pataleta
731e8a1e01
MDL-82677 theme: Set a background colour for page heading
...
* Set a background colour for the .page-header-headings class.
* Assign the .page-header-headings class to the maintenance mode
template's page header div.
2024-08-02 17:25:21 +08:00
Paul Holden
2937e90bc7
MDL-82502 courseformat: align module action capability checks.
...
The "Hide/Show/Duplicate" actions should be considered self-contained,
and not also require "manageactivities" capability (per existing docs)
in addition to the specific capability that controls the action itself.
Also ensure the "Duplicate" capability checks are in the course context.
2024-08-02 10:01:16 +01:00
Paul Holden
01971bc9a4
MDL-82608 mod_data: null content checks when editing fields.
2024-08-02 09:57:37 +01:00
Paul Holden
09fae09cd5
MDL-82605 contentbank: pre-load contexts for options list.
...
Prevents additional DB reads per category/course, which can be
potentially expensive on large sites.
2024-08-02 09:50:17 +01:00
Ilya Tregubov
e0381615aa
weekly release 4.4.1+
2024-08-02 09:30:45 +08:00
Ilya Tregubov
349916ae5f
Merge branch 'install_404_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_404_STABLE
2024-08-02 09:30:42 +08:00
Matthew Hilton
5168d9c97b
MDL-82662 login: load library with require_once
2024-08-02 10:52:57 +10:00