107613 Commits

Author SHA1 Message Date
Andrew Nicols
74fe0b04be MDL-77141 gradereport_user: Adjust course name to fix test 2023-03-02 11:50:08 +08:00
Andrew Nicols
4e8cd1c7da Merge branch 'MDL-77141-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE 2023-03-02 11:49:55 +08:00
Jake Dallimore
841f61af08 Merge branch 'MDL-77461-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-03-02 11:42:40 +08:00
Jake Dallimore
0792cbf3c8 Merge branch 'MDL-77400-401' of https://github.com/dpalou/moodle into MOODLE_401_STABLE 2023-03-02 11:27:16 +08:00
Paul Holden
1eed4bca84 MDL-77368 forms: remove console logging of upload DOM element. 2023-03-02 11:19:48 +08:00
Andrew Nicols
d784e19d9b MDL-77461 behat: Use get_course_id instead of DB fetch 2023-03-02 11:06:45 +08:00
Jake Dallimore
b9ee80aae7 Merge branch 'MDL-77318-401' of https://github.com/Utdanningsdirektoratet/moodle into MOODLE_401_STABLE 2023-03-02 10:55:56 +08:00
Andrew Nicols
746580aa68 Merge branch 'MDL-77150-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE 2023-03-02 10:48:47 +08:00
David Mudrák
a31b0acaa5 MDL-75534 Fix usermodified in very old forum discussions
Very early Moodle versions used to leave the field empty. Recent Moodle
versions expect that the value always links to an existing user account.
2023-03-02 10:41:41 +08:00
Jake Dallimore
b4944cadca Merge branch 'MDL-76298_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-03-02 10:13:04 +08:00
Jun Pataleta
4dda4e69fe Merge branch 'MDL-77413-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-03-02 09:45:56 +08:00
Andrew Nicols
044e573ea1 Merge branch 'MDL-77391-m401' of https://github.com/jrchamp/moodle into MOODLE_401_STABLE 2023-03-02 09:26:56 +08:00
Andrew Nicols
12843909d1 Merge branch 'MDL-77321-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-02 09:25:03 +08:00
Jun Pataleta
ba428c3255 Merge branch 'MDL-74586-401-sqlrss' of https://github.com/mudrd8mz/moodle into MOODLE_401_STABLE 2023-03-02 08:58:22 +08:00
Jun Pataleta
a3b8e7867a Merge branch 'MDL-76938_restore_comments_401' of https://github.com/davosmith/moodle into MOODLE_401_STABLE 2023-03-02 08:42:05 +08:00
Jun Pataleta
2c290f4bb8 Merge branch 'MDL-77430_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE 2023-03-01 23:59:28 +08:00
Jun Pataleta
73f5e82992 Merge branch 'MDL-77417_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE 2023-03-01 23:54:21 +08:00
Mikel Martín
855839d195 MDL-77150 core_table: Fix classes added as columnsattributes are ignored
Fix columnattributes with key 'class' being ingored by adding them to every 'column_class'.
2023-03-01 11:17:05 +01:00
Andrew Nicols
576afc3ba6 Merge branch 'MDL-58945_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-03-01 10:55:38 +08:00
Andrew Nicols
3df3b9dfb2 Merge branch 'MDL-74585-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-01 10:51:45 +08:00
Andrew Nicols
61f38c0663 Merge branch 'MDL-77322_basicauth_checkbox-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE 2023-03-01 10:49:38 +08:00
Andrew Nicols
4ade597a20 Merge branch 'MDL-72727-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-01 10:46:49 +08:00
Jonathan Champ
35a59dd032 MDL-77391 question admin: further improve query peformance in qtypes.php 2023-02-28 10:18:28 -05:00
Andrew Nicols
bac48ffee3 Merge branch 'MDL-73018-M401_bump-travis-and-gha-to-use-php81-instead-of-php80' of https://github.com/ziegenberg/moodle into MOODLE_401_STABLE 2023-02-28 23:03:08 +08:00
Andrew Nicols
2a0980837d Merge branch 'MDL-77097_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE 2023-02-28 22:13:39 +08:00
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
Eloy Lafuente (stronk7)
be32856374 MDL-77430 plugininfo: php81 deprecation warnings on missing plugins
Whenever some plugin is missing from disk but installed, the plugins
page (and the upgrade) shows them as "missing from disk". Still, the
code tries to do things with their directory that, now, is null.

That was silently defaulting to '' in previous php versions, but
php81 emits a deprecated warning. So we have to check for them.
2023-02-28 11:41:04 +01:00
Daniel Ziegenberg
5ab061ca7d
MDL-73018 ci: Move highest PHP to 8.1 (from current 8.0)
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2023-02-28 11:24:28 +01:00
Dani Palou
8045e5e3dd MDL-77400 reportbuilder: Fix enrolment status return type 2023-02-28 10:41:38 +01:00
Angelia Dela Cruz
03035dcf71 MDL-77413 Behat: Minor changes to optimise the existing tests 2023-02-28 17:22:25 +08:00
Angelia Dela Cruz
93525ebdd9 MDL-77413 Behat: Add coverage to verify groups can have a picture 2023-02-28 17:22:04 +08:00
Jun Pataleta
21afd4548b Merge branch 'MDL-77248-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-02-28 15:46:49 +08:00
Andrew Nicols
1ca40fa664 MDL-77248 mod_bigbluebuttonbn: Remove unused dpa pages 2023-02-28 12:04:51 +08:00
Andrew Nicols
3c262bb46f MDL-77248 mod_bigbluebuttonbn: Set dpa accepted when creating activities
This only applies when creating activities using the test data
generator.
2023-02-28 12:04:51 +08:00
Andrew Nicols
9d5e363b41 MDL-77248 core: Move pre_enable_plugin_actions callback to enable_plugin 2023-02-28 12:04:51 +08:00
Jun Pataleta
b8a85811ec Merge branch 'MDL-76956-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE 2023-02-28 10:07:16 +08:00
Jun Pataleta
bef0d516b4 Merge branch 'MDL-77276-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-02-28 10:04:59 +08:00
Paul Holden
cf25f53743 MDL-72727 mod_forum: prevent default favourite toggle click event.
Allow the repository call to the web service method to complete before
re-directing, otherwise the call may not complete and/or races against
the page reload causing random Behat errors.
2023-02-27 23:30:33 +00:00
Paul Holden
53c2d0ad15 MDL-77321 reportbuilder: cache list of loaded reports per user.
Since 0188af39 we've cached loaded reports, however there was an
edge case in those report sources that relied on the current user
as part of their own initialization (e.g. checking capabilities).

Co-authored-by: Marina Glancy <marina@moodle.com>
2023-02-27 21:16:23 +00: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