Paul Holden
72f7128665
MDL-77418 mod_feedback: defensive use of analysis item data.
2023-02-27 19:21:27 +00:00
Ferran Recio
c91c4b39e9
MDL-77420 core: fix modal close button on remove on close
2023-02-27 19:15:12 +01:00
Eloy Lafuente (stronk7)
4e5ed8fdcd
MDL-77417 behat: behat_error_handler meets deprecation error types
...
Right now, any E_DEPRECATED, E_USER_DEPRECATED error type leads
to exception in behat runs, because the behat error handled is
not aware of them. See MDL-38041 for the initial implementation.
We don't want that to happen and they must behave like other "low"
error types (notices, warnings...), that will be reported in logs
or output, but won't trigger any exception, so the test can continue.
This commit just adds those 2 "new" error types to the handler,
providing the very same behaviour for them than the rest.
2023-02-27 09:37:42 +01:00
Leon Stringer
76b8862518
MDL-77322 oauth2: Fix basicauth checkbox
...
Following MDL-61880 you could turn on "Authenticate token requests via
HTTP headers" but not turn this off again. This change fixes this and
adds a Behat scenario to test toggling this checkbox is saved
correctly.
2023-02-24 17:27:05 +00:00
Eloy Lafuente (stronk7)
7aeb3a8b6e
MDL-77097 store_mongodb: keep compatibility with PHP 7.4
...
Replaced 4 occurrences of get_debug_type() by gettype() to keep PHP 7.4 compatibility. Note this
has not been applied to 4.2dev and up because, there, it's safe to use get_debug_type().
2023-02-24 12:38:47 +01:00
Sara Arjona
a8bb233a56
MDL-77276 mod_data: Update reset single template string
...
When a single template is reset, the string displayed in the modal should
not reference to "all templates" to avoid confusion, as it was shown in the
original prototype for the 4.1 database project.
2023-02-24 11:23:09 +01:00
Luca Bösch
c7d9fa690d
MDL-77141 gradebook: Correct course name in user report
2023-02-24 10:43:16 +01:00
Jun Pataleta
a31f5830bd
weekly release 4.1.1+
2023-02-24 15:43:22 +08:00
Jun Pataleta
47db6bc3f9
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-02-24 15:43:19 +08:00
Matt Porritt
3258f4cf3e
MDL-77376 Licensing: Update trademark.txt
...
Update Trademark policy in TRADEMARK.txt to
be in line with advice from the Moodle HQ
legal team
2023-02-24 12:33:36 +08:00
Andrew Nicols
96ca10cc73
Merge branch 'MDL-76611-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-23 12:01:30 +08:00
Andrew Nicols
6c97d7ba5b
Merge branch 'MDL-76843_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-02-23 11:52:47 +08:00
Andrew Nicols
01cdda182c
Merge branch 'MDL-77271-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-02-23 11:49:26 +08:00
Ilya Tregubov
a47e5311af
MDL-74433 mod_assign: Fix version.php
2023-02-23 11:47:27 +08:00
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