David Mudrák
cfc2fca94a
MDL-74586 rss: Make rss_get_userid_from_token() use table index
...
Due to missing `AND k.script = 'rss'` condition, the query did not make
use of the existing script-value compound index defined for the table.
So it had to perform the full sequential scan for all rows when
searching for the token. This had serious performance issues on sites
with many users, especially in case on non-existing token / key.
2023-02-28 13:25:45 +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
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
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
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
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