Paul Holden
1c6f0e8a19
MDL-76878 user: amend permission callbacks for preference definitions.
...
Ensure those preferences that are used for storing state can always be
updated via web service requests for the current user.
2023-01-19 15:28:45 +00:00
Jun Pataleta
4b69c11978
Moodle release 4.1.1
v4.1.1
2023-01-14 14:17:03 +08:00
Jun Pataleta
2d628ba8d6
weekly release 4.1+
2023-01-13 10:52:14 +08:00
Andrew Nicols
3528887bb6
Merge branch 'MDL-76820-401' of https://github.com/cameron1729/moodle into MOODLE_401_STABLE
2023-01-12 12:09:35 +08:00
Jun Pataleta
217a32f033
Merge branch 'MDL-76649_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-01-12 12:06:45 +08:00
Jun Pataleta
d24c201b6d
Merge branch 'MDL-76474-401-2' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-01-12 11:55:41 +08:00
Huong Nguyen
4d9960ace2
MDL-76474 tiny_h5p: Prevent H5P Formatter placeholder to be assessed
2023-01-12 10:53:06 +07:00
Huong Nguyen
4e1c4f4483
MDL-76474 tiny_accessibilitychecker: Prevent placeholders to be assessed
2023-01-12 10:53:04 +07:00
Huong Nguyen
b4e7d5300a
MDL-76474 editor_tiny: Implement placeholder selector list
...
We created a list of placeholder selectors in placeholderSelectors option.
The purpose of this list is to indicate the contents that are only shown
in the editor and not to the users, by that way, we can decide to apply or
not to apply rules, styles, etc... to these contents
2023-01-12 10:52:39 +07:00
Michael Hawkins
313d44f83a
MDL-76861 blog: Ensure correct escaping applied to search string
2023-01-12 11:43:11 +08:00
Jake Dallimore
6a6f5b79dd
MDL-76862 user: Unit test for setting user home page preferences
2023-01-12 11:35:26 +08:00
Paul Holden
f3c335b376
MDL-76862 user: ensure user can only update own preferred start page.
2023-01-12 11:35:26 +08:00
Andrew Nicols
5eb91a54c3
Merge branch 'MDL-76839-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-12 10:57:01 +08:00
Cameron Ball
1e72ef978a
MDL-76820 core_search: Reset manager::$coursedeleting between tests
2023-01-12 10:54:44 +08:00
Jun Pataleta
28ccae3b7a
Merge branch 'MDL-76739-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-01-12 10:17:37 +08:00
Jun Pataleta
f06b222aa8
MDL-76739 behat: Replace occurrences of "surname" in Behat tests
...
Replace occurrences of "surname" in Behat tests with "last name"
2023-01-12 09:52:48 +08:00
Ilya Tregubov
a4aeb20a30
Merge branch 'MDL-76607-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-01-11 19:16:29 +07:00
Andrew Nicols
b50964d2e2
Merge branch '66924-view-own-private-reply-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE
2023-01-11 15:53:27 +08:00
Tim Hunt
2ea89b98a7
MDL-76810 redirect handling: ensure return URLs are properly sanitised
2023-01-11 11:43:12 +08:00
Andrew Nicols
833bc53bbb
Merge branch 'MDL-76356_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-01-11 10:30:25 +08:00
Jake Dallimore
5123d2bf53
Merge branch 'MDL-76597-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-01-11 10:12:08 +08:00
David Mudrák
acd82d3a86
MDL-76739 lang: Use the fixed strings in the tests, too
2023-01-10 21:15:06 +01:00
Helen Foster
152bbd76c5
MDL-76739 lang: Import fixed English strings (en_fix)
2023-01-10 21:13:14 +01:00
Paul Holden
02df248fbd
Merge branch 'MDL-76811-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-01-10 16:40:06 +00:00
Paul Holden
f5844e80fd
Merge branch 'MDL-76803-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-01-10 16:24:16 +00:00
Paul Holden
a789bf5b24
Merge branch 'MDL-76653-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-01-10 15:29:16 +00:00
Marina Glancy
ff5fc3820a
MDL-76356 various: avoid implicit conversion to int
...
PHP before version 8.1 automatically converted to int if the function
parameter (or array key) is expected to be int. PHP 8.1 shows notice in
this case
2023-01-10 15:25:57 +01:00
Marina Glancy
66dcb1683b
MDL-76356 various: avoid implicit conversion to arrays
...
PHP before version 8.1 automatically converted stdClass or 'false' to arrays if
function parameter expects array (for example, "reset").
PHP 8.1 shows notices in these situations
2023-01-10 15:03:40 +01:00
Paul Holden
9cdafb6cad
MDL-76839 mod_data: correct external test class coverage notation.
2023-01-10 13:02:29 +00:00
Paul Holden
89c59f32cf
Merge branch 'MDL-76833-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-01-10 12:29:14 +00:00
Jun Pataleta
8280476728
MDL-76803 lang: Update usages of reworded email display options
2023-01-10 16:01:44 +08:00
Jun Pataleta
4fc9c3bba1
MDL-76803 lang: Make email display options more concise
2023-01-10 16:01:44 +08:00
Andrew Nicols
74f1a285a1
MDL-76833 core: Bump phpunit/php-code-coverage version
...
This includes a bug fix for a display issue with code coverage reporting
in phpunit's HTML output report.
2023-01-10 12:09:01 +08:00
Andrew Nicols
d9ae9e51cd
MDL-76811 mod_data: Remove duplicate tests
2023-01-10 11:39:40 +08:00
Andrew Nicols
cd42aa554f
MDL-76811 mod_data: Stop testing template creation on field creation
...
The default template is no longer created when creating the fields with
the generator, so we should stop testing that it is.
2023-01-10 11:39:40 +08:00
Andrew Nicols
e8ea4916e9
MDL-76811 mod_data: Generator test cleanup
2023-01-10 11:39:40 +08:00
Simey Lameze
d1f75e4dce
MDL-76653 behat: add coverage for SCORM availability
2023-01-10 10:26:04 +08:00
Jun Pataleta
1b54b120ad
Merge branch 'MDL-76061-MOODLE_401_STABLE' of https://github.com/PhMemmel/moodle into MOODLE_401_STABLE
2023-01-10 09:41:46 +08:00
Philipp Memmel
3c5413f02a
MDL-76061 core_calendar: Fix changing event type from 'user'
2023-01-09 15:03:15 +01:00
Julien Boulen
4ea254faf2
MDL-66924 mod_forum: Allow users to see their own private messages
...
Allow users to see their own private messages even if they don't have
mod/forum:readprivatereplies capability
Add behat test to avoid MDL-67109 issue.
Co-authored-by: Martin Putzlocher <mputzi@users.noreply.github.com>
2023-01-09 14:43:51 +01:00
Tim Hunt
d71ada1952
MDL-76649 quiz statistics task: output more useful trace info
...
At the moment, quiz_statistics\task\recalculate gives no useful
information about what it is doing, which makes it hard to investigate
if the task fails. This commit makes it more usefully verbose.
Also, following this change, one instance of this task will not
run for more than one hour at a time.
As part of this commit, I have added a new helper mtrace_exception.
to consistently log exceptions in scheduled tasks. It is sad to
add a new function to moodlelib.php, but that seemed the logical place.
Looking at other tasks, this method is badly needed. Many are just
logging the ->getMessage() which is normaly insufficient for proper
debugging. However, swiching all existing tasks to use the new function
will need to wait for a future MDL.
2023-01-09 13:34:14 +00:00
Paul Holden
29efbedc8b
Merge branch 'MDL-75532-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-01-09 11:50:59 +00:00
Jun Pataleta
8ea2421cd4
Merge branch 'MDL-76785-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-09 19:38:42 +08:00
Jun Pataleta
1361e6ad92
Merge branch 'MDL-76506_m41' of https://github.com/jrchamp/moodle into MOODLE_401_STABLE
2023-01-09 19:33:59 +08:00
Paul Holden
3387060fe1
MDL-76785 tiny_media: define video width/height language strings.
...
AMOS BEGIN
CPY [videoheight,atto_media],[videoheight,tiny_media]
CPY [videowidth,atto_media],[videowidth,tiny_media]
AMOS END
2023-01-09 10:52:18 +00:00
Jun Pataleta
5d27f595d7
Merge branch 'MDL-76787-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-09 18:38:55 +08:00
Paul Holden
6f2d09dc5a
Merge branch 'MDL-76601-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-01-09 10:11:10 +00:00
Jun Pataleta
e101b6f195
Merge branch 'MDL-76812-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-09 17:46:13 +08:00
Jun Pataleta
934d8a2866
MDL-76597 mod_quiz: Add a default heading name for Behat tests
2023-01-09 15:41:59 +08:00
Jun Pataleta
6a7668e350
MDL-76597 mod_quiz: Set presentation role for the question list
...
Since the <ul> and <li> elements for listing the quiz questions and
elements are mainly used for layout purposes, it is better to set the
role of these elements to presentation only.
The aria-label for the <li> element is inappropriate and can also cause
confusion to screen reader users. Better to remove this. Though this is
being used in the confirmation modal so better to just change it to a
data attribute.
2023-01-09 15:41:59 +08:00