107817 Commits

Author SHA1 Message Date
Andrew Nicols
296ed92898 Merge branch 'MDL-77290-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE 2023-02-23 11:46:24 +08:00
Andrew Nicols
1e28db3e01 Merge branch 'MDL-76735-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE 2023-02-23 11:34:36 +08:00
Ilya Tregubov
1f88fcdb09 Merge branch 'MDL-74433_401' of https://github.com/larsbonczek/moodle into MOODLE_401_STABLE 2023-02-23 11:22:32 +08:00
Andrew Nicols
352db923e1 Merge branch 'MDL-77352-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-02-23 11:20:16 +08:00
Andrew Nicols
a0c79271fc Merge branch 'MDL-77354-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE 2023-02-23 10:49:51 +08:00
Andrew Nicols
9d97d0c519 Merge branch 'MDL-76577/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE 2023-02-23 10:46:38 +08:00
Andrew Nicols
352affa056 Merge branch 'MDL-75005_41' of https://github.com/skodak/moodle into MOODLE_401_STABLE 2023-02-23 10:29:23 +08:00
Andrew Nicols
f8d2c0207b MDL-77230 mod_feedback: Coding style violation fixes 2023-02-23 10:06:03 +08:00
Andrew Nicols
506604c911 Merge branch 'MDL-77230-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-02-23 10:05:58 +08:00
Ilya Tregubov
183b705fe4 Merge branch 'MDL-76873-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-02-23 09:58:09 +08:00
Andrew Nicols
f559c0ad59 Merge branch 'MDL-77210_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-02-23 09:22:52 +08:00
Andrew Nicols
2781ef309c Merge branch 'MDL-77149-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE 2023-02-23 09:20:44 +08:00
Paul Holden
58d85f21da MDL-74585 core: pass string identifier/component to network keepalive.
Avoid passing potentially large amounts of data in the page AMD call,
allow the `core/network` module to load actual string content itself.
2023-02-22 16:20:34 +00:00
Tim Hunt
c4de73821a MDL-76843 quiz: add test to verify random essay stats now work 2023-02-22 15:07:45 +00:00
Tim Hunt
291d241981 MDL-76843 quiz: fix statistics questions for missing questions 2023-02-22 15:07:40 +00:00
Tim Hunt
d6f0ad4980 MDL-76843 questions behat: enhancements requried to test this issue
* New steps to set up certian sorts of broken test data.
* Fix qtype_essay_question::un_summarise_response().
2023-02-22 15:05:41 +00:00
Tim Hunt
40d6ba9505 MDL-76298 drag-drop questions: validate the questions are complete
Previously, it was possible to create drag-drop markers and onto image
questions without any drag items or drop zones. This was non-sensical,
and broke statistics calculations.

So, missing validation added, and random guess score calculation made
robust.
2023-02-22 12:06:34 +00:00
Tim Hunt
32bf205db3 MDL-58945 qbank: showing q text should give option of plain or full 2023-02-22 11:17:52 +00:00
Ilya Tregubov
30cd583d5d Merge branch 'MDL-77285-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-02-22 12:27:13 +08:00
Huong Nguyen
45877b9c1b MDL-77354 tool_behat: Fix deprecated strlen() of null in PHP 8.1 2023-02-22 11:08:23 +07:00
Huong Nguyen
c5916d6303 MDL-77290 tiny_media: Fix cannot update the created media
Including in this commit:
 - Changed the button text to Update media when the user is updating the media
 - Added new Behat tests
2023-02-22 09:36:44 +07:00
Paul Holden
c3504d5e4c MDL-77352 javascript: declare debouncer outside the event handler.
It needs to be declared as such, otherwise each time the event is
triggered a new debouncer is created.
2023-02-21 22:47:50 +00:00
Paul Holden
fa9ef9baf8 MDL-76602 mod_lti: array syntax/whitespace cleanup. 2023-02-21 17:06:25 +00:00
Paul Holden
fe9bc4d5c0 Merge branch 'MDL-76602-401-lti13claims' of https://github.com/cengage/moodle into MOODLE_401_STABLE 2023-02-21 16:46:25 +00:00
sam marshall
dadceea8f5 MDL-77149 core_files: Network filesystem (Amazon EFS) can warn
If you delete a file with a hash and then create another file with
the same hash, sometimes on EFS filesystems while trying to create
the new file, it returns true to the file_exists check even though
the file doesn't exist, but then fails other calls.

This change makes Moodle tolerate that behaviour.
2023-02-21 10:55:10 +00:00
Huong Nguyen
20d103f014 MDL-76735 editor_tiny: Fix random behat failure for Media image 2023-02-21 14:30:56 +07:00
Simey Lameze
6e3242d677 MDL-77271 behat: verify user licence preference is remembered 2023-02-21 15:25:47 +08:00
AMOS bot
d79fbf80a2 Automatically generated installer lang files 2023-02-21 00:07:37 +00:00
Paul Holden
2bf6bfcac8 Merge branch 'MDL-76545-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE 2023-02-20 10:28:53 +00:00
Audun Jørstad Lillekjendlie
de4739338a
MDL-77318 core: Add role attribute to user navigation div 2023-02-20 10:56:42 +01:00
Paul Holden
bc30c47ad7 Merge branch 'MDL-77287-401' of https://github.com/snake/moodle into MOODLE_401_STABLE 2023-02-20 09:55:09 +00:00
Paul Holden
d227c27ca7 MDL-76873 user: method for returning profile field instance of type.
Re-factor implementation of profile field access within user fields
class to use that already provided by the fields themselves.
2023-02-20 09:24:11 +00:00
Paul Holden
9829e77a6d MDL-76873 reportbuilder: correct checks for profile field visibility. 2023-02-20 09:22:07 +00:00
Andrew Nicols
f6d38b13a2 Merge branch 'MDL-77020-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-02-20 09:54:25 +08:00
Ferran Recio
ddcd60552b MDL-76545 core: fix reactive debug panel
The reactive debug panel stops working when a new reactive instance is
created in the fly. This was not detected until the new dragf and drop
files into course uses a second reactive UI component in the same page.
2023-02-17 17:18:25 +01:00
Sara Arjona
cc4b43a57b MDL-77230 mod_feedback: Validate feedback access
The get_items() and get_page_items() external methods should return
items only when the user has access. Otherwise, empty array for items
will be returned, with the exact error in the warnings parameter.
2023-02-17 12:41:20 +01:00
Petr Skoda
4ca23b917b MDL-76577 block_html: fix incorrect use of draft files 2023-02-17 09:52:55 +01:00
Petr Skoda
507306a6ca MDL-75005 core: remove invalid addslashes() 2023-02-17 09:49:55 +01:00
Jake Dallimore
efe9ac66be MDL-77287 tool_oauth2: fix issuer form validation
This ensures validation errors from the issuer persistent are seen.
2023-02-17 15:14:39 +08:00
Ilya Tregubov
3312a6814a weekly release 4.1.1+ 2023-02-17 09:12:20 +08:00
Ilya Tregubov
995d6a3301 Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-02-17 09:12:18 +08:00
Simey Lameze
0d7642b8e8 MDL-77285 behat: change window size to large to prevent error 2023-02-17 08:44:18 +08:00
AMOS bot
3da0488fbc Automatically generated installer lang files 2023-02-17 00:07:51 +00:00
Paul Holden
9be10c0dd1 MDL-77020 behat: refer to search input fields by name/role.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-02-16 10:53:46 +00:00
Audun Jørstad Lillekjendlie
3ff714acbe MDL-77020 core: Include a unique id in the search input field id 2023-02-16 10:19:08 +00:00
Meirza
75f729911e MDL-76825 tiny: restyling link on focus for sufficient colour contrast.
Text elements must have sufficient colour contrast against the background,
restyling the link element when it is focused is to ensure colour contrast of at least 4.5:1
2023-02-16 13:12:29 +07:00
Meirza
854f67cf65 MDL-76825 tiny_media: Make IDs and labels unique. 2023-02-16 13:12:29 +07:00
Meirza
476abf4610 MDL-76825 theme: ensure button role has an accessible name. 2023-02-16 13:12:29 +07:00
Andrew Nicols
09534ee3f9 Merge branch 'MDL-75578-401' of https://github.com/mackensen/moodle into MOODLE_401_STABLE 2023-02-16 12:01:28 +08:00
Jun Pataleta
fc3aaf9c67 Merge branch 'MDL-72182-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-02-16 11:58:52 +08:00