Jun Pataleta
e8d03fdae4
Moodle release 4.1.10
2024-04-20 15:57:26 +08:00
Huong Nguyen
c8922328b2
weekly release 4.1.9+
2024-04-19 17:05:41 +07:00
Laurent David
19635ef720
MDL-81267 mod_data: Additional tests
2024-04-17 10:33:42 +02:00
Laurent David
9d5a4746ab
MDL-81267 mod_data: Clean field type before inclusion
...
* Filter out wrong field types when restoring or creating a field.
2024-04-17 10:33:42 +02:00
Stevani Andolo
e4406472f0
MDL-81354 core: Escape string of fullname
2024-04-12 11:30:23 +00:00
Paul Holden
cf2f67272a
MDL-81062 mod_lesson: escape identity fields in overview report.
2024-04-12 11:30:23 +00:00
Paul Holden
2ebac5604c
MDL-80712 mod_workshop: stricter cleaning of sub-plugin values.
2024-04-12 11:30:23 +00:00
Paul Holden
c5f48698da
MDL-81058 admin: fix sesskey checks for admin preset actions.
2024-04-12 11:30:23 +00:00
Paul Holden
c2a043f50d
MDL-81059 tool_analytics: fix sesskey checks for model actions.
2024-04-12 11:30:23 +00:00
Laurent David
001c78285f
MDL-81284 mod_wiki: Add stricter cleaning of contentformat
...
* When restoring backup we clean the contentformat and defaultformat
to avoid issue with invalid value.
* Add tests for format and defaultformat so to check that we
filter out invalid formats
* Remove private $basepath variable as it was used one and not always
initialised correctly.
2024-04-12 11:30:23 +00:00
meirzamoodle
af90bb572e
MDL-81352 filter: Ensure equation safety prior to filtering
2024-04-12 11:30:23 +00:00
Paul Holden
882a660f7e
MDL-81135 mod_feedback: stricter cleaning of item type parameter.
2024-04-12 11:30:23 +00:00
Huong Nguyen
adc1de569d
MDL-81247 calendar: Extra validation for webservices
2024-04-12 11:30:23 +00:00
Paul Holden
607716f206
MDL-81247 calendar: freeze event type if "user" only allowed.
2024-04-12 11:30:23 +00:00
Leon Stringer
5358ce28ee
MDL-80585 report_log: sanitize descriptions
...
Strip any HTML tags from values in the "Description" column.
2024-04-12 11:30:23 +00:00
Sara Arjona
fef8dda150
weekly release 4.1.9+
2024-04-12 13:23:37 +02:00
Ilya Tregubov
b049731dfb
Merge branch 'MDL-80385-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2024-04-11 15:43:31 +08:00
Huong Nguyen
5277dca108
Merge branch 'MDL-81362-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE
2024-04-11 11:00:21 +07:00
Ilya Tregubov
4be4d0d489
Merge branch 'MDL-81491-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2024-04-11 09:51:19 +08:00
Shamiso.Jaravaza
3d0bcb7172
MDL-81362 mod_bigbluebuttonbn: Fix content type
2024-04-10 11:49:39 -06:00
Sara Arjona
7dac3707fd
Merge branch 'MDL-74977-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2024-04-10 15:51:10 +02:00
Huong Nguyen
037a7d5d6c
MDL-74977 core_courseformat: add expanded section update actions
...
This also fix the Random "Course content preferences" Behat failure
2024-04-10 18:12:45 +07:00
Jake Dallimore
f5587cf881
MDL-81491 enrol_lti: fix incorrect login_hint parameter type validation
...
This was always bad, but since we only used it to verify the existence
of the param, and let library code take $_REQUEST for the real
validation, it was ok. Now, since we're redirecting to self during
necessary cookie checks added by MDL-80835, we lose the real value
originally stored in $_REQUEST. This patch just fixes the param type,
setting it to raw, which is what it should have used originally. The
raw value won't be cast from a string to an int as part of the
require_param call, so the value won't be lost any more.
2024-04-10 17:45:07 +08:00
Sara Arjona
a18c0b7c8b
weekly release 4.1.9+
2024-04-09 12:07:33 +02:00
Jake Dallimore
097a879e1a
Merge branch 'MDL-81060-401-fix' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2024-04-09 10:14:07 +08:00
Jake Dallimore
1901cd3fdf
Merge branch 'MDL-81405-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE
2024-04-08 15:35:46 +08:00
Jake Dallimore
2c9a5c009f
MDL-81060 core: fix incorrect userquota usage in zip_packer
...
This change reverts much of MDL-74641, removing the erroneous userquota
checks from zip_packer. Now, during extraction, the zip_packer will exit
with an error status when it encounters a file which is larger than its
advertised size, and NOT when it determines the size of the extracted
files have exceeded the userquota (which only applies to private files
and which was used incorrectly here). It also reverts changes to the
draftfiles_ajax.php file, restoring the original (pre-MDL-74641) error
handling.
2024-04-08 09:11:26 +07:00
Juan Leyva
179bfdf5c5
MDL-81405 tool_mobile: Set Partitioned cookie when required
2024-04-06 12:31:50 +02:00
Juan Leyva
eb975467bd
MDL-81405 session: New core cookie helper utility class
2024-04-06 12:31:50 +02:00
Sara Arjona
5efbd6e0e1
weekly release 4.1.9+
2024-04-02 14:46:54 +02:00
Andrew Nicols
fa20b1790f
Merge branch 'MDL-79712-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2024-04-02 11:57:12 +08:00
Jake Dallimore
7d579dd4bb
MDL-79712 auth_lti: ensure MoodleSession uses SameSite=None Secure
...
The MoodleSession cookie is already set this way when using Chrome, but
not for Firefox. This is a decision made in \core\session\manager. When
Firefox eventually defaults to SameSite=Lax when the SameSite attribute
is omitted from the Set-Cookie headers, the MoodleSession cookie won't
be sent. This change ensures the cookies used during LTI launches will
continue to work if/when this happens, and despite any changes which may
be made to core's sessionlib in future.
2024-04-02 11:44:28 +08:00
Ilya Tregubov
6b0661b9ea
Merge branch 'MDL-80036-401' of https://github.com/mickhawkins/moodle into MOODLE_401_STABLE
2024-03-27 11:08:55 +08:00
Sara Arjona
afd57ca9a0
weekly release 4.1.9+
2024-03-26 12:31:21 +01:00
Huong Nguyen
c14e75a017
Merge branch 'MDL-81353-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2024-03-26 10:34:46 +07:00
Jake Dallimore
318e2344c0
MDL-81353 auth_lti: fix str_contains usage in cookie_helper
...
This failure was being masked by Symfony\Polyfill\Php80 during unit
tests.
2024-03-26 09:28:01 +08:00
Sara Arjona
17ed404ccc
weekly release 4.1.9+
2024-03-22 14:03:06 +01:00
Huong Nguyen
5b54a87858
Merge branch 'MDL-80835-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2024-03-21 14:54:20 +07:00
Jake Dallimore
ea49be1e61
MDL-80835 auth_lti: fix bad cast breaking samesite LTI usage
2024-03-21 15:41:16 +08:00
Jake Dallimore
0f3d3b2d77
MDL-80835 enrol_lti: add partitioning support for OIDC state cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change ensures the
'state' cookie, used in the OIDC handshake, has partitioning support.
This cookie can be partitioned unconditionally, since it's a cookie
controlled by the library and one we don't expect to be set without
partitioning elsewhere.
2024-03-21 15:41:16 +08:00
Jake Dallimore
dee41e0648
MDL-80835 auth_lti: add partitioning to post-auth MoodleSession cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change to auth_lti is
to ensure the MoodleSession Set-Cookie header resulting from
complete_user_login() calls (in auth.php) have this property set.
2024-03-21 15:41:16 +08:00
Jake Dallimore
c11b1c6b3f
MDL-80835 enrol_lti: add cookies required notice to auth login endpoint
...
This will be displayed if the cookie checks fail, which currently occurs
in Safari only.
2024-03-21 15:41:16 +08:00
Jake Dallimore
e2362b0a7a
MDL-80835 enrol_lti: add partitioning support to MoodleSession cookie
...
Adds the property that is required by Chrome to opt-in to its 3rd party
cookie partitioning solution, CHIPS. This specific change deals with the
cookie that is set when the user is not yet auth'd with the site and is
necessary to facilitate OIDC nonce retrieval and validation.
2024-03-21 15:41:15 +08:00
Jake Dallimore
d63721cb15
MDL-80835 auth_lti: add cookie helper facilitating CHIPS opt-in
...
To opt a cookie in to Chrome's 3rd party cookie partitioning solution,
CHIPS, the property 'Partitioned;' needs to be set. This adds a helper
class supporting this, for a given cookie(s).
Note also, PHP's native
cookie APIs (setcookie, etc) don't support this cookie property yet -
(https://github.com/php/php-src/issues/12646 ).
Since this class is intended to allow existing Set-Cookie headers to be
modified before being sent (e.g. allowing clients to set a property on a
cookie set elsewhere in code), it deals with the headers directly anyway
but it means that new cookies must also use this helper to opt-in,
instead of relying on setcookie(). E.g. where the intent is to add
partitioning support to a new cookie, that cookie must first be set
(setcookie) and then it may opt-in to partitioning via this helper;
partitioning support cannot be achieved directly through setcookie and
friends yet.
2024-03-21 15:41:14 +08:00
Ilya Tregubov
66b1733bda
weekly release 4.1.9+
2024-03-20 08:54:22 +08:00
Ilya Tregubov
81821e6833
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-03-20 08:54:18 +08:00
Michael Hawkins
965a5fdb27
MDL-80036 core: Update security.txt expiry
2024-03-19 15:31:33 +08:00
Huong Nguyen
6aa2828161
Merge branch 'MDL-81156-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-03-19 10:56:15 +07:00
Andrew Nicols
d46a37ebd4
Merge branch 'MDL-77255-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2024-03-19 11:40:21 +08:00
Huong Nguyen
8c358aefd9
MDL-77255 block_tag_flickr: Update to match with the new API
...
Flickr dropped php_serial format, we need to change to JSON format
2024-03-19 10:14:58 +07:00
AMOS bot
40aceb0256
Automatically generated installer lang files
2024-03-19 00:08:44 +00:00
Huong Nguyen
f64240ce94
weekly release 4.1.9+
2024-03-15 21:48:28 +07:00
Huong Nguyen
10c7926c0f
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-03-15 21:48:28 +07:00
Jake Dallimore
8a26315686
Merge branch 'MDL-80167-401-int' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2024-03-15 12:55:15 +08:00
Huong Nguyen
0e8d4d8e2a
MDL-80167 core: Skip Oracle for Oracle environment in unit tests
2024-03-15 08:46:44 +07:00
Sara Arjona
5ac11701ac
Merge branch 'MDL-80167-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2024-03-14 11:55:12 +01:00
Sara Arjona
dc65317ba6
Merge branch 'MDL-80479-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-03-14 11:48:14 +01:00
Huong Nguyen
f0ae7c4343
MDL-80167 admin: Add environment check for Oracle database
2024-03-14 17:42:51 +07:00
Simey Lameze
b52c1855fa
MDL-80479 behat: improve new test for quiz timer
2024-03-14 10:21:29 +08:00
Angelia Dela Cruz
6e1e63cc6b
MDL-80479 mod_quiz: Behat to set quiz opening and closing time
2024-03-14 10:21:29 +08:00
Simey Lameze
50ae525be9
MDL-81156 behat: coverage for force course language
2024-03-14 09:04:49 +08:00
AMOS bot
a700d119df
Merge branch 'MOODLE_401_STABLE' into install_401_STABLE
2024-03-14 00:13:07 +00:00
Dale Davies
9ccd794b36
MDL-80385 core: Check lock state before attempting to acquire a lock
...
This is a cherry-pick of the same change from MDL-76865, which was
accidentally reverted in MDL-79428.
2024-03-13 13:56:49 +00:00
AMOS bot
49673645ea
Automatically generated installer lang files
2024-03-13 00:11:01 +00:00
Ilya Tregubov
e6316e6b9b
weekly release 4.1.9+
2024-03-13 08:10:00 +08:00
Huong Nguyen
5003afbe48
Merge branch 'MDL-76805-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-03-12 10:33:02 +07:00
Shamiso.Jaravaza
7e1bbaaf20
MDL-76805 mod_bigbluebuttonbn: Fix up behat tests
2024-03-12 11:08:28 +08:00
Sara Arjona
d1111bc3e8
weekly release 4.1.9+
2024-03-08 11:12:04 +01:00
Huong Nguyen
8de03684ac
Merge branch 'MDL-79990-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-03-07 10:05:09 +07:00
Simey Lameze
2db07c4d0a
MDL-79990 behat: custom step to verify assign grading data
...
This commit also optimise the new behat test.
2024-03-07 09:44:34 +08:00
Angelia Dela Cruz
3ac3d942dd
MDL-79990 gradingform: Behat test for marking guide information display
2024-03-07 09:44:34 +08:00
Huong Nguyen
84308c7dfc
Merge branch 'MDL-79278-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-03-06 09:13:39 +07:00
Angelia Dela Cruz
24a0e76ebf
MDL-79278 mod_quiz: Teacher can set how quiz questions behave behat
...
Co-authored-by: Simey Lameze <simey@moodle.com >
2024-03-06 09:48:46 +08:00
Sara Arjona
2444b2b787
weekly release 4.1.9+
2024-03-05 11:22:31 +01:00
Jun Pataleta
b704fa7dda
Merge branch 'MDL-80819_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2024-03-05 11:48:39 +08:00
Huong Nguyen
9d3d193f29
Merge branch 'MDL-80836-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2024-03-05 10:24:39 +07:00
Jun Pataleta
43c7557e84
weekly release 4.1.9+
2024-03-01 12:24:39 +08:00
Jun Pataleta
da74ac4987
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-03-01 12:24:37 +08:00
AMOS bot
1e5bc3a393
Automatically generated installer lang files
2024-02-28 00:10:59 +00:00
Sara Arjona
7c20cd1b81
Merge branch 'MDL-81036-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2024-02-27 13:04:19 +01:00
Marina Glancy
edf1a1ac8c
MDL-81036 behat: fix the action menu clickable area selector
2024-02-23 11:23:21 +00:00
Eloy Lafuente (stronk7)
5a2acac1ed
MDL-80819 install: halt any install if php min version is not met
...
Apart from environmental stuff, the moodle_minimum_php_version_is_met()
function is executed by all installs (web, cli, database, ...)
and halts any installation (early) not meeting the PHP constraints.
2024-02-23 11:08:40 +01:00
Huong Nguyen
719c95009e
weekly release 4.1.9+
2024-02-23 08:37:56 +07:00
Huong Nguyen
860b4b941a
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-02-23 08:37:54 +07:00
Huong Nguyen
26ed48ec40
Merge branch 'MDL-80844_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2024-02-22 11:24:26 +07:00
Huong Nguyen
58ba1a9448
Merge branch 'MDL-80862-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2024-02-22 10:38:16 +07:00
Sara Arjona
40d2b4de39
Merge branch 'MDL-76441_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2024-02-21 17:50:08 +01:00
Sara Arjona
bce1d7ff85
Merge branch 'MDL-80404-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-02-21 13:23:48 +01:00
Angelia Dela Cruz
3f439ff9d4
MDL-80404 mod_data: Behat for url autolinking and opening in new window
2024-02-21 16:03:46 +08:00
Huong Nguyen
0c34355c85
Merge branch 'MDL-79792-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-02-21 14:25:55 +07:00
Angelia Dela Cruz
ab118d48f5
MDL-79792 core_badges: Behat test for awarding badge to group members
2024-02-21 14:06:09 +08:00
Jun Pataleta
6df3213c9b
Merge branch 'MDL-79003-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2024-02-21 10:35:31 +08:00
Andrew Nicols
6dbd0e938f
MDL-80862 testing: Reset task manager between behat tests
2024-02-20 10:55:04 +08:00
AMOS bot
8889f6f26f
Automatically generated installer lang files
2024-02-20 00:13:48 +00:00
Sara Arjona
36aa09726b
Merge branch 'MDL-79674-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2024-02-19 10:20:59 +01:00
Sara Arjona
196c2ae7a5
Merge branch 'MDL-80613-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-02-19 09:14:39 +01:00
Sara Arjona
4d217e3a1a
weekly release 4.1.9+
2024-02-15 15:39:56 +01:00
Sara Arjona
09e3db1aa6
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-02-15 15:39:53 +01:00
Simey Lameze
8815ecb3fd
MDL-80613 behat: convert manual completion steps to use generators
2024-02-15 11:02:57 +08:00
Jake Dallimore
8482210209
MDL-80836 auth_lti: take user through login instead of sesspiggyback
...
Browsers are phasing out 3rd party cookies. Those which can be set are
partitioned to the top level embedding site, so piggybacking is
prevented. This will break the account linking process. This fix swaps
the piggyback for a login round trip, as originally intended, which
resolves the issue.
2024-02-15 10:40:05 +08:00
Sara Arjona
281ef7ef8d
Merge branch 'MDL-79321-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-02-14 09:35:38 +01:00
Angelia Dela Cruz
6970580b4c
MDL-79321 mod_quiz: Behat to set quiz as interactive with multiple tries
2024-02-13 17:09:00 +08:00
Jun Pataleta
652633b467
Merge branch 'MDL-80402-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-02-13 15:51:52 +08:00
Angelia Dela Cruz
5a7963d9f5
MDL-80402 mod_quiz: Behat for interactive quiz question dependency
2024-02-13 15:23:17 +08:00
AMOS bot
56ff5e78f1
Automatically generated installer lang files
2024-02-13 00:10:13 +00:00
Eloy Lafuente (stronk7)
e31db928b5
MDL-80844 phpunit: Only some tests can use the debugging sink
...
The only tests that have COMPLETE* support for the debugging sink
are the advanced_testcase and the database_driver ones (store and
report). So we must ensure that the rest of tests don't use the
debugging sink at all.
Right now we are using it for storing, but later there is not
reporting, so any debugging happening within non advanced tests
is not detected.
This commit just ensures that we stop making that storing for
non advanced/database_driver tests. Nothing more, nothing less.
* Note that we have had to add a few missing bits to the
database_driver testcase because it was not 100% complete. Now
it behaves 100% the same than the advanced_testcase one regarding
the debugging sink.
2024-02-12 13:03:06 +01:00
AMOS bot
03fcd81892
Automatically generated installer lang files
2024-02-12 00:11:13 +00:00
Eloy Lafuente (stronk7)
05a41b6e32
MDL-76441 env: Moodle 4.2.x and 4.3.x do not support PHP 8.3
2024-02-10 12:15:11 +01:00
Jake Dallimore
8a38a37f1f
Moodle release 4.1.9
2024-02-09 10:33:26 +08:00
Sara Arjona
4ea1bd3537
weekly release 4.1.8+
2024-02-08 16:18:25 +01:00
Sara Arjona
35b7cbf027
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-02-08 16:18:21 +01:00
Ilya Tregubov
87eb0fdf21
MDL-80504 forum: Fix seperate group mode
2024-02-08 10:56:42 +07:00
Andrew Nicols
c8aef2e4ba
Merge branch 'MDL-80738-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2024-02-08 11:39:18 +08:00
Leon Stringer
fa72ebc155
MDL-80501 mod_h5pactivity: activity group mode
...
Respect activity's group mode when checking access to the report.
Previously only the course's group mode was checked.
2024-02-08 11:16:16 +08:00
Andrew Nicols
6d7f162df0
Merge branch 'MDL-80667-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2024-02-08 09:42:22 +08:00
Jun Pataleta
97d64fb809
Merge branch 'MDL-80784-401' of https://github.com/noeldemartin/moodle into MOODLE_401_STABLE
2024-02-07 17:19:53 +08:00
Paul Holden
fd3c586992
MDL-80738 quiz_statistics: ensure tests uses a DB-backed lock class.
...
Fix the test file/class name too.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2024-02-07 07:50:13 +00:00
Ilya Tregubov
61fb8ee988
MDL-69774 mod_forum: Restrict URL to accpet only expected params
2024-02-07 15:28:42 +08:00
Huong Nguyen
44f8c11123
Merge branch 'MDL-80512-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2024-02-07 13:32:01 +07:00
Jun Pataleta
e5b9510af2
Merge branch 'MDL-75081-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2024-02-07 10:38:03 +08:00
Paul Holden
ab151f86ab
MDL-75081 grade: fix rogue gradebook scenarios containing invalid steps.
2024-02-07 09:07:04 +08:00
Paul Holden
e36e40f530
MDL-75081 behat: define new heading named selector.
...
Co-authored-by: Jun Pataleta <jun@moodle.com >
2024-02-07 09:06:40 +08:00
Paul Holden
3a8a8c8463
MDL-75081 behat: correct tests of table contents asserting one column.
...
Prior to this change, assertions of "should exist" and "should not
exist" in table content, where the step provided only a single column,
could give false positives and pass (when they shouldn't).
2024-02-07 09:05:07 +08:00
meirzamoodle
2f811e6acf
MDL-74641 repository: Fix wrong increment of temporary file for small sizes
2024-02-06 16:00:21 +01:00
meirzamoodle
fb7da9c74f
MDL-74641 repository: Handles increase bytes while extracting zip files
...
We should not rely solely on the provided size information.
Therefore the system needs to recalculate the size of each file in the zip file,
whether small or big.
The changes also cover the filemanager.js file if an error appears.
2024-02-06 16:00:21 +01:00
meirzamoodle
d27862e2ca
MDL-78300 block: Determine if users can comment based on context
2024-02-06 16:00:21 +01:00
Paul Holden
c7fde934c7
MDL-54749 tool_langimport: require sesskey to update lang packs.
2024-02-06 16:00:21 +01:00
Sara Arjona
be50fbe20c
Merge branch 'MDL-80816_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2024-02-06 15:51:56 +01:00
Ilya Tregubov
74bf7382dd
Merge branch 'MDL-80713-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2024-02-06 11:20:38 +08:00
Huong Nguyen
cb075f6257
MDL-80713 Unit Tests: Message sink improvement
...
- Added a new method called get_messages_by_component()
This method will help to retreive the redirected messages
of specific component only
- Added a new method called get_messages_by_component_and_type()
This method will help to retreive the redirected messages
of specific component and type only
2024-02-05 13:27:07 +07:00
Eloy Lafuente (stronk7)
8a1b5fc2b0
MDL-80816 core: Bump actions to newer versions
...
All the new ones are Nodejs 20 based, because
Nodejs 16 is being deprecated @ GH environments.
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20
2024-02-02 17:17:53 +01:00
Noel De Martin
bd22abe778
MDL-80784 behat: Disable SSL checks for app initialization
2024-01-31 14:06:17 +01:00
Jun Pataleta
b3867e7422
MDL-79674 behat: Use proper tags for testing WCAG 2.1 criteria
...
`wcag2a` and `wcag2aa` refer to WCAG 2.0 standards. We should be using
`wcag21a` and `wcag21aa` to test against WCAG 2.1 standards.
See:
https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#axe-core-tags
2024-01-30 16:19:50 +08:00
Jun Pataleta
8c298f14bb
MDL-79674 behat: axe-core version fixes
...
* Update \behat_accessibility::run_axe_validation_for_tags()'s
PHPDoc block to reflect the current version.
* Fix incorrect copyright tag for the library
2024-01-30 16:19:48 +08:00
Andrew Nicols
58bd2ed8e4
MDL-79003 js: Bump stylelint and components
...
Stylelint 15 deprecates a heap of rules which will be removed in 16.
We can't use 16 because it's ESM and requires a big restructure of our
build process.
We can temporarily silence the deprecations and then when we update our
build tooling we can make use of @stylistic/stylelint-plugin to add the
rules back.
This commit:
- bumps stylelint and related dependencies accordingly
- fixes issues identified with newer sniffs
- temporarily silences deprecation warnings
2024-01-30 14:08:51 +08:00
Andrew Nicols
36ca488c06
MDL-79003 js: Move rollup ratelimit to generateBundle
...
There are two phases of a build: Building, and then Outputting.
We were previously listening on the final event for the build phase, but
we should be listening to the final event of the output phase.
2024-01-30 14:08:51 +08:00
Andrew Nicols
bca28b03a9
MDL-79003 js: Move browserlist config to package.json
2024-01-30 14:08:51 +08:00
Andrew Nicols
a6216bb890
MDL-79003 js: Standard package bump - glob
2024-01-30 14:08:20 +08:00
Andrew Nicols
94b14df11d
MDL-79003 js: Standard package bump - async
2024-01-30 14:07:09 +08:00
Andrew Nicols
0dc60026c8
MDL-79003 js: Remove grunt-contrib-uglify
...
We stopped using this when we updated our processes to support ESMs in
MDL-62497. Removal of the dependency was missed at the time.
2024-01-30 14:07:08 +08:00
Andrew Nicols
63a1ec81c4
MDL-79003 js: Standard package bump - grunt
2024-01-30 14:07:08 +08:00
Andrew Nicols
150fc0837a
MDL-79003 js: Standard package bump - watchman
2024-01-30 14:07:08 +08:00
Andrew Nicols
72958879c6
MDL-79003 js: Standard package bump - ajv
2024-01-30 14:07:08 +08:00
Andrew Nicols
d8d560b7fe
MDL-79003 js: Use our own jsdoc wrapper
...
grunt-jsdoc is abandoned and only works with an older version of jsdoc.
This is a very simple wrapper around jsdoc itself.
This commit also includes a fix for broken docs.
2024-01-30 14:07:06 +08:00
Andrew Nicols
917dd49db2
MDL-79003 core: Bump eslint
2024-01-30 14:04:40 +08:00
Ruslan Kabalin
80691cf5a3
MDL-79003 eslint: Enable 'reportUnusedDisableDirectives' eslint setting
...
This commit is a backport of MDL-74301 which should have been backported
at the time.
This will warn on unused /* eslint-disable */ statements.
2024-01-30 14:04:38 +08:00
Ruslan Kabalin
e20720ce0e
MDL-79003 eslint: Remove rules included in eslint:recommended
...
This commit is a backport of MDL-74301 which should have been backported
at the time.
All rules included in "eslint:recommended" set containing matching
values are removed from the list. Recommended set is defined in
node_modules/eslint/conf/eslint-recommended.js
2024-01-30 14:03:10 +08:00
Ruslan Kabalin
f976349b95
MDL-79003 eslint: Remove deprecated rules.
...
This commit is a backport of MDL-74301 which should have been backported
at the time.
To identify deprecated rules, temporary install sarbbottam/eslint-find-rules, then run
`npx eslint-find-rules -d .eslintrc`, it will return a list of rules
defined in .eslintrc that were deprecated.
2024-01-30 14:03:09 +08:00
Ruslan Kabalin
312a166f1e
MDL-79003 eslint: Refactor jsdoc rules.
...
This commit is a backport of MDL-74301 which should have been backported
at the time.
Adding 'plugin:promise/recommended' results in 5k+ jsdoc warnings most
of which includes missing return and naming preferences (e.g. 'returns'
over 'return' or 'string' over 'String'). This needs to be audited and
addressed seprately.
2024-01-30 14:03:09 +08:00
Ruslan Kabalin
f16ca8fa7a
MDL-79003 eslint: Use 'plugin:promise/recommended'
...
This commit is a backport of MDL-74301 which should have been backported
at the time.
This enables recommended rules and brings back related rules. Without
reducing level to warn for some of them, this gives numerous (about 88) issues mainly
catch-or-return. Recommended set is defined in
node_modules/eslint-plugin-promise/index.js
2024-01-30 14:03:09 +08:00
Ruslan Kabalin
846a8b6568
MDL-79003 eslint: Address issues reported by eslint
...
This commit is a backport of MDL-74301 which should have been backported
at the time.
2024-01-30 14:03:05 +08:00
Ruslan Kabalin
692d3090fa
MDL-79003 eslint: Change configuration and use 'eslint:recommended'
...
This commit is a backport of MDL-74301 which should have been backported
at the time.
2024-01-30 13:33:40 +08:00
Ruslan Kabalin
8092eb95c4
MDL-79003 eslint: Upgrade eslint and babel
...
This commit is a backport of MDL-74301 which should have been backported
at the time.
This patch includes changes:
* Upgrade "@babel/core" to latest point release
* Remove plugins already included into current "@babel/preset-env":
- "@babel/plugin-proposal-class-properties"
- "@babel/plugin-proposal-json-strings"
- "@babel/plugin-syntax-dynamic-import"
- "@babel/plugin-syntax-import-meta"
* Upgrade "eslint" to latest version
* Replace "eslint-plugin-babel" (depreacted in 2019) with "@babel/eslint-parser" and "@babel/eslint-plugin"
2024-01-30 13:33:40 +08:00
Andrew Nicols
2b864ceec3
MDL-79003 core: Bump NodeJS to lts/iron (NodeJS 20)
2024-01-30 13:33:40 +08:00
AMOS bot
80083244b6
Automatically generated installer lang files
2024-01-27 00:11:24 +00:00
Sara Arjona
560f4d895b
weekly release 4.1.8+
2024-01-25 16:48:39 +01:00
Jun Pataleta
95c3017da4
Merge branch 'MDL-80656-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-01-25 12:13:47 +08:00
Ilya Tregubov
8fffc08ee8
Merge branch 'MDL-79159-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-01-25 09:36:26 +08:00
Ilya Tregubov
364230d6f8
Merge branch 'MDL-80653-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2024-01-25 09:26:49 +08:00
Paul Holden
45f674e8cb
MDL-80653 h5p: handle content type creation errors in test.
...
See also same in c7d08f85 .
2024-01-24 08:58:30 +00:00
Sara Arjona
4ba166cf80
Merge branch 'MDL-79940-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-01-24 09:22:48 +01:00
Angelia Dela Cruz
3a779663aa
MDL-79159 mod_lesson: Behat coverage for lesson question max attempts
2024-01-24 16:18:46 +08:00
Simey Lameze
ca7b24f6d0
MDL-80656 behat: remove unnecessary activity duplication steps
2024-01-24 11:14:42 +08:00
Angelia Dela Cruz
35a2a34a7d
MDL-79940 mod_workshop: Behat to confirm review button for reviewers
2024-01-24 09:10:41 +08:00
Paul Holden
603c794190
MDL-80512 tool_task: absolute path to required library file.
2024-01-23 09:27:09 +00:00
Sara Arjona
38c4d51947
Merge branch 'MDL-80339-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-01-23 07:48:37 +01:00
Angelia Dela Cruz
a86228f547
MDL-80339 mod_lesson: Behat to confirm grade visibility in lesson
2024-01-23 10:13:27 +08:00
Jun Pataleta
b30033c6c0
Merge branch 'MDL-79029-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2024-01-23 09:21:26 +08:00
Ferran Recio
5661849a02
MDL-79029 behat: optimize behat tests
...
Replace some add activity to section steps to the new
add activity to course section so they are faster and do
not require javascript.
2024-01-22 11:23:44 +01:00
Ferran Recio
66e8ce9976
MDL-79029 behat: new add activity steps
2024-01-22 11:23:44 +01:00
Jun Pataleta
cf92eaeb0b
Merge branch 'MDL-80377-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-01-22 16:32:15 +08:00
Angelia Dela Cruz
f7f40e54e6
MDL-80377 block: Behat confirming folder file in recent activity block
2024-01-19 14:31:30 +08:00
Huong Nguyen
627177855a
weekly release 4.1.8+
2024-01-19 11:24:39 +07:00
Paul Holden
8c7983a43f
MDL-80667 task: preserve environment when running tasks from web.
...
For sites that rely on environment variables to set configuration,
ensure they are also present when executing task process.
Co-authored-by: Olivier Wenger <olivier.wenger@liip.ch >
2024-01-18 16:54:10 +00:00
Andrew Nicols
0d0aa11e19
Merge branch 'MDL-80591_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2024-01-18 10:57:43 +08:00
Sara Arjona
eb0439b5da
Merge branch 'MDL-80266-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2024-01-16 07:20:21 +01:00
Andrew Nicols
37101f0698
MDL-80266 mod_forum: Reset subscription caches between behat tests
2024-01-16 13:34:46 +08:00
Eloy Lafuente (stronk7)
4b8a001bb0
MDL-80591 phpunit: delegate run to phpunit binary
...
Instead of manually including composer's auto-loading
stuff and then run PHPUnit\TextUI\Command::main(), now
we are using the PHPUnit "binary".
That way behaviour should be 100% the same than
running vendor/bin/phpunit (recommended instead of util.php --run).
Also, note that, for other util.php commands, we still need
composer's auto-loading to happen, so we have moved it immediately
after the --run command.
Finally, a few more file_exists() conditions have been added
to ensure that PHPUnit is properly installed. Redundant but...
2024-01-13 18:32:43 +01:00
Ilya Tregubov
a9cf9d5519
weekly release 4.1.8+
2024-01-12 09:11:53 +08:00
Ilya Tregubov
53275e5b8f
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2024-01-12 09:11:48 +08:00
Huong Nguyen
518e5799e4
Merge branch 'MDL-80452-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-01-11 10:45:35 +07:00
Huong Nguyen
6a610605f6
Merge branch 'MDL-80229-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2024-01-11 10:36:56 +07:00
Angelia Dela Cruz
e4eb16bd9f
MDL-80452 mod_h5pactivity: Behat for H5Pactivity duplication and delete
2024-01-11 11:22:22 +08:00
Huong Nguyen
3e831cc8c5
Merge branch 'MDL-73639-401-fix' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2024-01-10 14:47:48 +07:00
Sara Arjona
5ecca13a6f
Merge branch 'MDL-80340-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-01-10 07:35:14 +01:00
Huong Nguyen
278f58dae0
Merge branch 'MDL-80382-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2024-01-10 10:31:13 +07:00
Sara Arjona
73cf6fb65c
MDL-73639 behat: Fix the failure with the Enrol button
...
The button at the top of the page is hidden a few seconds by the
un-enrolment confirmation dialogue. Instead of waiting a few seconds
or reloading the page, the button at the bottom is clicked instead.
2024-01-09 16:39:38 +01:00
Simey Lameze
6483b5d68f
MDL-80340 behat: make query to fetch h5p attempts less strict
2024-01-09 16:16:06 +08:00
Angelia Dela Cruz
6c24b8289f
MDL-80382 behat: Replace "Frist" typos in Behat tests to "First"
2024-01-09 11:00:06 +08:00
Huong Nguyen
e2e00a9dd4
Merge branch 'MDL-73639-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2024-01-08 16:10:15 +07:00
Simey Lameze
8168155e17
MDL-73639 behat: improvements to the new recover grades test
2024-01-08 13:09:25 +08:00
Angelia Dela Cruz
d6650b63bf
MDL-73639 core_grades: Behat to test Recover grades default settings
2024-01-08 13:09:25 +08:00
Ilya Tregubov
174389cc26
Merge branch 'MDL-79937-401_fixlessonmatching' of https://github.com/catalystfd/moodle into MOODLE_401_STABLE
2024-01-08 09:21:02 +08:00
AMOS bot
03454c2262
Automatically generated installer lang files
2023-12-23 00:11:20 +00:00
Jun Pataleta
e591ddc4e8
Moodle release 4.1.8
2023-12-22 10:01:56 +08:00
Sara Arjona
e1767fa80f
weekly release 4.1.7+
2023-12-21 13:34:33 +01:00
Huong Nguyen
e25033e42d
Merge branch 'MDL-80151-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-12-20 15:40:30 +07:00
Huong Nguyen
dd2c19eb09
MDL-80151 behat: Improve viewing site calendar step
2023-12-20 16:32:55 +08:00
Angelia Dela Cruz
3b8b8d7d84
MDL-80151 mod_chat: Behat for chat repeat times and past session view
2023-12-20 16:32:55 +08:00
Simey Lameze
5378285a9a
MDL-80151 behat: add calendar step to navigate to specific view
2023-12-20 16:32:55 +08:00
Jun Pataleta
3a098250f1
Merge branch 'MDL-68124-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-12-20 15:01:28 +08:00
Jun Pataleta
148ddd26e7
Merge branch 'MDL-80393-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-12-19 17:24:56 +08:00
Paul Holden
cdf432ee17
MDL-80393 lang: expose current page language to JS modules.
...
Since 4be39296 the root HTML element contains the iso6391 language
code of the current language pack. However various JS modules need
access to the original Moodle language pack code, so expose that
in the `M.cfg` structure.
2023-12-19 09:08:12 +00:00
Sara Arjona
b1e918edd8
MDL-68124 lesson: Fix random behat error with Oracle
...
This random error was caused because when reviewing an attempt,
the first pageid to display is calculated based on the timeseen
field in the lesson_attempst table.
In Oracle, sometimes it returned the second pageid (because both
had the same timeseen), so which led to these random failures.
Apart from adding 1-second wait when the attempt is created (to
guarantee the first page is returned properly), a few more
improvements have been also made, like removing manual steps for
setting the lesson activity or adding some extra checks to
confirm the information displayed is expected.
2023-12-18 09:49:05 +01:00
Huong Nguyen
f58df6fa88
weekly release 4.1.7+
2023-12-15 08:44:56 +07:00
Huong Nguyen
eae562817d
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-12-15 08:44:52 +07:00
Huong Nguyen
033a59f9c5
Merge branch 'MDL-79828-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-12-14 10:16:22 +07:00
Huong Nguyen
a34a8636be
Merge branch 'MDL-79050-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-12-14 09:57:28 +07:00
Huong Nguyen
08d2e7c136
Merge branch 'MDL-80394-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-12-14 09:23:23 +07:00
Ilya Tregubov
886bbcbdb8
Merge branch 'MDL-79938-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-12-14 08:51:51 +08:00
AMOS bot
0c3e759d98
Automatically generated installer lang files
2023-12-14 00:11:04 +00:00
sam marshall
607a452a74
MDL-79938 Behat: Add steps to support multiple tabs
2023-12-13 11:45:51 +00:00
Angelia Dela Cruz
3ef6e04f3c
MDL-79050 Behat: Add behat coverage to retake lesson activity
2023-12-13 16:27:02 +08:00
Ilya Tregubov
dfc7dcd062
MDL-80394 core_grades: Revert changes to graded_users_iterator
...
Third party plugins are using it and change was breaking it
2023-12-13 09:38:29 +08:00
Sara Arjona
80d773868c
Merge branch 'MDL-80315-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-12-12 14:20:03 +01:00
Sara Arjona
eb127cc93b
Merge branch 'MDL-79835_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-12-12 14:11:51 +01:00
Huong Nguyen
86716dc120
Moodle release 4.1.7
2023-12-08 09:21:51 +07:00
Francis Devine
e5eb66e405
MDL-79937 mod_lesson: Fix matching pagetype question matching
...
The addition of text format on the output of the answer responses broke
the matching later when comparing the valid answer against the sent
response, as the answer response was not correspondingly formatted.
I decided to use the un formatted answer response as the key, to keep it
as close as identical to prior behaviour
2023-12-08 09:06:53 +13:00
Sara Arjona
3a1b615718
weekly release 4.1.6+
2023-12-07 16:22:14 +01:00
Paul Holden
54a8516cd2
MDL-79980 mod_survey: remove responses link if user cannot access.
2023-12-07 12:09:27 +01:00
Brendan Heywood
628e7ecc4c
MDL-80309 tasks: Clean up mtrace logs
2023-12-07 12:07:45 +08:00
Huong Nguyen
7762fc61e8
Merge branch 'MDL-80341_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-12-07 10:28:55 +07:00
Huong Nguyen
3ffafd9232
Merge branch 'MDL-79061-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-12-07 09:53:18 +07:00
Huong Nguyen
7c82e1206d
Merge branch 'MDL-68652-401-1' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-12-07 09:33:33 +07:00
Jun Pataleta
0152978745
Merge branch 'MDL-80281_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-12-07 10:16:38 +08:00
Huong Nguyen
2302bb7e2b
Merge branch 'MDL-77136-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-12-07 08:37:07 +07:00
Paul Holden
d1ccb8702c
MDL-79980 mod_survey: respect activity group mode getting report.
2023-12-07 09:31:39 +08:00
Ilya Tregubov
4cb1509e35
MDL-68652 core_grades: Only return allowed fields.
...
Grade iterator should check user permissions.
2023-12-07 09:14:03 +08:00
Ilya Tregubov
f764c332e7
Merge branch 'MOODLE_401_MDL-73378' of https://github.com/danielneis/moodle into MOODLE_401_STABLE
2023-12-07 09:02:59 +08:00
Tim Hunt
67f869a081
MDL-79835 behat_core_generator: remove misleading error obfuscation
2023-12-06 18:14:09 +00:00
Jun Pataleta
467a28d921
Merge branch 'MDL-80127_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-12-06 22:11:56 +08:00
Jun Pataleta
3e4c1c959f
Merge branch 'MDL-80079-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-12-06 21:57:54 +08:00
Luca Bösch
69d235426a
MDL-77136 qtype_randomsamatch: Newest versions for shortanswer questions
2023-12-06 14:12:02 +01:00
Luca Bösch
bbb8622464
MDL-77136 core_question: Newest versions get_questions_from_categories
2023-12-06 14:12:02 +01:00
Tim Hunt
7311dff041
MDL-80127 question engine: prevent fatal errors from old bad data
2023-12-06 11:45:26 +00:00
Tim Hunt
8f2f95bd28
MDL-80127 question engine: don't convert null to '' before storing
2023-12-06 11:43:30 +00:00
Tim Hunt
579a5061ef
MDL-80341 quiz: unseen descriptions are not unanswered questonis
...
This was causing confusing in the 'are you sure you want to submit' confirmation pop-up.
2023-12-06 11:20:06 +00:00
Angelia Dela Cruz
a11a9ca5aa
MDL-80315 block_comments: Removed duplicate Behat test
...
Deleted the duplicated course comments block behat test. The file
blocks/comments/tests/behat/add_comment.feature is deleted as a
result.
2023-12-06 18:26:23 +08:00
Ilya Tregubov
2ff0e12b24
Merge branch 'MDL-76109-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-12-06 15:43:39 +08:00
Huong Nguyen
3f163e8330
Merge branch 'MDL-50650-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-12-06 14:07:51 +07:00
Ilya Tregubov
f5ada5cb0b
Merge branch 'MDL-80043-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-12-06 15:01:46 +08:00
Stephan Robotta
63b2ceee5f
MDL-41465 reports: In separate group mode, limit to same
2023-12-06 13:50:57 +07:00
Jun Pataleta
ee9d740ccf
MDL-80043 gradereport_grader: No need to pass header parameter
...
No need to pass a value for the header parameter in
print_grade_page_head() because:
1. The default grade plugin name will be used anyway.
2. It will allow the use of the editingmode_title lang string for the
grader report so the page title can reflect the display mode of the
grader report, especially when editing mode is turned on.
2023-12-06 13:55:15 +08:00
Ilya Tregubov
13c201fbc7
MDL-68652 mod_forum: Only include gradable users in grading
2023-12-06 12:47:29 +08:00
Jun Pataleta
b9fd956e73
MDL-79061 course: Create a sr-only mutations logger
...
* Create SRLogger that extends from the default Logger class. This
logger outputs the feedback to a sr-only ARIA live region to allow
screen readers to announce the feedback from mutations.
* Update the course editor to use the SRLogger.
2023-12-06 11:54:11 +08:00
David Woloszyn
2f216f5bdb
MDL-79759 repository_url: Limit css imports and remove fragments
...
There are checks to urls that attempt to limit recurrsion when
parse_file is called. This is problematic for css import urls that
can call an indefinite amount of nested import urls. An import limit
has been introduced to address this. Fragments have also been removed.
2023-12-06 04:00:22 +01:00
Stevani Andolo
fcebf9b8a6
MDL-80174 tool_log: ensure "other" data is safely unserialized.
2023-12-06 04:00:22 +01:00
Paul Holden
7ace11d396
MDL-80268 badges: require capability to view awarded badges.
2023-12-06 04:00:22 +01:00
Paul Holden
ad377e3085
MDL-79797 backup: ensure block config is safely unserialized.
2023-12-06 04:00:22 +01:00
Ilya Tregubov
9b65beb7ed
Merge branch 'MDL-79692-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-12-06 10:50:55 +08:00
Huong Nguyen
4afd2390e2
Merge branch 'MDL-80180-401' of https://github.com/jbs1/moodle into MOODLE_401_STABLE
2023-12-06 09:17:28 +07:00
Ilya Tregubov
184aa8d8ca
Merge branch 'MDL-74248-MOODLE_401_STABLE-fix_mp3_mod_folder' of https://github.com/praxisdigital/moodle into MOODLE_401_STABLE
2023-12-06 10:02:13 +08:00
Sara Arjona
9e1916ba09
Merge branch 'MDL-80286-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-12-05 16:42:24 +01:00
Sara Arjona
7d01008384
Merge branch 'MDL-79979-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-12-05 16:16:58 +01:00
Jun Pataleta
4ca230b174
Merge branch 'MDL-73974-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-12-05 23:08:56 +08:00
Karen Holland
07e0b64822
MDL-73974 tool_brickfield: Processing alpha fontsizes
2023-12-05 23:08:17 +08:00
Sara Arjona
9acc242e13
Merge branch 'MDL-55640-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-12-05 16:02:06 +01:00
Sara Arjona
fbdd721f0b
Merge branch 'MDL-80015-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-12-05 15:51:40 +01:00
Sara Arjona
66ae31ecb5
Merge branch 'MDL-80254-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-12-05 15:45:49 +01:00
Jun Pataleta
43b30054ef
Merge branch 'MDL-79806_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-12-05 12:48:09 +08:00
Huong Nguyen
066edbb11b
Merge branch 'MDL-71336-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-12-05 11:20:59 +07:00
Jun Pataleta
0076a8fe5c
Merge branch 'm41-mdl64431' of https://github.com/danmarsden/moodle into MOODLE_401_STABLE
2023-12-05 12:13:24 +08:00
Huong Nguyen
534cf6e3d4
Merge branch 'MOODLE_401_STABLE' of https://github.com/dragos5436/moodle into MOODLE_401_STABLE
2023-12-05 10:41:10 +07:00
Ferran Recio
771f183646
MDL-79061 core: Mechanism for logging mutation feedbacks
...
* Create a mechanism for logging mutation feedbacks.
* The mutation feedbacks are displayed as a toast by default.
* Apply this logging mechanism on the course homepage to provide
feedback for the results of actions performed on course modules and
course sections.
2023-12-05 11:19:30 +08:00
Ilya Tregubov
348efc1495
MDL-68652 core_grades: Refactor grades functions.
...
get_gradable_users now has extra param to retrieve only active
users. Grade reports hase their own grade_report::get_gradable_users
since they decided whether to inlcude active users from report preferences
2023-12-05 10:53:31 +08:00
Ilya Tregubov
7b9191508f
MDL-68652 core_grades: Add a webservice to retrive only gradable users.
2023-12-05 10:53:31 +08:00
Ilya Tregubov
67f08a792f
Merge branch 'MDL-80043-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-12-05 09:11:51 +08:00
Ilya Tregubov
36a5a2d4d1
Merge branch 'MDL-80131-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-12-05 09:01:33 +08:00
Sara Arjona
52818283fe
Merge branch 'MDL-80185-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-12-04 11:00:56 +01:00
Paul Holden
053aa290b2
MDL-80254 reportbuilder: better handling of deleted users in schedules.
...
We should verify that schedule and audience users are active accounts,
and that we don't try to send report schedules either from/to them if
they aren't.
2023-12-04 09:48:47 +00:00
Jun Pataleta
1b1a661a03
Merge branch 'MDL-80221-401-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_401_STABLE
2023-12-04 16:10:39 +08:00
Ilya Tregubov
ad3e6363f1
MDL-50650 core_grades: Validate minimum grade when importing grades
...
Also add behat test for max and min grade validation.
2023-12-04 16:01:49 +08:00
Kyle Matter
2627f5ba2c
MDL-50650 core_grades: allow grade imports larger than 100 points
2023-12-04 12:55:50 +08:00
Jun Pataleta
223948bf93
MDL-80131 mod_data: Make page titles unique
2023-12-02 07:20:53 +08:00
dragos5436
6b5485a0b0
MDL-60632 mod_quiz: Fix chart rendering fail in quiz report
...
If a quiz activity has negative grading enabled for incorrect answers,
students can achieve overall negative grades in this quiz. If at least
one student achieves a negative grade, the chart at the bottom of the
quiz 'Results' tab will fail to display. This patch add a search for
negative results, removes them from the band below 0 and adds them to
the 0 band. This will make the chart render correctly again.
Co-authored-by: Susana Leitão <sleitao@uporto.pt >
Co-authored-by: Matthias Opitz <m.opitz@ucl.ac.uk >
Removed whitespace at end of lines
2023-12-01 15:22:23 +00:00
David Mudrák
b16e808764
MDL-80221 lang: Use fixed strings in the tests, too
2023-12-01 06:23:33 +01:00
Ilya Tregubov
76ff7600e4
weekly release 4.1.6+
2023-12-01 13:12:36 +08:00
Jun Pataleta
a2ddc55f69
MDL-80043 grade: Add upgrade.txt notes
2023-12-01 09:15:04 +08:00
Jun Pataleta
cc6b3c161f
MDL-80043 gradereport_grader: Define editingmode_title lang string
2023-12-01 09:15:04 +08:00
Jun Pataleta
18e5768332
MDL-80043 grade: editingmode_title support for grade report plugins
...
* Add support for grade report plugins that define an
`editingmode_title` lang string. If the grade report plugin defines this
language string, it will be used for the page title's unique
identifying information when editing mode is turned on.
2023-12-01 09:15:04 +08:00
Jun Pataleta
fe3ff7dd69
MDL-80043 gradereport_singleview: Improve heading wordings
...
* Make the headings for the single view easier to read and understand
* When on editing mode, update the heading for the grade and user
screens to convey to the user that the page is currently on editing
mode. This is helpful for screen reader users as they can immediately
know the current display mode of the single view report page when this
gets read via the page title.
2023-12-01 09:15:03 +08:00
Jun Pataleta
816fadfcd7
MDL-80043 grade: Use heading parameter for the page title if provided
2023-12-01 09:15:03 +08:00
Helen Foster
b136e428d0
MDL-80221 lang: Import fixed English strings (en_fix)
2023-11-30 19:14:48 +01:00
sam marshall
f02437f915
MDL-55640 setuplib: test_localcachedir fails sporadically
2023-11-30 13:59:08 +00:00
Paul Holden
de6c7d2975
MDL-80286 datafield_date: cast field content to real when sorting.
...
This ensures we don't under/overflow the size of an integer in DB.
2023-11-30 10:05:13 +00:00
Mark Johnson
7fe281cc45
MDL-79806 quiz_statistics: Queue recalculation on attempt_deleted
2023-11-30 08:53:56 +00:00
Huong Nguyen
a410d35ef4
Merge branch 'MDL-79816-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE
2023-11-30 10:41:20 +07:00
Meirza
f16b42d013
MDL-76109 core: Don't check password policy for guest user
...
Besides adding the is_guest() check in the check_password_policy() condition,
I also changed the temporary user ID because the temporary user and
the guest must not share the same ID. Otherwise, it will raise an error.
Co-authored-by: Andrei Bautu <abautu@gmail.com >
2023-11-30 10:35:28 +07:00
Huong Nguyen
c26e73fc9f
Merge branch 'MDL-74378_401' of https://github.com/PhilippImhof/moodle into MOODLE_401_STABLE
2023-11-30 10:12:31 +07:00
Ilya Tregubov
752c0c77f8
Merge branch 'MDL-78849-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-11-30 10:38:54 +08:00
Ilya Tregubov
b49d7c974f
Merge branch 'MDL-79325-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-11-30 09:35:45 +08:00
Jun Pataleta
1773a1926d
Merge branch 'MDL-79841-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-11-29 23:48:21 +08:00
Sara Arjona
0d056137bb
Merge branch 'MDL-79275-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-11-29 16:44:20 +01:00
Jun Pataleta
6822ab321b
Merge branch 'MDL-80234-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-11-29 23:40:47 +08:00
Sara Arjona
d8f055240a
Merge branch 'MDL-80150-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-11-29 13:34:52 +01:00
Jun Pataleta
7527ca4c49
Merge branch 'MDL-79148-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE
2023-11-29 15:20:11 +08:00
Huong Nguyen
e6023839c9
Merge branch 'MDL-80002-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-11-29 09:36:52 +07:00
Huong Nguyen
2cf4f88b52
Merge branch 'MDL-79267-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-11-29 09:18:34 +07:00
Huong Nguyen
08be365c2c
Merge branch 'MDL-79512-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-11-29 09:09:21 +07:00
Huong Nguyen
5c13475743
Merge branch 'MDL-76694-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-11-29 09:01:52 +07:00
Jun Pataleta
a2524d8caf
Merge branch 'MDL-80181-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE
2023-11-29 09:37:35 +08:00
Sara Arjona
aec53e3547
MDL-80150 resource: Reintroduce file icon
...
The new activity card design, planned for Moodle 4.3, reintroduces
the resource MIME icon that was removed in Moodle 4.0.
This is a backport of MDL-78285.
2023-11-29 02:17:56 +01:00
Jeremy Schulz
a272c2289f
MDL-80180 admin: added readonly support for multicheckbox
2023-11-28 14:36:19 -05:00
Mark Johnson
055d5cb3b0
MDL-80281 session: Don't report long session locks for readonly sessions
...
Previously, $CFG->sessionlockdebug was reporting long session locks for
all requests, even if they defined READ_ONLY_SESSION. This change
ensures that only sessions with locks are reported.
2023-11-28 16:24:17 +00:00
Shamiso.Jaravaza
3d7b5d51b9
MDL-79148 mod_bigbluebuttonbn: fix recording link
2023-11-28 00:40:31 -07:00
Ilya Tregubov
6109f4dfd4
Merge branch 'MDL-79603-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-11-28 13:54:09 +08:00
Laurent David
57791ecd61
MDL-79841 theme_boost: Do not remove card borders
...
* When we are in small screensize we had removed the
left and right borders for cards. This is now restored
2023-11-28 06:39:04 +01:00
Simey Lameze
3f83ea2456
MDL-79275 behat: add one second wait to avoid random
2023-11-28 11:07:20 +08:00
Amaia Anabitarte
471838be7b
MDL-80234 mod_scorm: Saved passed status requirement
2023-11-27 17:41:15 +01:00
Stephan Robotta
dfb2be423b
MDL-80181 wiki: fix width of left column in comments
2023-11-24 11:18:01 +01:00
Philipp Imhof
b554580520
MDL-74378 mod_quiz: make sure timer is initialized
2023-11-24 08:52:35 +01:00
Huong Nguyen
b1bb5671df
weekly release 4.1.6+
2023-11-24 12:23:36 +07:00
Huong Nguyen
cd5d14d73b
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-11-24 12:23:29 +07:00
David Woloszyn
3fe8dbd027
MDL-80229 core: Add tolerance to min_get_minimum_revision
2023-11-24 15:58:43 +11:00
Eloy Lafuente (stronk7)
98a58ef44c
Merge branch 'MDL-79966-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-11-23 23:41:28 +01:00
sam marshall
95646071ae
MDL-79966 core_task: NEVER_RUN_TIME did not fit in 10 digits
2023-11-23 16:25:10 +00:00
Rodrigo Mady
29d68c07af
MDL-79816 block_recentlyaccesseditems: Fix modname type in WS
2023-11-23 11:52:44 -03:00
Paul Holden
773bfa9272
MDL-71336 forms: ensure grouped date elements have unique IDs.
...
Previously they were each taking the ID of their parent group element.
2023-11-23 12:01:38 +00:00
Andrew Nicols
2995721139
Merge branch 'MDL-79966-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-11-23 10:32:05 +08:00
Huong Nguyen
6488fc6a20
Merge branch 'MDL-78496-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-11-23 09:23:46 +07:00
Ilya Tregubov
8c678d2b9a
Merge branch 'MDL-80157_storedfileproblem-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE
2023-11-23 09:47:47 +08:00
Ilya Tregubov
cedb8a92cb
Merge branch 'MDL-79185-MOODLE_401_STABLE' of https://github.com/dmitriim/moodle into MOODLE_401_STABLE
2023-11-22 11:49:15 +08:00
Dmitrii Metelkin
402153c46e
MDL-79185 cache: don't throw exception if cache data is corrupted
2023-11-22 12:47:57 +11:00
Ilya Tregubov
8337ef3be5
Merge branch 'MDL-78670-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE
2023-11-22 09:11:44 +08:00
Paul Holden
ecf396842f
MDL-80185 lang: use iso6391 language code for HTML lang attributes.
...
This resolves accessibility issues where Moodle language pack codes
didn't always map to correspondingly named iso6391 codes.
Where this value is defined in the language configuration, it will
now be used.
2023-11-21 22:55:33 +00:00
Mikel Martín
bde37edf3c
MDL-80015 course: Fix category 'More' dropdown alignment
...
Co-authored-by: Stephen Sharpe <stephen.sharpe@synergy-learning.com >
2023-11-21 14:15:45 +01:00
Angelia Dela Cruz
6aeecbdf46
MDL-79828 core_badges: Delete already awarded course badges
2023-11-21 17:45:47 +08:00
Amaia Anabitarte
b7ebcf7e2c
MDL-79979 tool_generator: Use auto-enrol admin in new courses setting
2023-11-21 08:44:05 +01:00
sam marshall
47a38fd827
MDL-79966 core_task: Scheduled task timing (crontab fields) is wrong
2023-11-20 17:08:55 +00:00
Rodrigo Mady
3089485e57
MDL-78670 mod_quiz: Add offline atempt rule for sequential navigation
2023-11-20 12:10:18 -03:00
Juan Olivares
15a9f6f119
MDL-74248 mod_folder: Fix mp3 files being unaccessible in chrome
...
Platform users that host mp3 files within a folder are not able to access them using Chrome. This fix allows them to do so.
2023-11-20 11:28:33 +01:00
Laurent David
dbd62ed4ea
MDL-79512 mod_feedback: Add toast dialog when saved
...
* Add notification to notify the user once the changes have been
successfully saved
2023-11-20 06:55:29 +01:00
Laurent David
2dc6ab3567
MDL-79512 mod_feedback: Fix issue with drag and drop
...
* A teacher can not change the order of the questions in feedback
as the order is not saved.
2023-11-20 06:55:29 +01:00
AMOS bot
8e31874a3a
Automatically generated installer lang files
2023-11-20 00:10:36 +00:00
Leon Stringer
f48edc0cd1
MDL-80157 file: Exception message spelling
2023-11-17 14:36:58 +00:00
Paul Holden
b2bfd0dcad
MDL-79325 group: consistent name formatting in overview page/export.
2023-11-17 09:48:17 +00:00
Sara Arjona
94ad185d09
weekly release 4.1.6+
2023-11-16 16:22:47 +01:00
Sara Arjona
f0dae38957
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-11-16 16:22:42 +01:00
Paul Holden
9390787a34
MDL-78849 user: correct logical operator behaviour for guest button.
...
Apart from being banned per MDL-74990, it causes a subtle bug here
due to operator precedence.
Co-authored-by: Tom Mayfield <tmayfield@costrack.com >
2023-11-16 11:32:04 +00:00
Huong Nguyen
e302d0d902
Merge branch 'MDL-76457-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-11-16 10:58:57 +07:00
Huong Nguyen
2f04edf37f
Merge branch 'MDL-80066-401' of https://github.com/elza3ym/moodle into MOODLE_401_STABLE
2023-11-16 10:53:41 +07:00
Ilya Tregubov
ded87e8d92
Merge branch 'MDL-80121-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-11-16 10:01:43 +08:00
Ilya Tregubov
8ddb933f5c
Merge branch 'MDL-75616-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-11-16 09:23:58 +08:00
Mohamed Shehata
d09a390a05
MDL-80066 form: fix date picker on small screens
2023-11-15 23:46:48 +02:00
Sara Arjona
e31d7bdb81
Merge branch 'MDL-79981-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-11-15 17:15:31 +01:00
Sara Arjona
246ad70ba9
Merge branch 'MDL-76937-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-11-15 16:34:21 +01:00
Sara Arjona
3f40af87e4
Merge branch 'MDL-80045-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-11-15 13:47:21 +01:00
Sara Arjona
a4a654348d
Merge branch 'MDL-79956-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE
2023-11-15 13:32:03 +01:00
Jun Pataleta
ed48b54542
MDL-80121 gradereport_singleview: Increase zero-state heading level
...
With the h2 heading not being rendered on the zero-state pages of the
Single view report, we need to increase the heading level of the
"Search for a user to view all their grades" and
"Select a grade item above" headings from h3 to h2.
2023-11-15 19:30:26 +08:00
Jun Pataleta
d8dbfe5d25
MDL-80121 grade: Trim heading
...
In order to prevent rendering an empty heading <h2>, we need to make
sure that the $heading parameter passed to print_grade_page_head() is
not an empty string.
2023-11-15 19:30:26 +08:00
Dan Marsden
9dd88a4988
MDL-64431 assignfeedback_editpdf: Flatten PDF files
2023-11-15 19:30:11 +13:00
Angelia Dela Cruz
358386e4f4
MDL-79603 mod_scorm: Behat coverage for Scorm package display options
2023-11-15 11:08:14 +08:00
Huong Nguyen
6724e13007
Merge branch 'MDL-79648-401' of https://github.com/SergioComeron/moodle into MOODLE_401_STABLE
2023-11-15 09:14:19 +07:00
Huong Nguyen
56276d997f
Merge branch 'MDL-79601-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-11-15 09:10:06 +07:00
Andrew Nicols
ca345f8853
MDL-80079 core: Correct incorrect arg to format_text::$options
2023-11-15 09:59:55 +08:00
Mikel Martín
b372929c9b
MDL-76457 tool_usertours: Fix tour popovers in RTL
2023-11-14 21:27:48 +01:00
Mikel Martín
559db765b3
MDL-76457 theme_boost: Fix bootstrap popovers in RTL
...
- Fix the arrow placement for bootstrap popovers in RTL mode.
- Remove unneded css parser workaround for popover arrows.
After MDL-67386 was integrated those changes were not needed anymore.
2023-11-14 21:27:48 +01:00
Andrew Nicols
6179d2ba24
MDL-78496 environment: Moodle 4.4 requirements
...
The only changes to requirements since Moodle 4.3 are increases to:
* the minimum PHP version required; and
* the minimum required Moodle version.
2023-11-14 23:31:58 +08:00
Sara Arjona
ba18db3c7c
MDL-77581 lesson: Fix behat random failures
2023-11-14 16:25:02 +01:00
Andrew Nicols
61b5850a8c
MDL-80079 core: Correct incorrect arg to format_string::$options
2023-11-14 22:50:36 +08:00
Mikel Martín
24f85416a7
MDL-80045 block_starredcourses: Fix cards alignment in small screens
2023-11-14 14:36:34 +01:00
Sara Arjona
69ce4b683d
Merge branch 'MDL-77581-401' of https://github.com/dpalou/moodle into MOODLE_401_STABLE
2023-11-14 11:53:02 +01:00
Dani Palou
f7ea9dd9cc
MDL-77581 lesson: Fix generator unit tests in oracle
2023-11-14 11:08:01 +01:00
SergioComeron
bce9cfdfd5
MDL-79648 core_course: 29 October repeating day
2023-11-13 18:35:44 +01:00
Sara Arjona
9ed81d3a8a
Merge branch 'MDL-77581-401' of https://github.com/dpalou/moodle into MOODLE_401_STABLE
2023-11-13 17:20:44 +01:00
Mark Johnson
077465cf90
MDL-79806 mod_quiz: Implement new quiz_attempt_deleted callback
2023-11-13 15:13:15 +00:00
Paul Holden
c7b9f2980e
MDL-79692 enrol_meta: check for group validity when adding members.
2023-11-13 10:23:26 +00:00
Huong Nguyen
2524184384
Merge branch 'MDL-74129-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-11-13 10:43:55 +07:00
David Saylor
0a6b4bb15c
MDL-75616 backup: Use standard temp directory for extraction
2023-11-13 11:08:33 +11:00
AMOS bot
99f9513b05
Automatically generated installer lang files
2023-11-12 00:10:04 +00:00
Sara Arjona
8974392cfa
MDL-74129 h5p: Preserve metadata information
...
The metadata information was not restored when an H5P file was uploaded
(it was saved when it was edited directly from the Content bank, but the
original information in the H5P file was lost).
This patch includes all the metadata fields and its values in the original
H5P file to preserve this information too.
2023-11-10 10:34:23 +01:00
Ilya Tregubov
8ad9114050
weekly release 4.1.6+
2023-11-10 09:17:25 +08:00
Dani Palou
5bda7cac35
MDL-77581 behat: Test create lesson pages using UI
2023-11-09 11:33:57 +01:00
Dani Palou
13ef307253
MDL-77581 behat: Apply new lesson cluster generators to existing tests
2023-11-09 11:33:57 +01:00
Dani Palou
0577c54bc0
MDL-77581 behat: Create generators for lesson clusters
2023-11-09 11:33:57 +01:00
Dani Palou
cac02a15b6
MDL-77581 lesson: Fix wrong PHPDoc in some generator functions
...
While creating the new perform_create_page function I noticed that the PHPDoc return type of the existing functions was wrong
2023-11-09 11:09:55 +01:00
Dani Palou
a979e0ce97
MDL-77581 behat: Remove lesson_student_dashboard test file
...
After f7c476bac5 was integrated, these tests didn't assert anything specific and similar steps are already tested in lesson_navigation
2023-11-09 11:09:04 +01:00
Dani Palou
cad097a605
MDL-77581 behat: Apply new lesson generators to existing tests
2023-11-09 11:09:01 +01:00
Dani Palou
40b918348c
MDL-77581 behat: Create generators for lesson pages and answers
2023-11-09 11:08:08 +01:00
Dani Palou
1184d3c20f
MDL-77581 behat: Support finish_generate_ in generators
2023-11-09 11:08:08 +01:00
Laurent David
711a9c0df5
MDL-76937 core_course: Delete button can be used twice
...
* Disable the Delete button in the confirmation dialog once
clicked so we avoid running the process twice by mistake.
2023-11-09 09:25:40 +01:00
Shamiso.Jaravaza
e9b513d561
MDL-79956 mod_bigbluebuttonbn: fix import links
2023-11-08 21:46:29 -07:00
Michael Aherne
d8e0799023
MDL-80030 filelib: Fix info type.
2023-11-09 11:14:07 +08:00
Ilya Tregubov
33fa895d25
Merge branch 'MDL-79992-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-11-09 09:58:03 +08:00
Sara Arjona
93ce6e33d9
Merge branch 'MDL-79827-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-11-08 18:10:55 +01:00
Sara Arjona
4018e95a55
Merge branch 'MDL-79781-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-11-08 17:20:15 +01:00
Sara Arjona
9667e96d89
Merge branch 'MDL-76555-401' of https://github.com/pmaneggia/moodle into MOODLE_401_STABLE
2023-11-08 17:06:31 +01:00
Mikel Martín
a919969ae7
MDL-79601 report_completion: Fix RTL First/Last name alignment
2023-11-08 16:23:35 +01:00
Mikel Martín
71f3a87583
MDL-79601 report_progress: Fix RTL First/Last name alignment
2023-11-08 16:23:35 +01:00
Andrew Nicols
a09ecad620
MDL-79981 core: Add ability to manually run and filter phpunit on GHA
2023-11-08 12:54:03 +08:00
Ilya Tregubov
e0d1d8e469
Merge branch 'MDL-79615_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-11-08 10:44:27 +08:00
Paul Holden
d3070236ac
MDL-79267 mod_forum: define report subplugin type language strings.
2023-11-07 09:50:08 +00:00
Huong Nguyen
8d77dd09b8
Merge branch 'MDL-78953-401' of https://github.com/pedrojordao/moodle into MOODLE_401_STABLE
2023-11-07 15:34:25 +07:00
Jun Pataleta
1ea9832c3e
Merge branch 'MDL-80019-401' of https://github.com/call-learning/moodle into MOODLE_401_STABLE
2023-11-07 13:13:48 +08:00
Laurent David
9eee64d0d5
MDL-80019 mod_bigbluebuttonbn: Completion form freeze fix
...
* When the completion is locked, we should not be able to edit the completion elements
2023-11-06 22:12:13 +01:00
Sara Arjona
46f1b71c20
Merge branch 'mdl-78650-401-stable' of https://github.com/Fragonite/moodle into MOODLE_401_STABLE
2023-11-06 09:51:11 +01:00
Huong Nguyen
2ee8296efc
Merge branch 'MDL-79062-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-11-06 10:52:57 +07:00
Paola Maneggia
e2a7040d94
MDL-76555 mod_resource: Fix PHP8.0 type error (legacy resources)
2023-11-05 13:48:00 +01:00
Mikel Martín
06798fb898
MDL-80002 forumreport_summary: Fix summary report date filtering
2023-11-03 15:47:38 +01:00
Sara Arjona
8737f16faa
MDL-79992 backup: Display course backups from activity restore
...
The Course backup area was not displaying the course backups when
accessing to the Restore page for an activity because the context
was not updated properly for this area.
2023-11-03 12:23:31 +01:00
Jake Dallimore
776319ac8e
MDL-76694 core_comment: exit the js init if the element cannot be found
...
In pages which result in the theme_boost/embedded template being used,
blocks may be rendered and the resulting HTML ignored, leaving any JS
they may have added to run without a corresponding DOM element to act
on. This fixes that case for comments, making sure we exit gracefully
during the init if the element can't be found.
2023-11-03 10:26:49 +08:00
Pedro Jordao
76f66df235
MDL-78953 autocomplete: Add only one empty option when deselecting item.
...
Each option that was deselected was prepending an empty option in the select.
2023-11-02 19:05:33 -03:00
Jun Pataleta
4b302063c3
MDL-79062 behat: Add number type when guessing field type
2023-11-02 22:19:54 +08:00
Jun Pataleta
ad4736b5ec
MDL-79062 grade: Behat test fixes
...
* Feature: We can use a minimum grade different than zero
- Use correct minimum input values.
- Use data generators for faster test execution.
* Scenario: Disable category overriding
- Use the field name to ensure that the correct field is being tested.
2023-11-02 21:45:26 +08:00
Jun Pataleta
6637197d97
MDL-79062 gradereport_grader: Set numeric type for grade value inputs
...
* Set grade inputs for grade items with type set to GRADE_VALUE to
number and add min and max input attributes, where necessary.
2023-11-02 21:45:26 +08:00
Sara Arjona
dd115e572a
weekly release 4.1.6+
2023-11-02 13:41:27 +01:00
Huong Nguyen
663eed6780
Merge branch 'MDL-78903-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-11-02 10:19:12 +07:00
Huong Nguyen
883f98a3f2
Merge branch 'MDL-79801-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-11-02 10:15:40 +07:00
Huong Nguyen
0562c4d552
Merge branch 'MDL-79617_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-11-02 09:04:02 +07:00
Jun Pataleta
15409cfa41
MDL-79062 gradereport_grader: Remove setting of tabindex >= 1
...
Tab indices that are greater than or equal to 1 break the natural
tab order of the document and may cause problems for keyboard users.
2023-11-02 09:51:39 +08:00
Alexander Van der Bellen
116eef7a25
MDL-78650 mod_assign: Improve group submission action event handling
...
Don't return an event action when a group submission has already been submitted
by another student.
2023-11-01 20:28:00 +08:00
Alexander Van der Bellen
686d9cfd4c
MDL-78650 mod_assign: Add Behat test
2023-11-01 20:27:54 +08:00
Alexander Van der Bellen
dec259a249
MDL-78650 mod_assign: Add unit test
2023-11-01 20:27:47 +08:00
Daniel Neis Araujo
f92753a3d8
MDL-73378 gradebook: Category grade null when all subgrades are null
2023-10-31 13:55:47 -03:00
Sara Arjona
3d5fa73133
Merge branch 'MDL-79856-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-10-31 13:26:45 +01:00
Huong Nguyen
e4989b529a
Merge branch 'MDL-79807_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-10-31 12:51:56 +08:00
Meirza
f7b2fb473b
MDL-78903 tiny_h5p: show repositories if editor filepicker type set
2023-10-31 08:03:26 +07:00
Meirza
dc7da1a416
MDL-78903 tiny_media: show repositories if editor filepicker type set
2023-10-31 08:02:47 +07:00
Jun Pataleta
c819926529
Merge branch 'MDL-77274-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-10-30 17:13:12 +08:00
Laurent David
d20f1024d8
MDL-77274 core_renderer: Respect full name format in letter avatars
...
* Make sure that we respect the fullnamedisplay and alternativefullnameformat
parameters to decide on the initials for a given user
* Add further tests
Co-authored-by: Tatsunori Uchino <tats.u@live.jp >
2023-10-30 06:18:48 +01:00
Huong Nguyen
07c200438c
Merge branch 'MDL-79639_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-10-30 11:24:02 +07:00
Jun Pataleta
e146a9d8cd
Merge branch 'MDL-79194-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-10-27 23:31:46 +08:00
Mark Johnson
ef964137ce
MDL-79615 course: Improve efficency of cache rebuilds
...
When bulk-updating course module visibility, set_coursemodule_visibily
was triggering a partial cache purge and rebuild for each course module.
This potentially led to 2 cache sets each requiring a lock to be
acquired and released per course module, plus any other cache updates
for other changes to the course in the same request.
This adds a new $rebuildcache paramter to the
set_coursemodule_visibilty, which is true by default to retain the
existing behaviour. If set false, it will skip doing the partial purge
and rebuild for that course module, and it is up to the calling code to
ensure the cache is updated as requried.
To assist with this, there is a new
course_modinfo::purge_course_module_cache_multiple() method, which
allows multiple course modules to be purged from the cache in a single
cache set.
2023-10-27 10:52:09 +01:00
Jun Pataleta
650474c0a7
Merge branch 'MDL-77364-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-10-27 16:32:36 +08:00
Sara Arjona
6bc193134a
MDL-77364 myoverview: Display course name tooltip
...
Based on the feedback given by the UX team:
- The text has been increased to display more (50 vs 55).
- A tooltip has been added to display the full course name on hover,
following the accessibility guidelines.
2023-10-27 07:26:37 +02:00
Jun Pataleta
9dbbd31076
weekly release 4.1.6+
2023-10-27 09:43:13 +08:00
Jun Pataleta
8317aa9b32
Merge branch 'MDL-79768-401-fix' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-10-26 23:05:33 +08:00
Mark Johnson
1944b58bd6
MDL-79807 quiz_statistics: Clear stats cache when question added/removed
2023-10-26 13:43:22 +01:00
Paul Holden
512670fe94
MDL-79781 course: detect invalid creator role for pending courses.
2023-10-26 13:18:41 +01:00
Paul Holden
fc93938f23
MDL-79856 roles: use role localname when confirming deletion.
2023-10-26 12:01:05 +01:00
Ferran Recio
7d158f18d9
MDL-79194 core_courseformat: optimize section reload
...
* When reloading a section, we also forced the reloading of
course modules, resulting in doing the same work twice (once for
the section reload and once for the course module reload)
* Debounce the reloading process so prevent unwanted duplicate
reloads
2023-10-26 12:37:00 +02:00
Andrew Lyons
c22b7c2f82
MDL-79194 core: Wrap combobox debounce in pending Promise
...
This addresses a random failure with the combobox search results where
the debounce causes the results to be shown, and then the same search
result is returned again, re-rendered, and replaced after Behat has
moved on.
Partly cherry-picked from MDL-78779.
2023-10-26 12:33:36 +02:00
Angelia Dela Cruz
8fa9f27c7e
MDL-79768 fix: Fixed random failing Behat due to time difference
2023-10-26 18:00:00 +08:00
Jun Pataleta
91e083981d
Merge branch 'MDL-79768-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-10-26 10:47:39 +08:00
Jun Pataleta
06ebac56c6
Merge branch 'MDL-42189-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-10-26 10:32:02 +08:00
Jun Pataleta
9d9e03ef10
Merge branch 'MDL-75572-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-10-25 13:44:20 +08:00
Sara Arjona
05fdc29294
MDL-75572 criteria: Only award badges to sucessfull completions
...
The UX team confirmed a badge shouldn't be awarded when the criteria
use a passing grade and the user gets a failing grade.
So the COMPLETION_COMPLETE_FAIL status won't be considered
completed for activities with completion that require a passing
grade.
2023-10-25 07:08:20 +02:00
Laurent David
38708efb50
MDL-79194 core_course: Refresh modules menus with section changes
...
* Whenever a section is hidden, we need to refresh all contextual (hamburger)
menus of each course modules.
2023-10-24 15:11:17 +02:00
Paul Holden
39ffe174e7
MDL-79827 tiny_link: show repositories only if editor filepicker set.
2023-10-23 22:20:38 +01:00
Mark Johnson
fa23ae702c
MDL-79617 repository_upload: Close session early in upload process
2023-10-23 15:32:58 +01:00
Angelia Dela Cruz
2d9a6fa760
MDL-79768 mod_data: Test for student can see upcoming data activity
2023-10-23 08:47:04 +08:00
David Woloszyn
1652b5281e
MDL-42189 gradereport_overview: Report hidden from suspended enrolments
2023-10-23 09:47:19 +11:00
Paul Holden
d8e3c31b32
MDL-79801 tag: fix report entity flagged column/filter query.
...
The "flag" field isn't a boolean state (1/0), it's a cumulative
count of how many times the tag has been flagged by users. This
should be accounted for to ensure that column aggregation and
filtering performs correctly.
2023-10-20 14:22:29 +01:00
Sara Arjona
a985ac2e0c
weekly release 4.1.6+
2023-10-20 12:16:34 +02:00
Mark Johnson
ec5d7c3227
MDL-79639 quiz_statistics: Prevent database deadlocks
...
This changes the cache purge code to select IDs for deletion
first, rather than using a subquery in a DELETE, since this
risks causing a deadlock in MySQL.
2023-10-19 08:58:41 +01:00
Huong Nguyen
ccae21a639
Merge branch 'MDL-79689-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-10-19 10:05:37 +07:00
Sara Arjona
345d483ee2
Merge branch 'MDL-77651-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-10-18 15:47:24 +02:00
Sara Arjona
4d9b533fd4
Merge branch 'MDL-79747_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-10-18 10:29:08 +02:00
Angelia Dela Cruz
174fc341d6
MDL-79689 mod_assign: Behat for enabling anonymous submissions
2023-10-18 10:58:34 +08:00
Huong Nguyen
bcbab5517b
Merge branch 'MDL-79705-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-10-18 09:37:35 +07:00
Huong Nguyen
0848bf8687
Merge branch 'MDL-78979-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-10-18 09:24:21 +07:00
Jun Pataleta
11e0579540
MDL-77651 calendar: Hide left/right arrow characters
...
* Hide the arrow characters for the calendar templates so they won't be
read out by screen readers and avoid confusion for screen reader users.
2023-10-17 23:53:05 +08:00
Jun Pataleta
cc9a537bd2
MDL-77651 core: Hide left/right arrow characters for link_arrow_xx()
...
* The arrow characters in link_arrow_right() and link_arrow_left()
functions get announced by screen readers. This causes confusion
and is unnecessary.
2023-10-17 23:53:05 +08:00
Paul Holden
38909cd64e
MDL-79705 reportbuilder: remove checkbox field callback handling.
...
We no longer need special handling of this field type, because it
now returns language strings rather than HTML markup for a checkbox
element on display.
2023-10-17 16:51:34 +01:00
Paul Holden
62aa37f70d
MDL-79705 profilefield_checkbox: display data as simple Yes/No.
2023-10-17 16:51:34 +01:00
Tim Hunt
f6e7eb2ebd
MDL-79747 quiz stats: task should run as admin the right way
...
The correct way to get an ad-hoc task to run as the main admin account
is to leave userid as null.
Setting it causes fatal errors if the main admin account is set to
auth: nologin.
2023-10-17 16:43:48 +01:00
Sara Arjona
c0fefd0a4d
Merge branch 'MDL-78481-401' of https://github.com/iarenaza/moodle into MOODLE_401_STABLE
2023-10-17 17:15:21 +02:00
Ilya Tregubov
b5599f33d0
Merge branch 'MDL-79691-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-10-17 10:29:08 +08:00
Huong Nguyen
5e1588ba63
Merge branch 'MDL-79367-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-10-17 09:18:33 +07:00
Paul Holden
50618adb13
MDL-78979 mod_data: correct restore decode rule for data view page.
2023-10-16 20:53:59 +01:00
Angelia Dela Cruz
1c023e7fbb
MDL-79691 mod_h5pactivity: Behat coverage for H5P activity grades reset
2023-10-16 17:06:13 +08:00
Sara Arjona
c6d8aca226
Merge branch 'MDL-79566-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-10-16 09:54:01 +02:00
Ilya Tregubov
c4c514ee46
Merge branch 'MDL-79365-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-10-16 14:08:45 +08:00
Sara Arjona
6c956d3408
MDL-79367 availability: Fail grade does not mark activities as completed
...
The UX team confirmed that an activity shouldn't be considered completed
when the criteria use a passing grade and the user gets a failing grade.
So the COMPLETION_COMPLETE_FAIL status won't be considered
completed from now on.
2023-10-16 07:55:12 +02:00
Huong Nguyen
052e646cdc
Merge branch 'MDL-79698-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-10-16 11:40:32 +07:00
Huong Nguyen
f1166fe9e6
Merge branch 'MDL-79653-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-10-16 10:55:23 +07:00
Huong Nguyen
0d45970bd3
MDL-79566 tiny_autosave: Add Javascript submission handler
2023-10-16 09:29:28 +07:00
Paul Holden
d160890cab
MDL-79365 customfield_textarea: ensure field uniqueness is correct.
2023-10-13 14:30:08 +01:00
Andrew Nicols
d6fdd2f5f9
MDL-79698 core: Correct duplicate array key in test provider
2023-10-13 15:44:33 +08:00
Ilya Tregubov
d188d58ce9
weekly release 4.1.6+
2023-10-13 13:39:33 +08:00
Angelia Dela Cruz
1f602aabec
MDL-79653 gradingform_guide: Behat coverage for deleting marking guide
2023-10-13 11:11:08 +08:00
Huong Nguyen
0257e1696f
Merge branch 'MDL-79638-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-10-12 11:08:05 +07:00
Ilya Tregubov
891b6f796c
Merge branch 'MDL-79160-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE
2023-10-12 09:44:23 +08:00
Ilya Tregubov
9fbdf21341
Merge branch 'MDL-79422-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-10-12 09:10:23 +08:00
Jun Pataleta
7e39cee0f6
Merge branch 'MDL-79633-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-10-11 13:41:36 +08:00
Huong Nguyen
82488f901d
Merge branch 'MDL-78103-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-10-11 11:26:02 +07:00
chen levy
7744cf2f28
MDL-78103 theme: Fixed dropdown menu size by the content
2023-10-11 11:15:44 +07:00
Andrew Nicols
e7263580b9
MDL-79638 phpunit: Add unit test for increment resets
2023-10-11 00:10:33 +08:00
Andrew Nicols
a74443a342
MDL-79638 phpunit: Adjust version checks for mysql/mariadb hack
...
This hack was introduced to work around a bug in MySQL 5.6.14 and
MariaDB at the time.
https://bugs.mysql.com/bug.php?id=69882
It was addressed a few months later in 5.6.16, and 5.7.4.
MariaDB merged version 5.6.16 of MySQL's InnoDB engine in MariaDB
10.0.11 and got the patch from there.
Moodle has required MySQL 5.7, and MariaDB 10.2.29 since Moodle 3.11 and
it is therefore safe to remove these hacks for these versions.
2023-10-11 00:02:12 +08:00
Sara Arjona
7ff2d18b93
Merge branch 'MDL-79623-MOODLE_401_STABLE' of https://github.com/PhMemmel/moodle into MOODLE_401_STABLE
2023-10-10 16:19:30 +02:00
Sara Arjona
66ff0a871f
Merge branch 'MDL-77816-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-10-10 09:21:39 +02:00
Ilya Tregubov
11fe89c08e
Merge branch 'MDL-79501-MOODLE_401_STABLE' of https://github.com/geichelberger/moodle into MOODLE_401_STABLE
2023-10-10 15:07:24 +08:00
Ilya Tregubov
76bd425474
Merge branch 'MDL-79279_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-10-10 11:24:47 +08:00
Ilya Tregubov
aeeaea6840
Merge branch 'MDL-71414-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-10-10 10:19:44 +08:00
Paul Holden
5c30074d99
MDL-79633 mod_data: correct timemodified tag replacement attribute.
2023-10-09 19:41:12 +01:00
Laurent David
8e53ef0162
MDL-71414 mod_h5pactivity: Add a new "None" message
...
* In matching types of questions, sometimes the user does not answer all
questions. We now display "None" in the result report. The answer can
be either correct or incorrect.
* Fix "unknown" answer constant name.
2023-10-09 11:45:11 +02:00
Laurent David
2a2d3c85bb
MDL-71414 mod_h5pactivity: Fix issue with drop down report
...
* Drag and Drop report were missing answers when target could be dropped on multiple
drop zones.
2023-10-09 11:45:10 +02:00
Philipp Memmel
805577664b
MDL-79623 tool_componentlibrary: Fix correct modal content attribute
2023-10-09 09:14:48 +00:00
Jun Pataleta
b0a7bc3f42
Moodle release 4.1.6
2023-10-07 11:30:22 +08:00
Sara Arjona
fcd50e4722
weekly release 4.1.5+
2023-10-06 14:02:25 +02:00
danghieu1407
cf9373c4dd
MDL-79160 Question: Answer field overflows parent width with large size
2023-10-05 11:06:21 +07:00
Paul Holden
52ada82da2
MDL-77816 mod_bigbluebuttonbn: feedback when validating completion.
2023-10-04 21:07:31 +01:00
Yannick Schillinger
fca2456e1f
MDL-77816 mod_bigbluebuttonbn: Fix completionValidate argument format
2023-10-04 20:27:34 +01:00
Paul Holden
70a83735f3
MDL-79310 enrol: restrict searched users to those user can view.
2023-10-04 14:31:31 +08:00
Paul Holden
a067663a63
MDL-79310 forumreport_summary: report only on users who can be viewed.
2023-10-04 14:31:31 +08:00
Paul Holden
a55e18fb81
MDL-79310 mod_forum: ensure only visible users can be exported.
2023-10-04 14:31:30 +08:00
Sara Arjona
bd18e026bb
Merge branch 'MDL-69119-M401_angle_bracket_character_in_answers_not_escaped_in_moodle_xml_export_of_multiple_choice_calculated_questions' of https://github.com/ziegenberg/moodle into MOODLE_401_STABLE
2023-10-04 07:51:42 +02:00
Huong Nguyen
c15cb5586c
Merge branch 'MDL-79539-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-10-04 10:56:09 +07:00
Mikel Martín
fce36ecf4f
MDL-79509 mod_wiki: Improve comment editing
2023-10-04 02:10:16 +02:00
Paul Holden
8f8c4e3153
MDL-72249 message: stricter cleaning of processor type parameter.
2023-10-04 02:10:16 +02:00
Paul Holden
369c5407ab
MDL-79426 gradeimport_csv: safely preview CSV content during import.
2023-10-04 02:10:16 +02:00
Paul Holden
04db4a3e54
MDL-79455 tool_uploadcourse: clean course data fields individually.
2023-10-04 02:10:16 +02:00
Paul Holden
23466dd6d1
MDL-79455 tool_uploadcourse: safe preview of uploaded course data.
2023-10-04 02:10:16 +02:00
Paul Holden
74b62601d0
MDL-79409 mod_imscp: appropriate unserialization of package structure.
2023-10-04 02:10:16 +02:00
Paul Holden
f428d58df6
MDL-79408 mod_lesson: safer unserializing/comparison of properties.
2023-10-04 02:10:16 +02:00
David Woloszyn
6f2fa6011e
MDL-77846 core: Make endpoint revision number checks stricter
...
In some places we prevented cache poisoning, in others we did not. We
also did not place any restriction on the minimum value for a revision.
This change introduces a new set of functions for configonly endpoints
which validates the revision numbers passed in. If the revision is
either too old, or too new, it is rejected and the file content is not
cached. The content is still served, but caching headers are not sent,
and any local storage caching is prevented.
The current time is used as the maximum version, with 60 seconds added
to allow for any clock skew between cluster nodes. Previously some
locations used one hour, but there should never be such a large clock
skew on a correctly configured system.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2023-10-04 02:10:16 +02:00
Huong Nguyen
e2452a4b3c
MDL-66730 core_course: Improve permission check for category moving
...
Co-authored-by: Erica Bithell <egb10@cam.ac.uk >
2023-10-04 02:10:16 +02:00
Laurent David
fc26693229
MDL-77795 mod_bigbluebuttonbn: Change meetingID on duplicate
...
* We need to set a different meetingID when duplicating or importing a
BigBlueButtonBN activity to prevent unwanted sharing of recordings between
meetings.
2023-10-04 02:10:16 +02:00
Paul Holden
1eda3a392b
MDL-78820 h5p: use fullname of current user as the xAPI actor name.
2023-10-04 02:10:16 +02:00
meirzamoodle
c3c18bbb20
MDL-78969 oauth2: remove auto-login after successful confirmation
...
With the new flow, users can go to the login page from the confirmed page,
and if the user successfully logs in, the user will be directed to the confirmed page.
To avoid that, the confirmed page can only be seen by users who are not logged in.
2023-10-04 02:10:16 +02:00
Paul Holden
c25092b232
MDL-78971 quiz_grading: escape user identity fields on display.
2023-10-04 02:10:16 +02:00
Jun Pataleta
a7bdd7a007
weekly release 4.1.5+
2023-10-04 07:49:17 +08:00
Jun Pataleta
99f4f6894f
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-10-04 07:49:15 +08:00
Tim Hunt
848fd484d5
MDL-79279 qformat_xml: multianswer import should support idnumber
...
Fix suggested by Georg Maißer.
2023-10-03 20:43:15 +01:00
Daniel Ziegenberg
0839431f16
MDL-69119 qformat_xml: fix mc calculated export
...
The Moodle XML export of multiple choice calculated questions was
missing proper escaping of answers. Also the indentation of the
generated xml was off.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2023-10-03 12:23:20 +02:00
Jun Pataleta
cf98238fdf
Merge branch 'MDL-79557-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE
2023-10-03 12:18:00 +08:00
Jake Dallimore
925c36fb1d
Merge branch 'MDL-79056-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-10-03 12:03:58 +08:00
Andrew Nicols
d78dda7754
MDL-78580 mod_quiz: Do not concatenate lang strings
2023-10-03 12:03:55 +08:00
Andrew Nicols
2f6519d2de
Merge branch 'MDL-78580_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-10-03 11:23:54 +08:00
Huong Nguyen
ff7530e1d6
Merge branch 'MDL-79247_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-10-03 09:57:55 +07:00
Jun Pataleta
fbcb5793c3
Merge branch 'MDL-79254_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-10-03 09:42:08 +08:00
Ilya Tregubov
109879a2a1
Merge branch 'MDL-79428-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE
2023-10-03 09:41:21 +08:00
Jun Pataleta
a0d2e40b4d
Merge branch 'MDL-79364-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-10-03 09:16:27 +08:00
meirzamoodle
15c7909885
MDL-79539 core: handling negative input to get the upper value
...
Co-authored-by: Alain Corbière <alain.corbiere@univ-lemans.fr >
2023-10-02 20:57:08 +07:00
meirzamoodle
c29a812323
MDL-79539 messageinbound: avoiding a null parameter value
2023-10-02 20:51:33 +07:00
Juan Leyva
8d65efee7c
MDL-79557 message: Clean subject field content for get_messages WS
2023-10-02 14:52:25 +02:00
Ilya Tregubov
35312efbf9
MDL-79364 backup: Fix conversion for 1.9 backups.
...
1.9 backups used current plugin version as oldversion.
But quiz uses some hardcoded version numbers when processing
restore which is lower then current plugin number, so some quiz
logic was ignored.
See define_structure(), process_quiz_question_instance() within
restore_quiz_stepslib.php
2023-10-02 15:29:17 +08:00
Eloy Lafuente (stronk7)
96e62487e7
MDL-79247 forum: Workaround same-time discussion modified dates bug
...
Within the forum_get_discussion_neighbours() function of forum
when the discussions timemodified (last post) is the same, there
is a bug that does strange things when calculating the prev and
next discussions.
Note that, in real life, this is really hard to achieve, but in tests,
when multiple discussions and post can be created by generators in the
same second (specially when the test machine is quick), chances of
facing that problem are higher.
By adding 1 second wait, we ensure that the discussions won't have
the same timemodified (last post) and workaround the problem.
No mater of that, the problem deserves an issue to be created
so we guarantee from code that it also works ok when the same
timemodified (last post) situation happens.
2023-10-01 23:46:19 +02:00
Eloy Lafuente (stronk7)
b342562457
MDL-79247 forum: Make discussion list ordering deterministic
...
Note that normally this doesn't matter much, but there are situations
when we want the discussion list ordering fully consistent /
deterministic.
Specifically, when discussions (or forum posts )are created in the
same second, or when the discussion titles are repeated, or 2
discussions have the same number of votes... (any criteria in general),
in the context of testing, we don't want the order
to be non-consistent, so we need to provide an extra sorting
criterion to make it fully deterministic.
So, in this case, we are adding a sort by discussion.id <<DIRECTION>>
that is an unique value, primary key... so cheap to calculate and,
that way, when the 1st sorting column has repeated values, the id
will decide.
2023-10-01 23:46:19 +02:00
AMOS bot
803df36ce0
Automatically generated installer lang files
2023-09-30 00:10:27 +00:00
Jun Pataleta
b3ea1a9d5b
weekly release 4.1.5+
2023-09-29 22:07:19 +08:00
Jun Pataleta
fb311f1eae
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-09-29 22:07:17 +08:00
Gregor Eichelberger
0b28c6a254
MDL-79501 tiny: Fix editing multiple videos
...
The selection gets lost while opening the modal dialogue to update an
embedded media. Caching the current selection allows us to update the
previously selected node instead of updating the first embedded media.
Signed-off-by: Gregor Eichelberger <gregor.eichelberger@tuwien.ac.at >
2023-09-29 14:11:43 +02:00
Stephan Robotta
f9432283a9
MDL-79428 license: upgrading cc core licenses to version 4.0
...
The short name of the cc licenses are trailed with a suffix containing
the version number (current 3.0 and 4.0). The old cc* licenses become
the new cc-*-3.0 licenses and are disables, because the new cc*-4.0
licenses are the current ones.
This is a backport of MDL-43195.
2023-09-29 09:39:18 +02:00
Artur Neumann
0c4dc597d7
MDL-79487 oauth2: do not delete refresh token
...
when `log_out` is called from `\core\oauth2\client` it will delete the refresh token,
what it actually needs to use it to get a new access token
actually logging out is not needed here, the only thing we need to make sure is,
the invalid access token is removed from the session
that is done by storing `null`
2023-09-29 12:14:50 +08:00
Jun Pataleta
adc138d1f1
MDL-79056 gradereport_user: Make column heading IDs unique
...
Associate column headings of user report tables to the user ID that the
report is being generated for. This will prevent duplicate IDs for the
report columns when multiple user report tables are displayed on the
User report page.
2023-09-29 11:03:36 +08:00
Jun Pataleta
aff1f3a400
MDL-79056 gradereport_user: Set grade category and item names as th
...
* The table cells mentioned in the `headers` attribute of other table
cells need to be using the table header <th> tag. Otherwise, HTML
validation fails.
2023-09-29 11:03:36 +08:00
AMOS bot
74d66468cb
Automatically generated installer lang files
2023-09-29 00:08:05 +00:00
Huong Nguyen
3b31c13678
Merge branch 'MDL-79274' of https://github.com/catalystfd/moodle into MOODLE_401_STABLE
2023-09-28 15:49:40 +07:00
Ilya Tregubov
d4c9c36fcd
Merge branch 'MDL-79463-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-28 16:41:19 +08:00
Sara Arjona
5299097da9
Merge branch 'MDL-79477-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-28 10:17:47 +02:00
Sara Arjona
8dad07455d
Merge branch 'MDL-78918-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE
2023-09-28 09:52:49 +02:00
Sara Arjona
c5707a934d
Merge branch 'MDL-79350-401' of https://github.com/daledavies/moodle into MOODLE_401_STABLE
2023-09-28 07:48:06 +02:00
Huong Nguyen
6bc7b8e8be
Merge branch 'MDL-78813-401' of https://github.com/mihailges/moodle into MOODLE_401_STABLE
2023-09-28 12:03:25 +07:00
Ilya Tregubov
8894b1eb42
Merge branch 'MDL-79349-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-09-28 10:47:24 +08:00
Huong Nguyen
f0c0dbbb06
Merge branch 'MDL-75329-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-28 09:36:49 +07:00
Ilya Tregubov
8e5eda32fe
Merge branch 'MDL-79285_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-09-28 10:21:09 +08:00
Ilya Tregubov
20e40c3882
Merge branch 'MDL-79360/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-09-28 09:38:20 +08:00
Shamiso.Jaravaza
7127744f39
MDL-78918 mod_bigbluebuttonbn: Fix notifications
2023-09-27 12:28:57 -06:00
Jun Pataleta
5d902db0d1
Merge branch 'MDL-77891-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-09-27 23:49:20 +08:00
Mark Johnson
fbb6717550
MDL-79254 quiz_statistics: Convert recalculate task to ad-hoc
...
Previously, quiz statistics processing happened on a scheduled task.
This task looked for all quizzes with completed attempts, then
determined if those quizzes had a statistics calculation that's newer
than the most recent attempt, then ran the statistics calculation if
needed. It was hard coded to stop processing after 1 hour.
The queries involved in determining which quizzes needed processing
weren't terribly efficient, and combined with the 1 hour limit this made
the statistics unusable on large sites, where they are the most useful.
This converts the scheduled task to an ad-hoc task, and uses an event
observer for mod_quiz\event\attempt_submitted to queue a task when
it is needed. This removes the need for a query to work out what needs
processing, and allows the task processing to be scaled up as needed.
2023-09-27 15:42:41 +01:00
Shamim Rezaie
ae0cdf3b67
Merge branch 'MDL-78239-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-09-27 14:41:23 +10:00
Huong Nguyen
a76f40c81b
Merge branch 'MDL-79467-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-27 10:45:07 +07:00
Ilya Tregubov
4f8a492374
Merge branch 'MDL-77708-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-09-27 09:11:38 +08:00
Eloy Lafuente (stronk7)
68a2dd57ef
MDL-79285 xhprof: Add support for optional "reducedata" parameter
...
This new parameter / property will decide if we want to reduce
the run data before processing it:
- By default it will be disabled in table mode.
- By default it will be enabled in graph mode.
- The defaults can be changed by adding reducedata=[0|1] in the URLs
- Once data reduction is enabled, it stays enabled while
navigating within the xhprof reports.
2023-09-26 19:40:07 +02:00
Eloy Lafuente (stronk7)
c841064432
MDL-79285 xhprof: Cover the new functions with unit tests
...
This covers the 2 new functions with unit tests:
- xhprof_topo_sort()
- reduce_run_data()
Note that the example graph used in the provider is the
one shown in the issue to explain the reduction procedure.
2023-09-26 19:40:06 +02:00
Eloy Lafuente (stronk7)
f82ca155ac
MDL-79285 xhprof: Enable reducing runs data for quicker use
...
Here we are reducing the xhprof runs data by removing the
__Mustache==>__Mustache calls and all the orphaned data.
To save N iterations what we are doing is:
0. The information is "topologically" sorted, so we ensure that
all the parents in the data are processed before the children.
(this will help a lot when cleaning orphaned data, see below).
1. First pass, all the candidate (by regexp) calls are removed
from the run data.
2. Second pass, all the orphaned information (calls that have
ended losing his parent) are also removed, so data is consistent.
Note that, normally we would need N passes to remove all the
orphaned data (because each pass creates new orphan candidates),
but, as far as we have ensured that the information is topologically
sorted (see point 0 above), all this can be done in one unique pass.
TODO:
- Add unit tests.
- Enable some system to be able to decide which utilities we
want to get the data reduced and which ones will continue
using the complete data. Right now the reduction is being
applied to all the utilities (both table and graph views).
- Document the change and, if implemented, the way to select
between complete/reduced data.
- Consider adding some caching to speed-up the reduction process
(some TODOs have been left in the code pointing to the critical
points).
2023-09-26 19:40:06 +02:00
Sara Arjona
b660e6979a
weekly release 4.1.5+
2023-09-26 16:17:04 +02:00
Mihail Geshoski
ebf12946d6
MDL-78813 gradereport_grader: Revert border-top-width css change
...
Revert the modification of the border-top-width css attribute
to the grader table and the table header. This change seems to
be unnecessary.
2023-09-26 13:32:02 +02:00
Paul Holden
0195ecbf78
MDL-75329 course: defensive counting of course sections.
...
Avoids errors due to pre-existing integrity issues with course
data, where the absence entirely of section data would result in
PHP errors.
2023-09-26 12:18:39 +01:00
Paul Holden
98381d5ab7
MDL-79477 tool_moodlenet: better handling of network download test.
...
We can't assume the presense of `Content-Length` header in response
to a HEAD request. Modify test assertion to account for this.
2023-09-26 11:33:09 +01:00
Kevin Percy
00bd11b539
MDL-78813 gradereport_grader: Fixed help icon covering course average
2023-09-26 11:21:00 +02:00
Sara Arjona
54d446ce43
MDL-77708 docs: Update references from docs.moodle.org/dev
2023-09-26 10:57:33 +02:00
Huong Nguyen
e8d14cde9a
MDL-78239 editor_tiny: Calculate correct height for non-visible editors
2023-09-26 14:57:24 +07:00
Jun Pataleta
ccbb3ce62d
Merge branch 'MDL-76713-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-09-26 11:57:14 +08:00
Laurent David
4f620f537e
MDL-76713 core_availability: Fix date restriction conflict
...
* Use a unique ID the date nodes in the HTML tree to be able to find the current node.
* Look for nodes in the same tree "leaf" and work on conflicts in this single leaf/branch.
2023-09-25 10:16:24 +02:00
Shamim Rezaie
ff0b12cfd3
Merge branch 'MDL-75928-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-09-25 17:52:16 +10:00
Andrew Nicols
6988b5b328
weekly release 4.1.5+
2023-09-23 21:38:02 +08:00
Paul Holden
282523b96a
MDL-79467 output: handle empty sitename display during installation.
...
Causes PHP warnings when null on PHP 8.1.
2023-09-22 14:34:34 +01:00
Paul Holden
d77a46c804
MDL-79463 output: invert logic in url_select change event.
...
Avoids eslint `consistent-return` errors (because we previously only
returned from the conditional branch).
2023-09-22 10:22:59 +01:00
Simey Lameze
3b6acb99bd
MDL-75928 format_week: improve get_section_dates one week calc
2023-09-22 08:48:37 +08:00
Jun Pataleta
04461bed1c
Merge branch 'MDL-79323-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-09-21 15:29:23 +02:00
Ilya Tregubov
0717d4ea0e
Merge branch 'MDL-79341-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-21 14:51:12 +08:00
Ilya Tregubov
9e62b27d12
Merge branch 'MDL-71955-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-21 09:18:17 +08:00
Jake Dallimore
3c7c965a80
MDL-77891 core_calendar: support display of mod iconurl
...
This affects:
- event_item.mustache (day view)
- event_icon.mustache (used by month_mini and month_mini and
month_detailed templates)
2023-09-21 09:17:40 +08:00
Ilya Tregubov
3dc7b4b927
Merge branch 'MDL-68712-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-21 08:52:38 +08:00
Shamim Rezaie
24a5b078f7
Merge branch 'MDL-78895-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-20 23:43:43 +10:00
Paul Holden
cee1103bec
MDL-68712 enrol_self: improve detection/re-use of group enrolment keys.
2023-09-20 13:31:05 +01:00
Víctor Déniz
98419ad77a
MDL-79323 lang: Fix Behat tests regressions after merging en_fix strings
2023-09-20 09:59:26 +01:00
Helen Foster
7e6930f5b9
MDL-79323 lang: Import fixed English strings (en_fix)
2023-09-20 09:59:21 +01:00
Andrew Nicols
b8f45d20fd
MDL-79422 ajax: Allow no-login WS calls to fetch after a failure
2023-09-20 16:02:31 +08:00
Ilya Tregubov
8e931f2073
weekly release 4.1.5+
2023-09-20 09:03:29 +08:00
Huong Nguyen
285b364a1e
Merge branch 'MDL-79370-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-19 14:30:53 +08:00
Jake Dallimore
2a2edcde93
Merge branch 'MDL-79186-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-19 11:12:51 +08:00
Dale Davies
ce1f9ec96a
MDL-79350 core: Do not store lang in session when readonly
2023-09-18 14:31:02 +01:00
Huong Nguyen
3720396bb4
Merge branch 'MDL-79332_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-09-18 18:57:01 +07:00
Paul Holden
47941cb17a
MDL-79370 user: set profile page URL earlier, avoid subsequent error.
...
Co-authored-by: Dominique Palumbo <domenico.palumbo@uclouvain.be >
2023-09-18 09:26:45 +01:00
Ilya Tregubov
880e7e7298
Merge branch 'MDL-79047-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-18 12:25:40 +08:00
Jun Pataleta
8ebf873b65
MDL-79047 grade: Use the gradebook plugin name for the page title
...
* Use the appropriate gradebook plugin string for the page title.
* Improve gradebook page titles set by grade_get_plugin_info() by
listing the unique identifying information for the page first
(e.g. the gradebook plugin name), followed by broader information
(Grades + Course name), separating these bits of information using the
pipe `|` character.
For more information, check out
https://www.w3.org/WAI/WCAG21/Techniques/general/G88
2023-09-18 03:47:24 +02:00
Sara Arjona
0a09e482e4
weekly release 4.1.5+
2023-09-15 17:34:04 +02:00
Mark Johnson
e6b80e155b
MDL-78580 report_statistics: Prevent database deadlocks when viewing
...
If a quiz had a long job to calculate statstics running, this would
cause pages that may also attempt a recalculation (the statistics report
page or question bank) to load very slowly, and possibly result in a
database deadlock.
This change will firstly prevent the question bank page performing
analysis calculations at all, since these are not required for this
page, which will speed up loading and prevent deadlocks on this page.
Secondly, this adds a lock to the recalcuation process so that it cannot
run twice concurrently. This will present the user with a message to
indicate that it is waiting for a running calculation until it is
complete, and eventually it will timeout with a message and debugging.
2023-09-15 15:16:12 +01:00
Petr Skoda
e42eeb62b0
MDL-79360 filter: fix nolink tag regression from MDL-77525
2023-09-15 12:45:02 +02:00
Ilya Tregubov
a5f1d86040
Merge branch 'test4' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-09-15 17:38:42 +08:00
Jun Pataleta
c0ec027149
MDL-79057 grade: Remove block-level elements within buttons
...
Replace <div> tags within <button> tags for the selector
buttons in the grade pages.
2023-09-15 17:37:20 +08:00
Huong Nguyen
02e7ab212a
Merge branch 'MDL-79283-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-15 17:37:19 +08:00
Jun Pataleta
312f80d1d7
Merge branch 'MDL-79291-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-15 17:37:19 +08:00
Luca Bösch
767e147dac
MDL-79226 questions: check for UTF-8 encoding of the import file
2023-09-15 17:35:33 +08:00
Huong Nguyen
c2e501e144
Merge branch 'MDL-78728-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-15 17:32:44 +08:00
Huong Nguyen
978fb4f1fe
Merge branch 'MDL-79057-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-15 17:32:44 +08:00
Ilya Tregubov
748814dc61
Merge branch 'MDL-79220-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-09-14 17:43:57 +08:00
sam marshall
f6f0787fc8
MDL-79349 core_cache: Lock on multi-layer cache can behave incorrectly
2023-09-14 09:32:09 +01:00
Paul Holden
00d7ed9518
MDL-79283 core: add title to embedded iframe, for accessibility.
2023-09-14 09:26:32 +01:00
Jun Pataleta
cdb81ef363
Merge branch 'MDL-79181-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-09-14 14:02:29 +08:00
Ilya Tregubov
8a72397e0a
Merge branch 'MDL-79195-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-09-14 09:37:53 +08:00
Paul Holden
a3ddbca835
MDL-79341 core: more robust testing of user-agent curl response.
...
The external test file URL concerns itself only with HTTP_USER_AGENT
matching, not sending response headers, which can differ according to
HTTP protocol in use by the endpoint (1.1 vs 2).
Given the returned response code itself is irrelevant to the testcase,
there's not much benefit to asserting it and risking random failures.
2023-09-13 13:36:28 +01:00
Ilya Tregubov
f154d35e13
Merge branch 'MDL-78806-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-13 10:55:47 +08:00
Eloy Lafuente (stronk7)
5058c46813
weekly release 4.1.5+
2023-09-12 18:54:06 +02:00
Tim Hunt
aea590716a
MDL-79332 Question stats: make loading robust to bad data
...
We were experiencing problems caused by old stats analysis in our
database, computed when there was a bug, causing fatal errors
when they were displayed. Therefore, this code needs to be robust to that.
2023-09-12 16:59:02 +01:00
Angelia Dela Cruz
5d23cfe21f
MDL-79195 core_course: Activity and resource description display behat
2023-09-12 12:20:49 +08:00
Huong Nguyen
05c1fb3794
Merge branch 'MDL-79246-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-09-12 08:51:23 +07:00
Paul Holden
0f4b831249
MDL-71955 h5p: ensure embedded player sets up $PAGE correctly.
...
For module context, it should set the current cm and course to
ensure consistency in navigation API.
2023-09-11 10:18:20 +01:00
Paul Holden
721b02a270
MDL-79186 task: fix evaluation of 'X/Y' cron field format.
...
The above syntax is defined as supported by the class, for example the
format '5/10' means:
"At every 10th <unit> from 5 through <max>."
It is analogous to '5-<max>/10'.
2023-09-11 09:22:26 +01:00
Jake Dallimore
e8e5b279b0
Merge branch 'MDL-79048-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-11 13:00:51 +08:00
Ilya Tregubov
b0a931b48a
Merge branch 'm41_MDL-63539' of https://github.com/danmarsden/moodle into MOODLE_401_STABLE
2023-09-11 11:15:33 +08:00
Jake Dallimore
35e8d7517f
MDL-79181 core: update LinkedIn OAuth template to use OIDC
...
The old method (sign in with linkedin) is deprecated:
https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin
This replaces this with the new method:
https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2
This is not entirely OIDC compliant, however. The well known
openid-configuration isn't present at the issuer root and the 'locale'
claim contains an object instead of a string. These are worked around.
2023-09-11 10:42:35 +08:00
Jun Pataleta
007988a5f2
MDL-78806 mod_assign: Use new Behat step for checking page title
2023-09-10 10:54:18 +08:00
Jun Pataleta
9b6ed477f8
MDL-78806 behat: Create a step that for checking the page title
...
Create a Behat step "the page title should contain ':title'" to check
the page title.
2023-09-10 10:54:18 +08:00
Jun Pataleta
94efef85bb
MDL-78806 behat: More lenient checking of page title
...
Instead of doing an exact checking of the page title in
\behat_hooks::before_step(), do a more lenient check by checking that
the page title contains the acceptance test's site name.
2023-09-09 21:28:53 +08:00
Jun Pataleta
89e853437b
MDL-78806 core: Add upgrade.txt notes
2023-09-09 08:58:03 +08:00
Jun Pataleta
6664d3ebe6
MDL-78806 admin: Consistent page title during upgrade and install
...
* Use the page title separator constant when displaying the page title
during upgrade and installation.
* No need to display the site name during install when because it hasn't
been set at this point.
2023-09-09 08:56:50 +08:00
Jun Pataleta
d7cae15e57
MDL-78806 admin: Display the most unique information in the title first
...
* Page titles should display the most unique information first. For
admin pages it would be useful to display the information that
is unique to the page first before the broader categories that the
page belongs to.
* Also use the new page title separator constant.
2023-09-09 08:56:50 +08:00
Jun Pataleta
49393a1608
MDL-78806 core: Remove redundant site name
...
MDL-78806 core: Remove redundant site name on page titles
* With the site name now being appended to the page titles, there
is no need to manually append the page titles.
2023-09-09 08:56:50 +08:00
Jun Pataleta
143a3bf38b
MDL-78806 core: Append site name on page title
2023-09-09 08:56:50 +08:00
Jun Pataleta
5c9a0a80fc
MDL-78806 admin: Setting for displaying site name in page title
...
* A new config setting `sitenameintitle` for displaying the site name
on the page has been created.
2023-09-09 08:56:50 +08:00
Jun Pataleta
d1bc94905e
weekly release 4.1.5+
2023-09-08 22:35:13 +08:00
Jun Pataleta
fb8885a56e
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-09-08 22:35:11 +08:00
Jun Pataleta
0c239cb841
MDL-78549 multianswer: Prevent default when clicking feedback trigger
2023-09-08 22:23:00 +08:00
Huong Nguyen
f8d8553da6
Merge branch 'MDL-78549-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-08 22:23:00 +08:00
Andrew Nicols
b952716548
MDL-79277 tool_mobile: Correct default value for empty param
2023-09-08 22:22:59 +08:00
Andrew Nicols
c9c629dcf7
Merge branch 'MDL-79277-401' of https://github.com/noeldemartin/moodle into MOODLE_401_STABLE
2023-09-08 22:22:59 +08:00
Andrew Nicols
d7834ce7c3
Merge branch 'MDL-79250-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-08 22:22:59 +08:00
Andrew Nicols
426e4043a4
MDL-79264 tiny_equation: Correct debounce method
...
The debounced method was being called immediately instead of being
debounced.
2023-09-08 22:22:59 +08:00
Andrew Nicols
c28639acd9
Merge branch 'MDL-79264-MOODLE_401_STABLE' of https://github.com/geichelberger/moodle into MOODLE_401_STABLE
2023-09-08 22:22:59 +08:00
Andrew Nicols
a164c6b5f8
Merge branch 'MDL-68435-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-08 22:22:58 +08:00
Andrew Nicols
54271fa749
Merge branch 'MDL-78917-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-08 22:22:58 +08:00
Jun Pataleta
6e0210764a
MDL-79048 course: Add editing versions of course view page titles
...
* Create 'editing' versions of the coursetitle and coursesectiontitle
lang strings used for the page title of the course homepage and use
these when editing mode is turned on to provide immediate information
to users, especially screen reader users, the current state of the
course homepage.
2023-09-08 21:58:45 +08:00
AMOS bot
c72cd82baf
Automatically generated installer lang files
2023-09-08 00:10:46 +00:00
Paul Holden
11867ee8eb
MDL-79291 h5p: handle content type creation errors in test generator.
...
If the endpoint is temporarily down and/or misbehaving, then at least
we'll a clearer failure message.
2023-09-07 15:39:05 +01:00
Jun Pataleta
35209a1d79
Merge branch 'MDL-78795-MOODLE_401_STABLE' of https://github.com/phmemmel/moodle into MOODLE_401_STABLE
2023-09-07 14:17:00 +08:00
Angelia Dela Cruz
fe07a2032c
MDL-79220 mod_glossary: Behat for glossary entry with attachment
2023-09-07 10:13:08 +08:00
Francis Devine
57a1df54e1
MDL-79274 assignfeedback_editpdf: Fix permission error in conversion
...
This was causing the adhoc task to fail with a nopermission error, when
a user was unenrolled from a course before their assignment submission
could be converted into a pdf.
Comments from MDL-56810 indicate the correct approach is to not attempt
a conversion in those cases.
2023-09-07 09:27:22 +12:00
Paul Holden
0ef9be6004
MDL-78895 mod_url: fix double encoded ampersands in URL.
...
Also restore the `$attributes` property (previously `$extra` prior
to 8d8af19a ) to define URL opening behaviour, e.g. in popup or new
window.
2023-09-06 13:24:46 +01:00
Jun Pataleta
51655f3485
MDL-79057 gradereport_singleview: Use proper hidden attribute value
...
HTML attribute hidden="1" is invalid. It either needs to be set to an
empty string or use the keyword "hidden" for its value.
2023-09-06 18:39:15 +08:00
Jun Pataleta
bf9a2f43ad
MDL-79057 gradereport_singleview: Remove tabindex > 0 for elements
...
A tab index with a non-zero value messes up with the logical tab order
of a page.
2023-09-06 18:39:15 +08:00
Noel De Martin
e3bf7ce603
MDL-79277 tool_mobile: Fix warning
2023-09-06 09:08:47 +02:00
Ilya Tregubov
633d64262d
Merge branch 'MDL-76865-401' of https://github.com/daledavies/moodle into MOODLE_401_STABLE
2023-09-06 14:49:02 +08:00
Andrew Nicols
ba4393023f
Merge branch 'MDL-79205-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-06 12:52:51 +08:00
Andrew Nicols
608c5044ae
Merge branch 'MDL-79244-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-09-06 12:51:23 +08:00
Ilya Tregubov
d46c7851ca
Merge branch 'MDL-76459_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-09-06 10:03:19 +08:00
Luca Bösch
b3b813c610
MDL-79244 backup: fix typo for questioncannotberestored.
...
AMOS BEGIN
MOV [questionegorycannotberestored,backup],[questioncannotberestored,backup]
AMOS END
2023-09-05 22:30:45 +02:00
Paul Holden
a2628c3345
Merge branch 'MDL-76419-401' of https://github.com/rjnl/moodle into MOODLE_401_STABLE
2023-09-05 17:18:32 +01:00
Andrew Nicols
3fddb9017e
weekly release 4.1.5+
2023-09-05 22:26:37 +08:00
Andrew Nicols
4d2d641d0c
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-09-05 22:26:33 +08:00
AMOS bot
a779a64656
Automatically generated installer lang files
2023-09-05 14:25:10 +00:00
Gregor Eichelberger
dadf19ad3f
MDL-79264 tiny: Replace hardcoded contextid
...
The `contextid` argument of the `tiny_equation_filter` AJAX call is
hardcoded to 1, which causes trouble if the context table does not start
with id 1.
Signed-off-by: Gregor Eichelberger <gregor.eichelberger@tuwien.ac.at >
2023-09-05 13:27:20 +02:00
Paul Holden
b1abcd1f42
MDL-79205 webservice: gracefully handle invalid functions in docs.
2023-09-05 08:51:56 +01:00
Jun Pataleta
192210f90e
Merge branch 'MDL-78874-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE
2023-09-05 12:05:42 +08:00
Andrew Nicols
48d0cf6dd9
Merge branch 'MDL-79060-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-05 11:23:34 +08:00
Jun Pataleta
68b1a94a2e
MDL-79060 course: Use course name for the course image link
2023-09-05 11:10:59 +08:00
Andrew Nicols
0e857d3710
Merge branch 'MDL-79230-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-05 10:56:55 +08:00
Andrew Nicols
a898eb1964
Merge branch 'MDL-79236-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-05 10:44:32 +08:00
Andrew Nicols
d3bb9121fd
Merge branch 'MDL-79191-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-05 10:33:40 +08:00
Jun Pataleta
b22a25f208
MDL-78549 qtype_multianswer: Configure feedback popover trigger via JS
...
* For some reason, the `data-trigger="hover focus"` does not work when
rendering the popover via HTML. It just defaults to click, so the
feedback popover for qtype_multianswer questions does not show on hover.
Configuring the feedback popover's trigger via JS seems to work.
2023-09-05 09:36:08 +08:00
AMOS bot
31d6d42cfc
Automatically generated installer lang files
2023-09-05 00:11:50 +00:00
Rajneel Totaram
765ea5dbc3
MDL-76419 calendar: Respect $CFG->autologinguests on frontpage
2023-09-05 10:43:17 +12:00
Paul Holden
3b2690ef9c
MDL-78728 forms: correctly refer to outermost form element.
...
Read-only forms do not belong to a <form> element, so we can't refer
to that. Instead find the `.mform` element (which exists for regular
and read-only forms).
2023-09-04 16:43:59 +01:00
Paul Holden
d5dbe92232
Merge branch 'MDL-79232-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2023-09-04 11:38:13 +01:00
Paul Holden
25e159d1c5
MDL-68435 customfield: fix plugin file serving callbacks.
...
Incorrect parameter/method call was previously serving files with
wrong filenames.
2023-09-04 10:45:28 +01:00
Jun Pataleta
b7087ee353
MDL-79250 admin: Add title to external_content_banner template
2023-09-04 16:54:16 +08:00
Paul Holden
ed818157bb
MDL-78917 webservice: extra data in exception for missing classpath.
...
Include the external function classname & methodname properties in
the thrown exception, to aid diagnostic.
2023-09-04 09:03:32 +01:00
Andrew Nicols
62648c74d8
MDL-79246 gradingform_rubric: Use i_click_on for behat clicks
2023-09-04 09:13:02 +08:00
Philipp Memmel
7b105cb467
MDL-78795 core_form: Fix repeated elements JS problem
...
Co-authored-by: Stefan Hanauska <stefan.hanauska@csg-in.de >
2023-09-03 14:12:39 +02:00
Eloy Lafuente (stronk7)
1e3c3ec907
MDL-76459 xmldb: Add environmental check to verify $CFG->prefix
...
While, right now, sites using long (> 10 chars) $CFG->prefix
can continue working (because we still don't have any table
> 28 chars), as soon as some new table with long name is added,
it won't work with PostgreSQL anymore (if the 63 limit is raised).
Hence, this environmental check will verify on both install and
upgrade that the $CFG->prefix is always <= 10 chars.
Sites with longer prefixes will need to rename all their tables
(and maybe other objects, depending on the dbtype) to use a shorter
prefix.
2023-09-02 09:22:28 +02:00
Andrew Nicols
8ac8ea416a
weekly release 4.1.5+
2023-09-02 08:18:32 +08:00
Paul Holden
2cfc22350b
MDL-79236 editor_tiny: define subplugin type language strings.
2023-09-01 19:25:03 +01:00
Paul Holden
5c93b9fa6d
MDL-79230 editor_tiny: fix plugin info manage URL.
...
Co-authored-by: Meirza <meirza.arson@moodle.com >
2023-09-01 15:19:52 +01:00
Marina Glancy
0ad9a91cf0
MDL-79232 navigation: fix undefined var warning
2023-09-01 14:28:00 +01:00
Huong Nguyen
6d381af4ab
Merge branch 'MDL-74828-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-09-01 10:54:43 +07:00
Huong Nguyen
6d966ab9be
Merge branch 'MDL-76092-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-09-01 10:42:24 +07:00
Andrew Nicols
4ba4250301
Merge branch 'MDL-78966-401' of https://github.com/rjnl/moodle into MOODLE_401_STABLE
2023-09-01 11:32:21 +08:00
Andrew Nicols
aafe17e92a
Merge branch 'MDL-78179-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-09-01 11:27:05 +08:00
Ilya Tregubov
d281a2bb43
Merge branch 'MDL-74429-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-09-01 11:15:51 +08:00
Andrew Nicols
e3b5759ca7
Merge branch 'MDL-79190-401' of https://github.com/jbs1/moodle into MOODLE_401_STABLE
2023-09-01 11:13:07 +08:00
Ilya Tregubov
c526971857
Merge branch 'MDL-78745-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-09-01 10:55:41 +08:00
Andrew Nicols
d474c049d1
Merge branch 'MDL-79045-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-09-01 10:47:34 +08:00
Andrew Nicols
c2d8196aa2
Merge branch 'MDL-77831-401' of https://github.com/mickhawkins/moodle into MOODLE_401_STABLE
2023-09-01 10:38:29 +08:00
Ilya Tregubov
432201670d
Merge branch 'MDL-79202-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-09-01 10:30:36 +08:00
Ilya Tregubov
23f56c13a6
Merge branch 'MDL-79107-401-2' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-09-01 09:27:21 +08:00
Andrew Nicols
3053acf475
MDL-79107 editor_tiny: Target correct element on editor removal
2023-09-01 09:07:59 +08:00
Paul Holden
7bd76a1230
MDL-79191 grade: correct column type for the grade column (float).
2023-08-31 15:47:24 +01:00
Jun Pataleta
183901ec6d
Merge branch 'MDL-79107-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-31 21:09:37 +08:00
Jun Pataleta
e6e6c7e7b3
MDL-79107 qtype_essay: Move non_form_fields.feature under qtype_essay
2023-08-31 21:07:07 +08:00
Andrew Nicols
4ce427c2ac
MDL-79107 editor_tiny: Inform Behat of field type
2023-08-31 21:07:07 +08:00
Jun Pataleta
2a6e9817f1
Merge branch 'MDL-79017-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-31 20:32:03 +08:00
Michael Hawkins
890217e23e
MDL-77831 core: Updated security.txt expiry and added additional info
2023-08-31 18:29:48 +08:00
Jun Pataleta
e3cee463b1
Merge branch 'MDL-77657-401-get_extra_scss_code-wrong-order' of https://github.com/danowar2k/moodle into MOODLE_401_STABLE
2023-08-31 17:50:56 +08:00
Huong Nguyen
9b0f057357
Merge branch 'MDL-79207-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-08-31 12:27:02 +07:00
Angelia Dela Cruz
5a61806325
MDL-79207 core_course: Behat coverage for activity and resource deletion
2023-08-31 10:40:05 +08:00
Jun Pataleta
489a9fc818
MDL-79045 grade: Don't enclose grade user_heading in $OUTPUT->heading()
...
Do not enclose \core_grades_renderer::user_heading() in
$OUTPUT->heading() and enclose the user's name in the user heading in
<h2> tags instead.
- Having <div> inside <h2> results in errors in HTML validation.
- Enclosing the whole user heading in <h2> results in the other
elements in the user heading (Message, Add to contacts) to be announced
to screen readers which can result in confusion.
2023-08-31 09:24:08 +08:00
Sara Arjona
8ad1cceadf
Merge branch 'MDL-78612-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-08-30 17:55:45 +02:00
Andrew Nicols
92d73c9dee
MDL-78612 core: Wrap modal_factory.create in pendingPromise
2023-08-30 12:42:22 +08:00
meirzamoodle
c2bdabd63c
MDL-78745 editor_tiny: Stored text in non-entity form
...
TinyMCE has a default entity_encoding 'named',
which causes text with diacritic symbols to be converted to HTML entities,
e.g. pâté will be convert to pâté
That will be a problem with the Glossary auto-linking filter if a course has a text concept like pâté,
then the filter will likely fail to get the text concept.
Changing the TinyMCE entity_encoding to 'raw' will resolve the problem.
2023-08-30 09:18:31 +07:00
Paul Holden
6625276c7f
MDL-79202 tool_mobile: correctly interpolate minutes in exception.
2023-08-30 00:12:27 +01:00
Jeremy Schulz
32412f8a13
MDL-79190 theme_boost: removed obsolete comment
2023-08-29 17:11:31 -04:00
Sara Arjona
8083d74fe2
Merge branch 'MDL-72359-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-08-29 16:16:02 +02:00
Huong Nguyen
41722cf56e
MDL-72359 core_analytics: Better handling of MAX_TIME
...
We are limited by both PHP's max int value and DB (cross-db) max int allowed.
We need to use the smallest one
2023-08-29 20:37:49 +07:00
Ilya Tregubov
6e162e4bcd
Merge branch 'MDL-78615-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-29 11:59:56 +08:00
Huong Nguyen
3c480d41ec
Merge branch 'MDL-72359-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-08-29 10:58:27 +07:00
Huong Nguyen
5f681d2ae2
Merge branch '78241-401-tiny-recordrtc-fix-availability-conditions' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE
2023-08-29 10:53:38 +07:00
Huong Nguyen
527e300076
Merge branch 'MDL-78961-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-29 10:48:10 +07:00
Andrew Nicols
0356a9ba84
Merge branch 'MDL-79059-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-29 11:37:07 +08:00
Andrew Nicols
04dda99502
Merge branch 'MDL-79169-int-deprecate-401' of https://github.com/Peterburnett/moodle into MOODLE_401_STABLE
2023-08-29 11:21:00 +08:00
Sara Arjona
96c8cc1590
Merge branch 'MDL-78980-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-28 16:56:36 +02:00
Sara Arjona
33847c2920
Merge branch 'MDL-78707-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-28 16:40:58 +02:00
Sara Arjona
2a6000fc36
Merge branch 'MDL-78656-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-28 16:29:57 +02:00
Sara Arjona
ccd2ea3d60
Merge branch 'MDL-78749-401' of https://github.com/BruceGoodGuy/moodle into MOODLE_401_STABLE
2023-08-28 14:26:13 +02:00
Sara Arjona
8baa08a6bc
MDL-78179 badges: Clean SESSION when user disconnect backpack
...
The token information was not being properly cleared from the $SESSION.
As a result, certain errors were occurring when users attempted to
reconnect within the same session.
2023-08-28 13:34:06 +02:00
vtos
db8e366ed9
MDL-61811 enrol_manual: fixed updating of 'notifyall' field
...
When updating a manual enrolment instance, the value of 'notifyall' field must be calculated automatically based on the value of
'expirynotify' field. The relevant plugin's method missed that, thus, the value of 'notifyall' field was never updated when
editing a manual enrolment instance and changing the 'expirynotify' setting.
A functional test has been added to test the entire behaviour of the relevant plugin's method.
2023-08-28 16:09:45 +08:00
Ilya Tregubov
bc67d4491c
Merge branch 'MDL-79139-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-28 15:40:51 +08:00
dor
64f63faa3a
MDL-74828 media_videojs: fix loading icon position for RTL
2023-08-27 16:58:03 +08:00
Jun Pataleta
60810e78fb
weekly release 4.1.5+
2023-08-26 11:03:23 +08:00
Jun Pataleta
aca404163c
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-08-26 11:03:20 +08:00
Jun Pataleta
319cc7c82c
MDL-79059 core: Use full name as alt text for user picture links
...
When the user picture is being rendered as a link but the user's full
name is not being included in the link and the alt text turns out to be
empty, we could end up with a link without a discernible text. This is
an accessibility issue that will affect screen reader users. If this is
the case, use the full name as the user picture's alt text.
2023-08-26 10:40:34 +08:00
Jun Pataleta
9db9ff3028
MDL-79059 mod_data: Enclose preset options within a fieldset
...
Enclosing the radio buttons in a fieldset to provide additional context
to the purpose of the fields.
2023-08-26 10:40:34 +08:00
Jun Pataleta
bd76d860c0
MDL-79059 mod_data: Fix presets accessibility issues
...
* Add sr-only column headers for the select and actions columns.
* Define unique IDs for the preset name links using array indices.
* Label the radio buttons via aria-labelledby attribute pointing to
the ID of the preset's link.
2023-08-26 10:40:34 +08:00
Julien Boulen
c79c417ea0
MDL-78241 tiny_recordrtc: fix availability conditions
2023-08-25 18:17:11 +02:00
Jun Pataleta
e12ef27c0a
Merge branch 'MDL-78397-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-25 11:52:43 +08:00
Jun Pataleta
e2b9b37846
Merge branch 'MDL-78386-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-25 11:38:55 +08:00
Jun Pataleta
fe72c72682
Merge branch 'MDL-77988-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-25 10:35:45 +08:00
Jun Pataleta
ec3723d8d0
Merge branch 'MDL-79015-401-fix' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-08-25 09:53:33 +08:00
Peter Burnett
7dac997bdc
MDL-79169 admin: Fix implicit int cast in maintenance warning
2023-08-25 11:15:07 +10:00
Simey Lameze
ea1cf5d927
MDL-79015 behat: make verification step more specific
2023-08-25 08:55:08 +08:00
AMOS bot
4756f9876c
Automatically generated installer lang files
2023-08-25 00:11:58 +00:00
Andrew Nicols
0d3cdb0c10
Merge branch 'MDL-79075-attempt_reviewed-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE
2023-08-25 00:16:15 +08:00
Andrew Nicols
748acadd05
Merge branch 'MDL-79063-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-25 00:13:21 +08:00
Andrew Nicols
a9a76642a4
Merge branch 'MDL-79073-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-25 00:07:20 +08:00
Andrew Nicols
bf47757ef3
Merge branch 'MDL-78811-MOODLE-401' of https://github.com/aydevworks/moodle into MOODLE_401_STABLE
2023-08-25 00:02:49 +08:00
Andrew Nicols
c0ab693e4e
Merge branch 'MDL-78787-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-24 23:58:57 +08:00
Sara Arjona
5c7f1b85c6
Merge branch 'MDL-78688-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-24 17:35:14 +02:00
Sara Arjona
d437bdafc4
Merge branch 'MDL-78965-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-08-24 16:38:36 +02:00
danghieu1407
fc3cbd5015
MDL-78874 accessibility: Improve descriptive text for check button
2023-08-24 20:47:58 +07:00
Huong Nguyen
de8180935f
Merge branch 'MDL-78533-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-24 15:36:33 +07:00
Huong Nguyen
7b720a1f56
Merge branch 'MDL-78502-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-24 15:30:34 +07:00
Huong Nguyen
f12e010847
Merge branch 'MDL-78302-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-24 15:26:39 +07:00
Jun Pataleta
87a9b1c8ba
Merge branch 'MDL-79015-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-08-24 15:53:14 +08:00
Angelia Dela Cruz
a16624f94c
MDL-78965 mod_quiz: Behat coverage for quiz with certainty-based marking
2023-08-24 15:01:50 +08:00
Jun Pataleta
e25d28ff05
Merge branch 'MDL-78941-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-08-24 13:05:49 +08:00
Angelia Dela Cruz
1b18e3328e
MDL-79015 mod_lesson: Behat coverage for lesson with access restriction
2023-08-24 12:53:58 +08:00
Huong Nguyen
3a6c0872b9
Merge branch 'MDL-69187-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-24 10:39:35 +07:00
Angelia Dela Cruz
60e74092cd
MDL-78941 mod_quiz: Behat coverage for student flagging quiz questions
2023-08-24 10:56:00 +08:00
Huong Nguyen
45bd1bfa49
Merge branch 'MDL-78843-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-08-24 08:58:03 +07:00
Sara Arjona
6f0e80bd21
Merge branch 'MDL-65363-starred-courses-only-include-enroled-courses-MOODLE_4.1' of https://github.com/stopfstedt/moodle into MOODLE_401_STABLE
2023-08-23 15:27:48 +02:00
Paul Holden
c5967dd7d0
MDL-79139 check: clarify default user role action text.
2023-08-23 13:35:44 +01:00
Daniel Poggenpohl
a06d7f47be
MDL-72359 core: Changed MAX_TIME from 9999999999 to PHP_INT_MAX
...
This prevents automatic casting from int to double on 32 bit systems
(which have a maximum for integers of 2147483647)
Whilst Moodle does not support 32-bit systems any longer, this is still
worth doing to prevent future issues.
2023-08-23 14:34:32 +08:00
Andrew Nicols
19a25450d2
MDL-76092 core_backup: Unit tests for convert_params_to_values
2023-08-23 14:19:05 +08:00
Paola Maneggia
64fe594e85
MDL-76092 core_backup: Fix PHP8.0 vulnerability convert_params_to_values
2023-08-23 13:26:44 +08:00
Paul Holden
ae51bda773
MDL-78787 dml: native casting to char in SQL Server driver.
...
Ensure the same is used during concatentation to prevent truncation
of data, which was previously set at 255 characters per field.
2023-08-23 00:55:18 +01:00
Paul Holden
367f2bf707
MDL-78961 admin: correct smtppass preset configuration name.
2023-08-22 18:27:36 +01:00
Paul Holden
f7b3caac2c
MDL-78656 output: display menu item titles in primary navigation.
...
Since custom menu items were merged into the primary navigation/more
menu as part of 56c34d71 and related work, the "title" attribute of
each custom menu item was lost.
2023-08-22 17:30:04 +01:00
Andrew Nicols
6dcb455973
MDL-69187 core_file: Unit test for file_get_typegroup string types
2023-08-22 17:10:36 +01:00
Paul Holden
ec92edec88
MDL-78688 admin: define accepted filetype for uploaded preset file.
2023-08-22 15:32:14 +01:00
Sara Arjona
4adae8e489
weekly release 4.1.5+
2023-08-22 15:51:02 +02:00
Paul Holden
8034ad8be2
MDL-69187 files: normalize retrieval of mimetypes from groups array.
...
Ensure that the following both return consistently, so that filepicker
form elements behave the same for each when defining "accepted_types":
'.html, .txt'
['.html', '.txt']
2023-08-22 09:56:17 +01:00
Paul Holden
08344a8c4b
MDL-79073 question: detect missing context when deleting question.
2023-08-22 09:45:25 +01:00
Paul Holden
434e5af241
MDL-78386 search: specify correct parameter type for search area.
2023-08-22 08:12:07 +01:00
Paul Holden
f9aa8a5d75
MDL-79017 core: re-factor method to unserialize array.
...
We can use the existing helper for object unserialization as the
base for this method, rather than manual string parsing.
2023-08-21 21:02:45 +01:00
Leon Stringer
fe3054d05b
MDL-79075 quiz: Fix transposed user IDs
...
In the description of "Quiz attempt reviewed" events the user IDs of
the reviewer (typically the teacher) and the reviewee (typically the
student) were the wrong way round.
2023-08-21 15:50:28 +01:00
Paul Holden
5af5c5d0a6
Merge branch 'MDL-79071-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-21 15:32:44 +01:00
Paul Holden
194458b229
MDL-78707 forms: improve form container collapsing mechanism.
...
By using a more explicit selector for matching containers we avoid
previous problems such as incorrect count, and collapsing of elements
that had the same class name.
2023-08-21 12:38:57 +01:00
Paul Holden
4538b46a96
MDL-78397 course: update module name using API after duplicating.
...
This ensures that various ancillary tasks are also performed (such
as ensuring the gradebook item name matches).
2023-08-21 10:56:45 +01:00
Paul Holden
e4ba5d276d
MDL-78533 grade: relax param type of itemname in external structures.
...
Ensure it conforms to the same format as allowed for course modules.
2023-08-21 10:54:24 +01:00
Paul Holden
79e12570d9
MDL-78502 grade: consider only those export formats user can access.
2023-08-21 10:47:06 +01:00
Paul Holden
b971d76406
MDL-78615 cache: display failure notifications deleting lock/store.
2023-08-21 10:45:23 +01:00
Huong Nguyen
4a3603d49c
Merge branch 'MDL-65887-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-08-21 10:57:48 +07:00
Stefan Topfstedt
e4b3b1c79b
MDL-65363 block_starredcourses: only list enroled courses
...
Filter out any starred courses that the logged-in user is not enroled in.
2023-08-18 11:06:46 -07:00
Daniel Poggenpohl
bcf9d4bf68
MDL-77657 theme: Corrected return type
2023-08-18 16:21:02 +02:00
Daniel Poggenpohl
92ee1c561e
MDL-77657 theme: Fix get_pre_scss_code load order
...
This led to problems with grandchild themes,
depending on their direct parent's prescsscallback.
2023-08-18 16:21:02 +02:00
Daniel Poggenpohl
862e1e10c2
MDL-77657 theme: Fix get_extra_scss_code load order
...
This led to problems with grandchild themes,
depending on their direct parent's extrascsscallback.
2023-08-18 16:21:02 +02:00
Jun Pataleta
96e0a8b04d
MDL-79071 course: An empty alt text is needed for decorative images
2023-08-18 17:03:54 +08:00
Jun Pataleta
8fe9f8579d
MDL-79063 course: Use .text-body for 'disabled' elements in move modal
...
Using the .disabled class for the course module or section that is
being moved does not have sufficient colour contrast against the
background, especially when it is being highlighted.
So instead of using .disabled, just use Bootstrap classes .text-body
and .font-italic which renders the cm/section to be moved in normal
font colour while preserving its italicised look.
2023-08-18 16:35:48 +08:00
Jun Pataleta
23d6705ad6
MDL-79063 theme_boost: Match .disabled font colour with .text-muted
...
* For consistency
* The font colour for .text-muted meets a contrast ratio of 4.69:1
which meets WCAG 2.1 Level AA success criterion for minimum contrast.
2023-08-18 16:29:56 +08:00
Luca Bösch
2baa3bb4a5
MDL-65887 workshop: Recalculate + fill the 'Grade for assessment' column
2023-08-18 08:58:43 +02:00
Ilya Tregubov
f12e1b82a0
weekly release 4.1.5+
2023-08-18 11:23:59 +08:00
Dan Marsden
e3fb15de88
MDL-63539 mod_scorm: AICC multi-row content not saving correctly.
2023-08-18 14:45:08 +12:00
Eloy Lafuente (stronk7)
4f6df8a5b9
Merge branch 'MDL-78684-401-fix-2' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-08-17 19:56:46 +02:00
Simey Lameze
fd046bf6d6
MDL-78684 behat: fix behat failures
2023-08-17 21:01:05 +08:00
Jun Pataleta
527a11e48c
Merge branch 'MDL-78938-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-08-17 09:58:31 +08:00
Andrew Nicols
c0b521386c
Merge branch 'MDL-77695-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-08-16 23:23:26 +08:00
Andrew Nicols
b2780aa6f6
MDL-76557 enrol_lti: Fix unit test docs and convert to provider
2023-08-16 23:04:14 +08:00
ishatalkin
0608452503
MDL-76557 enrol_lti: sync_grades accepts status codes 200,201,202,204
2023-08-16 23:04:11 +08:00
Andrew Nicols
d6a9f01cc9
Merge branch 'MDL-78684-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-08-16 22:44:35 +08:00
Andrew Nicols
558d836861
MDL-77381 qengine: Correct coverage for new test
2023-08-16 22:40:16 +08:00
Andrew Nicols
0d82ce2629
Merge branch 'MDL-77381-MOODLE_401_STABLE' of https://github.com/ScottVerbeek/moodle into MOODLE_401_STABLE
2023-08-16 22:40:12 +08:00
Simey Lameze
896763076e
MDL-77695 behat: use automatic completion to award badges
2023-08-16 21:16:02 +08:00
Andrew Nicols
7e77e66350
MDL-78938 course: Wrap manual completion toggle in pending
...
This commit makes two changes to reduce random failures in behat:
- wrap the toggling of manually configured completion in pendingjs
- set the loading spinner content without forcing the completion toggle
ws to wait for the loading spinner to update.
2023-08-16 20:05:24 +08:00
Andrew Nicols
c2af464083
MDL-78938 report_progres: Wrap completion status update in pending
2023-08-16 20:05:24 +08:00
Mikel Martín
09500beae2
MDL-74429 core_form: Fix element url input overflow
2023-08-16 12:41:24 +02:00
Jun Pataleta
152acdd72f
Merge branch 'MDL-78505/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-08-15 22:21:05 +08:00
Petr Skoda
3847e0ba04
MDL-78505 core: stop mangling existing Mardown in text editors
...
The problem is that HTML Purifier is not compatible with Markdown,
that means we cannot sanitise Markdown texts before editing.
Luckily Markdown has to use plain text editor which does not have
XSS problems.
The only tiny downside is that Markdown cannot be allowed
in "trust text" areas any more.
2023-08-15 14:27:07 +02:00
Petr Skoda
05ffcf0579
MDL-78505 Revert "MDL-32114 form: markdown must be preserved on saving post"
...
This partially reverts commit 4a31dd69d6 .
2023-08-15 14:27:07 +02:00
Huong Nguyen
baed2a1aa1
Merge branch 'MDL-71909-m401' of https://github.com/NeillM/moodle into MOODLE_401_STABLE
2023-08-15 16:33:32 +07:00
Dale Davies
ddd260ffa4
MDL-76865 core: Check lock state before attempting to acquire a lock
2023-08-14 12:36:45 +01:00
Sara Arjona
b8fa7e0a0f
Merge branch 'MDL-78761-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-14 10:58:56 +02:00
Sara Arjona
7fbb02cadc
Merge branch 'MDL-78700-tidy_no_clean-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE
2023-08-14 09:12:34 +02:00
Jun Pataleta
954f779c5d
Merge branch 'MDL-78927-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-08-14 10:19:00 +08:00
Shamim Rezaie
b156b18c72
Moodle release 4.1.5
2023-08-11 23:20:36 +10:00
Paul Holden
f2f4c098ee
MDL-78980 admin: ensure all values for multiselect presets are used.
...
Previously, just the first value was selected. Instead defer to the
implementation in the base class for `set_value`.
2023-08-11 11:22:35 +01:00
Jun Pataleta
88459bba94
MDL-78983 core: Preserve default behaviour of flipping question icon
...
Introduce a lang string `questioniconfollowlangdirection` that will
allow the current behaviour of displaying the question mark icon
in RTL languages in the same manner as the current language.
2023-08-11 16:11:05 +07:00
Huong Nguyen
b201bcb878
Merge branch 'MDL-78983-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-11 12:53:50 +07:00
Jun Pataleta
b504d19c12
MDL-78983 core: Fix question mark icon direction flipping
...
This fixes the changes made in MDL-75047:
* Change `thisicondirection` langconfig string to a more specific one
like `questionicondirection`.
* Use existing direction string value `ltr` for the value of
`questionicondirection`. Also add a comment to at least provide some
form of documentation for it.
* Improve the logic for applying the horizontal flipping class for the
question icon:
- Check first if the icon is a question icon
- Flip the icon if `questionicondirection` is set to `rtl`.
2023-08-11 11:48:10 +08:00
Huong Nguyen
1c13aba0a2
weekly release 4.1.4+
2023-08-10 22:50:53 +07:00
Huong Nguyen
8a2c1509d7
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-08-10 22:50:51 +07:00
sam marshall
b098b9d61b
MDL-78927 core_user: Profile page missing breadcrumbs if no id=
2023-08-10 15:52:42 +01:00
meirzamoodle
033f742e4a
MDL-78685 auth_oauth2: Added logged-in status check
2023-08-10 18:44:29 +07:00
Jun Pataleta
9e665137d4
Merge branch 'MDL-78962_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-08-10 18:44:29 +07:00
Jun Pataleta
53b33f7b0e
Merge branch 'MDL-77817-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-08-10 18:44:27 +07:00
Jun Pataleta
7d7c342a2c
Merge branch 'MDL-78674-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-10 18:44:14 +07:00
Sara Arjona
ce77250706
Merge branch 'MDL-76123-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-10 18:44:14 +07:00
Jun Pataleta
770b11c3d9
Merge branch 'MDL-77378_401_v3' of https://github.com/TomoTsuyuki/moodle into MOODLE_401_STABLE
2023-08-10 18:44:14 +07:00
Michael Hawkins
a18da528cc
MDL-78763 tool_policy: Initialise returnurl as a moodle_url in viewall
2023-08-10 18:44:14 +07:00
Paul Holden
d4cec28c30
MDL-78792 message: access checks in processor fragment callback.
2023-08-10 18:44:14 +07:00
raortegar
48dc9e6582
MDL-74289 lib: Improve the proxy bypass matching
2023-08-10 18:44:10 +07:00
Rajneel Totaram
138c3bcb99
MDL-78966 theme: Fix site event icon size in upcoming events block
2023-08-10 19:37:48 +12:00
Simey Lameze
1f43b863f3
MDL-78843 behat: update get_forum_id to search for idnumber or name
...
This commit also converts manual steps to create discussions on the
Annoucements forum to data generator.
2023-08-10 10:05:16 +08:00
Jun Pataleta
8390f1a03d
MDL-78674 calendar: No need to call get_course_and_cm_from_instance()
...
The course ID and CM id can already be fetched from the event object.
2023-08-10 09:38:07 +08:00
Santosh Nagargoje
2713f2ea17
MDL-78674 calendar: Added fix to rebuild module cache in calendar
2023-08-10 09:38:07 +08:00
Tim Hunt
e726198d4d
MDL-78962 core/loadingicon: remove jQuery requirement in the API
2023-08-09 21:20:32 +01:00
Paul Holden
a11938293e
MDL-78647 files: safer unserializing of file reference data.
2023-08-09 04:50:21 +00:00
Shamim Rezaie
cfe33b82e3
MDL-66212 tool_lpimport: properly check capabilities
...
The moodle/competency:competencymanage capability should be checked
before showing the import and export pages.
2023-08-09 04:50:21 +00:00
Matt Porritt
cd95c30cb5
MDL-78340 Blocks: Dashboards now respect block permission overrides
...
Patch makes user dashboard respect permission overrides
that have been set on individual blocks on the system
dashboard (indexsys.php). When a user dashboard is created
either when the user visits their dashboard for the first
time or after an admin reset. When blcoks are copied to
the new dashbaord overriden permissions are also copied.
2023-08-09 04:50:21 +00:00
Rajneel Totaram
da05f15e3b
MDL-71728 mod_quiz: check if user can access this page
2023-08-09 04:50:21 +00:00
Huong Nguyen
efdf0e48c8
Merge branch 'MDL-78904-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-09 11:43:24 +07:00
Huong Nguyen
00e6ac4ad8
Merge branch 'MDL-75047-MOODLE_401_STABLE' of https://github.com/SysBind/moodle into MOODLE_401_STABLE
2023-08-09 11:30:49 +07:00
Jun Pataleta
4de338f002
Merge branch 'MDL-78872-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-09 12:10:16 +08:00
Ilya Tregubov
4732fa0b13
Merge branch 'MDL-78714-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-08-09 12:05:24 +08:00
Huong Nguyen
93ab65454a
Merge branch 'MDL-78235-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-08-09 10:43:35 +07:00
Andrew Nicols
d8c911ccb4
MDL-78714 editor_tiny: Disable HTML Sanitisation in TinyMCE
...
This is in keeping with other Editors such as Atto and resolves an issue
where DOM Purification incorrectly identifies HTML-like string content
as an HTML tag with a JS variable.
Moodle already performs XSS sanitisation using HTML Purifier in PHP.
2023-08-09 10:21:39 +08:00
Andrew Nicols
e8eb8943e1
MDL-78714 editor_tiny: Add xss_sanitize option to TinyMCE
...
To address a potential data loss issue, a feature introduced in TinyMCE
6.4.0 to disable client-side XSS sanitisation must be backported.
2023-08-09 10:21:39 +08:00
Andrew Nicols
737f657bad
MDL-78714 editor_tiny: Move TinyMCE import instructions to correct path
2023-08-09 09:05:23 +08:00
Huong Nguyen
8ce08d5cd1
Merge branch 'MDL-78492_aurora_mysql_rowformat_401' of https://github.com/mark-webster-catalyst/moodle into MOODLE_401_STABLE
2023-08-08 21:43:36 +07:00
Sara Arjona
e250a61e40
Merge branch 'MDL-78770-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-08 13:55:40 +02:00
Sara Arjona
bc9138ecba
Merge branch 'MDL-77658-MOODLE_401_STABLE' of https://github.com/SysBind/moodle into MOODLE_401_STABLE
2023-08-08 13:29:53 +02:00
Sara Arjona
fe7a12a9fd
Merge branch 'MDL-78559-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE
2023-08-08 13:02:06 +02:00
Paul Holden
75de5704de
MDL-76123 course: multilingual module icon alt text attribute.
2023-08-08 08:29:27 +01:00
Jun Pataleta
1347048659
Merge branch 'MDL-78896-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-08-08 15:29:26 +08:00
AMOS bot
86ff18c9fe
Automatically generated installer lang files
2023-08-08 00:10:31 +00:00
ScottVerbeek
59f7404d8b
MDL-77381 question engine: don't query empty arrays
2023-08-08 09:04:00 +10:00
Rodrigo Mady
961c7ef3e0
MDL-78559 mod_chat: Fix chat report loading with TeX filter
2023-08-07 09:55:16 -03:00
Helen Foster
7b4d19308e
MDL-78896 lang: Import fixed English strings (en_fix)
2023-08-07 11:31:43 +01:00
Paul Holden
5305ddc0a4
MDL-77988 dml: clarify logic when dropping plugin tables.
...
Comparison of method void return within a conditional didn't make
sense, and the aforementioned method throws an exception on error
anyway which would halt execution.
2023-08-07 10:46:47 +01:00
Paul Holden
ecee875be0
MDL-78302 mod_forum: fix course module grade button parameters.
2023-08-07 10:45:21 +01:00
Ilya Tregubov
c9143efd7e
Merge branch 'MDL-78800_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-08-07 16:58:26 +08:00
Ilya Tregubov
52b234d69a
Merge branch 'MDL-78550-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-08-07 11:34:49 +08:00
chen levy
896e87228c
MDL-77658 theme: Fixed RTL manage course categories menu
...
fixed course checkboxes that appears on the categories menu on RTL
2023-08-06 09:54:23 +03:00
Eloy Lafuente (stronk7)
772236e08c
MDL-78800 composer: Bump dependencies to current ones
...
This bumps direct dependencies to current ones:
- phpunit: 9.5.x No updates here, there is the 9.6.x series
available but a lot of deprecation warnings have been
introduced there without any alternative to use. See:
- https://github.com/sebastianbergmann/phpunit/issues/5160
- https://github.com/sebastianbergmann/phpunit/issues/5062
- ...
While that will be handy to prepare ourselves to PHPUnit 10
in some months... we cannot force everybody to jump to 9.6.x
because that will make a lot of tests to start emitting
warnings.
So we stay with PHPUnit 9.5.x for the life of this branch.
- mink-phpwebdriver: 1.2.1 No updates here, just changed the
constraint because we cannot advance to 1.3.x yet, there is
a change there causing some app tests to fail. See:
- https://github.com/oleg-andreyev/MinkPhpWebDriver/pull/81
So we stay with 1.2.x until that issue is fixed/clarified,
only then we'll review the status.
- behat: 3.12.x => 3.13.x
And also, automatically, a bunch of 2nd and deepest dependencies.
Generated with php74 that is the lowest php version supported
by this branch and, also, by some of the dependencies, as per
documented @ https://moodledev.io/general/development/tools/composer
Worth mentioning behat/mink-goutte-driver, that we should move
to mink-browserkit-driver, but that's out from this issue scope.
2023-08-05 11:17:10 +02:00
Sara Arjona
614563082b
weekly release 4.1.4+
2023-08-04 12:40:10 +02:00
Jun Pataleta
0975a83b7a
MDL-78904 user: Remove non-existent require
...
* And enclose context parameter in an array.
2023-08-04 14:42:49 +08:00
meirzamoodle
f8691f2e28
MDL-77817 editor_tiny: Fix menu and dialogue window position
...
The boost theme makes the TinyMCE editor rendered in a scrollable container,
scrolling the editor’s container will cause TinyMCE UI elements to be detached from the anchor.
Therefore, to keep the tinyMCE menu in the correct position,
adjustments must be made on the page drawers style.
When using TinyMCE editor in Safari browsers, a problem may occur where the dialogue
windows (such as modal dialogs) overlap with page drawers due to a specific behavior
in Safari's rendering. This function addresses the issue by adjusting the CSS overflow
property of the page drawers, ensuring they do not obscure the dialogue windows.
2023-08-03 11:40:12 +07:00
Jun Pataleta
d25c0c5448
MDL-78498 mod_forum: Prevent race condition in forum recent activity
...
* Using the generator to create the forum discussions, the timecreated
of a discussion can be set before the user's last course access which
will prevent forum_print_recent_activity() from including this generated
discussion in the recent activity results. To work around this, generate
the forum discussion 1 second after the current time to make sure that
the user's last course access will always be before the discussion's
creation time.
* This patch also includes some optimisations by:
- Removing the unnecessary @javascript tag for the
`Time limit expires` scenario
- Bringing the discussion generation to each scenario to allow each
scenario to customise the data passed to the generator like for the
`Time limit expires` scenario.
- Navigating directly to the forum instance.
2023-08-03 11:33:32 +08:00
Ilya Tregubov
cf393e9aae
Merge branch 'MDL-78866-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE
2023-08-03 09:39:17 +08:00
Ilya Tregubov
e3dd019685
Merge branch 'MDL-78742-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-03 09:25:28 +08:00
Sara Arjona
ceb153b1c7
Merge branch 'MDL-78460-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-02 08:51:13 +02:00
Jun Pataleta
1967ccccc0
Merge branch 'MDL-78498-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-08-02 11:22:58 +08:00
Paul Holden
58836d7143
MDL-78872 grade: fix external class execute method visibility.
2023-08-02 02:18:51 +01:00
Sara Arjona
d04d701c18
Merge branch 'MDL-78703-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-08-01 13:45:11 +02:00
danghieu1407
1b4ee84aee
MDL-78866 question: question_created trigger pre-saving extra fields
2023-08-01 15:59:57 +07:00
Simey Lameze
33d829716e
MDL-78498 behat: add support for private replies
...
This commit adds support for private replies in the
'the following forum replies exist in course' custom step.
2023-08-01 16:08:10 +08:00
Angelia Dela Cruz
73a08e3ccd
MDL-78498 Behat: Use data generators for forum posts and replies
...
This commit does few things:
* Replace manual forum posts and replies to use data generator.
* It also changes the code to handle social forums.
* Other behat clean-ups and optimization.
Co-authored-by: Simey Lameze <simey@moodle.com >
2023-08-01 16:08:10 +08:00
Angelia Dela Cruz
efb38571e5
MDL-78684 Behat: Replace gradebook navigation to use page resolvers
...
This commit also does other things such as:
- Replace manual steps to setup gradebook by data generators
- Added support for outcomes and scales page resolvers
- Behat clean up
2023-08-01 15:55:33 +08:00
Andrew Nicols
8c8cb002c0
MDL-78632 core: Update upgrade versions
2023-08-01 09:32:36 +08:00
Andrew Nicols
ea6adbc72e
Merge branch 'M401-MDL-78632' of https://github.com/marcusboon/moodle into MOODLE_401_STABLE
2023-08-01 09:31:42 +08:00
Tomo Tsuyuki
2ba3b8b27e
MDL-77378 qtype_multianswer: Fix division by zero errors
2023-08-01 11:26:44 +10:00
Iñaki Arenaza
e7817d0d55
MDL-78481 mod_lesson: matching pagetype applying filters fix
2023-07-31 16:25:59 +02:00
Michael Aherne
affda87228
MDL-78235 userprofile: Check for defaultdata with isset().
2023-07-31 19:33:06 +08:00
Jun Pataleta
ebe27cf615
MDL-78550 core: Ensure spacing between more menu item attributes
2023-07-28 17:33:07 +08:00
Jun Pataleta
27f453d6e9
MDL-78550 grade: Hide empty fillers from the accessibility tree
...
* And remove the title attribute for the filler as it is unnecessary.
2023-07-28 17:28:58 +08:00
Jun Pataleta
b98fb9032c
MDL-78550 grade: Avoid rendering an empty <h2> heading
2023-07-28 17:28:57 +08:00
Jun Pataleta
e953e71c54
MDL-78550 grade: Fix HTML validator errors
...
* Remove invalid "text" attribute in <td> elements
* Use proper id value for grade category checkboxes.
2023-07-28 17:28:56 +08:00
Marcus Boon
3295c4bc1d
MDL-78632 filetypes: Introduce yaml file type
2023-07-28 15:28:15 +10:00
Ilya Tregubov
13553c25da
weekly release 4.1.4+
2023-07-28 10:44:15 +08:00
Ilya Tregubov
c9fc2bfeb4
Merge branch 'MDL-78782-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2023-07-27 10:00:01 +08:00
Ferran Recio
dcd7261175
MDL-78782 behat: optimize with editing mode step
...
The current I am on course homepage with editing mode loads twice the
course page. This patch prevents this from happening by going directly
to editmode.php.
2023-07-26 16:19:57 +02:00
Neill Magill
612b86e193
MDL-71909 assignfeedback_editpdf: Do not queue conversions when not on
...
Before this change conversion tasks would be queued for assignments that
did not have the pdf annotation method enabled.
The change will also prevent queing when the plugin is disabled.
2023-07-26 09:16:48 +01:00
Huong Nguyen
bca23d5477
Merge branch 'MDL-78618_401' of https://github.com/larsbonczek/moodle into MOODLE_401_STABLE
2023-07-26 14:22:42 +07:00
Mark Webster
28aaa93df9
MDL-78492 dml: Better support for auroramysql
...
Aurora MySQL does not support row format COMPRESSED and falls back
to COMPACT if you try to use it, cuasing column size too large
errors if you try to use it with utf8mb4 collation.
2023-07-25 11:57:38 +01:00
Alex Yeung
356e1d8f31
MDL-78811 check: fix duplicate column contextid warning
2023-07-24 22:49:52 +01:00
Leon Stringer
a283cf8fbe
MDL-78700 filter_tidy: Stop using 'clean'
...
When libtidy removed option 'drop-font-tags' the docs said to use the
'clean' option instead (see MDL-69951). However, 'clean' replaces
legacy style information with classes, the corresponding CSS added in
<head>. With 'show-body-only' (used because we're inserting an HTML
fragment mid-way through <body>) that <head> with its CSS is omitted.
So 'clean' with 'show-body-only' removes legacy style information,
rather than tidying it. Consequently we now drop the 'clean' option.
This means <font> tags are no longer dropped as libtidy currently has
no equivalent to the removed 'drop-font-tags' functionality.
2023-07-24 17:31:53 +01:00
Paul Holden
9437e82a31
MDL-78761 enrol: correct enrolment suspended state report filter.
2023-07-21 17:13:16 +01:00
Huong Nguyen
533ce56743
weekly release 4.1.4+
2023-07-21 20:56:32 +07:00
Huong Nguyen
e677d31003
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-07-21 20:56:30 +07:00
Paul Holden
5f35d838d1
MDL-78742 tool_uploadcourse: configure show activity dates value.
2023-07-20 16:28:41 +01:00
Jun Pataleta
61d3f1345a
MDL-78770 tiny_recordrtc: Use proper window.console.warn() function
2023-07-20 14:32:52 +08:00
Jun Pataleta
9cb8b3fa50
MDL-78770 atto_recordrtc: Use proper window.console.warn() function
2023-07-20 14:23:01 +08:00
Huong Nguyen
8eb8fb844a
Merge branch 'MDL-78525-401' of github.com:HuongNV13/moodle into MOODLE_401_STABLE
2023-07-20 10:58:06 +07:00
Huong Nguyen
792530cfe6
MDL-78525 core: Update upgrade.txt for count_words and count_letters
2023-07-20 10:54:57 +07:00
Khoa Nguyen Dang
1408e3b964
MDL-78749 Accessibility\Quiz: Previous attempt table caption missing
2023-07-20 10:15:49 +07:00
Ilya Tregubov
974cbce6e8
Merge branch 'MDL-76854-subscription_deleted-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE
2023-07-20 10:49:55 +08:00
Huong Nguyen
9c47f4e461
Merge branch 'MDL-78525/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-07-20 09:04:31 +07:00
Ilya Tregubov
cbadd18581
Merge branch 'MDL-75115-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-07-20 09:41:33 +08:00
Andrew Nicols
97c95140c3
Merge branch 'MDL-78716-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-20 00:29:09 +08:00
Andrew Nicols
0311f95fee
Merge branch 'MDL-78715-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-20 00:17:33 +08:00
Andrew Nicols
f852e35976
Merge branch 'MDL-77645-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-20 00:11:59 +08:00
Andrew Nicols
05c485dc97
Merge branch 'MDL-78704-401' of https://github.com/rjnl/moodle into MOODLE_401_STABLE
2023-07-19 21:57:52 +08:00
AMOS bot
36918dfbfc
Automatically generated installer lang files
2023-07-19 00:11:00 +00:00
Shamim Rezaie
d0bef0b899
Merge branch 'MDL-78564-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-17 20:36:00 +10:00
Leon Stringer
ad5e75ddf1
MDL-76854 tool_monitor: subscription_deleted ctx
...
Fix course context for subscription_deleted event when deleting rules
with multiple subscriptions.
2023-07-15 08:08:22 +01:00
Paul Holden
ba6143d1ac
MDL-78703 behat: fix HTTP GET method capitalization on redirect.
2023-07-15 01:00:07 +01:00
Paul Holden
0c7a684fcc
MDL-78715 payment: prevent action menus flowing under container.
2023-07-14 17:17:00 +01:00
Paul Holden
587ea4d3f3
MDL-78716 course: fix category idnumber updating logic.
...
Where only the case of the idnumber field was being updated, we
triggered an exception because checking for an exising idnumber
was not excluding the current category (i.e. the one being updated).
2023-07-14 15:14:59 +01:00
Paul Holden
f6583c57c8
MDL-78460 mod_forum: correctly render timed post label information.
2023-07-14 10:15:40 +01:00
Petr Skoda
f25ad012c5
MDL-78525 core: fix word and character counting
2023-07-14 08:44:15 +02:00
Ilya Tregubov
272fdb321a
weekly release 4.1.4+
2023-07-14 09:25:40 +08:00
Rajneel Totaram
962a3f866c
MDL-78704 course: Render unescaped HTML for activity dates
2023-07-14 10:17:04 +12:00
Tim Hunt
0a6f40cb21
MDL-76757 delete questions: fix message generation logic
...
The order was getting scrambled.
2023-07-13 21:44:04 +02:00
Jun Pataleta
85232e735d
Merge branch 'MDL-76046-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-07-13 11:19:30 +08:00
Huong Nguyen
90c15c62f4
Merge branch 'MDL-75195-401' of https://github.com/raortegar/moodle into MOODLE_401_STABLE
2023-07-13 09:57:23 +07:00
Huong Nguyen
dcd80cff04
Merge branch 'MDL-76757-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE
2023-07-13 09:46:59 +07:00
Ilya Tregubov
e0dc36f27e
Merge branch 'mdl-7133-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE
2023-07-13 10:31:28 +08:00
Huong Nguyen
73cce7054c
Merge branch 'MDL-77990-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-07-13 09:22:19 +07:00
Jake Dallimore
a6b769bddd
Merge branch 'MDL-77912_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-07-13 10:09:45 +08:00
Andrew Nicols
94080683ba
Merge branch 'MDL-78157-401' of https://github.com/golenkovm/moodle into MOODLE_401_STABLE
2023-07-13 09:48:19 +08:00
Andrew Nicols
10cdb9c72d
Merge branch 'MDL-78556-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE
2023-07-13 09:29:04 +08:00
Andrew Nicols
57af739134
Merge branch 'MDL-76996_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-07-13 09:25:35 +08:00
Ilya Tregubov
8cf9b77cdb
Merge branch 'MDL-73213_401' of https://github.com/pedrojordao/moodle into MOODLE_401_STABLE
2023-07-13 09:18:31 +08:00
Sara Arjona
07ef1c6aa5
Merge branch 'MDL-78673-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-07-12 18:18:13 +02:00
Andrew Nicols
b3820bdc44
Merge branch 'MDL-77450-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-07-13 00:10:14 +08:00
Andrew Nicols
a80a370e0a
Merge branch 'MDL-78676-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-07-13 00:06:36 +08:00
Sara Arjona
4fbc7a28ae
Merge branch 'MDL-78455-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-07-12 17:37:14 +02:00
Paul Holden
0202597261
MDL-77645 course: ensure active enrolments are considered for drawer.
...
Otherwise the enrolment index page tries to load the course index
drawer, which doesn't exist at this point and triggers exceptions in
the editor module.
Co-authored-by: Tim Volckmann <tim.volckmann@mastersolution.com >
2023-07-12 14:35:33 +01:00
Tim Hunt
c589ced794
MDL-76996 question bank: fix errors when qbank_statistics is disabled
2023-07-12 11:47:37 +01:00
Sara Arjona
4abfc497e2
Merge branch '76319-gradebook-add-missing-continue-button-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE
2023-07-12 08:28:15 +02:00
Miri Lipson
03a7d208f9
MDL-75115 theme_boost: Fix Bootstrap tooltips in RTL mode
2023-07-12 09:11:33 +07:00
Tim Hunt
0ece3bcfc1
MDL-77912 questions: make multi-choice stats calc robust to bad data
2023-07-11 16:57:45 +01:00
raortegar
f904f52240
MDL-75195 core: Added supportemail option to install_database.php
2023-07-11 11:13:49 +02:00
danghieu1407
173da3666c
MDL-78556 tablelib: flexible_table should support caption tag
2023-07-11 14:18:54 +07:00
Angelia Dela Cruz
9a55a771c1
MDL-77450 Behat: Behat cleanup and optimisation
2023-07-11 14:22:35 +08:00
Ilya Tregubov
c057bc092d
Merge branch 'MDL-67852_MOODLE_401_NEW' of https://github.com/aydevworks/moodle into MOODLE_401_STABLE
2023-07-11 11:12:16 +08:00
Ilya Tregubov
5cecf47fd1
Merge branch 'MDL-77690-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-07-11 09:52:05 +08:00
Ilya Tregubov
f4e0c7d6bf
Merge branch 'MDL-75359-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-11 09:30:14 +08:00
Julien Boulen
231577e4b0
MDL-76319 gradebook: add continue button after csv grades import error
2023-07-10 10:18:14 +02:00
danghieu1407
cf0b6e06e2
MDL-76757 Question bank: Can not delete the question completely
2023-07-10 14:34:32 +07:00
Andrew Nicols
43d00eaeba
MDL-78673 grade: Switch test to use generators
2023-07-10 11:30:14 +08:00
Andrew Nicols
23c2c5d08e
MDL-78673 grade: Switch to behat navigation steps
2023-07-10 11:30:14 +08:00
Andrew Nicols
7961e169b1
MDL-78673 grade: Address random failure due to toast
2023-07-10 11:30:09 +08:00
Andrew Nicols
e0c28bebcb
MDL-78673 behat: Allow plugins to define their expansion of >
2023-07-10 11:29:39 +08:00
Andrew Nicols
51dc88fa84
Merge branch 'MDL-77180-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-09 22:14:37 +08:00
Alex Yeung
236f4654c0
MDL-67852 tool_dataprivacy: Fix security checks
2023-07-09 14:50:10 +01:00
Juan Segarra Montesinos
031e583402
MDL-71133 mod_assign: Grade decimals missing with marking workflow
2023-07-09 08:12:22 +02:00
Sara Arjona
e8897600a1
MDL-78676 mod_data: Check completion rules properly
...
The completion_rule_enabled() method was not checking all the fields
and, in some cases, it was returning false (because it was not checking
that "Count of entries" field was enabled).
2023-07-07 18:28:23 +02:00
Paul Holden
e9191587be
MDL-77180 customfield: allow entry of formatted category names.
...
Change the param type of the category name when editing to allow
for entry of multilang tags, the formatting of which is already
supported when returning category name.
Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com >
2023-07-07 14:59:54 +01:00
Paul Holden
73939586b6
MDL-75359 reportbuilder: fixes for custom/user profile field elements.
...
Ensures cross-DB compatibility for all types of both custom and user
profile fields, specifically when they're filtered and/or aggregated.
Implement stress testing of both via appropriate report sources.
2023-07-07 14:43:29 +01:00
Ilya Tregubov
f29f757f5f
weekly release 4.1.4+
2023-07-07 11:52:28 +08:00
Ilya Tregubov
5246118a3b
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-07-07 11:52:26 +08:00
Pedro Jordao
2ace3d54dc
MDL-73213 autocomplete: keep selected value when the state changes.
...
The selected value of the dropdown was being cleared when the dropdown
was opened, this was causing an error when submitting the form if the
field was required. The main cause was that we were emptying the
select before loading new values, this solution was created because
of an issue where we could not deselect values if the list was
reloaded. To fix this problem, I added an empty option as the first
element of the select only when deselecting a certain item.
2023-07-06 15:33:47 -03:00
Lars Bonczek
24b8efe27a
MDL-78618 core_course: use UNION in get_nearest_editable_subcategory
2023-07-06 18:52:36 +02:00
Sara Arjona
d9c911598c
Merge branch 'MDL-78391-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-07-06 11:03:18 +02:00
Huong Nguyen
7a582cf628
MDL-78391 atto_recordrtc: Fix recording issue with Chrome
2023-07-06 15:49:56 +07:00
Huong Nguyen
0f7151e2ba
MDL-78391 tiny_recordrtc: Fix recording issue with Chrome
2023-07-06 15:49:55 +07:00
Sara Arjona
082a862366
Merge branch 'MDL-77375-401-patch' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-07-06 10:12:00 +02:00
Misha Golenkov
d06d29ef5d
MDL-78379 js: Add missing newline character
2023-07-06 16:16:39 +10:00
Ilya Tregubov
c7877e7bb3
MDL-77375 tool_dataprivacy: Fix menus going floaty.
2023-07-06 13:12:53 +08:00
Jun Pataleta
6509d6d944
Merge branch 'MDL-78391-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-07-06 11:59:46 +08:00
Jun Pataleta
3601d38c01
Merge branch 'MDL-78488_401' of https://github.com/t-schroeder/moodle into MOODLE_401_STABLE
2023-07-06 11:17:57 +08:00
Ilya Tregubov
fa52ecfdf2
Merge branch 'MDL-69983-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-07-06 10:26:27 +08:00
Ilya Tregubov
83748b3b19
Merge branch 'MDL-78608_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-07-06 09:57:21 +08:00
Jun Pataleta
461c0bd947
Merge branch 'MDL-78484-401' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_401_STABLE
2023-07-06 09:41:24 +08:00
Ilya Tregubov
ff652d5c2c
Merge branch 'MDL-77375-401' of https://github.com/rezaies/moodle into MOODLE_401_STABLE
2023-07-06 09:21:18 +08:00
Jun Pataleta
d584ca7b7f
Merge branch 'MDL-74893-MOODLE_401_STABLE-fix_auto_login_guest' of https://github.com/praxisdigital/moodle into MOODLE_401_STABLE
2023-07-06 09:14:09 +08:00
Paul Holden
c537169f84
Merge branch 'MDL-78542-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-07-05 17:13:18 +01:00
Andrew Nicols
b3246582c4
Merge branch 'MDL-78644-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-05 22:10:42 +08:00
Andrew Nicols
c3c39d78c4
Merge branch 'MDL-78338-401_toolbrickfieldlinkinnewwindow' of https://github.com/brickfield/moodle into MOODLE_401_STABLE
2023-07-05 22:03:04 +08:00
Andrew Nicols
2811bedd48
Merge branch 'MDL-78622_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-07-05 21:56:35 +08:00
Andrew Nicols
ba32d69255
Merge branch 'MDL-64152-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-07-05 21:49:20 +08:00
Andrew Nicols
17b4837fb6
Merge branch 'MDL-78614-401' of https://github.com/noeldemartin/moodle into MOODLE_401_STABLE
2023-07-05 20:30:42 +08:00
Paul Holden
f09241fafe
MDL-78644 files: more fault tolerant resizing of logos/icons.
...
If we cannot resize the given file (files such as ICO can't be, for
SVG it makes no sense), then we should just return the original file
as is rather than an error.
2023-07-05 12:51:41 +01:00
Ilya Tregubov
a9fe9bbb0c
Merge branch 'MDL-78485-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-07-05 11:52:11 +08:00
Andrew Nicols
e5f747ffa4
Merge branch 'MDL-78158-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-07-05 10:24:07 +08:00
Huong Nguyen
28263edd35
Merge branch 'MOODLE_401_MDL-77396' of https://github.com/Dineshdurai/moodle into MOODLE_401_STABLE
2023-07-04 16:15:48 +07:00
Huong Nguyen
25432feda8
Merge branch 'MDL-78596-coursecard-divider-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE
2023-07-04 15:28:30 +07:00
Huong Nguyen
e8058e6981
Merge branch 'MDL-78578-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-07-04 15:16:15 +07:00
Huong Nguyen
d19936b1c6
Merge branch 'MDL-76853-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-07-04 12:46:26 +07:00
Huong Nguyen
1751f4e658
Merge branch 'MDL-78138-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-07-04 12:38:59 +07:00
Stevani Andolo
419db61006
MDL-78485 editor_tiny: Allowed script tag to be added in tinyMCE editor
2023-07-04 13:36:47 +08:00
Andrew Nicols
48a4ad4d4c
Merge branch 'MDL-75324-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-07-04 13:30:15 +08:00
Andrew Nicols
daccd01a0e
Merge branch 'MDL-76840_401' of https://github.com/uzimike/moodle into MOODLE_401_STABLE
2023-07-04 13:21:30 +08:00
Simey Lameze
a34591cc0b
MDL-75324 behat: use a proper step to verify completion status
2023-07-04 11:20:23 +08:00
Jun Pataleta
5db1843de2
Merge branch 'MDL-78572_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-07-04 09:47:43 +08:00
Angelia Dela Cruz
241a8eb343
MDL-78158 behat: Behat cleanup and optimisation
2023-07-04 08:36:58 +08:00
AMOS bot
55ba6b010a
Automatically generated installer lang files
2023-07-04 00:11:38 +00:00
Sara Arjona
b90771ef97
Merge branch 'MDL-77868-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-03 17:29:40 +02:00
Sara Arjona
7cf23d5396
Merge branch 'MDL-76661-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-07-03 17:26:29 +02:00
Angelia Dela Cruz
0d5b8d1337
MDL-78158 Behat: Use data generators to add blocks
2023-07-03 19:17:35 +08:00
Tim Hunt
bcf0112c36
MDL-78622 quiz: add question query must include contextid
...
It is logically requried and necessary for the query to use the index
2023-07-03 11:51:19 +01:00
Paul Holden
d88a8851ac
MDL-76661 mod_bigbluebuttonbn: fix meeting attendee role comparison.
2023-07-03 11:41:13 +01:00
Noel De Martin
73fcdb1bf4
MDL-78614 behat: Remove trailing quotes
2023-07-03 11:18:42 +02:00
Andrew Nicols
0830ca48f9
MDL-78391 atto_recordrtc: Improve MacOS codec compatability
2023-07-03 16:52:28 +08:00
Andrew Nicols
ed6054fdf8
MDL-78391 tiny_recordrtc: Set filename according to container
2023-07-03 16:52:26 +08:00
Andrew Nicols
3faf81d578
MDL-78391 tiny_recordrtc: Switch to mp4 container for h264
...
Theh WebM container does not support H.264 / AVC.
For more information see:
https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers#webm
General purpose video, preferably in an open format
WebM (ideally with MP4 fallback)
2023-07-03 16:52:07 +08:00
Andrew Nicols
756d9fa18d
MDL-78391 tiny_recordrtc: Improve codec selection
...
From my experimentation I have discovered that Safari does not properly
respect the standard MediaRecorder mimetype. Instead of using `codecs=`
it uses `codecs:`.
This change copies the codec array to have the list of possible codecs
include both codecs= and codecs: whilst remaining in order.
2023-07-03 16:50:12 +08:00
Andrew Nicols
d73ad3b532
MDL-78391 tiny_recordrtc: Respect codec options
...
The audio and video plugins were overriding the wrong method, and thus
preventing selection of a relevant codec and breaking playback on some
devices.
2023-07-03 16:50:11 +08:00
Andrew Nicols
9c97536a9f
MDL-76853 editor_tiny: Refactor behat helpers into trait
2023-07-03 09:38:24 +08:00
Karen Holland
1f6fa90a02
MDL-78338 tool_brickfield: Allow link open in new window with warning
2023-07-01 23:14:26 +01:00
Shamim Rezaie
2d8c924d71
MDL-77375 core_grades: set boundary of the dropdowns in grade setup page
2023-07-02 00:40:15 +10:00
Shamim Rezaie
ddb1b56f36
MDL-77375 gradereport_singleview: set boundary of the dropdowns
2023-07-02 00:06:14 +10:00
Shamim Rezaie
f30316be5d
MDL-77375 tool_dataprivacy: set boundary of the dropdowns
2023-07-02 00:06:13 +10:00
Shamim Rezaie
2f108b6430
MDL-77375 mod_forum: set boundary of the dropdown
...
Also removed the unnecessary button role from the <button> element
2023-07-02 00:06:13 +10:00
Shamim Rezaie
ebe8674636
MDL-77375 mod_assign: set overflow constraint boundary of the dropdowns
2023-07-02 00:06:13 +10:00
Shamim Rezaie
88f66617a0
MDL-77375 output: Allow additional options for dropdowns
2023-07-02 00:06:13 +10:00
Shamim Rezaie
ba07bb42e1
MDL-77375 theme: Re-fix the bootstrap scrollbar issue
2023-07-02 00:06:13 +10:00
Paul Holden
315e8dd327
MDL-78564 mod_assign: ensure submission statement is present.
...
Don't require acceptance of statement, if no such statements exists,
during assignment submission.
2023-06-30 14:20:09 +01:00
Jun Pataleta
14d4f0aed3
MDL-77690 mod_lesson: Lesson accessibility fixes
...
* Set the heading levels of lesson pages appropriately to avoid skipped
heading issues.
* Add appropriate labels for tertiary navigation select menus.
2023-06-30 17:51:12 +08:00
Jun Pataleta
213223d162
MDL-77690 core: New activity_header method get_heading_level()
...
Add a new method for activity_header that determines the heading level
depending on whether the theme displays a heading for the activity
header (usually a h2 heading with the activity name).
E.g. in Boost, the activity name is already being displayed in a
heading. So page headings can be rendered as h2. However, on Classic,
the activity name is being displayed as a h2 heading. So headings need
to be adjusted for the activity pages.
2023-06-30 17:51:12 +08:00
Tim Schroeder
be118c06b3
MDL-78488 question bank: don't load statistics when they are disabled
2023-06-30 11:47:04 +02:00
Jun Pataleta
415de4b23e
MDL-77690 user: Add sr-only heading for the user profile page
2023-06-30 17:46:57 +08:00
Jun Pataleta
2f305e5a10
MDL-78542 mod_url: clicktoopen lang string fix
...
- Improve the grammatical structure of the lang string.
- Remove the mention of "link", for sighted users, it should already
be obvious that it's a link. For screen reader users, screen readers
already announce links. So it would be confusing for them to hear
something like "Click 'Moodle.org, link' link to open resource"
2023-06-30 17:27:32 +08:00
Jun Pataleta
7ffbc23426
MDL-78542 mod_url: Add a help text for URL resource name field
...
Add a help text explaining that the URL resource's name field will be
used for the link text. Also add basic guidelines about naming links for
the benefit of screen reader users.
2023-06-30 17:27:32 +08:00
Jun Pataleta
f6c05b8980
MDL-78542 mod_url: Use the module name for the URL resource's link text
2023-06-30 17:27:32 +08:00
Jake Dallimore
32ad202b06
MDL-64152 library: Fix legacy LTI launches when using reverse proxy
...
LTI 1.1 uses OAuth 1.0, which requires 'hostname', among other things,
as part of signature verification. When Moodle is run behind a reverse
proxy, $_SERVER['SERVER_NAME'] is an unreliable way to fetch hostname.
It isn't always equal to the external hostname but instead can contain
the local host, meaning the signature verification will fail. This
change replaces the use of $_SERVER vars with $FULLME - which already
takes this into account - to fix the signature verification.
Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de >
2023-06-30 16:42:37 +08:00
Jun Pataleta
1d92fd1ed3
Merge branch 'MDL-78068-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-06-30 16:42:31 +08:00
Franziska Hübler
09a97ba0bf
MDL-69983 backup: Save async backups in correct area.
2023-06-30 10:13:17 +10:00
AMOS bot
cc4ed8ebb4
Automatically generated installer lang files
2023-06-30 00:08:41 +00:00
Stevani Andolo
322e681c65
MDL-76046 core: Fixed secondary navigation on smaller screen
2023-06-30 06:31:22 +08:00
Luca Bösch
18dfb832d1
MDL-78138 theme_boost: Reliably remove TYPE_CATEGORY breadcrumbs.
2023-06-29 21:48:41 +02:00
Tim Hunt
2a2dd08ff1
MDL-78608 question stats: avoid loading data for missing contexts
...
It turns out that there are plugins which don't (currently)
clean up their question attempts when a context is deleted.
Therefore, we need to make Moodle core robust to that.
2023-06-29 16:27:01 +01:00
Huong Nguyen
6628845087
weekly release 4.1.4+
2023-06-29 22:22:22 +07:00
Sara Arjona
9137b58fca
Merge branch 'MDL-78554-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-06-29 17:39:05 +08:00
Andrew Nicols
d949e40268
Merge branch 'MDL-78599-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-06-29 11:33:22 +08:00
Jun Pataleta
648aa897cf
Merge branch 'MDL-77993-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-29 11:28:07 +08:00
Jun Pataleta
d73c514909
Merge branch 'MDL-78432-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-06-29 11:25:12 +08:00
Andrew Nicols
2fd55eddff
Merge branch 'MDL-78018-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-29 11:02:09 +08:00
Ilya Tregubov
76ec26032e
Merge branch 'MDL-77286-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-06-29 09:44:32 +08:00
Ilya Tregubov
de210a84e7
Merge branch 'MDL-78521-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-06-29 09:35:06 +08:00
Huong Nguyen
52cd821ac9
Merge branch 'MDL-77679_401' of https://github.com/mkassaei/moodle into MOODLE_401_STABLE
2023-06-28 21:19:10 +07:00
Jake Dallimore
0c0b1ac1d6
MDL-78599 enrol_lti: fix SQL syntax error in course grade sync
2023-06-28 18:13:27 +08:00
Jake Dallimore
07b0f65aac
MDL-78599 enrol_lti: test covering decoupled, course context grade syncs
...
This covers the case where a course is published and the launch data
doesn't include the 'lineitem' property of the ags claim, meaning the
tool can manage its own line items.
2023-06-28 18:13:26 +08:00
Leon Stringer
fa9705a870
MDL-78596 core_course: Remove divider
...
With courselistshortnames enabled Moodle 3.11 and earlier showed
"Category | Short name" on the first line of course cards (for example
in block_myoverview). From Moodle 4.0 the category is moved to the last
line making the first line "Short name |". This change removes that
stray "|".
2023-06-27 17:40:41 +01:00
Dinesh Durai
201c577a85
MDL-77396 wiki: Fix print without background
2023-06-27 17:59:37 +05:30
Simey Lameze
edf6ad1ee2
MDL-77286 behat: change window size to large to avoid random fails
2023-06-27 17:12:21 +08:00
Laurent David
54e62e6997
MDL-78432 mod_label: Process markdown in label name
...
* Process markdown and other allowed formats (see FORMAT_XXX) in get_label_name
so it does not display it as a litteral string in the course index menu.
2023-06-27 08:12:57 +02:00
Andrew Nicols
ea900c4def
Merge branch 'MDL-78459-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-27 13:14:50 +08:00
Ilya Tregubov
aa44a1643e
Merge branch 'MDL-78443-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE
2023-06-27 11:01:44 +08:00
Jake Dallimore
8d3fd17313
MDL-78578 enrol_lti: permit launch cache access during launch redirects
...
This handles things like site policies, which store the current URL,
redirect to the policy agreement, then redirect back the current URL
afterwards. In such cases, we want to redirect back with 'launchid' set
so that we can fetch the id_token from the session cache. This is the
same thing we already do during account binding, so the patch only
makes sure the PAGE->url is properly set before calling require_login.
2023-06-27 10:07:25 +08:00
mkassaei
fff6af7c20
MDL-77679 Drag and drop question type weird behavior
2023-06-26 17:07:51 +01:00
Jun Pataleta
6f0dfe8b4b
Merge branch 'MDL-76724_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-06-26 19:38:03 +08:00
Huong Nguyen
d53b1b1cfe
MDL-78554 tiny_link: Fix cannot create link for selection text
...
Backport of MDL-78065
2023-06-26 15:47:33 +08:00
Paul Holden
32f9d1eeb5
MDL-78554 tiny_link: define help link text language string.
...
Backport of MDL-77874
2023-06-26 15:47:14 +08:00
Huong Nguyen
684889be8f
MDL-78554 tiny_link: Add a TinyMCE link plugin
...
Backport of MDL-76520
Co-authored-by: Andrew Lyons <andrew@nicols.co.uk >
2023-06-26 15:45:56 +08:00
Laurent David
29eb09287a
MDL-78068 mod_h5pactivity: Fix sort the paragraph activity
...
* Fix sort the paragraph/sequencing activity report in H5P.
2023-06-26 08:42:39 +02:00
Simey Lameze
31c2baeafd
MDL-78521 behat: reload page before asserting content
...
This commit also reword a Scenario name to make it unique
2023-06-26 11:19:48 +08:00
Sara Arjona
78ec9c1c12
MDL-78572 badges: Improve debugging information for Badgr
...
This is a backport from MDL-77842.
In MDL-77086 some extra information was added when a badge can't be
sent to a backpack. However, as the Badgr is not following the
specification, it's still hard to debug it when it fails (as
raised in MDL-75552, Badgr is not working because, in some cases,
it's returning the "Method Not Allowed / Request method 'POST'
not supported" error.
2023-06-25 17:40:32 +01:00
Sara Arjona
8e965a9661
MDL-78572 badges: Improve debugging
...
Display more information, like the status error, when the badge can't
be sent to the backpack.
Backport from MDL-77086
2023-06-25 17:40:03 +01:00
Andrew Nicols
d9745d9852
Merge branch 'MDL-78237-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-06-24 23:21:58 +08:00
Andrew Nicols
378eae6144
Merge branch 'MDL-76673-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-06-24 22:47:10 +08:00
Andrew Nicols
889e1d4e35
Merge branch 'MDL-78544-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-06-24 22:26:57 +08:00
Andrew Nicols
99d941bd6a
Merge branch 'MDL-77152-MOODLE_401_STABLE' of https://github.com/sh-csg/moodle into MOODLE_401_STABLE
2023-06-24 22:18:00 +08:00
Andrew Nicols
904e04a14f
Merge branch 'MDL-78172-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-24 22:00:12 +08:00
Eloy Lafuente (stronk7)
3c99a0a9ec
MDL-76724 environment: Moodle 4.3 requirements
...
Note that there aren't changes since Moodle 4.2
so this is a complete copy of the information
for that version.
2023-06-24 12:30:01 +02:00
Stefan Hanauska
e3c84dcb32
MDL-77152 files: Ensure trailing/leading slash
2023-06-24 10:32:02 +02:00
Sara Arjona
eb1fab720a
weekly release 4.1.4+
2023-06-23 09:00:18 +02:00
Andrew Nicols
4e7a476651
Merge branch 'MDL-78004_401' of https://github.com/mwehr/moodle into MOODLE_401_STABLE
2023-06-22 14:37:45 +02:00
Ilya Tregubov
84a7937643
Merge branch 'MDL-78434-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-06-22 14:37:45 +02:00
Julien Boulen
fd7e43ef34
MDL-77986 backup: trim extra white spaces on search forms
2023-06-22 14:37:44 +02:00
Andrew Nicols
acb9789b89
Merge branch 'MDL-78071-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-22 14:37:44 +02:00
Andrew Nicols
fd87f7b46d
Merge branch 'MDL-78541/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-06-22 14:37:44 +02:00
Andrew Nicols
675ca18cfa
Merge branch 'MDL-78350-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-22 14:37:44 +02:00
Andrew Nicols
1186e8a7e5
Merge branch 'MDL-68067-41' of https://github.com/Chocolate-lightning/moodle into MOODLE_401_STABLE
2023-06-22 14:37:44 +02:00
Andrew Nicols
70a0c87fd3
Merge branch 'MDL-78056-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-06-22 14:37:44 +02:00
Andrew Nicols
e67fd9663d
Merge branch 'MDL-78263-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE
2023-06-22 14:37:43 +02:00
Andrew Nicols
0e3c4ad99b
Merge branch 'MDL-78435-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-22 14:37:43 +02:00
Andrew Nicols
de329f8268
Merge branch 'MDL-75913-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-06-22 14:37:43 +02:00
Andrew Nicols
3488b2ae01
Merge branch 'MDL-78477_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2023-06-22 14:37:43 +02:00
Andrew Nicols
2452db088e
Merge branch 'MDL-77865_MOODLE_401_STABLE' of https://github.com/tuanngocnguyen/moodle into MOODLE_401_STABLE
2023-06-22 14:37:43 +02:00
hieuvu
14079fa738
MDL-78484 formslib: Move enable checkbox display before the date picker
2023-06-22 11:08:47 +07:00
Jake Dallimore
331f47a4f3
MDL-78544 forms: fix string to number comparison bug in duration element
...
Prior to PHP 8, 0 == "", but now no more. We should use empty instead.
See: https://www.php.net/manual/en/migration80.incompatible.php
2023-06-22 11:01:17 +08:00
Paul Holden
e8526347a3
MDL-78350 reportbuilder: parse javascript before rendering template.
2023-06-21 17:33:33 +01:00
Paul Holden
61ae9500d7
MDL-78350 output: parse returned dynamic tab javascript when loading.
...
Ensure we don't create nested <script> tags when rendering templates,
which triggers console errors since 1ef815cd .
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2023-06-21 17:25:40 +01:00
Juan Leyva
8cbf1bb945
MDL-78263 airnotifier: keep notification name as part of the payload
2023-06-21 18:00:58 +02:00
Petr Skoda
9fee59de2a
MDL-78541 admin: ignore headings in admin_apply_default_settings()
...
This is a workaround for plugins that do not have
unique setting names.
2023-06-21 15:47:06 +02:00
Sara Arjona
97b7c894f3
Merge branch 'MDL-76635-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-06-21 14:02:22 +02:00
Sara Arjona
c047801eb6
Merge branch 'MDL-63120_Badges_cron_task_fails-MOODLE_401_STABLE' of https://github.com/mebis-lp/moodle into MOODLE_401_STABLE
2023-06-21 11:50:28 +02:00
Anupama Sarjoshi
e954482cb0
MDL-78477 qbank_history: Fix and improve UI for edit menu delete option
...
Changes done to fix the warnings thrown in the history view when the
last version of a question is deleted and improved UI to display the
message and a Continue button, to navigate back to the Question bank.
2023-06-21 10:44:38 +01:00
Ilya Tregubov
e34bb395fc
Merge branch 'MDL-77591-401' of https://github.com/justusdieckmann/moodle into MOODLE_401_STABLE
2023-06-21 16:58:44 +08:00
Ilya Tregubov
f64e9f96aa
Merge branch 'MDL-76174_401' of https://github.com/larsbonczek/moodle into MOODLE_401_STABLE
2023-06-21 14:27:10 +08:00
Simey Lameze
39811c4b40
MDL-76635 comment: render the delete icon in the right place
...
Special thanks to Andrew Lyons.
2023-06-21 12:45:36 +08:00
Simey Lameze
8bcadeff35
MDL-76635 behat: improve submission comments test
2023-06-21 12:45:36 +08:00
Justus Dieckmann
049815cd5f
MDL-77591 mod_assign: Fix feedback zip import for group submissions
...
Import now checks whether assignment is an group submission and
matches group ids instead of user ids in that case.
Additionally check for original unchanged files to not import in
group files instead of user files.
2023-06-20 20:19:44 +02:00
Lars Bonczek
44f60f1b8e
MDL-76174 core_course: get_nearest_editable_subcategory performance fix
2023-06-20 14:43:16 +02:00
Ilya Tregubov
a69d5ffe33
Merge branch 'MDL-78259-htmlpurify-media-tags-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-06-20 16:38:43 +08:00
Julien Boulen
4001902464
MDL-78259 weblib: purify audio/video tags as inline elements
2023-06-20 16:37:02 +08:00
Ilya Tregubov
dea9c9534c
Merge branch 'MDL-77525/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-06-20 13:05:29 +08:00
eWallah
71a818f0ff
MDL-68067 tool_mobile: Mobile tool link does not have a class attribute.
2023-06-20 10:27:01 +08:00
Jun Pataleta
d963201f0a
Merge branch 'MDL-74021-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-06-20 10:13:22 +08:00
Jun Pataleta
64f4f58cb8
Merge branch 'MDL-78369_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2023-06-19 23:16:46 +08:00
Paul Holden
2060b48377
MDL-78071 cohort: disable report actions for managed cohorts.
2023-06-19 15:05:26 +01:00
Paul Holden
7f8d290022
MDL-78459 tool_mobile: use site context in mobile manifest file.
...
Prevents debugging notices when the site shortname is formatted in
the response data.
2023-06-19 13:03:36 +01:00
Angelia Dela Cruz
07df782303
MDL-74021 behat: Page behat generators use UI
...
Replace steps that manually add page instances via the UI and use
Behat generators. This improves the speed of Behat test runs.
Co-authored-by: Simey Lameze <simey@moodle.com >
2023-06-19 17:14:19 +08:00
David Woloszyn
86a2213223
MDL-75913 behat: Use alternatives to Atto in tests
2023-06-19 16:38:18 +10:00
David Woloszyn
94b98082a3
MDL-75913 behat: Switch to TinyMCE editor iframe
2023-06-19 16:38:18 +10:00
David Woloszyn
7f6d6d240f
MDL-75913 behat: Private files data generator
2023-06-19 16:38:18 +10:00
Andrew Nicols
a6e11f20da
MDL-75913 behat: Add support for file uploads in page generators
2023-06-19 16:38:18 +10:00
Andrew Nicols
1f553279d2
MDL-75913 behat: Add support for file uploads in generators
2023-06-19 16:38:18 +10:00
Anders Rasmussen
c5471d260e
MDL-74893 authentication: Fix auto-login guest
...
Fixed auto-login as guest, when Guest login button is hidden
2023-06-19 07:49:24 +02:00
Laurent David
301f556e41
MDL-78056 mod_h5pactivity: Fix incorrect attempt report
...
* Fix interpretation of the results on the attempt report whenever case
sensitive option is enabled.
2023-06-19 06:12:05 +02:00
Paul Holden
38e53fdcb6
MDL-77868 mod_bigbluebuttonbn: default config for welcome editable.
...
The property was added to the config options in c3f4123b , however no
default value was provided, meaning if it was ever unset then a PHP
type error would be triggered on the null return.
2023-06-18 19:19:53 +01:00
Petr Skoda
52e39db7ad
MDL-77525 filter: add filtering stages
2023-06-17 16:49:34 +02:00
Paul Holden
0f052d1c35
MDL-78435 mod_assign: ensure due date is always after start date.
2023-06-16 18:42:10 +01:00
Juan Leyva
bc2fb3b5e8
MDL-78443 course: Missing require for course_request
2023-06-16 10:17:45 +02:00
Andrew Nicols
64b701190d
weekly release 4.1.4+
2023-06-16 12:04:26 +08:00
Andrew Nicols
202e6a788f
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-06-16 12:04:23 +08:00
Angelia Dela Cruz
e08630b394
MDL-78455 Behat: Behat cleanup and optimisation for blog/tests/behat
2023-06-16 09:19:13 +08:00
Angelia Dela Cruz
e4a8e344ba
MDL-78455 Behat: Add Behat for adding, editing and deleting blog entries
2023-06-16 09:16:32 +08:00
Nathan Nguyen
35f0386bd3
MDL-77865 qtype_ddwtos: fix incorrect inplace class
2023-06-15 15:03:54 +10:00
Ilya Tregubov
a3692234ed
Merge branch 'MDL-70152-401-fix' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-06-15 12:12:18 +08:00
Simey Lameze
460e2c0c1e
MDL-70152 behat: reply to post using data generator
2023-06-15 12:05:41 +08:00
Andrew Nicols
4997295c38
Merge branch 'MDL-77224-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-15 12:02:40 +08:00
Andrew Nicols
b66d82ccb4
Merge branch 'MDL-77569-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-15 12:00:55 +08:00
Andrew Nicols
e2f07cf2b4
Merge branch 'MDL-78066-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-06-15 11:27:02 +08:00
Andrew Nicols
dedfbb7e63
Merge branch 'MDL-78461-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-15 11:23:27 +08:00
Andrew Nicols
196ed7530b
Merge branch 'MDL-69231-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-06-15 10:56:53 +08:00
Ilya Tregubov
7e523dfff9
Merge branch 'MDL-77542-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-15 10:36:34 +08:00
Ilya Tregubov
053ad4a57e
Merge branch 'MDL-76733-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-06-15 10:23:36 +08:00
Andrew Nicols
46f3dc6538
Merge branch 'MDL-78478-401' of https://github.com/dasistwas/moodle into MOODLE_401_STABLE
2023-06-15 09:56:18 +08:00
Jake Dallimore
68b6ca2f69
MDL-78066 enrol_lti: fix deep linking error in multiple grade items case
...
If an activity, like workshop or forum, has multiple grade items,
declarative binding of the grade item (line item) isn't supported.
Instead of throwing an exception, handle the case more elegantly
and just omit the 'add to gradebook' option for these activities.
2023-06-15 09:44:21 +08:00
Jake Dallimore
32a34f805f
MDL-78066 enrol_lti: test showing multi-grade-items failure
...
This test demonstrates the failure of the repository to properly fetch
published resources which are compatible with declarative line item
binding.
2023-06-15 09:44:17 +08:00
Andrew Nicols
1adbb84d07
MDL-76733 mod_assign: Remove JS requirement for time-based tests
...
Converting these tests to use an onlinetext submission and drop the JS
requirement means that they are much less susceptible to runtime issues,
and not susceptible to those caused by JS at all.
2023-06-15 09:34:06 +08:00
Andrew Nicols
b5fa1ee8dc
MDL-76733 mod_assign: Address random failure
...
This random failure was happening because of the time required to render
and interact with the file picker which sometimes exceeded 2 seconds,
depending on the speed of the machine running the tests.
Converting these tests to use an onlinetext submission and drop the JS
requirement means that they are much less susceptible to runtime issues,
and not susceptible to those caused by JS at all.
2023-06-15 09:33:42 +08:00
Ilya Tregubov
5472d69233
Merge branch 'MDL-78102-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-06-15 09:04:09 +08:00
AMOS bot
ba4f42dfff
Automatically generated installer lang files
2023-06-15 00:16:23 +00:00
Sara Arjona
36a7924b64
Merge branch 'MDL-78055-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-14 16:54:57 +02:00
Sara Arjona
4dcf2db446
Merge branch 'MDL-74824-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-14 16:51:11 +02:00
Sara Arjona
86b030d671
Merge branch 'MDL-76733-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-06-14 16:22:26 +02:00
David Bogner
c461b4d8fc
MDL-78478 forms: Fix repeated elements in dynamic forms
2023-06-14 15:30:32 +02:00
Paul Holden
b8f3aa4d12
MDL-78055 themes: account for undefined extrascsscallback config.
...
Where a theme didn't define this property, it would raise debugging
deprecation warnings in PHP8.1.
2023-06-14 13:51:12 +01:00
Sara Arjona
29d1702f82
Merge branch 'MDL-76715-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-06-14 13:19:03 +02:00
Sara Arjona
4c6e5c977d
Merge branch 'MDL-64648-401_enrol_manual_expirynotify_default_in_enrol_instance' of https://github.com/vtos/moodle into MOODLE_401_STABLE
2023-06-14 13:08:25 +02:00
Jun Pataleta
302d6f2a3e
Merge branch 'MDL-78466-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-06-14 16:05:55 +08:00
Ilya Tregubov
beb0328060
Merge branch 'MDL-70152-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-06-14 13:25:03 +08:00
Jun Pataleta
e460f1ed4e
Merge branch 'MDL-76445-401-patch' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-06-14 12:19:03 +08:00
Ilya Tregubov
c162f90445
MDL-76445 gradereport_singleview: Fix Behat test
...
When you unenrol a user, the notification blocks some tertiary
navigation links.
2023-06-14 11:38:04 +08:00
Andrew Nicols
fdf7ea57f0
MDL-78466 cache: Add new result_found helper
...
This helper is intended to prevent recurrences of this issue by moving
the guess-work to something well tested.
2023-06-14 09:35:40 +08:00
Ilya Tregubov
b699da1461
MDL-76445 core_grades: Use group select instead of group search
...
On Moodle 4.1 we don't have group search on grader report.
That is only available in 4.2+
2023-06-14 09:34:22 +08:00
Andrew Nicols
02652c7651
MDL-78466 cache: Perform strict test on static cache values
...
If a statically accelerated cache returns an empty array then the value
was still fetched from the non-static cache store.
The check of the `$result` should be strictly checked against `false`,
which is the value used if no value was found.
2023-06-14 09:28:48 +08:00
vtos
e0145522c9
MDL-64648 enrol_manual: fixed default setting of 'expirynotify'
...
When creating a course, a manual enrolment instance is added by default. The instance settings should inherit the values of those
for the manual enrolment plugin and properly calculate its extra settings. The 'expirynotify' setting wasn't inherited correctly
in case it had 'Enroller + Enrolled' value.
A functional test was added to test the behaviour of settings inheritance.
2023-06-13 18:23:35 +02:00
Paul Holden
43d715777a
MDL-78461 core: fix base plugininfo class reference to root directory.
2023-06-13 14:05:31 +01:00
Sara Arjona
7e74ec4a3c
MDL-78102 badges: Check empty backpack email/password
...
For backpack connection using OBv2.0, email and password can't be
blank.
This patch adds some extra checks to validate this and displays an
error to the users before trying to connect to the backpack.
Besides, the error displayed when any error is returned by the
backpack (like invalid credentials), has also been improved, to
make it clearer for the users.
2023-06-13 11:21:52 +02:00
sam marshall
673576142e
MDL-78434 Lib: PHP 8.1 incompatible code relating to LDAP\Connection
2023-06-13 09:45:04 +01:00
Ilya Tregubov
f6650607d6
Merge branch 'MDL-76445-401-2' of https://github.com/mihailges/moodle into MOODLE_401_STABLE
2023-06-13 15:46:29 +08:00
Amaia Anabitarte
789361ae13
MDL-76715 mod_data: Remove data_records when the last field is deleted
2023-06-13 09:35:09 +02:00
Mihail Geshoski
6ceb137f04
MDL-76445 gradereport_singleview: Usability fixes
2023-06-13 15:20:03 +08:00
Mihail Geshoski
e60edbf0cb
MDL-76445 gradereport_user: Usability fixes
2023-06-13 15:20:03 +08:00
Mihail Geshoski
f057a2aef9
MDL-76445 grade: Helper that returns all gradable users in a course
2023-06-13 15:20:03 +08:00
Jake Dallimore
f5e4dcf609
Merge branch 'MDL-73052-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-06-13 14:44:52 +08:00
Andrew Nicols
a4cc94f3d0
MDL-78297 core: Bump version to update cache config
...
The missing version bump caused cache configuration to not be updated,
and the static acceleration cache size was therefore not updated. The
result here was that the static acceleration cache was constantly
emptied leading to an increased page load time.
2023-06-13 11:06:20 +08:00
michaelkotlyar
c893e3f9b8
MDL-76840 mod_assign: Account for extension when calculating time left.
2023-06-13 14:54:11 +12:00
Anupama Sarjoshi
6664e73599
MDL-78369 Multiple choice: Increase Choice and feedback boxes size
2023-06-12 12:02:21 +01:00
Jun Pataleta
fcdad9f31c
Merge branch 'MDL-75937-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-06-12 16:10:45 +08:00
Stevani Andolo
f0211bbfb1
MDL-75937 admin: Fixed config data display inconsistency
2023-06-12 15:29:54 +08:00
Andrew Nicols
73a55b6268
Merge branch 'MDL-78297-401' of https://github.com/MartinGauk/moodle into MOODLE_401_STABLE
2023-06-12 10:19:43 +08:00
Paul Holden
d9c8e2561e
MDL-77224 mod_h5pactivity: clean up attempt data on activity deletion.
2023-06-11 18:37:13 +01:00
Paul Holden
99681d7df8
MDL-77993 mod_lesson: ensure report action menu always present.
2023-06-11 18:35:14 +01:00
Paul Holden
05074c1ca3
MDL-74824 user: fix custom change password URL in login notification.
2023-06-11 17:41:09 +01:00
Paul Holden
3215a7b190
MDL-78018 mod_assign: format group name in grading table.
2023-06-11 15:02:36 +01:00
Paul Holden
afe9d11746
MDL-77542 mod_assign: remove duplicate grade heading from grader.
...
It's already part of the subsequent rendered form.
2023-06-11 15:01:35 +01:00
Paul Holden
9ed9a010d6
MDL-78172 mod_forum: ensure group names are correctly formatted.
2023-06-11 15:00:28 +01:00
Ilya Tregubov
76fe404dd5
Moodle release 4.1.4
2023-06-10 14:08:05 +08:00
Ilya Tregubov
f3400f4fc5
weekly release 4.1.3+
2023-06-09 13:14:27 +08:00
Sara Arjona
c872490dcf
Merge branch 'MDL-78415-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-06-08 20:33:14 +02:00
Helen Foster
e518de15f3
MDL-78415 lang: Import fixed English strings (en_fix)
2023-06-08 12:02:34 +01:00
Paul Holden
eea061bc42
MDL-77569 reportbuilder: cache custom report element persistents.
...
During request lifecycle ensure that column, filter and condition
persistents are only loaded a single time to prevent additional
database reads.
Provide invalidation method, used by the report helpers, to ensure
that the persistents are re-loaded appropriately.
This is a backport of MDL-76901.
Co-authored-by: Marina Glancy <marina@moodle.com >
2023-06-08 10:00:19 +01:00
David Woloszyn
0596ff2d2b
MDL-78237 editor_tiny: Prevent navbar obscuring modal content
2023-06-08 17:15:13 +10:00
David Woloszyn
2d677835ec
MDL-78237 css: Make navbar height available for non sass-use
2023-06-08 17:15:13 +10:00
Sara Arjona
4fffa81e41
Merge branch 'MDL-77946-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-08 06:56:56 +02:00
Sara Arjona
fcd946c862
Merge branch 'MDL-78308-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-08 06:48:40 +02:00
Andrew Nicols
b272406c74
Merge branch 'MDL-75696_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-06-08 12:31:16 +08:00
Andrew Nicols
d0e0225a1a
Merge branch 'MDL-78364-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-08 12:19:31 +08:00
Andrew Nicols
2649d1a01e
Merge branch 'MDL-78008_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-06-08 12:10:42 +08:00
Andrew Nicols
aa77a76c7a
Merge branch 'MDL-77933-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-06-08 12:03:37 +08:00
Andrew Nicols
1b27cfd795
MDL-76838 core: Add unit test for invalid unicode sequences
2023-06-08 11:59:23 +08:00
Jake Dallimore
da10ccd8d4
MDL-77933 enrol_lti: return site name and logo during registration
...
Instead of the Moodle icon and the 'moodle' lang string, return the
site fullname and compact logo during dynamic registration.
2023-06-08 11:56:31 +08:00
Andrew Nicols
cc7ea9fecd
Merge branch 'MDL-76838-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-08 11:54:42 +08:00
Jun Pataleta
2cf0da5dc6
Merge branch 'MDL-75898-41' of https://github.com/matthewhilton/moodle into MOODLE_401_STABLE
2023-06-08 11:43:06 +08:00
Andrew Nicols
a6fde372ab
Merge branch 'MDL-78026-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-08 11:36:54 +08:00
Andrew Nicols
7dc747ea99
Merge branch 'MDL-77264-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-08 11:32:46 +08:00
Andrew Nicols
5a8881ac37
Merge branch 'MDL-76821-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-06-08 11:30:09 +08:00
Andrew Nicols
b4eb274d7a
Merge branch 'MDL-77799-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-06-08 11:21:35 +08:00
Andrew Nicols
21443080c8
Merge branch 'MDL-78408-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-06-08 11:05:34 +08:00
Jun Pataleta
ea1a8336e5
Merge branch 'MDL-78036_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-06-08 11:03:24 +08:00
Andrew Nicols
f68fedcf77
Merge branch 'wip_MDL-78400_m41' of https://github.com/gjb2048/moodle into MOODLE_401_STABLE
2023-06-08 10:51:50 +08:00
Andrew Nicols
cf3ae5bc2a
Merge branch 'MDL-76406-401' of https://github.com/safatshahin/moodle into MOODLE_401_STABLE
2023-06-08 10:38:58 +08:00
Jun Pataleta
c8bb7a6911
Merge branch 'MDL-76842-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-06-08 10:34:17 +08:00
Jun Pataleta
bf448de7aa
Merge branch 'MDL-78229-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-06-08 10:30:23 +08:00
Jake Dallimore
cbacf8ee58
MDL-76842 enrol_lti: fix user record updates in user_repository
...
Only call user_update_user when the relevant user data has changed,
preventing unnecessary user_updated events. This also removes the
line setting timemodified on the user since user_update_user already
handles this.
2023-06-08 10:29:01 +08:00
Jun Pataleta
37a29f7950
Merge branch 'MDL-78431-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-06-08 10:28:18 +08:00
Jake Dallimore
b1dcb08e3f
MDL-76842 enrol_lti: test confirming the erroneous user_updated events
...
This test will fail until the fix - only updating users when data has
changed - is put in place in the following commit.
2023-06-08 09:40:29 +08:00
Jake Dallimore
0ccf800f01
MDL-76842 auth_lti: don't update the user unless data has changed
...
When receiving data from the LTI launch, or service call, only update
the user record when we know something has changed. This prevents the
creation of many \core\event\user_updated events.
2023-06-08 09:40:28 +08:00
Jake Dallimore
b097d38fb3
MDL-76842 auth_lti: don't update the user after membership creation
...
This isn't required and generates excess events. The only thing update
does, other than update the user fields, is to update the picture, but
in this case, that's unset in membership-based auths anyway, so it's
entirely safe to remove this.
2023-06-08 09:39:09 +08:00
Jake Dallimore
1858e29d23
MDL-76842 auth_lti: test confirming the erroneous user_updated events
...
This test will fail until the fix - only updating users when data has
changed - is put in place in the following commit.
2023-06-08 09:39:09 +08:00
Stevani Andolo
bd5329b1a5
MDL-78215 core: Added support unit test
2023-06-08 09:37:02 +08:00
Stevani Andolo
69596a6bb2
MDL-78215 core: support checking if 0.0.0.0 is in subnet
2023-06-08 09:37:01 +08:00
Jun Pataleta
79510d5d73
Merge branch 'MDL-78378-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-06-07 23:25:19 +08:00
Jun Pataleta
fce2d2f407
Merge branch 'MDL-78368-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-06-07 23:22:25 +08:00
Jun Pataleta
3b8e3ba59e
Merge branch 'MDL-76745_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-06-07 22:53:45 +08:00
Andrew Nicols
2279eee0ab
MDL-78431 core: Abort after config for source maps
2023-06-07 21:07:52 +08:00
Sara Arjona
411f43dc5a
Merge branch 'MDL-78322-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-07 12:43:08 +02:00
Sara Arjona
ef2a553bd4
Merge branch 'MDL-78352-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-07 12:41:16 +02:00
Sara Arjona
af1bd51b99
Merge branch 'MDL-78047-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-06-07 18:17:40 +08:00
Sara Arjona
b89ece2484
Merge branch 'MDL-78010-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2023-06-07 18:17:40 +08:00
Martin Gauk
190db6962e
MDL-78297 core: Less cache lookups in deprecated capabilities feature
...
Avoid use of $cache->has.
2023-06-07 12:04:36 +02:00
sam marshall
0c3b3c9b92
MDL-77799 webservice_rest: unhandled exception should go in server log
2023-06-07 10:04:07 +01:00
Jake Dallimore
7fd423acfc
MDL-78408 core: fix restoration of anchor to wantsurl during login
2023-06-07 14:30:37 +08:00
Stevani Andolo
abac304ba9
MDL-78047 core_courseformat: Wrapping added to text and media activity
2023-06-07 12:58:38 +08:00
Paul Holden
677b67ac05
MDL-77193 mnet: correct sorting of access control table.
2023-06-07 09:53:44 +08:00
Ferran Recio
5f30a47660
MDL-78010 mod_label: improve upgrade performance
2023-06-06 21:33:14 +02:00
Eloy Lafuente (stronk7)
7abeaf37ea
MDL-78036 behat: Move all links from old docs to new counterparts
2023-06-06 12:39:21 +02:00
Petr Skoda
79981290d9
MDL-76683 core_group: fix template
2023-06-06 09:30:27 +00:00
Sara Arjona
e96dab8594
Merge branch 'MDL-76936-401' of https://github.com/HirotoKagotani/moodle into MOODLE_401_STABLE
2023-06-06 11:22:15 +02:00
Paul Holden
6843ba0aad
MDL-78364 reportbuilder: earlier calculation of schedule recipients.
2023-06-05 16:22:33 +01:00
Gareth Barnard
257e2b414a
MDL-78400 JavaScript: Building JS puts build files in src dir on Win.
2023-06-05 14:52:16 +01:00
Sara Arjona
8caeea5c47
MDL-73052 page: Fix page description when it has only an image
...
This is as regression of MDL-72413, when description was moved to a
standard module API.
In some cases, when description has only images, it's was not
displayed.
2023-06-02 08:20:38 +02:00
Sara Arjona
b17d91c6f8
MDL-78378 survey: Display default introduction when description is empty
...
This is a regression when the activity pages were redessigned in Moodle
4.0. The default introduction should be displayed when the activity
description is empty.
2023-06-02 08:19:49 +02:00
Simey Lameze
fc10598d63
MDL-69231 behat: remaining work for role capability generator
...
This commit does few things:
* Unify data generators usage to role short name.
* Replace remaining manual steps to use the new data generator.
* Also replaced other manual steps to set config to use data generators.
* Tidy up of some tests, aligning pipes and splitting one line steps into multiple lines.
* Fixes tests to have one Given/When/Then per scenario.
2023-06-02 12:42:35 +08:00
Andrew Nicols
b67b10af29
MDL-69231 behat: Update tests to use new generator
2023-06-02 12:42:35 +08:00
Andrew Nicols
c4cd52ce5a
MDL-69231 tests: Add role capability setting generator
2023-06-02 12:42:35 +08:00
Andrew Nicols
c49877c8f5
MDL-69231 tests: Improve existing role generator
...
Support definition of context levels and permissions.
2023-06-02 12:42:35 +08:00
Safat
7debcb85b4
MDL-76406 core: Add environment check for versions not supporting 8.2
2023-06-02 12:09:15 +10:00
Ilya Tregubov
03b605f2eb
weekly release 4.1.3+
2023-06-02 09:55:42 +08:00
Ilya Tregubov
de0bab848d
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-06-02 09:55:39 +08:00
Mark Johnson
dfdf8ba7c9
MDL-76745 cache: Implement cache_loader_with_locking in cache_disabled
...
If a plugin attempts to do something that would lock coursemodinfo cache
during install (such as creating a course module), this currently fails
as check_lock_state is not implemented in cache_disabled. Adding the
cache_loader_with_locking interface ensures that all lock methods are
implemented.
2023-06-01 15:03:33 +01:00
Andrew Nicols
f1f87dbd6b
Merge branch 'MDL-77749-unset-config-duration-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE
2023-06-01 12:03:26 +08:00
Jun Pataleta
2885b47377
Merge branch 'MDL-78092-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-06-01 11:36:21 +08:00
Andrew Nicols
036cb9a997
Merge branch 'MDL-78327_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-06-01 10:52:47 +08:00
Ilya Tregubov
732f27c770
Merge branch 'MDL-78196-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE
2023-06-01 10:40:36 +08:00
Andrew Nicols
d6a8581abe
Merge branch 'MDL-78262-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE
2023-06-01 09:57:03 +08:00
Ilya Tregubov
d37efc5160
Merge branch 'MDL-77259-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-06-01 09:30:02 +08:00
Ilya Tregubov
e0dc9aa297
Merge branch 'MDL-75961-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-06-01 09:08:28 +08:00
AMOS bot
e939cee281
Automatically generated installer lang files
2023-06-01 00:11:03 +00:00
Sara Arjona
17be7f62d6
Merge branch 'MDL-76693-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-05-31 17:09:03 +02:00
Simey Lameze
b512186fce
MDL-77547 behat: run recalculate task before checking values
2023-05-31 15:04:56 +02:00
Tim Hunt
ee3752e639
MDL-78327 question stats: store same timestamp for all question stats
2023-05-31 12:03:56 +01:00
Sara Arjona
e47c5527f6
Merge branch 'MDL-77547-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-05-31 12:51:34 +02:00
Sara Arjona
99a48299f0
Merge branch 'MDL-77907-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-05-31 12:18:12 +02:00
Sara Arjona
5a84debc90
Merge branch 'MDL-78148-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2023-05-31 11:42:16 +02:00
Sara Arjona
70e6fb0a7d
Merge branch 'MDL-73648-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-31 11:38:21 +02:00
Ilya Tregubov
95ec4161f5
Merge branch 'MDL-73138-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-30 12:54:24 +08:00
Ilya Tregubov
bd41a5bbec
Merge branch 'MDL-77723-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-30 12:44:54 +08:00
AMOS bot
f02891c647
Automatically generated installer lang files
2023-05-30 00:10:36 +00:00
Jun Pataleta
2d99010fc9
Merge branch 'MDL-78314-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-05-29 17:35:04 +08:00
Luca Bösch
23ba0d96ef
MDL-78314 quiz: style button fieldset in "Manually grade question".
2023-05-29 10:54:27 +02:00
Mikel Martín
11205ec5ef
MDL-76693 core_course: Fix activity chooser summary overlap
...
In activity chooser modal, there is an overlap issue in the information "sub-page".
Changing some classes in the layout solves the problem.
2023-05-29 09:38:28 +02:00
Ferran Recio
b01dd76331
MDL-78148 core_courseformat: reduce the use of uniqid in templates
2023-05-29 08:40:18 +02:00
Angelia Dela Cruz
948ac8f62b
MDL-70152 behat: Forum behat generators use UI
...
Behat cleanup and optimisation
2023-05-29 10:28:04 +08:00
Angelia Dela Cruz
d7752f9576
MDL-70152 behat: Forum behat generators use UI
...
Replace steps that manually add forum and forum post instances
via the UI and use Behat generators. This improves the speed of
Behat test runs.
2023-05-29 10:27:33 +08:00
Andrew Nicols
c38a977f3d
MDL-70152 forum: Create behat data generator
...
* Convert track_read_posts.feature to use activity and discussion
data generators as exmaple.
Co-authored-by: Jun Pataleta <jun@moodle.com >
2023-05-29 10:27:33 +08:00
Meirza
e076d036c2
MDL-76673 atto: Check color contrast only on elements that have text
...
If the content in Atto is wrapped by an element with only a background color, without text color,
the accessibility checker will use the parent text-color as the foreground color, which is owned by form-control,
it becomes a problem if the wrapped element background using #34274f and the parent text-color is #495057 then
the low contrast as a result.
To avoid such a situation, the patch will only calculate color contrast if only the element has text,
so it will give results per element if the accessibility checker is unsatisfied.
2023-05-27 13:56:50 +07:00
Meirza
c6b52f6822
MDL-76673 tiny: Check color contrast only on elements that have text
...
If the content in Tiny is wrapped by an element with only a background color, without text color,
the accessibility checker will use the parent text-color as the foreground color, which is owned by form-control,
it becomes a problem if the wrapped element background using #34274f and the parent text-color is #495057 then
the low contrast as a result.
To avoid such a situation, the patch will only calculate color contrast if only the element has text,
so it will give results per element if the accessibility checker is unsatisfied.
The patch also changes the selected element from 'body > *' to 'body *',
so it will return all elements (parents and children) in the content instead of parents only.
And minor modifications on the warning_content.mustache to fix the numbering format.
2023-05-27 13:56:50 +07:00
Eloy Lafuente (stronk7)
278ce49b7f
MDL-78036 behat: Fix php81 deprecation warning
2023-05-26 18:04:26 +02:00
Dani Palou
4cbe98f2e7
MDL-78368 airnotifier: Fix data encrypted several times
...
Backport of MDL-78054.
2023-05-26 21:46:35 +08:00
Paul Holden
a22aabb29f
MDL-78352 webservice: use default user context page heading.
2023-05-26 12:27:46 +01:00
Wehr Mario
d7194d3de0
MDL-78004 cache: Fix deprecated null value in Redis connect
2023-05-26 13:22:35 +02:00
Paul Holden
1ff279717e
MDL-73648 badges: add Behat generator class for creating badges.
2023-05-26 12:19:27 +01:00
Paul Holden
017f8a9c4d
MDL-73138 group: remove double encoding of group/role names.
2023-05-26 10:25:50 +01:00
Paul Holden
16c5835a80
MDL-73138 user: avoid double encoding participant filter values.
2023-05-26 10:25:50 +01:00
Sara Arjona
090baf556e
weekly release 4.1.3+
2023-05-26 09:28:53 +02:00
Sara Arjona
0b46994b0c
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-05-26 09:28:45 +02:00
Adrien Loison
a229905760
MDL-78262 lib_spout: Update box/spout to address PHP 8.1 deprecation
2023-05-26 08:50:17 +07:00
Jun Pataleta
1c7f1e0bed
Merge branch 'MDL-78346-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-05-25 16:56:14 +02:00
Jun Pataleta
59596ddedc
Merge branch 'MDL-76065-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-05-25 16:56:14 +02:00
Jun Pataleta
34dd7e7978
Merge branch 'MDL-78320-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-25 16:56:14 +02:00
Jun Pataleta
e7d2f494c3
Merge branch 'MDL-78346-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-05-25 16:56:14 +02:00
Andrew Nicols
9c5febc47c
MDL-78346 tool_langimport: Print any notifications before redirect
2023-05-25 14:55:01 +08:00
Andrew Nicols
4ddbcf2aec
MDL-78346 tool_langimport: Redirect after action to prevent resubmission
2023-05-25 11:14:15 +08:00
Andrew Nicols
9dc72be2d4
MDL-78346 tool_langimport: Prevent uninstallation of invalid targets
2023-05-25 11:14:14 +08:00
Andrew Nicols
05a5ed676c
Merge branch 'MDL-77995-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-25 09:50:47 +08:00
Paul Holden
aaf17fc8b6
MDL-78320 quiz_overview: format group names in overview report.
2023-05-24 16:19:34 +01:00
Andrew Nicols
b870bc0577
Merge branch 'MDL-77983-401' of https://github.com/rjnl/moodle into MOODLE_401_STABLE
2023-05-24 21:15:17 +08:00
=
282a908540
MDL-63120 core_badges: Avoid multiple joins in sql statement
2023-05-24 13:36:41 +02:00
Jun Pataleta
9e582a6099
Merge branch 'MDL-78072-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-05-24 17:56:27 +08:00
Jun Pataleta
ff402c26e5
Merge branch 'MDL-78005-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-05-24 12:06:17 +08:00
Simey Lameze
b12f914708
MDL-75961 behat: review and enhance mod_imscp tests
...
This commit makes the following improvements to mod_imscp tests:
* Removes unnecessary @javascript and @_file_upload tags from non-JS tests.
* Removes user/enrol data generation from tests that can be performed as admin.
* Removes "I log out" and other unnecessary steps.
2023-05-24 10:41:41 +08:00
Angelia Dela Cruz
e7d32b89ac
MDL-75961 behat: IMSCP behat generators use UI
...
Replace steps that manually add IMSCP instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2023-05-24 10:41:41 +08:00
Sara Arjona
22705fa4fb
Merge branch 'MDL-78176_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2023-05-23 17:45:57 +02:00
Sara Arjona
7c0954ccd1
Merge branch 'MDL-78242-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-23 17:37:00 +02:00
Jun Pataleta
0479c711c2
Merge branch 'MDL-76688/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-05-23 15:22:04 +08:00
Angelia Dela Cruz
de6c14ee71
MDL-77547 Behat: Coverage to check for bad multichoice questions
2023-05-23 15:17:43 +08:00
Simey Lameze
1936b30c88
MDL-76065 behat: Review and enhance mod_lti Behat tests
...
In this commit, the following improvements were made to the mod_lti Behat tests:
* Replaced manual steps with data generators to set completion.
* Eliminated unnecessary user and course enrolments data generation as some tests can be performed as an admin.
* Removed the @javascript tag from non-JS tests.
* Updated the LTI data generator to generate an internal Moodle URL in the toolurl field, enabling the use of XML files.
2023-05-23 12:23:26 +08:00
Angelia Dela Cruz
f19f31736a
MDL-76065 behat: LTI behat generators use UI
...
Replace steps that manually add LTI instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2023-05-23 12:15:25 +08:00
Andrew Nicols
1450dade43
MDL-76733 mod_assign: Tidy up availability behat tests
...
This feature had lots of small issues and it made sense to fix it whilst
investigating a query:
* most of the steps do not require JavaScript
* it uses the UI to set an admin setting, for every scenario:
** only 3-4 of the scenarios actually test that setting
** it is very slow to do it his way when we have a generator step we can use
* we create two assignments in the Background, but each test only uses one of them
* we create the assignments in the Background with a generator, but
update them to modify various settings in each Scenario using the UI
when we should just create one assignment for each test and set it up
correctly for that Scenario
2023-05-23 10:58:07 +08:00
Andrew Nicols
2b01af17be
Merge branch 'MDL-78170-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-23 10:28:33 +08:00
AMOS bot
439f75e6e1
Automatically generated installer lang files
2023-05-23 00:10:27 +00:00
Paul Holden
dec3d56032
MDL-76838 backup: remove invalid utf8 code sequences writing XML.
...
The surrogate blocks FFFE and FFFF are non-characters, specifically
disallowed in the character range for XML documents.
2023-05-22 21:04:12 +01:00
Paul Holden
452c7c72e0
MDL-78322 tool_cohortroles: don't assign roles to deleted users.
2023-05-22 20:14:39 +01:00
Tim Hunt
0d0868ee97
MDL-78008 qtype_multianswer: random guess score with missing subqs
...
Sometimes, due to other bugs, subquestions can get lost, so the code
needs to be robust to this.
2023-05-22 17:02:22 +01:00
Sara Arjona
c98e7e7dbf
Merge branch 'MDL-78211-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-22 17:41:48 +02:00
Sara Arjona
90e18e28a2
Merge branch 'MDL-78226-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-22 17:29:27 +02:00
Sara Arjona
db7c650f8c
Merge branch 'MDL-78225-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-22 12:04:19 +02:00
sam marshall
79d0e63b18
MDL-78092 Cache: Modinfo locking with Redis store does not work
...
The feature added in 4.1 to lock the modinfo cache does not work when
using Redis, because:
* The API to acquire a cache lock is confusing, and the code did not
check that it successfully acquired a lock before going on to build
the cache anyway.
* Unlike the other types of cache lock, the Redis store did not retry
the lock for a timeout period before giving up and failing.
This change fixes both points.
2023-05-22 10:45:13 +01:00
Jun Pataleta
962c8ef477
Merge branch 'MDL-78157-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-05-22 15:29:30 +08:00
Andrew Nicols
2036f2439e
MDL-78157 js: Be more careful about inserting missing module names
...
It is perfectly legitimate to create and/or use a method named `define`
in JS outside of RequireJS.
Unfortunately our requirejs.php wrapper is dumb and does not understand
this.
In the long term we need to stop doing this at all. We really should be
able to already, but every time I try to something prevents it.
In the interim, this change adds a secondary check to see if there is an
existing define which _does_ have the right name in it already.
2023-05-22 14:40:41 +08:00
Luca Bösch
6bb4351e8b
MDL-78229 quiz: quiz editing page less narrow.
...
This is a backport of MDL-77872.
2023-05-19 18:13:07 +02:00
Anupama Sarjoshi
80fa181a26
MDL-78176 Question: Fix D&D onto image and D&D markers theme issue
2023-05-19 16:28:53 +01:00
Jun Pataleta
6ca70dd59f
weekly release 4.1.3+
2023-05-19 21:13:57 +08:00
Jun Pataleta
712737e955
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-05-19 21:13:54 +08:00
Andrew Nicols
5e32d574c6
MDL-77733 behat: Remove extraneous no-axe option
...
There is no need for no-axe if we make axe a boolean value. We already
have automatic support for negated boolean flags.
2023-05-19 11:28:08 +08:00
Mark Johnson
5620e0059a
MDL-75696 quiz: Fix restoring pre-4.0 quizzes with random questions
...
Restoring multiple quizzes from a pre-4.0 backup was broken when
the quizzes shared a random question. This is because after the
first quiz created a set reference in place of the random question,
it deleted the question record so it was not there for the second
quiz to use. This change tracks the IDs of random questions so
they can be deleted at the end.
2023-05-18 15:59:53 +01:00
Mark Johnson
85b1e992e9
MDL-75696 quiz: Set default value for includingsubcategories on restore
2023-05-18 15:56:02 +01:00
Mark Johnson
8d50911af5
MDL-75696 backup: Fix backup version checks
...
Several version checks were incorrectly using
restore_controller::info::moodle_release instead of moodle_version as a
version number. This replaces all of those checks with a common pair of
methods to make the checks clearer and more maintainable.
2023-05-18 15:56:02 +01:00
Paul Holden
5c871bff29
MDL-78308 output: better parsing of custom menu item configuration.
...
Previously certain values would cause deprecation notices in PHP8.1.
2023-05-18 10:19:18 +01:00
Jun Pataleta
096f1e67c8
Merge branch 'MDL-78116-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-05-18 12:11:31 +08:00
Andrew Nicols
21cc09fa2d
Merge branch 'MDL-77451-401' of https://github.com/rezaies/moodle into MOODLE_401_STABLE
2023-05-18 11:56:33 +08:00
Jun Pataleta
e2a7a44d3e
Merge branch 'MDL-78135-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-18 11:54:46 +08:00
Andrew Nicols
b28a28ef0f
Merge branch 'MDL-78260_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-05-18 11:51:47 +08:00
Andrew Nicols
30e9810589
Merge branch 'MDL-78151-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-18 11:48:39 +08:00
Andrew Nicols
cf83791269
Merge branch 'MDL-77733-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-05-18 11:44:18 +08:00
David Woloszyn
3f07fc246f
MDL-78005 editor_tiny: Declared vars to supress error logging
2023-05-18 13:03:04 +10:00
Tim Hunt
3d023db5b0
MDL-78260 quiz stats: fix View details for random questions
2023-05-17 09:04:49 +01:00
Rajneel Totaram
13b48a0ae8
MDL-77983 core_user: Avoid passing nulls to base64_decode
2023-05-17 19:39:52 +12:00
Ilya Tregubov
87223abc7a
Merge branch 'MDL-78152-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-17 15:07:38 +08:00
AMOS bot
e7458d017a
Automatically generated installer lang files
2023-05-17 00:10:58 +00:00
Jun Pataleta
d2b81dd116
Merge branch 'MDL-77439-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-05-16 20:39:09 +08:00
Peter Mayer
361f0fa524
MDL-77439 lib_filebrowser: Splitup query to speedup get_courses
2023-05-16 20:37:57 +08:00
Paul Holden
7a23da59ce
MDL-78026 group: format retrieved group names from external methods.
2023-05-16 10:10:06 +01:00
Paul Holden
01ae473823
MDL-77264 grade: define fallback name of abstract export event.
2023-05-16 09:54:40 +01:00
Paul Holden
0aff5ccd01
MDL-77259 tool_monitor: use core component API for event list.
...
The previous method of hardcoded filepaths, specifically for events
belonging to core, meant that any events belongs to core subsystems
were omitted (core_customfield, core_h5p, core_payment, etc).
2023-05-16 09:50:22 +01:00
Angelia Dela Cruz
7a511874b8
MDL-77907 Behat: Coverage for duplicating competency framework
2023-05-16 16:11:58 +08:00
Andrew Nicols
a1b37845a8
MDL-78072 core: Skip mobile encryption if Sodium is not available
2023-05-16 12:51:14 +08:00
Jake Dallimore
071adb2fb1
Merge branch 'MDL-77930-401' of https://github.com/rjnl/moodle into MOODLE_401_STABLE
2023-05-16 10:50:04 +08:00
Jake Dallimore
aa39ebbb99
Merge branch 'MDL-78120-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-05-16 10:45:27 +08:00
Jun Pataleta
4818dae2fc
Merge branch 'MDL-75576_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-05-16 09:59:01 +08:00
Ilya Tregubov
dc38a92ec6
Merge branch 'MDL-77840-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-05-16 09:47:48 +08:00
Andrew Nicols
946405d44b
Merge branch 'MDL-77432-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-05-15 22:12:44 +08:00
Andrew Nicols
bdeda3ea9b
Merge branch 'MDL-78149-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-15 22:07:13 +08:00
Andrew Nicols
01c04f4cf8
Merge branch 'MDL-78140-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-15 22:03:30 +08:00
Paul Holden
9ef8025e4c
MDL-78242 roles: consistently check course contact config.
2023-05-15 13:04:48 +01:00
Tim Hunt
efe895f1bb
MDL-75576 quiz/question statistics: don't expire by time
...
Previously, a set of calculated quiz statistics would only 'last' for
15 minutes. Then they would be considered invalid and not used.
Now, computed statistics are kept indefinitely. Instead, when a new
batch of values are computed for a particular set of settings, older numbers
for the same settings are deleted first. Therefore,
question_stats_cleanup_task is no more.
2023-05-15 10:04:34 +01:00
Tim Hunt
a532f407bb
MDL-75576 quiz statistics: don't time-limit the use of cached values
...
This should have been done as part of MDL-74762, but was missed.
2023-05-15 10:04:33 +01:00
Tim Hunt
86932a330b
MDL-75576 quiz statistics: don't compute when a user views the qbank
...
Previously, when users viewed the question bank, if the quiz statistics
had not already been calculated, we would try to compute them there an then.
This could be very, very slow, leading to session lock problems.
Now, we never try to compute the statistics on the fly. Instead, we rely
on the existing \quiz_statistics\task\recalculate scheduled task to do it.
2023-05-15 10:04:33 +01:00
Tim Hunt
db9a0e296a
MDL-75576 question bank: bulk-load statistics for all questions at once
...
There is a new method on the column class, for the column to declare any
statistics it requires. The question then efficiently loads all those
statistics in one go, and makes them available as the columns are
rendererd, or do any subsequent processing.
2023-05-15 10:04:33 +01:00
Tim Hunt
9ff59e99ff
MDL-75576 qbank_statistics: remove copy-pasted PHPdoc comments
...
These methods are already correctly documented on the base class.
2023-05-15 10:04:32 +01:00
Luca Bösch
997990f94f
MDL-78120 login: handle empty wantsurl on login with alternateloginurl.
2023-05-15 10:19:00 +02:00
Paul Holden
e5132eff2f
MDL-77995 javascript: more precise path matching building JS.
2023-05-15 09:05:51 +01:00
Paul Holden
7093578baf
MDL-77723 user: ensure identity refers to a valid custom profile field.
2023-05-15 09:03:40 +01:00
Jun Pataleta
28026b923a
Merge branch 'MDL-76903-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-05-15 12:06:02 +08:00
Andrew Nicols
0e4426818a
Merge branch 'MDL-78125-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-05-15 11:58:59 +08:00
Jun Pataleta
e9f6b9c2d6
MDL-78125 qtype_multianswer: Convert popover trigger to link
...
According to Boostrap Popovers documentation for popovers triggered
on focus:
"For proper cross-browser and cross-platform behavior, you must use the
<a> tag, not the <button> tag, and you also must include a tabindex
attribute."
2023-05-12 22:47:11 +08:00
Luca Bösch
f1dd604fce
MDL-77432 mod_assign: Confirm submission page standard and not incourse
2023-05-12 09:44:22 +02:00
Ilya Tregubov
017a3274fe
weekly release 4.1.3+
2023-05-12 08:56:50 +08:00
Ilya Tregubov
3b9bfc1d79
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-05-12 08:56:48 +08:00
Cameron Ball
77eb2ed79b
MDL-75898 assignfeedback_editpdf: Add randomness to PDF annotations
...
The behat step "I draw on the pdf" creates the exact same line every
time it is called. This can cause issues in a situation like the following:
- Student uploads PDF
- Teacher annotates page 1
- Student edits submission, adding another PDF
- Teacher annotates page 1 again
- When the student looks at their annotated PDF it appears the same as
before they added the second PDF (i.e., they don't see extra pages for
the second PDF)
Exactly why this happens isn't clear, and in practice this probably never
happens because the chances of drawing the exact same line twice are almost
0. However, when testing the functionality added in MDL-45580 it was causing
issues.
2023-05-12 09:14:03 +10:00
Cameron Ball
90350915c2
MDL-75898 assignfeedback_editpdf: Don't poll readonly pages
...
When requesting the readonly version of pages (which contain
teacher annotations), they should always be available - the
PHP side even throws an exception when they're not. This
means we don't need to worry about polling document converters
from the JS side and can just return the pages immediately.
2023-05-12 09:14:03 +10:00
Cameron Ball
825609ae08
MDL-75898 assignfeedback_editpdf: Improve page count mismatch logic
...
MDL-45580 introduced the readonlypages filearea, and when loading
page images for an attempt, the code would check if the pages existed
, creating them if not. The code inside this block also contained
a guard clause for the case where no readonly pages existed - which
is a situation that should not happen. Whenever readonly pages are
requested, they should exist.
MDL-66626 introduced a situation where page counts not matching would
also retrigger page generation. However this led to a situation where
the guard clause could be entered when requesting readonly pages.
This patch refactors the guard clause, and improves the logic to
regenerate pages.
2023-05-12 09:14:03 +10:00
Paul Holden
5b3d55def7
MDL-78226 contentbank: verify presence of bank heading element.
2023-05-11 23:16:33 +01:00
Paul Holden
67effa603e
MDL-78225 output: add sesskey for post requests only in renderables.
2023-05-11 22:48:54 +01:00
Laurent David
20b4efad5c
MDL-76903 mod_book: Fix activity completion
...
* Check only visibles pages to set completion status.
* Make sure we have consistent completion value in API and on the view page.
2023-05-11 12:09:24 +02:00
Paul Holden
11af0c5388
MDL-78140 analytics: improve context restrictions manager test.
...
This test apparently fails sporadically on Oracle, without obvious
causes. The failure however was hard to interpret, and the test
itself made a lot of assumptions about the system re. naming of
categories/courses. This could be prone to errors, so improve that.
2023-05-11 09:38:01 +01:00
Paul Holden
683840999d
MDL-77946 access: fix category sort order of capability contexts.
2023-05-11 08:33:32 +01:00
Jun Pataleta
f8537a9536
Merge branch 'MDL-76344-401-fix' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-05-11 14:35:30 +08:00
Stevani Andolo
7b1e0a6980
MDL-76344 course: Fixed course image 'non image file' layout
2023-05-11 14:11:16 +08:00
Jake Dallimore
838047106d
Merge branch 'MDL-75552-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-05-11 11:23:49 +08:00
Sara Arjona
84175f399f
Merge branch 'MDL-78040-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-10 19:45:18 +02:00
Paul Holden
9e0f8fc7bf
MDL-78211 contentbank: fix context option when formatting categories.
2023-05-10 17:42:29 +01:00
Paul Holden
c228866a46
MDL-78151 core: account for timezone differences in intl extension.
...
Recent additions to timezones from the IANA TZDB are not necessarily
reflected in those used by the intl extension and/or ICU zones:
* America/Ciudad_Juarez
* America/Nuuk
* Europe/Kyiv
* Pacific/Kanton
Create mapping to allow these zones to be used without errors.
2023-05-10 17:12:33 +01:00
Juan Leyva
d82f68742b
MDL-78196 user: Fix files used space check
2023-05-10 17:17:48 +02:00
Andrew Nicols
da78523b15
Merge branch 'MDL-77592-401' of https://github.com/golenkovm/moodle into MOODLE_401_STABLE
2023-05-10 13:03:57 +08:00
Andrew Nicols
5ceb711355
Merge branch 'MDL-78034-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-10 13:00:30 +08:00
Ilya Tregubov
1d5ef6aa9a
Merge branch 'MDL-75623-MOODLE_401_STABLE' of https://github.com/sh-csg/moodle into MOODLE_401_STABLE
2023-05-10 11:46:40 +08:00
Paul Holden
d3b4e4a9a5
MDL-78170 rating: consistently calculate average rating aggregation.
...
Ensure it's always cast by the database as a float, to avoid loss of
precision.
2023-05-09 15:57:43 +01:00
Paul Holden
d7ba3f656d
MDL-78149 mod_data: ensure group selector is always present.
2023-05-09 12:20:35 +01:00
Paul Holden
48963bb7a7
MDL-78152 mod_book: set permissions required for page editing.
2023-05-09 12:11:32 +01:00
Shamim Rezaie
f36c96411d
MDL-77451 gradereport: stress handling for multiple clicks
2023-05-09 19:15:37 +10:00
Andrew Nicols
50d1e69df6
MDL-75552 badges: move apiBase consumption to backpack
...
The apiBase in .well-known/badgeconnect.json was ignored and it was
causing some failures when connecting or sending badges to an
external backpack.
For OBv2.1, it has been changed to always use the apiBase defined
in the badgeconnect.json backpack provider.
2023-05-09 08:51:30 +02:00
Rajneel Totaram
f6c5fa3bfc
MDL-77930 accesslib: php81 deprecation warnings on missing plugins
2023-05-09 17:37:00 +12:00
Juan Leyva
d838917d28
MDL-78072 airnotifier: Apply payload size optimisation to all push
...
Backport of MDL-77893.
Co-authored by: Andrew Lyons <andrew@nicols.co.uk >
2023-05-09 13:07:10 +08:00
Juan Leyva
1af4ace4d6
MDL-78072 airnotifier: Allow configuring how to process encrypted notifs
...
Backport of MDL-77893.
Co-authored by: Andrew Lyons <andrew@nicols.co.uk >
2023-05-09 13:07:09 +08:00
Juan Leyva
5c85fb975d
MDL-78072 airnotifier: Leave only message data processed by: Airnotifier
...
Backport of MDL-77893.
Co-authored by: Andrew Lyons <andrew@nicols.co.uk >
2023-05-09 13:07:09 +08:00
Juan Leyva
2ad6fecca5
MDL-78072 airnotifier: Allow to set publickey when creating new device
...
Backport of MDL-77893.
Co-authored by: Andrew Lyons <andrew@nicols.co.uk >
2023-05-09 13:07:09 +08:00
Sara Arjona
1201526dbc
MDL-78072 core: Fix upgrade failures with MariaDB
...
Backport of MDL-76722.
Co-authored by: Andrew Lyons <andrew@nicols.co.uk >
The 'enable' field doesn't exist, and this is causing some failures
with MariaDB (and probably with MySQL too).
2023-05-09 12:26:00 +08:00
Alex Morris
6ccb50ea9d
MDL-78072 message_airnotifier: Add encrypted notifications
...
Backport of MDL-76722.
Co-authored by: Andrew Lyons <andrew@nicols.co.uk >
2023-05-09 12:25:47 +08:00
Alex Morris
25498b6b62
MDL-78072 user: Add new update_user_device_public_key webservice
...
Backport of MDL-76722.
Co-authored by: Andrew Lyons <andrew@nicols.co.uk >
2023-05-09 12:25:29 +08:00
Alex Morris
a2179f028c
MDL-78072 lib/db: Add new publickey field to user_devices table
...
Backport of MDL-76722.
Co-authored by: Andrew Lyons <andrew@nicols.co.uk >
2023-05-09 12:25:16 +08:00
Petr Skoda
a7920b3860
MDL-76688 filter_text: prevent LaTeX3 syntax
2023-05-08 10:12:46 +02:00
AMOS bot
893fe94c89
Automatically generated installer lang files
2023-05-07 00:07:26 +00:00
Paul Holden
ba904934ec
MDL-78135 completion: include required criteria library in test.
2023-05-05 16:45:48 +01:00
Jake Dallimore
b3feea921d
MDL-76821 enrol_lti: prevent legacy launches via upgraded enrolment
...
If the enrolment instance (the 'published resource') has been upgraded
from LTI 1.1/2.0 to LTI 1.3 (i.e. a new instance was not created),
prevent legacy launches which may occur from old resource links. Only
LTI Advantage launches should be permitted through the method.
2023-05-05 17:11:09 +08:00
Jake Dallimore
22c346831e
MDL-76821 enrol_lti: fix bug in repo causing return of legacy lti users
...
If the enrolment method is updated from an LTI 1.1/2.0 tool to an LTI
1.3 tool, it may have associated enrol_lti_users records not having
ltideploymentid values. These are legacy users and must not be returned
by the repository, which deals only with LTI 1.3 LTI users.
2023-05-05 17:11:06 +08:00
Jake Dallimore
75ba439f5b
MDL-77990 enrol_lti: fix http_client shim by using curl getResponse
...
Fixes an error in the parsing of response headers containing multiple
HTTP responses in the raw response. Curl already handles this, so let
it do the work.
2023-05-05 10:44:19 +08:00
Jake Dallimore
159a131989
MDL-77990 enrol_lti: test covering the response header parsing
...
Makes sure the http_client shim properly returns the correct, final
http headers, not intermediate headers such as 302, 100 etc.
2023-05-05 10:44:18 +08:00
Jun Pataleta
0703a8db55
Merge branch 'MDL-76344-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-05-05 10:34:56 +08:00
Sara Arjona
176a323b4e
weekly release 4.1.3+
2023-05-04 12:42:50 +02:00
Eloy Lafuente (stronk7)
42f3874b80
MDL-78116 core: Run tests against Windows on GHA
...
Signed-off-by: Andrew Nicols <andrew@nicols.co.uk >
2023-05-04 15:40:18 +08:00
Stevani Andolo
1f07219332
MDL-76344 course: Fixed course image 'non image file' layout
2023-05-04 10:28:15 +08:00
Paul Holden
0c7e7645d5
MDL-78040 block_glossary_random: switch to block test generator.
...
Random failures after manually adding block instances (specifically
on slow/Oracle systems) can be entirely avoided by using the block
test generator for scenarios that are not specifically concerned with
manually adding blocks.
2023-05-03 17:16:22 +01:00
Laurent David
9117af48ac
MDL-77781 core_completion: Completion view must be deleted too
...
When resetting a course, completion view entries should also be
deleted
Co-authored-by: Georg Moser <georg@moser.link >
2023-05-03 16:05:28 +02:00
Jun Pataleta
d1c24b02ab
Merge branch 'MDL-77398-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 20:36:18 +08:00
Jake Dallimore
79fe493ab4
Merge branch 'MDL-77384-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 16:52:45 +08:00
Jake Dallimore
d66398c356
Merge branch 'MDL-78023-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 16:15:59 +08:00
Sara Arjona
6064ce62f5
Merge branch 'MDL-77312-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 09:59:22 +02:00
Ilya Tregubov
88113fc983
Merge branch 'MDL-77320-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 15:37:00 +08:00
Ilya Tregubov
e19573d6bf
Merge branch 'MDL-77810-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 13:08:52 +08:00
Ilya Tregubov
3994ab206b
Merge branch 'MDL-77987_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2023-05-03 12:40:34 +08:00
Ilya Tregubov
b9d84d03ca
Merge branch 'MDL-77546-401' of https://github.com/mihailges/moodle into MOODLE_401_STABLE
2023-05-03 10:57:29 +08:00
Jun Pataleta
f8fdd198a9
Merge branch 'MDL-77394-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 10:31:00 +08:00
Jun Pataleta
394d592fab
Merge branch 'MDL-78038-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 10:25:30 +08:00
Jun Pataleta
64c625e590
Merge branch 'MDL-78011-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-03 09:57:56 +08:00
Ilya Tregubov
be0eb4369b
Merge branch 'MDL-76835-401' of https://github.com/aya-saad1/moodle into MOODLE_401_STABLE
2023-05-03 09:29:59 +08:00
David Woloszyn
b3424d620d
MDL-77840 enrol_lti: Avoid passing nulls to base64_encode
2023-05-03 09:36:17 +10:00
Sara Arjona
767419571e
Merge branch 'MDL-77858-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-05-02 16:49:53 +02:00
Sara Arjona
aa63dca768
Merge branch 'MDL-77791_401' of https://github.com/dvdcastro/moodle into MOODLE_401_STABLE
2023-05-02 12:03:59 +02:00
Jun Pataleta
2dc4853ba5
Merge branch 'MDL-76857-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-05-02 15:44:55 +08:00
David Woloszyn
5ab74afad4
MDL-77840 lti: Avoid passing nulls to base64_encode
2023-05-02 13:52:12 +10:00
David Woloszyn
f25ecd9bfa
MDL-77840 backup: Avoid passing nulls to base64_encode
2023-05-02 13:52:12 +10:00
David Woloszyn
88496af850
MDL-77840 mnet: Avoid passing nulls to base64_encode
2023-05-02 13:52:12 +10:00
Ilya Tregubov
d28386a29d
Merge branch 'MDL-78025_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-05-02 11:43:30 +08:00
Jake Dallimore
4fa9ed7956
Merge branch 'MDL-78009-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2023-04-28 13:26:02 +08:00
Paul Holden
569a71daea
MDL-77810 gradereport_summary: show localised plugin name in report.
2023-04-27 15:19:33 +01:00
Ilya Tregubov
4901ffe1ba
weekly release 4.1.3+
2023-04-27 19:28:38 +08:00
Sara Arjona
b10f6f5036
MDL-76857 filter_displayh5p: Improve behat tests
...
Although the screenshots in the failures for some of the scenarios in
filter/displayh5p/tests/behat/h5p_filter.feature, like "Render a local
H5P file as teacher" were displaying the expected result, there were
some javascript errors (probably due to behat is quicker and the
iframes were not always ready).
I've added one extra step before accessing the iframe to give more
time to the H5P player to load and confirm the page is displayed
properly.
2023-04-27 11:21:36 +02:00
Paul Holden
30e419078f
MDL-77320 tool_licensemanager: restrict exposure of user sesskey.
2023-04-27 09:32:37 +01:00
Mihail Geshoski
f90a55979a
MDL-77546 gradereport_singleview: Fix item order in grade item selector
2023-04-27 12:01:23 +08:00
Jun Pataleta
013735af51
Merge branch 'MDL-77883-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE
2023-04-27 11:08:54 +08:00
Jun Pataleta
6c890a6330
Merge branch 'MDL-77997_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-04-27 10:40:43 +08:00
Paul Holden
4f7dd1a54b
MDL-78038 mod_bigbluebuttonbn: observe course format section config.
2023-04-26 16:10:52 +01:00
Tim Hunt
de8607067f
MDL-78025 questions: improve the comment on question_references.version
2023-04-26 15:45:12 +01:00
Tim Hunt
15ff1352c2
MDL-78025 questions: fix PHPdoc on question_require_capability_on
2023-04-26 15:45:00 +01:00
Tim Hunt
384ab12c55
MDL-78025 quiz: fix the quiz_questions_in_use logic
2023-04-26 15:44:54 +01:00
Tim Hunt
4a9c0b1410
MDL-78025 questions: questions_in_use should check question_references
...
This avoids the needs for plugins to do separate queries, which is
easier for them, and better performing.
2023-04-26 15:40:41 +01:00
Tim Hunt
d2d9d762ad
MDL-78025 question generator: make the behaviour less surprising
...
* The object returned by update_question is alwasy a new clone
and the $question passed in will not be modified.
* The returned object has the fields like questionbankentryid and
the ones related to versionning, so it is more like the data
returned by question_bank::load_question_data.
2023-04-26 15:40:36 +01:00
Tim Hunt
a9fa52295a
MDL-78025 question: move hiding logic into question_delete_question
...
This logic belongs in the API, so it is applied consistently.
Also this avoids calling the expensive function questions_in_use
twice per question.
2023-04-26 15:38:57 +01:00
Paul Holden
eca7a9ce2b
MDL-78034 mod_bigbluebuttonbn: format instance group names.
2023-04-26 15:31:44 +01:00
Aya Saad
bba6cc2f02
MDL-76835 theme: Fix unordered lists indentation
2023-04-26 13:57:49 +02:00
David Castro
e5c89630af
MDL-77791 data: Fix file attachment to search doc
2023-04-25 19:49:33 -05:00
Paul Holden
491ee67cd9
MDL-78023 tool_policy: cast timemodified column on table download.
2023-04-25 14:51:13 +01:00
Sara Arjona
9a3430f3fe
Merge branch 'MDL-77313-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-25 15:18:42 +02:00
Paul Holden
79982a82a4
Merge branch 'MDL-78007-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-04-25 12:36:09 +01:00
Paul Holden
4ee0bdfda6
Merge branch 'MDL-73331_401_toolbrickfieldadvancedtab' of https://github.com/brickfield/moodle into MOODLE_401_STABLE
2023-04-25 11:54:17 +01:00
Paul Holden
d10d553890
Merge branch 'MDL-77766-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-04-25 09:38:37 +01:00
Paul Holden
22b481f73c
MDL-77384 check: clarify statistics check name.
2023-04-25 09:04:41 +01:00
Paul Holden
b867e4db40
MDL-78011 qbank_managecategories: require library for pagesize const.
2023-04-24 15:35:54 +01:00
Marina Glancy
ccdaef7a68
MDL-78009 auth: require necessary files
2023-04-24 13:38:58 +01:00
Jun Pataleta
952c8770b6
MDL-77766 qtype_truefalse: Respect showstandardinstruction
...
* When showstandardinstruction is set to no, replace the standard
instruction with the generic "Answer" text for the answer options
fieldset's legend.
2023-04-24 20:11:20 +08:00
Jun Pataleta
132ac7486d
MDL-77766 qtype_multichoice: Respect showstandardinstruction
...
* When showstandardinstruction is set to no, replace the standard
instruction with the generic "Answer" text for the answer options
fieldset's legend.
2023-04-24 20:11:20 +08:00
Tim Hunt
a9f629fbf9
MDL-77997 questions: add back Export as XML to the preview screen
...
The used the exist in Moodle up to 3.11, but then was removed with
insufficient thought in 4.0 (because we had grander long-term plans
which still have not happened). Until those plans happen, this
commit adds the simple link back on the preview screen.
2023-04-24 11:23:47 +01:00
Anupama Sarjoshi
c6708db889
MDL-77987 Backup: add progress tracking to some slow steps
2023-04-24 11:17:34 +01:00
Paul Holden
0d7393c7ee
MDL-77312 files: exclude drafts when determining license usage.
2023-04-24 11:07:38 +01:00
Paul Holden
f3ae5116d0
MDL-77313 restore: re-add field to indicate course/category search.
...
When the two restore forms for searching courses and categories were
converted to core templates in eb9935c9 they lost the named submit
button, which broke searching.
2023-04-24 11:04:26 +01:00
Paul Holden
b01ce337f6
MDL-77858 javascript: correct core/notification exception imports.
2023-04-24 10:44:14 +01:00
Paul Holden
bb433919cc
MDL-77394 mod_forum: de-couple discussion pinned/starred options.
2023-04-24 10:38:01 +01:00
Paul Holden
1e16260ba7
MDL-77398 mod_assign: disable form submit protection for batch options.
2023-04-24 10:35:15 +01:00
Huong Nguyen
4ec5aac734
MDL-78007 tiny_media: Fix wrong condition for the Tiny Media
...
Including in this commit:
- Switched to Tiny editor in manually_mark_question.feature
2023-04-24 15:59:32 +07:00
danghieu1407
b04fab1a2a
MDL-77883 forms: fix display of client-side validation for textareas
2023-04-24 13:54:37 +07:00
Jun Pataleta
b2d0712748
Moodle release 4.1.3
2023-04-22 16:22:40 +08:00
Eloy Lafuente (stronk7)
f70a6d32cd
weekly release 4.1.2+
2023-04-21 19:19:12 +02:00
Eloy Lafuente (stronk7)
f691ccf8c6
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-04-21 19:19:07 +02:00
Jun Pataleta
ceb2f856b0
Merge branch 'MDL-77927-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-04-21 16:52:21 +08:00
Jun Pataleta
955d89710e
Merge branch 'MDL-77229-patch-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-04-21 16:44:38 +08:00
Jun Pataleta
526e1af88b
MDL-77927 core: mod_assignment subplugins environment check
2023-04-21 15:53:32 +08:00
Ilya Tregubov
b142840de1
MDL-77229 mod_lesson: Black list detailed statistics in classic Behat.
...
The nav element to go to detailed stats page is missing in classic
2023-04-21 15:07:36 +08:00
Ilya Tregubov
8fb9177b74
Merge branch 'MDL-77229-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-04-21 12:11:40 +08:00
Ilya Tregubov
6e15a26dce
MDL-77229 lesson: Add Behat test
2023-04-21 12:04:17 +08:00
Jun Pataleta
b5a65e56fd
Merge branch 'MDL-77896-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-21 11:10:39 +08:00
AMOS bot
a6a0e98e53
Automatically generated installer lang files
2023-04-21 00:07:41 +00:00
Paul Holden
c28cd3215b
MDL-77896 editor_tiny: approximate height for non-visible editors.
...
When an editor is renderer initially invisible to the browser, e.g.
the forum "Add discussion" form, it has a `clientHeight` value of
zero. We can approximate an alternative value based on the number
of rows in the textarea.
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2023-04-20 15:24:34 +01:00
Juan Leyva
39084a098b
MDL-77229 lesson: Fix error for empty responses (numerical pagetype)
2023-04-20 12:46:42 +02:00
Jun Pataleta
9290627da9
Merge branch 'MDL-73012-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2023-04-20 16:29:14 +08:00
Ilya Tregubov
bb5bd2eed8
Merge branch 'MDL-77436-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-04-20 16:23:19 +08:00
Jun Pataleta
12195684b4
Merge branch 'MDL-77922-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-04-20 16:10:10 +08:00
Ferran Recio
f01ad40145
MDL-73012 core_courseformat: add pending to move section modal
2023-04-20 09:56:10 +02:00
Ferran Recio
1d64897a3c
MDL-77922 core_courseformat: add pending to move activity modal
2023-04-20 14:42:30 +08:00
Ilya Tregubov
339dfec420
Merge branch 'MDL-77577-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-04-20 12:33:38 +08:00
Andrew Nicols
1d16c049f3
MDL-77718 editor_tiny: Restrict the revision to int for loaders
...
The revision should always be an int. I suspect this was missed during
debugging and not corrected.
2023-04-19 13:20:25 +00:00
Paul Holden
4d4635228d
MDL-77187 mod_wiki: validate external method sort parameters.
2023-04-19 13:20:25 +00:00
Paul Holden
ce9cb1156c
Merge branch 'MDL-77897-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-04-19 14:13:04 +01:00
Paul Holden
c0429c1c90
Merge branch 'MDL-77960-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-04-19 13:41:32 +01:00
Paul Holden
be8c02fc2c
Merge branch 'MDL-77944-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-04-19 13:06:41 +01:00
Max Larkin
60a2798da7
MDL-73331 tool_brickfield: Update advanced tab display
2023-04-19 12:57:37 +01:00
Paul Holden
99b5e1059d
Merge branch 'MDL-77898-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-04-19 09:03:22 +01:00
Andrew Nicols
ee519b690c
MDL-77897 editor_tiny: Save editor content on editor blur
2023-04-19 14:57:26 +08:00
Ilya Tregubov
814c63fcc3
git fetch https://github.com/paulholden/moodle.git MDL-77935 && git merge --no-ff FETCH_HEADMerge branch 'MDL-77935-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-19 13:32:36 +08:00
Jun Pataleta
799e962f1f
Merge branch 'MDL-77953_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-04-19 12:37:45 +08:00
Simey Lameze
c0bea2a82d
MDL-77960 behat: make verification steps more specific
2023-04-19 11:57:37 +08:00
Eloy Lafuente (stronk7)
e9fcdec98b
MDL-77953 pagelib: Ensure that null $SCRIPT continues behaving the same
...
It's possible to have some Moodle components soft linked instead
of being real directories within codebase (within dirroot).
For example, Composer's "vendor" directory can be soft linked
(from elsewhere), or also plugins can be installed using soft
links.
In those cases, Moodle calculates the $SCRIPT global as null. And,
then, string operations on it are emitting a PHP deprecation message
with PHP 8.1 and up.
This fix just ensures that the behaviour is the same than before
PHP 8.1, aka: ltrim(null) = '' (empty string), without any PHP warning.
2023-04-18 18:50:37 +02:00
Andrew Nicols
fc6764324a
Merge branch 'MDL-77895-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-18 23:35:19 +08:00
Andrew Nicols
b71f01981a
weekly release 4.1.2+
2023-04-18 22:28:09 +08:00
Andrew Nicols
5d1fcb942a
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-04-18 22:28:06 +08:00
Jun Pataleta
24335d67bb
MDL-77898 calendar: Add iconclass for upcoming_mini template
...
The icon's iconclass context data adds additional CSS class(es) to
calendar event icons to better control how the event icon is displayed.
e.g. without filtering for activity events that don't hae monologo
versions of their icons.
2023-04-18 15:58:46 +08:00
Paul Holden
1b828701a6
MDL-77895 editor_tiny: standardize quickbar selection toolbar.
...
Ensure the same heading tags are available as those defined in the
editor block formats configuration (c51b7e2c ).
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2023-04-18 07:45:23 +01:00
Ilya Tregubov
f8e468c41a
Merge branch 'MDL-77916-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-18 14:28:44 +08:00
Andrew Nicols
b07df211ce
Merge branch 'MDL-77829-401' of https://github.com/stevandoMoodle/moodle into MOODLE_401_STABLE
2023-04-18 12:31:46 +08:00
Andrew Nicols
4c289966d3
Merge branch 'MDL-77735-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-04-18 12:10:56 +08:00
Ilya Tregubov
0d0fbec616
Merge branch 'MDL-77770-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-18 12:01:46 +08:00
Ilya Tregubov
ca751bdc1f
Merge branch 'MDL-76855-401' of https://github.com/Chocolate-lightning/moodle into MOODLE_401_STABLE
2023-04-18 11:18:32 +08:00
Andrew Nicols
bc85007834
MDL-77944 behat: Rename chrome options for w3c support
...
From Selenium 4.8.0, support for non-w3c browser control has ended.
We only use W3C browser control these days, and this was missed as part
of the move to W3C. All browser options must be vendor-prefixed.
2023-04-18 09:04:08 +08:00
Ilya Tregubov
dd553c1406
Merge branch 'MDL-77827-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-04-18 08:59:30 +08:00
AMOS bot
76ab8a1c51
Automatically generated installer lang files
2023-04-18 00:07:38 +00:00
Paul Holden
242ecbf7f3
Merge branch 'MDL-77878-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-04-17 19:12:36 +01:00
Shamim Rezaie
cbfde8c11a
Merge branch 'MDL-76998-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-04-17 21:27:56 +10:00
Paul Holden
df4f8dd322
Merge branch 'MDL-76212-401-nav' of https://github.com/kevpercy/moodle into MOODLE_401_STABLE
2023-04-17 11:50:54 +01:00
Paul Holden
60ab09ac87
Merge branch 'MDL-77324-401-2' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-04-17 11:06:14 +01:00
Paul Holden
40fad4d6b7
MDL-77935 contentbank: avoid phpunit crashes during isolated tests.
...
Simplify the test for allowed contexts by removing problematic use of
data provider annotation.
See: https://github.com/sebastianbergmann/phpunit/issues/2739
2023-04-17 09:28:38 +01:00
Víctor Déniz
1265b0ad84
MDL-77878 lang: Use fixed strings in tests
2023-04-17 09:26:52 +01:00
Mathew May
faa121ad30
MDL-76855 gradereport_user: Prevent parent access errors
2023-04-17 11:26:03 +08:00
Andrew Nicols
797cbcc3da
Merge branch 'MDL-76995-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-04-17 11:17:04 +08:00
Ilya Tregubov
6bac910434
MDL-76994 core_course: Fix version for weeks and topics course formats
2023-04-17 11:04:37 +08:00
Andrew Nicols
a9b4b297ac
Merge branch 'MDL-77606' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-04-17 10:34:55 +08:00
Petr Skoda
073deca0e1
MDL-77606 grunt: fix Windows compatibility
...
Backport of MDL-77748.
2023-04-17 10:34:09 +08:00
Petr Skoda
2cc1182b16
MDL-77606 core: switch to Dart sass
...
Backport of MDL-73144.
2023-04-17 10:33:50 +08:00
Ilya Tregubov
82a7b26648
Merge branch 'MDL-76994-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-04-17 09:47:04 +08:00
Helen Foster
2db1ddd290
MDL-77878 lang: Import fixed English strings (en_fix)
2023-04-16 20:54:48 +01:00
Sara Arjona
96f0478ec1
Merge branch 'MDL-77913-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-14 14:02:18 +02:00
Sara Arjona
38f5c818cb
MDL-77735 core: Check $CFG->lang isset
...
In some cases, $CFG->lang might not be set, and this is causing a
Notice to be displayed when, for instance, database connection fails.
This patch should fix this case.
2023-04-14 13:46:51 +02:00
Sara Arjona
38c35247e9
weekly release 4.1.2+
2023-04-14 10:50:08 +02:00
Sara Arjona
242dcfbc55
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-04-14 10:50:03 +02:00
Huong Nguyen
2f601f1e51
MDL-77827 events: Changed JSON comparison to be less strict
2023-04-14 12:29:32 +07:00
Paul Holden
31a3c8cda4
MDL-77916 h5p: register autoloader in helper testcase.
2023-04-13 23:14:57 +01:00
Paul Holden
39cf556111
MDL-77913 qbank_previewquestion: deterministic ordering of versions.
...
Ensure the ordering of loaded question versions is consistent, avoids
random Oracle failures.
2023-04-13 21:45:28 +01:00
Sara Arjona
4c4be40c77
Merge branch 'MDL-76986-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-04-13 17:32:03 +02:00
Amaia Anabitarte
c8f105800c
MDL-76995 core_courseindex: Apply indentation in the course index
2023-04-13 16:59:05 +02:00
Amaia Anabitarte
3502ad3da7
MDL-76998 admin: Option to reset course indentation
2023-04-13 16:52:19 +02:00
Amaia Anabitarte
15a5a938b6
MDL-76994 tool_mobile: Return course format indentation setting
2023-04-13 16:51:05 +02:00
Amaia Anabitarte
ec4eacd1da
MDL-76994 core_course: New course format setting to enable indentation
2023-04-13 16:50:58 +02:00
Sara Arjona
bc34e3fef3
Merge branch 'MDL-76859-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-04-13 16:24:28 +02:00
Sara Arjona
6aef92c24a
Merge branch 'MDL77833-course-content-chng-notificatn-multilang' of https://github.com/Amrita1991/moodle into MOODLE_401_STABLE
2023-04-13 16:20:06 +02:00
Sara Arjona
4b7c58febf
Merge branch 'MDL-77860-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-13 13:45:00 +02:00
Sara Arjona
4ed6c8fbce
Merge branch 'MDL-77788-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE
2023-04-13 13:17:28 +02:00
Sara Arjona
af585fc755
Merge branch 'MDL-77618-admin-password-autocomplete-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE
2023-04-13 12:19:16 +02:00
Amrita Deb Dutta
6ae5ee18a0
MDL-77833 course: content change notification multilang processing
...
adding context to format string
content change notificatn coursename multilang processing
change context param
2023-04-13 11:28:41 +02:00
Sara Arjona
ead7958219
Merge branch 'MDL-77256-401' of https://github.com/rbravod/moodle into MOODLE_401_STABLE
2023-04-13 11:20:32 +02:00
Ilya Tregubov
8dc9cd6cdc
MDL-77324 gradereport_singleview: Make action menus consistent
2023-04-13 16:59:23 +08:00
Sara Arjona
69749509ab
Merge branch 'MDL-77856-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-04-13 09:43:05 +02:00
Sara Arjona
59eac981eb
Merge branch 'MDL-77468-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE
2023-04-13 09:19:58 +02:00
David Woloszyn
ab0038da84
MDL-76986 editor_tiny: Convert language code format for getting strings
2023-04-13 16:05:14 +10:00
Juan Leyva
2cde957897
MDL-77468 user: Fix invalid check for group belonging
2023-04-12 22:13:22 -03:00
Sara Arjona
a8eb481980
Merge branch 'MDL-73610_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-04-12 18:19:40 +02:00
Juan Leyva
4c533b8204
MDL-77468 user: Make user profile visibility consistent web and ws
2023-04-12 09:15:47 -03:00
Sara Arjona
26aaa7486a
Merge branch 'MDL-77012-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-12 14:09:33 +02:00
Petr Skoda
f336875b1a
MDL-76859 h5p: Fix behat failures
...
- Only resize if the H5P EmbedCommunicator is defined (otherwise, it was causing a
JS error)
- An unnecessary image has been removed from the greeting-card.h5p fixture package.
That way, the text will always be displayed (even if the iframe is still not
resized). Instead of replacing the original greeting-card-887.h5p file, I've
renamed it to greeting-card.h5p, to remove these ugly and unnecessary numbers
at the end of the file name).
2023-04-12 12:27:06 +02:00
Sara Arjona
6381daf52a
Merge branch 'MDL-76993-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-04-12 09:54:22 +02:00
Kevin Percy
5b8ad6ae30
MDL-76212 gradebook_nav: Fixed tertiary nav for smaller screens
2023-04-12 14:12:50 +08:00
Amaia Anabitarte
3a38791d62
MDL-76993 core_course: Recover move right/left functionality
...
This is a backport of MDL-76990
2023-04-11 13:28:00 +02:00
Sara Arjona
5563e99f2c
Merge branch 'MDL-77837-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-04-11 12:12:49 +02:00
Sara Arjona
8bc1c231d6
Merge branch 'MDL-77552-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2023-04-11 11:13:41 +02:00
Sara Arjona
1226208a64
Merge branch 'MDL-77148_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2023-04-11 10:17:08 +02:00
Sara Arjona
725277eb8b
Merge branch 'MDL-77612-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-04-11 10:04:41 +02:00
Laurent David
b631966a70
MDL-77612 mod_label: Label name fix
...
* The @@PLUGINFILE@@ placeholder or URLs should not be displayed in the
course index for labels
2023-04-11 05:24:39 +02:00
Stevani Andolo
b796cbd03c
MDL-77829 core: Added environment check for mod_assignment
...
Decided to add an environment check before uninstalling the
mod_assignment plugin to prevent data lost.
2023-04-10 13:54:00 +08:00
AMOS bot
1066f5fe68
Automatically generated installer lang files
2023-04-07 00:07:35 +00:00
Andrew Nicols
202718f968
MDL-77837 core: Improve usage docs for cron_setup_user
2023-04-06 23:21:29 +08:00
Andrew Nicols
44d734147a
MDL-77837 phpunit: Ensure that the cron user setter is used
...
When running an adhoc task in a unit test we should use the cron variant
of the set user method to mimic the behaviour of a real cron run.
2023-04-06 23:21:29 +08:00
Andrew Nicols
346cb39cff
MDL-77837 cron: Ensure user is set when running tasks
...
We should be proactive in ensuring that the environment is clean when
running a task. We already ensure that we have a clean renderer and
other parts of the output chain, but we were not setting a clean user.
This change adds a call to setup the cron user before each task is
actually executed.
2023-04-06 23:21:29 +08:00
Paul Holden
eb12428324
MDL-77770 gradereport_user: fix errors when no users to navigate.
2023-04-06 14:41:03 +01:00
Anupama Sarjoshi
8b31922739
MDL-77148 core: Fix to export params for templates in correct format
...
When questions are filtered by tags in the question bank, the qtagids
params are passed in the array format. Though moodle_url handles this,
single_button::export_for_template cannot. Hence changes done in
weblib.php to provide params for export_for_template in the
suitable format.
Thanks Huong. I have added the Behat test you provided in the patch.
2023-04-06 14:38:29 +01:00
Eloy Lafuente (stronk7)
127174088a
MDL-73610 nodejs: Small updates to required packages
...
The main goal of this issue is to avoid scanners (Dependabot
and friends), reporting about security issues with the current
xmldom 0.6.0 package.
Note that this doesn't affect prod at all, because it's a dev
dependency, hardly exploitable. So it's not a security fix, just
a security_benefit, if something.
So here, we are updating from xmldom 0.6.0 to @xmldom/xmldom 0.8.7
(note that the package was renamed in 0.7.0, so it's the very same)
Also, when proceeding with the changes, it was detected that we
are incorrectly declaring @babel/eslint-parser as a normal dependency
instead of a development one, so we are also fixing that little detail.
The commands executed to get the changes above applied have been:
- nvm use
- npm install @xmldom/xmldom@^0.8.7 --save-dev
- npm uninstall xmldom
- npm install @babel/eslint-parser@^7.17.0 --save-dev
(we haven't run a complete re-install because we only want to modify
the minimum possible at this stage).
2023-04-06 14:59:43 +02:00
Sara Arjona
f8e2445513
weekly release 4.1.2+
2023-04-06 14:02:16 +02:00
Sara Arjona
cb8bf1e001
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-04-06 14:02:12 +02:00
Sara Arjona
1f7063cc09
Merge branch 'MDL-75301-fix' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-04-06 08:12:03 +02:00
Sara Arjona
60954253d4
MDL-75301 quiz: Fix failing behat test
...
I cherry-picked this branch from master (because the current 401
had some conflicts). In master, quiz has been moved to quiz_settings,
so that's why the behat test start failing. Using the proper name
fixes it.
2023-04-06 07:15:57 +02:00
Paul Holden
d49ebb79c5
MDL-77860 tool_moodlenet: use localised language strings for import.
2023-04-05 23:05:23 +01:00
Jun Pataleta
85a7c17414
MDL-77856 qtype_multianswer: Use Bootstrap Popover for subq feedback
...
The YUI Overlay widget encloses the subquestion feedback in a div
which causes a div element to be enclosed in the subquestion span. This
leads to an accessibility issue in terms of HTML parsing as inline
elements (span) should not contain block elements (div)
The YUI Overlay widget is also not accessible as it does not really hide
the overlay contents via aria-hidden when the overlay is not being
shown. It's better if we stop using this and use Bootstrap's
popover component which is more accessible by default.
This patch also removes module.js for the qtype_multianswer plugin as
it only contains codes related to rendering the feedback contents in the
YUI overlay widget which is no longer necessary.
2023-04-06 05:35:11 +08:00
Sara Arjona
c9b7b94ed4
Merge branch 'MDL-73642_MOODLE_401_STABLE' of https://github.com/tasosb/moodle into MOODLE_401_STABLE
2023-04-05 17:17:35 +02:00
Mark Johnson
0bc265e900
MDL-75301 quiz: Use "always latest" option for question previews
...
This will set the "alwayslatest" option when previewing a question from
the quiz according to the version setting used in the quiz slot.
2023-04-05 12:50:05 +02:00
Mark Johnson
6417d795b9
MDL-75301 question: Add "always latest" option to previews
2023-04-05 12:49:58 +02:00
Mark Johnson
c55473ad2e
MDL-75301 question: Add behat generator for updating questions
...
This adds "core_question > updated question" as an entity for `the
following "X" exist` and calls the existing update_question() generator
which will create a new question version with the supplied data.
2023-04-05 12:49:51 +02:00
Shamim Rezaie
ddaf4b7a58
Merge branch 'MDL-77555-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-05 20:15:39 +10:00
Paul Holden
be58d68f20
MDL-77555 reportbuilder: improve SQL generation within filters.
...
Use native ANSI SQL syntax for numeric comparisons where possible,
define filter API for the case where filters must re-use the given
field SQL while ensuring uniqueness of any field parameters.
Currently only necessary in the category filter type.
2023-04-05 09:40:31 +01:00
Paul Holden
131d80441a
Merge branch 'MDL-69551_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-04-05 08:56:45 +01:00
AMOS bot
8a588f963c
Automatically generated installer lang files
2023-04-05 00:07:43 +00:00
Juan Leyva
4e32a42415
MDL-77788 mod_assign: Apply format_string to group names in WS
2023-04-04 18:11:03 -03:00
Tim Hunt
aa9a462a4b
MDL-69551 quiz: start quiz password field should be a passwordunmask
...
This help accessibility and usability
2023-04-04 12:19:49 +01:00
Paul Holden
571c59b60e
Merge branch 'MDL-77712-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-04-04 12:06:42 +01:00
Paul Holden
360f9e37f8
MDL-77012 editor_tiny: correct block formats property syntax.
...
Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com >
2023-04-04 09:53:20 +01:00
Andrew Nicols
65ba7df04b
Merge branch 'MDL-77584-401' of https://github.com/ewallah/moodle into MOODLE_401_STABLE
2023-04-04 12:07:23 +08:00
Simey Lameze
5d000c6f35
MDL-77733 behat: enable Axe accessibility tests by default
2023-04-04 09:18:19 +08:00
AMOS bot
02aed7f6fc
Automatically generated installer lang files
2023-04-04 00:07:43 +00:00
Paul Holden
2a4f86051b
Merge branch 'MDL-75906-401' of https://github.com/mickhawkins/moodle into MOODLE_401_STABLE
2023-04-03 14:54:05 +01:00
Paul Holden
701541f35b
Merge branch 'MDL-77227-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-04-03 10:56:19 +01:00
Sara Arjona
839681dc77
Merge branch 'MDL-77807-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-04-03 11:53:19 +02:00
Michael Hawkins
b33e5466df
MDL-75906 core: Updated security.txt expiry
2023-04-03 17:27:30 +08:00
Laurent David
fbbdfefdb6
MDL-77712 core_course: Fix exception with inplace editor
...
* On fresh install, an exception is raised when we try to modify
the name of a newly inserted activity in the front page
2023-04-03 10:43:11 +02:00
Ferran Recio
8656271a63
MDL-77552 core_courseformat: add plugin and module to cm state
...
Backport of MDL-77386
2023-04-03 09:35:08 +02:00
Ilya Tregubov
e1f3e7f232
Merge branch 'MDL-77603' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-04-03 10:03:53 +08:00
Andrew Nicols
f6c4303c58
MDL-77603 theme_boost: Add reference to CL update
2023-04-03 10:02:41 +08:00
Petr Skoda
134dc470c7
MDL-77603 theme_boost: remove Bootstrap version reference
2023-04-03 10:02:36 +08:00
Petr Skoda
45cd887f3b
MDL-77603 tool_componentlibrary: import Bootstrap v4.6.2
2023-04-03 10:02:31 +08:00
Petr Skoda
b65ec774c5
MDL-77603 theme_boost: import Bootstrap v4.6.2
2023-04-03 10:02:19 +08:00
AMOS bot
215e9f0688
Automatically generated installer lang files
2023-04-02 00:07:37 +00:00
Stefan Hanauska
df0f9fa06d
MDL-75623 backup: Encode pluginfile URLs
2023-04-01 09:09:39 +02:00
AMOS bot
035ebed95b
Automatically generated installer lang files
2023-04-01 00:07:46 +00:00
Paul Holden
a78f3a02c6
weekly release 4.1.2+
2023-03-31 18:11:53 +01:00
Paul Holden
2890546f44
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-03-31 18:11:51 +01:00
Jake Dallimore
a1df38dfc6
Merge branch 'MDL-59175-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-31 11:57:27 +08:00
Jake Dallimore
82f9585f55
Merge branch 'MDL-77794-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-31 11:48:42 +08:00
Mikhail Golenkov
af7422edc0
MDL-77592 filter_tex: Use request dir instead of temp shared storage
2023-03-31 14:34:54 +11:00
Andrew Nicols
0f092b86b5
Merge branch 'MDL-77783-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-31 11:31:05 +08:00
Ilya Tregubov
74f3c34cbf
Merge branch 'MDL-70976-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-03-31 09:41:45 +08:00
AMOS bot
1f337e7665
Automatically generated installer lang files
2023-03-31 00:07:40 +00:00
Paul Holden
fbb6dc4ca3
MDL-77807 files: normalise file entity size/type column fields.
...
The `filename` field was only used by each to determine whether the
file was itself a directory, and it's presence meant that aggregation
of each column wasn't working properly.
2023-03-30 20:46:57 +01:00
Laurent David
ab3a244568
MDL-77456 core_courseformat: Fix highlight in course index
...
* When navigating to a restricted activity as a student from the course index
the item is not highlighted when refreshing the page.
2023-03-30 18:57:33 +02:00
Sara Arjona
7b13a543ad
Merge branch 'MDL-77761-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-30 17:53:20 +02:00
Sara Arjona
dd10dead0f
Merge branch 'MDL-77764-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-30 16:31:21 +02:00
Paul Holden
b84a48d1ee
Merge branch 'MDL-76481_401_Brickfield_TCPDF_error' of https://github.com/brickfield/moodle into MOODLE_401_STABLE
2023-03-30 12:50:09 +01:00
Sara Arjona
3794210019
Merge branch 'MDL-77762-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-30 13:45:18 +02:00
Jun Pataleta
cca75ca956
Merge branch 'MDL-77333_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-03-30 19:03:40 +08:00
Paul Holden
93c91af6a9
Merge branch 'MDL-77773-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-30 10:41:20 +01:00
Paul Holden
8755738360
MDL-77794 contentbank: fix plugin type language strings.
...
AMOS BEGIN
CPY [type_contentbank,core_plugin],[type_contenttype,core_plugin]
CPY [type_contentbank_plural,core_plugin],[type_contenttype_plural,core_plugin]
AMOS END
2023-03-30 09:58:32 +01:00
Max Larkin
4f8c5ef086
MDL-76481 tool_brickfield: Fix PHP 8 report download
2023-03-30 09:15:05 +01:00
Paul Holden
5d10e53ba1
Merge branch 'MDL-75017_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-30 08:47:54 +01:00
Ilya Tregubov
cc0c62d564
Merge branch 'MDL-73771_401' of https://github.com/lostrogit/moodle into MOODLE_401_STABLE
2023-03-30 14:22:53 +08:00
AMOS bot
48fb5b6e88
Automatically generated installer lang files
2023-03-30 00:07:44 +00:00
Amaia Anabitarte
bc4b6cf8f7
MDL-77227 roles: Remove extra information for override page
2023-03-29 18:20:23 +02:00
Carlos Castillo
f17b006dcb
MDL-73771 theme: Fix scrollbar position
2023-03-29 09:15:39 -05:00
Shamim Rezaie
d50bb07b2b
Merge branch 'MDL-74452_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-03-29 15:27:15 +11:00
Ilya Tregubov
b85f6a660b
Merge branch 'MDL-77740-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-29 10:58:47 +08:00
Jun Pataleta
dd584ab981
Merge branch 'MDL-77382-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-03-29 09:48:17 +08:00
Jun Pataleta
ab9b09908a
Merge branch 'MDL-76941-401-2' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-03-29 09:31:51 +08:00
Jun Pataleta
c99abd65ca
MDL-77783 core: Validate sublugins.json
...
* Validate the decoded subplugins.json before processing it.
* Log errors if subplugins.json is invalid or if plugintypes is not
defined.
2023-03-29 09:29:57 +08:00
Jun Pataleta
436ed2c4cb
MDL-77761 core_form: Add label for editor format selector
2023-03-29 08:09:54 +08:00
Eloy Lafuente (stronk7)
d0ddc7692b
MDL-77333 mod_resource: fixes generator uploading files + tests
...
MDL-76499 revealed a few problems with resource generators:
1. We were not covering with unit tests the upload of files from disk
(and here it's where the problem was).
2. There was a little of confusion between disk paths (only needed
to upload files) and file_area paths (the generator only creates
or uploads files to the root directory of the file area.
3. It was possible to request the upload of a file to the generator
without that file effectively existing.
This commit fixes those points and covers 99% of the generator code.
2023-03-28 19:06:18 +02:00
Paul Holden
449a8b0b31
weekly release 4.1.2+
2023-03-28 15:55:18 +01:00
Paul Holden
0f251ce165
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-03-28 15:55:16 +01:00
Andrew Nicols
5df8e8fa5f
MDL-77773 editor_tiny: Improve initial editor size
2023-03-28 20:48:05 +08:00
Paul Holden
7f6888bd53
Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-28 12:38:52 +01:00
Jun Pataleta
95d5b0aab0
MDL-77105 core: Cast custom data to an array when evaluating filtericon
...
Since other modules may treat custom data as an object, we need to make
cast it to an array before evaluating for the `filtericon` custom data.
2023-03-28 18:49:27 +08:00
Huong Nguyen
9a05e393dd
MDL-76941 tool_usertours: Fix accessibility issue when resizing
2023-03-28 12:18:17 +07:00
Meirza
110ec6a703
MDL-77436 auth_oauth2: Update profile fields based on data mapping.
...
After the user creation, the system must call an update function to update profile_fields_*.
We also provided two functions into user/profile/lib.php to get available from other areas.
We added PHP unit testing for new public functions and
the Behat tests for custom profile fields with locked and unlocked statuses.
Co-authored-by: Matt Porritt <matt.porritt@moodle.com >
2023-03-28 11:47:23 +07:00
Matt Porritt
714764d966
MDL-77436 auth_oauth2: Allow admin to choose profile fields for mapping
...
Update oauth2 to allow mapping of provider attributes against
user profile fields. Fields can also be locked to prevent
user changes.
Co-Authored-By: Michael Milette <michael.milette@tngconsulting.ca >
2023-03-28 11:46:51 +07:00
Jun Pataleta
ae63139985
Merge branch 'MDL-77630-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-03-28 12:06:17 +08:00
Jake Dallimore
e144ff8a43
Merge branch 'MDL-77105-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-28 11:42:42 +08:00
Meirza
cd528df093
MDL-77630 mod_forum: correct typo in variable names
2023-03-28 09:39:01 +07:00
Jun Pataleta
6b96cf8676
Merge branch 'MDL-77670-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE
2023-03-28 07:05:04 +08:00
Paul Holden
2b0a0cecdf
MDL-77762 contentbank: always provide exit button when appropriate.
...
If the current user can access the content bank in the context of the
current item, then provide link back to it.
2023-03-27 18:08:53 +01:00
Paul Holden
7b614d6f51
MDL-77764 contentbank: add field label to context selection element.
2023-03-27 16:54:53 +01:00
Sara Arjona
e7cda153a2
Merge branch 'MDL-76376_m41' of https://github.com/jrchamp/moodle into MOODLE_401_STABLE
2023-03-27 16:56:30 +02:00
Sara Arjona
0d6eaef200
Merge branch 'MDL-77659_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2023-03-27 16:50:31 +02:00
Sara Arjona
f32c46bf0c
Merge branch 'MDL-73226-401' of https://github.com/jleyva/moodle into MOODLE_401_STABLE
2023-03-27 16:08:26 +02:00
Juan Leyva
eeae99afc7
MDL-73226 files: Add quota checks to core_user_add_user_private_files
2023-03-27 13:25:43 +02:00
Sara Arjona
8c9b54cc5d
Merge branch 'MDL-76303-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE
2023-03-27 12:41:18 +02:00
Paul Holden
da42c76300
Merge branch 'MDL-77729_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-27 11:09:26 +01:00
Sara Arjona
c2714ff1af
Merge branch 'MDL-77561-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-03-27 11:43:26 +02:00
Paul Holden
f2cbacbd24
MDL-77555 reportbuilder: method to ensure unique parameters in SQL.
2023-03-27 10:29:31 +01:00
Jun Pataleta
bc1d7e854b
MDL-77105 core: Add upgrade.txt notes
2023-03-27 14:00:58 +08:00
Jun Pataleta
99bc8f2b30
MDL-77105 mod_url: Declare filtericon custom data
...
* Set a custom data `filtericon` when the icon being rendered for the
URL resource is not equal to the default plugin icon.
2023-03-27 14:00:58 +08:00
Jun Pataleta
67f739499b
MDL-77105 mod_lti: Add 'nofilter' class for custom tool icons
...
Add a '.nofilter' class when rendering custom tool icons in order
to render them as is and without CSS filter on the activity chooser.
2023-03-27 14:00:38 +08:00
Jun Pataleta
538e17e199
MDL-77105 core_course: Add 'nofilter' class for non-monologo icons
...
When rendering content items, check whether the plugin has monologo
icons. If so, add a 'nofilter' class so the plugin icon can be
rendered as is and without the CSS filter.
2023-03-27 14:00:18 +08:00
Jun Pataleta
28d8c9c1e7
MDL-77105 block_timeline: Add 'nofilter' class when necessary
...
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the timeline block.
2023-03-27 13:59:54 +08:00
Jun Pataleta
18703b71ac
MDL-77105 block_recentlyaccesseditems: Add 'nofilter' class
...
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the recently accessed items block.
2023-03-27 13:59:33 +08:00
Jun Pataleta
f59220a76d
MDL-77105 theme_boost: Add 'nofilter' class when necessary
...
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the context header on the activity page.
2023-03-27 13:42:43 +08:00
Jun Pataleta
84198e03c7
MDL-77105 course_format: Add 'nofilter' class when necessary
...
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the course homepage.
2023-03-27 13:42:43 +08:00
Jun Pataleta
f5d445a68f
MDL-77105 core: Conditionally apply icon filter
...
* Apply the filter CSS property only to activity icons
that don't have the ".nofilter" class. This will allow
activities with non-SVG icons to be rendered as they are.
2023-03-27 13:42:41 +08:00
Jun Pataleta
30b0b0cf40
MDL-77105 core: Add a filtericon parameter to course mod icon URLs
...
* If a plugin defines a `filtericon` custom data or uses its monologo
version of the icon, a `filtericon` parameter is being added to the
icon's URL. This information can help plugins determine whether to
render the activity icon as is or with CSS filtering.
2023-03-27 13:36:42 +08:00
Jun Pataleta
69948eda10
MDL-77105 core: Method to determine whether a plugin has monolog icons
2023-03-27 13:36:38 +08:00
Brendan Heywood
25edc77d10
MDL-77749 admin: Fix code error with unset config duration
2023-03-26 16:18:13 +11:00
AMOS bot
1f4daa7402
Automatically generated installer lang files
2023-03-26 00:07:41 +00:00
Tim Hunt
c1c1ca6e4d
MDL-77729 qformat_missingword: fix form of help link
2023-03-25 15:39:27 +00:00
Andrew Nicols
50d1671a54
MDL-77740 editor_tiny: Set the Editor window from the iFrame element
...
This is a workaround for an upstream bug which I have not been able to
reproduce outside of Moodle whereby the editor.contentWindow does not
math the editor.iframeElement.contentWindow when it should.
This issue only seems to affect Firefox, and it may even be a bug in
Firefox. It can only be reproduced when using a fresh browser which has
never had a TinyMCE window open.
2023-03-24 21:34:21 +08:00
Tim Hunt
fd9b8bf4d0
MDL-75017 questions: give a clear error if the context type is invalid
2023-03-24 13:00:09 +00:00
Tim Hunt
e405e6fd6a
MDL-75017 questions: fix weird setup in qformat_xml_import_export_test
2023-03-24 13:00:07 +00:00
Sara Arjona
5898c3e5dd
weekly release 4.1.2+
2023-03-24 13:59:31 +01:00
Jun Pataleta
d2bc54fba9
Merge branch 'MDL-77669-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-24 11:51:36 +08:00
Jun Pataleta
9b07f56add
Merge branch 'MDL-77626_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-24 10:40:36 +08:00
Simey Lameze
7c1c1071e7
MDL-77561 behat: add step to accept dpa and enable bigbluebutton
...
The step i_enable_plugin cannot be used as bigbluebuttonbn_default_dpa_accepted
setting needs to be enable in order for the BigBlueButton plugin to be enabled.
2023-03-24 08:21:05 +08:00
Sara Arjona
d2d49e150b
Merge branch 'MDL-77705-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-23 18:30:27 +01:00
Sara Arjona
a7d71e0e2d
Merge branch 'MDL-77666-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-23 17:53:45 +01:00
Shamiso.Jaravaza
b924f6a355
MDL-76303 mod_bigbluebuttonbn: Fix userlimit
2023-03-23 08:23:23 -06:00
Paul Holden
3fa384384e
Merge branch 'MDL-77392-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE
2023-03-23 12:25:29 +00:00
Stephan Robotta
66e88ace0f
MDL-77392 calendar: calendar items are hidden because of settings
2023-03-23 12:53:09 +01:00
Paul Holden
fe07140e27
Merge branch 'MDL-77691-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-03-23 11:43:41 +00:00
Sara Arjona
fad4e118a4
Merge branch 'MDL-77380-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-03-22 14:06:07 +01:00
Sara Arjona
0d80eea9af
Merge branch 'MDL-77692-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-22 13:50:11 +01:00
Ilya Tregubov
0b973b52e9
weekly release 4.1.2+
2023-03-22 09:37:08 +08:00
Ilya Tregubov
b158354710
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-03-22 09:37:06 +08:00
Paul Holden
ee3924702f
MDL-77705 reportbuilder: avoid re-using field alias between entities.
...
Ensure that when the user entity is added multiple times to a report,
when there are custom profile fields, each of those gets a unique table
alias per-entity.
2023-03-21 17:29:09 +00:00
Mark Johnson
0d4d201a8c
MDL-74452 quiz: Display an error if all versions are in draft status
2023-03-21 15:25:02 +00:00
Mikel Martín
0b2085648e
MDL-77691 behat: Add step to navigate to profile page directly
2023-03-21 08:08:10 +01:00
Simey Lameze
939a416308
MDL-77380 block_myoverview: improve show toggle functionality test
2023-03-21 14:47:25 +08:00
Jun Pataleta
28d1db2f1d
Merge branch 'MDL-75746_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-03-21 12:01:01 +08:00
Angelia Dela Cruz
084c120c79
MDL-77577 Behat: Replaced the use of "Install selected language pack(s)
...
Evaluated usage of "Install selected language pack(s)" in Behat and
replaced the steps to use generator to install language packs as part
of test setup.
2023-03-21 12:00:53 +08:00
Meirza
29a1cf86a3
MDL-77669 dml: Added extrainfo in the DB options config.
...
extrainfo is an extra information for the DB driver, e.g. SQL Server,
has additional configuration according to its environment,
which the administrator can specify to alter and override any connection options.
Co-authored-by: LukeCarrier <luke@carrier.im >
This is a backport of MDL-64153.
2023-03-21 08:48:39 +08:00
Ilya Tregubov
ea915c29e5
Merge branch 'mdl-72533-event-table-performance-MOODLE_401_STABLE' of https://github.com/petersistrom/moodle into MOODLE_401_STABLE
2023-03-21 08:24:59 +08:00
Paul Holden
deced83b06
Merge branch 'MDL-72124_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-03-20 17:04:54 +00:00
Paul Holden
fac1828222
MDL-77692 reportbuilder: format custom field condition/filter names.
2023-03-20 16:32:08 +00:00
Sara Arjona
502536c16e
Merge branch 'MDL-77574-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-03-20 17:06:06 +01:00
Anupama Sarjoshi
3fee9d949f
MDL-77659 core_reportbuilder: fix user profile fields phpunit tests
2023-03-20 13:53:46 +00:00
Sara Arjona
1bfc0a1d14
Merge branch 'MDL-77523-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE
2023-03-20 13:42:49 +01:00
Mark Sharp
f8301fb4bc
MDL-72533 core_calendar: improve calendar event table peformance
...
- Filter searchable courses if set.
- Sites with large groups should now experience better performance.
- Applies and optimises query against a proper date range.
Co-authored-by: Mark Sharp <mark.sharp@solent.ac.uk >
Co-authored-by: Peter Sistrom <petersistrom@catalyst-au.net >
Co-authored-by: Kevin Pham <keevan.pham@gmail.com >
2023-03-20 12:09:24 +11:00
AMOS bot
9e97a353ad
Automatically generated installer lang files
2023-03-20 00:07:41 +00:00
Brendan Heywood
6e27e9e481
MDL-77618 admin: Passwords should not auto complete
2023-03-18 13:02:58 +11:00
AMOS bot
e8cbc0b653
Automatically generated installer lang files
2023-03-18 00:07:42 +00:00
Juan Segarra Montesinos
b296667ebf
MDL-77670 course: Preserve course summary format
2023-03-17 20:54:07 +01:00
Sara Arjona
231c25e498
weekly release 4.1.2+
2023-03-17 17:58:21 +01:00
Sara Arjona
3ff1293c12
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-03-17 17:58:12 +01:00
Jun Pataleta
eda00e2c73
Merge branch 'MDL-76257-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE
2023-03-17 11:01:22 +08:00
Jun Pataleta
85b4e2312e
Merge branch 'MDL-77608-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-17 10:29:48 +08:00
AMOS bot
5707e7d40f
Automatically generated installer lang files
2023-03-17 00:07:43 +00:00
Paul Holden
71e751565c
MDL-77666 contentbank: format category names for display.
2023-03-16 23:27:13 +00:00
info@eWallah.net
b3adaaf47f
MDL-77584 currencies: Fix outdated ISO 4217 code for Zambian Kwacha
...
On 2013-01-01 the ZMK code got replaced by the new ZMW code.
AMOS BEGIN
MOV [ZMK,core_currencies],[ZMW,core_currencies]
AMOS END
2023-03-16 19:53:38 +01:00
Jake Dallimore
282df774a4
Merge branch 'MDL-76309-MOODLE_401_STABLE' of https://github.com/sh-csg/moodle into MOODLE_401_STABLE
2023-03-16 15:47:16 +08:00
Stefan Hanauska
9f5492df71
MDL-76309 mod_assign: Compatibility with zip download
2023-03-16 07:18:35 +01:00
Paul Holden
0920bd0810
MDL-76339 mod_bigbluebuttonbn: correct upgrade note fix versions.
...
Use agreed task name language string.
2023-03-15 19:15:29 +00:00
Paul Holden
a89cba84a1
Merge branch 'MDL-76339-401' of https://github.com/call-learning/moodle into MOODLE_401_STABLE
2023-03-15 19:05:57 +00:00
Andrew Nicols
f0b3ff2134
Merge branch 'MDL-77550-401' of https://github.com/dpalou/moodle into MOODLE_401_STABLE
2023-03-15 14:26:26 +08:00
Juan Segarra Montesinos
dbd7cedd24
MDL-77523 mod_data: textarea field should honor editor preferred format
2023-03-15 06:49:02 +01:00
Jun Pataleta
d5331827c4
Merge branch 'MDL-77611_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-15 10:01:04 +08:00
AMOS bot
91f503c3f6
Automatically generated installer lang files
2023-03-15 00:07:40 +00:00
Paul Holden
4ee053a278
MDL-59175 theme_boost: style inherited permission on overide page.
2023-03-14 20:58:07 +00:00
Tim Hunt
4bc3782c4c
MDL-77626 quiz statistics: Divide by zero if a random Q has max mark 0
2023-03-14 16:34:30 +00:00
Mark Johnson
5a7ad7b284
MDL-75746 mod_quiz: Fix backup and restore of quiz slots
2023-03-14 16:07:46 +00:00
Mark Johnson
34c452afb4
MDL-72124 question: Fix system-level URLs in question events
2023-03-14 15:40:26 +00:00
Eloy Lafuente (stronk7)
6c260e6ae7
weekly release 4.1.2+
2023-03-14 16:07:32 +01:00
Eloy Lafuente (stronk7)
09e74578a1
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-03-14 16:07:27 +01:00
Jun Pataleta
f1a9181a77
Merge branch 'MDL-76680/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE
2023-03-14 21:43:31 +08:00
Laurent David
8ee689f612
MDL-70976 core_files: Allow for draft files url inserted in content
...
* The file file_remove_editor_orphaned_files should take into account URL that
have been embedded in a tag content instead of an attribute (like src attribute)
* This will fix issue with inserting H5P content in calendar events.
2023-03-14 08:48:32 +01:00
Juan Segarra Montesinos
a003b3b882
MDL-76257 core: Activity intro should honor user preference on creation
2023-03-14 06:07:28 +01:00
AMOS bot
9617555887
Automatically generated installer lang files
2023-03-14 00:07:42 +00:00
Tim Hunt
a5238d8c94
MDL-77611 tool_uploaduser: fix phpunit assumptions about profile fields
2023-03-13 13:35:38 +00:00
Paul Holden
34e2d74921
MDL-77608 mod_h5pactivity: namespace component lib testcase.
2023-03-13 09:43:57 +00:00
Simey Lameze
76cb263244
MDL-77574 myoverview: wait until next button exists before clicking
2023-03-13 14:12:26 +08:00
Jake Dallimore
4ce5755a63
MDL-77382 core: fix error handling in oauth2 callback for auth'd users
...
Pass the errors back to the calling code when the user is authenticated,
otherwise, fall back on the existing redirection to the login page.
2023-03-13 10:48:21 +08:00
AMOS bot
a509b37926
Automatically generated installer lang files
2023-03-12 00:07:50 +00:00
Petr Skoda
7e96a1c887
MDL-76680 core: disable $USER->ignoresesskey on next page
2023-03-11 10:37:24 +01:00
Jun Pataleta
033858e249
Moodle release 4.1.2
2023-03-11 13:10:39 +08:00
Jun Pataleta
83c3ac53bf
weekly release 4.1.1+
2023-03-10 22:09:52 +08:00
Jun Pataleta
1e5f8ee1a2
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-03-10 22:09:50 +08:00
Ilya Tregubov
d5d64e1c8b
Merge branch 'MDL-77429-401-fix' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-10 14:52:02 +08:00
Andrew Nicols
f8b1b4092f
MDL-77429 course: Change course date to previous day
...
When a test runs just after midnight, and the user time zone is not the
same as the server timezone, and the course is created using a generator
(which runs in server time zone) but the UI presented in the user
timezone, the course start time is still in the future.
We need to create the course a day earlier to ensure that the "This
week" indicator is in the correct day.
2023-03-10 14:11:23 +08:00
Andrew Nicols
ca01668e32
MDL-77037 core_course: Add new courseindex test to classic excludelist
2023-03-10 13:32:04 +08:00
Jun Pataleta
70108cf09b
Merge branch 'MDL-77458-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-10 12:06:10 +08:00
Jake Dallimore
b9dedcd53e
Merge branch 'MDL-77517-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE
2023-03-10 11:39:52 +08:00
Andrew Nicols
aca52fa5f0
Merge branch 'MDL-77530-tool-task-checks-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE
2023-03-10 11:30:45 +08:00
Jake Dallimore
65cb8e0792
Merge branch 'MDL-77219-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-03-10 10:36:25 +08:00
Jun Pataleta
9bdbff4f3a
Merge branch 'MDL-76603-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-10 10:14:57 +08:00
Shamim Rezaie
47a1789f12
MDL-76603 gradingforms: Some A11y fixes on editing form
...
- Use span instead of dummy input elements because form elements need a
label
- Sufficient size for target is at least 24px by 24px (Success Criteria
2.5.8)
2023-03-10 10:11:34 +08:00
Shamim Rezaie
394a0520d0
MDL-76603 mod_assign: Move advanced grading grades out of the tables
2023-03-10 10:11:34 +08:00
Shamim Rezaie
79491b8a90
MDL-76603 gradingform_rubric: preserve bg colour on hover
2023-03-10 10:11:34 +08:00
Shamim Rezaie
68460cad9b
MDL-76603 gradingform_rubric: fix roles
...
- set the role of table to none
- moved aria-label from <table> element (that doesn't has role="none")
to the element that has the radiogroup role
- if it's not radiogroup/radio, it is list/listitem
- removed aria-label from the rubric table and used caption instead
2023-03-10 10:11:34 +08:00
Andrew Nicols
23e2b0358c
Merge branch 'MDL-76849-401-5' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-03-10 09:29:40 +08:00
Jun Pataleta
98f95845b1
Merge branch 'MDL-70613-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-10 09:19:39 +08:00
Sara Arjona
69a91b30cc
Merge branch 'MDL-77323-401' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_401_STABLE
2023-03-09 16:48:39 +01:00
Paul Holden
2ff317ac8a
MDL-70613 mod_feedback: cast feedback text values for table sorting.
...
Specifically avoids Oracle ORA-00932 (inconsistent CLOB datatype).
2023-03-09 14:59:11 +00:00
Andrew Nicols
8112ce8376
Merge branch 'MDL-77329-401-clr' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2023-03-09 22:19:08 +08:00
Andrew Nicols
5feea19e46
Merge branch 'MDL-77463-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-09 22:10:25 +08:00
Andrew Nicols
d5b43c03a5
Merge branch 'MDL-77429-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-09 22:03:46 +08:00
Andrew Nicols
f262b2223f
MDL-77037 core_course: Coding style fix in Behat feature
2023-03-09 21:59:41 +08:00
Andrew Nicols
3c1c543c53
Merge branch 'MDL-77037-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-03-09 21:59:37 +08:00
James C
370c67e7dc
MDL-77329 course: Prevent collapse state loss
2023-03-09 11:56:00 +01:00
Sara Arjona
ab34f215a9
Merge branch 'MDL-76940-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE
2023-03-09 10:54:50 +01:00
Jun Pataleta
002f9eb7da
Merge branch 'MDL-77533-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-09 16:35:24 +08:00
Jun Pataleta
bb61d8392b
Merge branch 'MDL-77559-401-2' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-09 15:57:44 +08:00
Laurent David
bdd1708455
MDL-77037 core_courseformat: Refresh course index
...
* Refresh course index when language change
2023-03-09 08:44:22 +01:00
Brendan Heywood
3c86170a8d
MDL-77530 tool_task: Fix coding errors in checks
2023-03-09 15:44:01 +11:00
Andrew Nicols
155f08fc68
Merge branch 'MDL-77420-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE
2023-03-09 11:58:41 +08:00
Andrew Nicols
3a8b5523d5
Merge branch 'MDL-77014-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-03-09 11:42:03 +08:00
Andrew Nicols
fbc3f7f245
Merge branch '76945-bootstrap-dropdowns-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE
2023-03-09 10:54:35 +08:00
Tim Hunt
42f41fc174
MDL-77467 retore: add progress tracking to potentially slow steps
2023-03-09 10:46:51 +08:00
Jun Pataleta
ed6b43b4f2
Merge branch 'MDL-77225_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-09 10:43:06 +08:00
Andrew Nicols
6a25c5c8d0
Merge branch 'MDL-77418-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-09 10:36:06 +08:00
Andrew Nicols
3a363d0eec
Merge branch 'MOODLE_401_STABLE' of https://github.com/fcbsd/moodle into MOODLE_401_STABLE
2023-03-09 10:29:43 +08:00
Andrew Nicols
783c542d31
Merge branch 'MDL-77539-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-09 10:09:41 +08:00
Andrew Nicols
cd48ae56c7
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Jun Pataleta
d5cf25faf5
MDL-76849 qtype_essay: Allow question number inclusion in answer fields
...
* Have the following classes extend qtype_essay_format_renderer_base
as they have been meant to:
- qtype_essay_format_editor_renderer
- qtype_essay_format_noinline_renderer
- qtype_essay_format_plain_renderer
* Add a question_display_options instance variable for
qtype_essay_format_renderer_base so its subclasses can use it to
generate the label for their respective answer fields.
2023-03-09 08:57:47 +08:00
Jun Pataleta
787278601c
MDL-76849 qtype_shortanswer: Include question number in answer fields
2023-03-09 08:57:47 +08:00
Jun Pataleta
880532c71a
MDL-76849 qtype_numerical: Include question number in answer fields
...
* Also covers its qtype_calculated and qtype_calculatedsimple
which extend its renderer class
2023-03-09 08:57:47 +08:00
Jun Pataleta
03b549f225
MDL-76849 qtype_multianswer: Include question number in answer fields
...
* Add the question number to the answer fields if it's available.
* Improve multiple choice question accessibility:
- Label the multiple choice question groups appropriately by
enclosing them in fieldset tags and applying sr-only legend tags to
label them.
- Apply Bootstrap form-check classes to the radio buttons, so they
are rendered better and become responsive as well. This also helps
avoid the use of the table element for layout purposes when
rendering horizontal multiple choice sub-questions.
2023-03-09 08:57:47 +08:00
Jun Pataleta
7b6ff446f4
MDL-76849 qtype_match: Include question number in answer fields
2023-03-09 08:57:47 +08:00
Jun Pataleta
9ddbc2d7f0
MDL-76849 qtype_truefalse: Include question number in answer fields
...
* Improve accessibility as well by grouping the radio buttons
in a fieldset.
2023-03-09 08:57:47 +08:00
Jun Pataleta
fbffd9b148
MDL-76849 qtype_multichoice: Include question number in answer fields
...
* Improve accessibility as well by grouping the radio buttons/checkboxes
in a fieldset.
2023-03-09 08:57:47 +08:00
Jun Pataleta
2ad0871a82
MDL-76849 qtype_ddwtos: Include question number in answer fields
...
* Plus include the item number so users will have an idea which blank
numbers they are currently on.
2023-03-09 08:57:47 +08:00
Jun Pataleta
5847b0026e
MDL-76849 qtype_gapselect: Include question number in answer fields
2023-03-09 08:57:47 +08:00
Jun Pataleta
6c3f1d55a8
MDL-76849 qtype: Add a questionidentifier instance variable
...
* Add an instance variable to question_display_options to store the
identifier associated with the question being rendered.
* This information can be used by question type plugins to improve the
accessibility of the answer fields being rendered by adding the
question identifier to the answer fields' labels.
* Adding the question identifier to the label can be achieved by using
question_display_options::add_question_identifier_to_label().
Co-authored-by: Tim Hunt <t.j.hunt@open.ac.uk >
2023-03-09 08:57:47 +08:00
Andrew Nicols
04787fbbc9
MDL-77559 js: Revert "MDL-75012 core: Bump NodeJS version requirements"
...
This reverts commit 3416ee9890 .
2023-03-09 08:21:36 +08:00
Andrew Nicols
8c13a1b817
MDL-77559 js: Revert "MDL-75012 js: Bump standard dependencies"
...
This reverts commit 456446215e .
2023-03-09 08:21:22 +08:00
Andrew Nicols
fefd6f2bd8
MDL-77559 js: Revert "MDL-75012 js: Remove grunt-contrib-uglify"
...
This reverts commit ca4614c299 .
2023-03-09 08:21:19 +08:00
Andrew Nicols
d209e2cc57
MDL-77559 js: Revert "MDL-75012 js: Bump stylelint and components"
...
This reverts commit 644e9da8bb .
2023-03-09 08:21:15 +08:00
Andrew Nicols
a96fcc22ca
MDL-77559 js: Revert "MDL-75012 js: Update browserslist"
...
This reverts commit bf81d5f0ba .
2023-03-09 08:21:12 +08:00
Andrew Nicols
230f8247e8
MDL-77559 js: Revert "MDL-75012 js: Bump node-sass"
...
This reverts commit 0a0266ae5e .
2023-03-09 08:21:07 +08:00
Andrew Nicols
91eb06347e
MDL-77559 js: Revert "MDL-75012 js: Audit fix"
...
This reverts commit 8960a6ee91 .
2023-03-09 08:21:03 +08:00
Andrew Nicols
63ecbc57d6
MDL-77559 js: Revert "MDL-75012 js: Use our own jsdoc wrapper"
...
This reverts commit 89f7402fc2 .
2023-03-09 08:20:57 +08:00
Andrew Nicols
f483380e01
MDL-77559 js: Revert "MDL-75012 js: Bump shifter to new version"
...
This reverts commit c2c1727dd5 .
2023-03-09 08:20:53 +08:00
Andrew Nicols
0da20453f7
MDL-77559 js: Revert "MDL-75012 js: Put shifter on a diet"
...
This reverts commit 73181c1310 .
2023-03-09 08:20:49 +08:00
Andrew Nicols
c90a6263bc
MDL-77559 js: Revert "MDL-75012 js: Remove unused babel-preset-minify dependency"
...
This reverts commit 364458e36a .
2023-03-09 08:20:45 +08:00
Andrew Nicols
df1dc82fee
MDL-77559 js: Revert "MDL-75012 js: Bump Babel dependencies"
...
This reverts commit b963401b8f .
2023-03-09 08:20:42 +08:00
Andrew Nicols
34cae8d339
MDL-77559 js: Revert "MDL-75012 js: Remove orphaned source maps"
...
This reverts commit 05cdfa4da4 .
2023-03-09 08:20:05 +08:00
AMOS bot
733702e72f
Automatically generated installer lang files
2023-03-09 00:07:41 +00:00
Tim Hunt
7db1da61ee
MDL-77225 questions: fix regrade of descriptions in finished attempts
...
The added logic is similar to the logic in other behaviours, and the new test fails without it.
2023-03-08 19:00:43 +00:00
Sara Arjona
6aafa1eea6
Merge branch 'MDL-77464_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-08 16:14:47 +01:00
Laurent David
ed08a4ee52
MDL-76940 core_courseformat: Index refreshing when role switch
...
* Hidden sections and content should not visible to students when switching role
2023-03-08 11:51:51 +01:00
Ilya Tregubov
4eb1b67d68
Merge branch 'MDL-77414-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-08 17:05:13 +08:00
Angelia Dela Cruz
598b18417d
MDL-77463 Behat: Coverage for assign submission notification to teacher
2023-03-08 17:01:35 +08:00
Angelia Dela Cruz
cd609bd915
MDL-77429 Behat: Add coverage for changing course format as teacher
2023-03-08 15:48:28 +08:00
Luca Bösch
5e4d3c4d5b
MDL-77014 course: Single activity format course title multilang.
2023-03-08 08:05:14 +01:00
Angelia Dela Cruz
311eb0ddd2
MDL-77414 Behat: Coverage for "Require all group members submit" setting
2023-03-08 14:47:53 +08:00
Dani Palou
c90c9b04f6
MDL-77550 lesson: Format decimals in feedback page
2023-03-08 07:46:16 +01:00
Sara Arjona
6d70b125a8
Merge branch 'MDL-77440_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-08 07:23:43 +01:00
Jun Pataleta
38cc21db3c
Merge branch 'MDL-77472-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-08 11:53:41 +08:00
Petr Skoda
3caeef44d2
MDL-77524 filter_algebra: fix error message
2023-03-08 11:26:58 +08:00
Paul Holden
9a6fdc2aeb
MDL-75517 report_participation: filter report by viewable roles only.
2023-03-08 10:37:42 +08:00
Michael Hawkins
5e57bfffac
MDL-77204 mod_wiki: Clean filename in Moodle1 backup
2023-03-08 10:33:34 +08:00
Paul Holden
fac46a19f7
MDL-77046 availability: validate profile field in condition.
2023-03-08 10:24:17 +08:00
Paul Holden
01fc104779
MDL-76809 gradereport_history: pre-filter report userids filter.
...
Ensure current user is able to access each of the provided userids.
2023-03-08 10:00:50 +08:00
Ilya Tregubov
e7e5b659e8
Merge branch 'MDL-77446-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-08 09:18:54 +08:00
Andrew Nicols
b9f8373e3f
MDL-77470 editor_tiny: Apply upstream security fixes
...
- CVE-2022-23494
2023-03-08 01:00:30 +00:00
Petr Skoda
0292427f51
MDL-76645 filter_data: fix link title attribute
2023-03-08 01:00:30 +00:00
Paul Holden
0518f875cf
MDL-77129 tool_lp: remove redundant call to set page header.
2023-03-08 01:00:30 +00:00
Paul Holden
c2d0c7359d
MDL-77008 mod_data: require sesskey to reset module templates.
2023-03-08 01:00:30 +00:00
Lars Bonczek
d5ec540381
MDL-75659 core: Don't render component argument twice in mustache pix helper
2023-03-08 01:00:30 +00:00
Jun Pataleta
3c00ca0bb2
Merge branch 'MDL-77416-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-03-08 08:50:24 +08:00
AMOS bot
3800bd6cfd
Automatically generated installer lang files
2023-03-08 00:07:44 +00:00
Roberto Bravo
9fbd5fb219
MDL-77256 tool_uploaduser: fix get allowed roles for courses
...
During user upload the permission to assign roles is checked in the wrong context
2023-03-07 18:41:00 +01:00
Tim Hunt
bdcf29ab29
MDL-77464 questions: regrading was losing question_attempt metadata
...
This is very similar to MDL-77090, but at the time, I missed that this
also needed to be handled. (Question metadata is, I think, only used
by the quiz 'Try another question like this one' feature.)
2023-03-07 13:45:04 +00:00
Tim Hunt
795e8ac70a
MDL-77464 questions: update comments in question_attempt_step
...
The class comment had some inaccuracies which I fixed.
I also replaced all uses of @link with @see.
2023-03-07 13:44:59 +00:00
Jun Pataleta
550d9c51ca
MDL-76849 question: New lang strings for answer fields
2023-03-07 21:00:32 +08:00
Sara Arjona
e3066f3efd
MDL-77219 behat: Fix issue with headless
...
Although the error in the "I check that I can import recordings into
the Recording activity and then if I delete them" scenario is unrelated
to this patch, this commit needs to be applied too, in order to avoid
behat failures (because the "Import recording links" button is in the
edge of the window).
This is a backport of MDL-74272.
2023-03-07 11:03:23 +01:00
Sara Arjona
acc250a824
MDL-77219 theme_boost: Remove plugin name on course page
...
In 4.0, the plugin name was added above their name. Based on the community
feedback and the research done by the UX team, this needs to be removed.
This commit removes the activity name when edit mode is disabled.
This is a backport of MDL-74272.
2023-03-07 11:03:23 +01:00
Angelia Dela Cruz
602061bf21
MDL-77446 Behat: Add coverage for changing uploaded file details
2023-03-07 16:12:07 +08:00
Andrew Nicols
7a5f859f08
Merge branch 'MDL-77094_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-07 12:10:18 +08:00
Andrew Nicols
7f4d60b38a
Merge branch 'MDL-77336-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-03-07 12:02:08 +08:00
AMOS bot
ca6167bd2d
Automatically generated installer lang files
2023-03-07 00:07:41 +00:00
Tim Hunt
99a6ea40ac
MDL-77440 quiz: fix nav error reviewing after redoing a question
2023-03-06 16:12:26 +00:00
Sara Arjona
f7ac8b3ff9
Merge branch 'MDL-77460-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-03-06 16:34:03 +01:00
Paul Holden
1818a6841b
MDL-77539 blog: null coalesce external blog form name/description.
...
We can't pass null to most string related functions (e.g. `trim`) in
PHP8.1 onwards.
2023-03-06 14:49:56 +00:00
Paul Holden
f46fe1e78e
MDL-77472 grade: correct URL param type for adding tracking params.
2023-03-06 09:49:54 +00:00
Meirza
35ea7d00c0
MDL-77336 admin: fix typo in adminpreset data settings.
2023-03-06 16:32:25 +07:00
Paul Holden
859f2c9d5d
MDL-77533 customfield: fix exception thrown during handler retrieval.
2023-03-06 09:27:14 +00:00
Andrew Nicols
91ae0abd0a
Merge branch 'MDL-77462_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-05 22:12:35 +08:00
Juan Segarra Montesinos
f9ec44d858
MDL-77517 js: Disable "Edit mode" button when clicked
...
When clicked, disable the "Edit mode" button just before doing a
redirection. It's been reported that after clicling several times the
button, an inconsistent state between the button and the editing mode is
achieved. The patch mitigates the issue.
2023-03-05 07:09:24 +01:00
Víctor Déniz
98f10149d6
MDL-77416 lang: Use fixed strings in tests
2023-03-03 13:27:01 +00:00
Helen Foster
192bad5ba2
MDL-77416 lang: Import fixed English strings (en_fix)
2023-03-03 13:25:53 +00:00
Tim Hunt
633ad42d6e
MDL-77462 core_question: avoid passing null to preg_match
2023-03-03 08:48:09 +00:00
Jun Pataleta
21ef5c5f84
Merge branch 'MDL-77428-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-03 16:35:12 +08:00
Laurent David
a00d72c622
MDL-76339 mod_bigbluebuttonbn: Update dismissed recordings
...
* When the server is not reachable (or recordings are not reacheable)
the recording is set to RECORDING_STATUS_DISMISSED and is then
not visible in the list.
* Add a CLI script to solve potential issue with DISMISSED recordings
2023-03-03 06:39:02 +01:00
Jake Dallimore
f49f934786
weekly release 4.1.1+
2023-03-03 11:08:32 +08:00
Jake Dallimore
74fe22032b
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-03-03 11:08:29 +08:00
Andrew Nicols
2169252d26
MDL-77458 core: Add supported php version info to phpcs config
2023-03-02 20:37:52 +08:00
Simey Lameze
889290257d
MDL-77460 behat: improve roles.feature test
2023-03-02 18:25:11 +08:00
Angelia Dela Cruz
8422698a06
MDL-77428 Behat: Add coverage for forum post word count
2023-03-02 13:46:02 +08:00
Jun Pataleta
05cdfa4da4
MDL-75012 js: Remove orphaned source maps
2023-03-02 13:11:43 +08:00
Jun Pataleta
a377bf30c4
Merge branch 'MDL-75012-401-5' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-02 12:31:09 +08:00
Andrew Nicols
288620b0b4
MDL-75012 js: Full build of all grunt things
2023-03-02 12:15:25 +08:00
Andrew Nicols
b963401b8f
MDL-75012 js: Bump Babel dependencies
...
Please note that whilst some dependencies have higher versions
available, these are not compatible at this time.
2023-03-02 12:15:25 +08:00
Andrew Nicols
364458e36a
MDL-75012 js: Remove unused babel-preset-minify dependency
2023-03-02 12:15:25 +08:00
Andrew Nicols
ccec093aaa
Merge branch 'MDL-76825-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-03-02 12:05:25 +08:00
Jun Pataleta
3b9a4c5e69
Merge branch 'MDL-75719-401-4' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-03-02 12:02:29 +08:00
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
Ilya Tregubov
1e26496cdd
MDL-75719 completion: Add Behat scenario for completion states.
2023-03-02 11:04:08 +08:00
Ilya Tregubov
23915a35ae
MDL-75719 completion: Fix unit tests and Behat tests.
...
Fix tests since we changed behavior of completions (completion
state an UI).
2023-03-02 11:04:08 +08:00
Ilya Tregubov
3ebd25ff48
MDL-75719 completion: Fix viewed criteria.
...
When we unlock completion criteria and save changes 'viewed' criteria
still should be completed if user has viewed activity before. Seems
that that was broken by recent changes. Fixing here.
2023-03-02 11:04:08 +08:00
Ilya Tregubov
7e3d9db579
MDL-75719 completion: Fix completion state for hidden grade items.
...
For hidden grade items we used to mark students as completed if
they have any grade. But this was not working correctly when we
also set pass grade for activity and completion criteria based
on pass grade. So we will have these completion states
Competion criteria 'Receive grade':
No grade - COMPLETION_INCOMPLETE
Grade visible, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade visible, failed passing grade - COMPLETION_COMPLETE_FAIL
Grade hidden - COMPLETION_COMPLETE
Completion criteris 'Receive passing grade'
No grade - COMPLETION_INCOMPLETE
Grade visible, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade visible, failed passing grade - COMPLETION_COMPLETE_FAIL
Grade hidden, achieved passing grade - COMPLETION_COMPLETE_PASS
Grade hidden, failed passing grade - COMPLETION_COMPLETE_FAIL_HIDDEN
2023-03-02 11:04:08 +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
AMOS bot
58d27b5e04
Automatically generated installer lang files
2023-03-02 00:07:48 +00:00
fcbsd
d35affa0fd
MDL-77365 count_words: Make span> an inline tag
...
This commit merges the fix and test for the incorrect counting of
words in essay type questions. The issue is due <span> tags not being
counted as inline tags.
2023-03-01 16:13:44 +00: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
hieuvu
d07d010288
MDL-77323 question: Prevent drag item sent into two drop zone
2023-03-01 14:47:41 +07: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
AMOS bot
9e79eff429
Automatically generated installer lang files
2023-03-01 00:07:39 +00: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
Andrew Nicols
73181c1310
MDL-75012 js: Put shifter on a diet
...
This commit switches to a new custom version of Shifter which sees it
put on a massive diet.
Many of the standard Shifter features are totally unused by Moodle, but
they add dependency spaghetti. Some of those dependencies will start to
cause us issues as they have not been updated for a very long time, are
no longer maintained, and are no longer compatible with anything
resembling a recent version of NodeJS.
2023-02-28 10:22:45 +08:00
Andrew Nicols
c2c1727dd5
MDL-75012 js: Bump shifter to new version
...
This resolves an issue identified in 77083 which identified that GitHub
hashes shouldn't be treated as repeatable.
Whilst GitHub have reverted this change, it's still worth making this
change.
2023-02-28 10:19:51 +08:00
Andrew Nicols
89f7402fc2
MDL-75012 js: Use our own jsdoc wrapper
...
grunt-jsdoc is abandoned and only works with an older version of jsdoc.
This is a very simple wrapper around jsdoc itself.
2023-02-28 10:19:51 +08:00
Andrew Nicols
8960a6ee91
MDL-75012 js: Audit fix
2023-02-28 10:19:51 +08:00
Andrew Nicols
0a0266ae5e
MDL-75012 js: Bump node-sass
2023-02-28 10:19:51 +08:00
Andrew Nicols
bf81d5f0ba
MDL-75012 js: Update browserslist
...
To avoid build changes we exclude older versions of Android browser
2023-02-28 10:19:51 +08:00
Andrew Nicols
644e9da8bb
MDL-75012 js: Bump stylelint and components
2023-02-28 10:19:50 +08:00
Andrew Nicols
ca4614c299
MDL-75012 js: Remove grunt-contrib-uglify
...
We stopped using this when we updated our processes to support ESMs in
MDL-62497. Removal of the dependency was missed at the time.
2023-02-28 10:19:50 +08:00
Andrew Nicols
456446215e
MDL-75012 js: Bump standard dependencies
...
This change bumps dependencies which have no impact upon the build
process
2023-02-28 10:19:50 +08:00
Andrew Nicols
3416ee9890
MDL-75012 core: Bump NodeJS version requirements
2023-02-28 10:19:50 +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
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
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
Andrew Nicols
1b1e1801b7
Merge branch 'MDL-77102-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-16 11:51:31 +08:00
Jun Pataleta
5f61f7f3e7
Merge branch 'MDL-76584-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-16 11:49:06 +08:00
Andrew Nicols
41c1731431
Merge branch 'MDL-74698_401' of https://github.com/jonof/moodle into MOODLE_401_STABLE
2023-02-16 11:06:44 +08:00
Ilya Tregubov
9cb0e85cf9
MDL-76313 forum: code style changes.
2023-02-16 11:00:28 +08:00
Ilya Tregubov
dd9073a232
Merge branch '76313-forum-improve-accessibility-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE
2023-02-16 11:00:12 +08:00
Andrew Nicols
de285364c5
Merge branch 'MDL-76791-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-02-16 10:53:39 +08:00
Ilya Tregubov
8d585d0c79
MDL-75379 core: Code style changes.
2023-02-16 10:49:51 +08:00
Ilya Tregubov
960bff3227
Merge branch 'MDL-75379_401' of https://github.com/larsbonczek/moodle into MOODLE_401_STABLE
2023-02-16 10:49:37 +08:00
Andrew Nicols
eed3f09aa0
Merge branch 'MDL-76878-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-16 10:43:56 +08:00
Ilya Tregubov
a001500897
Merge branch 'MDL-73519-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-02-16 09:34:17 +08:00
Andrew Nicols
8c16eb18f6
Merge branch 'MDL-76478-password-unmask-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE
2023-02-15 23:25:35 +08:00
Andrew Nicols
927b0fc34d
Merge branch 'MDL-76948_401' of https://github.com/larsbonczek/moodle into MOODLE_401_STABLE
2023-02-15 23:01:41 +08:00
Paul Holden
a457f1b1cd
Merge branch 'MDL-77147_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-02-15 11:49:22 +00:00
Ilya Tregubov
946504b58d
Merge branch 'MDL-75230-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-02-15 16:12:50 +08:00
Andrew Nicols
ae1447060e
Merge branch 'MDL-77241-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-15 11:14:35 +08:00
Jun Pataleta
e9e2c481fd
Merge branch 'MDL-77156-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-02-15 11:12:11 +08:00
Jun Pataleta
16e62aa2ad
Merge branch 'MDL-77212-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-15 11:09:11 +08:00
Jun Pataleta
5432766411
Merge branch 'MDL-77223-401' of https://github.com/roland04/moodle into MOODLE_401_STABLE
2023-02-15 11:07:11 +08:00
AMOS bot
2a77c6f1d5
Automatically generated installer lang files
2023-02-15 00:07:52 +00:00
Paul Holden
e9a32f3463
Merge branch 'MDL-77140-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-02-14 15:51:37 +00:00
Paul Holden
42c58dce39
Merge branch 'MDL-75454-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-02-14 15:06:03 +00:00
Paul Holden
be6cb6ab13
MDL-77241 course: optional chaining safety for section toggles.
2023-02-14 13:15:29 +00:00
Paul Holden
51254db574
Merge branch 'MDL-63608_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2023-02-14 11:59:53 +00:00
Ilya Tregubov
cffc56a17c
Merge branch 'MDL-76947-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-02-14 13:53:04 +08:00
Ilya Tregubov
ff449751d9
Merge branch 'MDL-76620-401' of https://github.com/call-learning/moodle into MOODLE_401_STABLE
2023-02-14 13:26:21 +08:00
David Woloszyn
a869fbf33e
MDL-75454 cache: Reduced exposure of sesskey param
2023-02-14 11:28:51 +11:00
Tim Hunt
bdcc5b7a59
MDL-77210 quiz: fix regrade for attempts with redone questions
2023-02-13 16:58:26 +00:00
Mikel Martín
8d9a898bb5
MDL-77223 reportbuilder: Fix first report column as integer
2023-02-13 16:17:39 +01:00
Lars Bonczek
35792ea06a
MDL-75379 core: Use non-static template cache
2023-02-13 12:40:20 +01:00
Paul Holden
9f7219844e
MDL-76611 cohort: prevent duplicate idnumber in inplace editable.
2023-02-13 10:33:29 +00:00
Paul Holden
21986200d7
MDL-77212 tiny_accessibilitychecker: remove unused lang string fetch.
2023-02-13 08:49:33 +00:00
Ilya Tregubov
94bb9b2b73
Merge branch 'MDL-77189-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-02-13 13:43:34 +08:00
Simey Lameze
fde83c33a8
MDL-77189 behat: basic coverage for wikimedia repository
2023-02-13 13:23:45 +08:00
Jun Pataleta
301fa85c26
Merge branch '76314-forum-fix-forumtype-and-groupmode-validation-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE
2023-02-13 11:38:55 +08:00
Anupama Sarjoshi
7bee650a24
MDL-63608 quiz: Fix Access order when manually grading quizzes
...
Changes done to fix access order of attempts that need manual grading.
Changed button text from 'Save and go to next page' to 'Save and show next' to improve UI.
2023-02-10 17:46:39 +00:00
Luca Bösch
46d8e08a16
MDL-77156 enrol_self: deprecated trim() of null in PHP 8.1
2023-02-10 18:16:58 +01:00
Paul Holden
eb84455a05
weekly release 4.1.1+
2023-02-10 13:47:33 +00:00
Paul Holden
3da5ef8e9c
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2023-02-10 13:47:32 +00:00
Julien Boulen
2b568f1c93
MDL-76314 forum: add form check to prevent combining wrong parameters
...
Form validation prevents combining the forum type "single discussion" and the group mode "separate groups".
2023-02-10 11:07:45 +01:00
Jake Dallimore
ec02c39dbb
MDL-77140 mod_lti: fix content item return for new TinyMCE versions
2023-02-10 10:10:24 +08:00
Andrew Nicols
0dc15ee619
Merge branch 'MDL-76904-401' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_401_STABLE
2023-02-09 12:04:33 +08:00
Andrew Nicols
1cddc8edcb
Merge branch 'MDL-74755-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-09 11:44:27 +08:00
Jun Pataleta
fbe9dc4ecf
Merge branch 'MDL-77052-401' of https://github.com/Utdanningsdirektoratet/moodle into MOODLE_401_STABLE
2023-02-09 11:27:30 +08:00
Andrew Nicols
7906636a3a
Merge branch 'MDL-76354-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-09 10:59:21 +08:00
Andrew Nicols
58814af9f1
Merge branch 'MDL-77018_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-02-09 10:51:48 +08:00
Andrew Nicols
df96d98c39
Merge branch 'MDL-76066-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-02-09 10:47:58 +08:00
Andrew Nicols
d3040a763a
Merge branch 'MDL-77057-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-09 10:21:06 +08:00
Andrew Nicols
c3b36c6a34
Merge branch 'MDL-76499-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-02-09 10:04:30 +08:00
Andrew Nicols
1ee066cecd
Merge branch 'MDL-70586-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
2023-02-09 09:42:29 +08:00
Paul Holden
72c8793ae7
Merge branch 'MDL-76672-401' of https://github.com/Utdanningsdirektoratet/moodle into MOODLE_401_STABLE
2023-02-08 14:57:34 +00:00
Paul Holden
130f5c1dd6
Merge branch 'MDL-76542-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-02-08 14:22:11 +00:00
Laurent David
96aaae3f19
MDL-76620 mod_bigbluebuttonbn: Fix guest behat test
...
* Refactor guest_access.feature behat test
2023-02-08 14:28:06 +01:00
Laurent David
52ed4a47f7
MDL-76620 mod_bigbluebuttonbn: Fix guest access with forcelogin
...
*With "forcelogin" setting turned on, the new external guest
links in the bigbluebutton plugin do not work but show the login screen instead
2023-02-08 14:28:06 +01:00
Paul Holden
daa7e5b4e2
Merge branch 'MDL-73692-401-Add-support-for-missing-timestamps-to-rss-block' of https://github.com/melanietreitinger/moodle into MOODLE_401_STABLE
2023-02-08 11:22:50 +00:00
Melanie Treitinger
ab619ae38d
MDL-73692 blocks: Add support for missing timestamps to rss block.
2023-02-08 11:19:27 +01:00
Jun Pataleta
6cb71e3e8b
Merge branch 'MDL-74905_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-02-08 17:19:27 +08:00
Angelia Dela Cruz
3b4246cd89
MDL-75230 behat: Lesson Behat tests optimised
...
Replace steps that manually add Lesson instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2023-02-08 15:49:42 +08:00
Simey Lameze
d17117ab02
MDL-76542 behat: add step to go to user edit page directly
2023-02-08 12:24:27 +08:00
Simey Lameze
2158f5c2e6
MDL-76542 behat: create custom profile fields using data generators
...
This commit also adds a new test to verify the custom profile fields
works using the user interface.
2023-02-08 12:24:26 +08:00
Jun Pataleta
dbe40db138
Merge branch 'MDL-76569-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-02-07 22:49:08 +08:00
Lars Bonczek
53ad452d6c
MDL-74433 mod_assign: Fix logging of submission removal
2023-02-07 12:34:42 +01:00
Jun Pataleta
a574be993c
Merge branch 'MDL-76089-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-02-07 15:34:51 +08:00
Marina Glancy
d9d9d42c81
MDL-76089 lib: upgrade horde library
2023-02-07 15:29:32 +08:00
Andrew Nicols
0b586e839d
Merge branch 'MDL-77023-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-07 12:48:09 +08:00
Andrew Nicols
22141c2f8d
Merge branch 'MDL-77123-401' of https://github.com/cameron1729/moodle into MOODLE_401_STABLE
2023-02-07 12:39:48 +08:00
Andrew Nicols
61f1700fbf
Merge branch 'mdl-76729_401' of https://github.com/james-cnz/moodle into MOODLE_401_STABLE
2023-02-07 12:37:16 +08:00
Andrew Nicols
0ce350e78a
Merge branch 'MDL-75946-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE
2023-02-07 10:44:40 +08:00
sam marshall
d2c0dd4f6b
MDL-76791 core_cache: Locking breaks for multiple-identifiers store
...
Cache locking fails if the cache store supports multiple identifiers
(in core, the only two which do are cachestore_static and
cachestore_mongodb, so this is unlikely to cause severe problems).
2023-02-06 15:47:25 +00:00
Paul Holden
5f5355065a
Merge branch 'MDL-77078-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-02-06 13:33:04 +00:00
Andrew Nicols
b9dece93d8
Merge branch 'MDL-77042-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-06 21:17:04 +08:00
Audun Jørstad Lillekjendlie
b84ad66fbe
MDL-76672 block_myoverview: add role attribute for filter div
2023-02-06 14:07:37 +01:00
Audun Jørstad Lillekjendlie
7b787cd99f
MDL-77052 block_recentlyaccesseditems: HTML role attribute
...
HTML elements with role=list must contain children with role=listitem
2023-02-06 13:49:18 +01:00
Tim Hunt
6e72a4ed50
MDL-77147 question admin: optimised the query in admin/qtypes.php
2023-02-06 12:47:06 +00:00
Paul Holden
d69579a060
Merge branch 'MDL-76370-publicpaths-proxying-MOODLE_401_STABLE' of https://github.com/jaydn/moodle into MOODLE_401_STABLE
2023-02-06 11:02:45 +00:00
Marina Glancy
5f3524f3df
MDL-72182 my: tests for resetting dashboard
...
Co-authored-by: Paul Holden <paulh@moodle.com >
2023-02-06 09:34:27 +00:00
Paul Holden
bdd380ffea
MDL-72182 user: cross-DB compatibility for getting user pages/blocks.
2023-02-06 09:34:27 +00:00
Paul Holden
cd0d9b910e
MDL-74755 block_accessreview: stricter checking of enabled config.
2023-02-06 09:31:39 +00:00
David Woloszyn
177f619b12
MDL-76947 css: Fixed layout regression on dropdown menus
2023-02-06 16:05:31 +11:00
Andrew Nicols
b21e31b016
Merge branch 'MDL-77091-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-06 12:59:33 +08:00
Angelia Dela Cruz
6ce00e289f
MDL-77078 Behat: Coverage for assignment submission statement
2023-02-06 10:47:36 +08:00
AMOS bot
f5e6601ab5
Automatically generated installer lang files
2023-02-06 00:07:41 +00:00
Anastasios Bithas
f23463f8d6
MDL-73642 mod_assign: Disable draft option if submission already made
2023-02-04 18:38:10 +02:00
Andrew Nicols
a41a3281de
Merge branch 'MDL-76662-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-04 21:38:10 +08:00
Eloy Lafuente (stronk7)
f24f47992a
MDL-74905 ci: travis and gha, some adjustments
...
Apply for some of the improvements made for 4.2:
- Use our own moodlehq/mysql-action
- Define the tmpfs size and ensure that binlogs are disabled.
- 401_STABLE doesn't require the php-xmlrpc extension.
2023-02-03 19:48:05 +01:00
Eloy Lafuente (stronk7)
ec9f3e8976
MDL-74905 environment: Apply agreed changes:
...
- PHP 8.0 required.
- Moodle 3.11.8 required (first minor supporting PHP 8.0 officially).
- MySQL 8.0 required.
- MariaDB 10.6.7 required.
- PostgreSQL 13 required.
- php-sodium extension required.
- 64-bit PHP required.
2023-02-03 19:48:05 +01:00
Eloy Lafuente (stronk7)
e8e1faad78
MDL-74905 environment: 4.2 base information
...
This is a direct copy of the 4.1 information, to
have all the real changes under control in next commit(s).
2023-02-03 19:48:05 +01:00
Eloy Lafuente (stronk7)
a8ff0f7271
MDL-74905 composer: Small update to behat/behat 3.12.0
...
It comes with some fixes for PHP 8.1 that we may need here.
Generated following the instructions @ https://docs.moodle.org/dev/Composer .
2023-02-03 19:48:05 +01:00
Paul Holden
79b9e6f36e
Merge branch 'MDL-76869-401' of https://github.com/cameron1729/moodle into MOODLE_401_STABLE
2023-02-03 14:58:27 +00:00
Paul Holden
9fe490b715
Merge branch 'MDL-77090_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-02-03 14:46:51 +00:00
Paul Holden
ae355c5749
Merge branch 'MDL-76447-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-02-03 14:31:30 +00:00
Tim Hunt
f93fa35ecf
MDL-77090 questions: regrade of interactive attempts lose tries count
...
The behaviour-specific data was getting corrupted when the regrade
recreated the first step, because $oldstep->get_behaviour_data() was
stripping off the leading '-' characters from the names, and they were
not being added back.
2023-02-03 10:52:45 +00:00
Jun Pataleta
cb6dc699b8
weekly release 4.1.1+
2023-02-03 15:43:36 +08:00
Angelia Dela Cruz
9cc3769ba6
MDL-76499 behat: Resource Behat tests optimised
...
Replace steps that manually add resource instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
Co-authored-by: David Woloszyn <david.woloszyn@moodle.com >
2023-02-03 13:32:58 +08:00
David Woloszyn
562d62474e
MDL-75946 lib_horde: Fixed deprecated FILTER_SANITIZE_STRING
2023-02-03 12:58:32 +11:00
David Woloszyn
226bfb0348
MDL-75946 core_h5p: Fixed deprecated FILTER_SANITIZE_STRING
2023-02-03 12:58:32 +11:00
Jonathon Fowler
39e58054b1
MDL-74698 backup: correctly restore course format options
...
Old-version backups (< 3.11.7, < 4.0.1) lose their course-level format
options when restoring into newer versions after the backup structure
was changed.
Also, course-level format options were not accurately restored against
the appropriate format type. And section-level format options were
redundantly stored at course-level and restored without mapping their
sectionids, thus creating lint.
2023-02-03 10:18:19 +10:00
Cameron Ball
c0c478acb4
MDL-77123 message_airnotifier: Don't test configured providers
2023-02-02 14:49:51 +08:00
Andrew Nicols
d7e9b065cb
Merge branch 'MDL-75870-401' of https://github.com/nwp90/moodle into MOODLE_401_STABLE
2023-02-02 12:34:40 +08:00
Andrew Nicols
aa1b0c5ebd
Merge branch 'MDL-75085-401-4' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-02-02 12:02:47 +08:00
Andrew Nicols
1780d6a5e8
Merge branch 'MDL-75830-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-02-02 11:58:02 +08:00
Andrew Nicols
c4840c6b0c
Merge branch 'MDL-77024_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-02-02 11:52:41 +08:00
Andrew Nicols
f0d9073159
Merge branch 'MDL-76675_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-02-02 11:03:38 +08:00
Jun Pataleta
b90bccd3d8
Merge branch 'MDL-69690-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-02-02 10:34:00 +08:00
Ilya Tregubov
7e7628b806
Merge branch 'MDL-77058-401' of https://github.com/dravek/moodle into MOODLE_401_STABLE
2023-02-02 10:04:58 +08:00
Jun Pataleta
920ac6dbe5
Merge branch 'MDL-77092-m401' of https://github.com/sammarshallou/moodle into MOODLE_401_STABLE
2023-02-02 09:57:06 +08:00
Andrew Nicols
662d2e1f0f
Merge branch 'MDL-75912-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-02-02 09:49:25 +08:00
Ilya Tregubov
e247320845
Merge branch 'MDL-77079-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-02-02 09:16:50 +08:00
Jun Pataleta
e87a6484bf
MDL-75085 external: Pass proper $required param value in tests
2023-02-02 09:07:17 +08:00
Angelia Dela Cruz
0a66a77054
MDL-75830 behat: Book behat tests optimised
...
Replace steps that manually add Book instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
Additionally, performed Behat cleanup and optimisation to affected
files.
2023-02-02 09:05:38 +08:00
Andrew Nicols
4bd7c57be5
Merge branch 'MDL-77100-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-02 08:32:38 +08:00
Andrew Nicols
6f073ebe6d
Merge branch 'MDL-77001-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-02 08:27:21 +08:00
Andrew Nicols
885d191df2
Merge branch 'MDL-77003-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-02 08:20:51 +08:00
Andrew Nicols
3ef9c4c5d0
Merge branch 'MDL-75345-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-02 08:17:54 +08:00
Nick Phillips
e4e7ec5efb
MDL-75870 course: only section togglers to toggle sections
2023-02-02 11:17:31 +13:00
Paul Holden
a3c9194bef
Merge branch 'MDL-76658-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-02-01 16:34:39 +00:00
Paul Holden
c125d5f3f2
MDL-75345 reportbuilder: improve course/user custom report tests.
...
Ensure column and filters provided by each source have sufficient
coverage. Re-factor individual entity/helper class tests to test
their own specific implementation only.
Remove now-defunct test fixtures.
2023-02-01 15:41:28 +00:00
Paul Holden
4b9e614eaf
MDL-77091 reportbuilder: set base time in schedule test generator.
...
The base time allows for the setting of the "current time" for the
purposes of the schedule test against recurrence configuration.
We should ensure the generator method allows this property so that
it can be used when calculating the initial "next send time" of the
schedule upon creation (and avoiding excessive recursion when the
actual current time is used for the calculation).
2023-02-01 14:39:36 +00:00
Paul Holden
858b26feb2
Merge branch 'MDL-76311-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-02-01 14:16:15 +00:00
Meirza
a6a6fbc5ec
MDL-76311 user: redirect to proper URL if a new user creation cancelled
2023-02-01 20:14:01 +07:00
Sara Arjona
242060661a
MDL-70586 mod_feedback: Hide the Preview questions icon for students
...
The Preview questions icon shouldn't be displayed unless the user can
edit the feedback or access to the reports; otherwise, it's causing
confusion (especially when the feedback is not opened).
2023-02-01 12:36:20 +01:00
Meirza
e7f9631b7e
MDL-76447 editor_tiny: revert the z-index.
...
Nesting the dropdown menu inside the parent DOM makes the menu can display correctly
without changing the z-index.
2023-02-01 17:39:34 +07:00
Meirza
f37f6e3439
MDL-76447 editor_tiny: Nest the dropdown menu in the parent DOM.
...
The TinyMCE menu has a significant issue with the Overflow style,
and the Boost theme heavily uses Overflow for drawer navigation.
Nest the dropdown menu container into the parent editor container makes it work correctly.
Co-authored-by: davewoloszyn <david.woloszyn@moodle.com >
Co-authored-by: xr0master <xr0master@gmail.com >
2023-02-01 17:39:34 +07:00
Paul Holden
b59bb37819
Merge branch 'MDL-73847_401' of https://github.com/jonof/moodle into MOODLE_401_STABLE
2023-02-01 10:00:27 +00:00
Paul Holden
03a1ca582b
MDL-77102 mod_wiki: remove deprecated mbstring overload checks.
2023-02-01 08:34:09 +00:00
Jun Pataleta
e3dd47671c
Merge branch 'MDL-76985-MOODLE_401_STABLE' of https://github.com/sh-csg/moodle into MOODLE_401_STABLE
2023-02-01 14:11:53 +08:00
Ilya Tregubov
fc2a1536f7
Merge branch 'MDL-76587-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-02-01 13:25:54 +08:00
Jun Pataleta
bdd3e5efb1
MDL-75085 external: Fix external_multiple_structure parameter passing
...
Some calls to the external_multiple_structure's constructor incorrectly
pass parameters where the value for the $description parameter is not
being passed. This results to invalid values being passed for the
$required parameter.
2023-02-01 11:39:53 +08:00
Jun Pataleta
1753e85f1a
MDL-75085 webservice: Fix parameter passed to external_format_value
2023-02-01 11:39:44 +08:00
Angelia Dela Cruz
725af41225
MDL-75912 behat: Wiki Behat tests optimised
...
Behat cleanup and optimisation
2023-02-01 11:11:03 +08:00
Angelia Dela Cruz
5a6481006d
MDL-75912 behat: Wiki Behat tests now use generators
...
Replace steps that manually add Wiki instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2023-02-01 11:03:20 +08:00
Simey Lameze
d350fcc040
MDL-77079 behat: use different step to validate presets table data
2023-02-01 09:03:50 +08:00
Paul Holden
2ea379e0b0
MDL-77100 mod_data: replace calls to str_ends_with, fix assertions.
...
Calls to `str_ends_with` are polyfilled currently, as the method is
not present in PHP7.4 or earlier. We should avoid uses of it so as
to not trip up compatibility standard checkers.
2023-01-31 21:36:32 +00:00
Tim Hunt
514b6f13d9
MDL-77094 quiz_statistics: improve efficiency of the recalculate task
...
quiz_settings::create() requires at least 3 DB queries, so the point is
that we can avoid doing that until after we have worked out if we need
to calculate statistics for this quiz.
Also, we order the list of quizzes to consier, to process the ones with
more recent attempts first.
2023-01-31 17:01:53 +00:00
Julien Boulen
b20ca4b471
MDL-76945 theme: fix the rendering of arrows on dropdown variants
2023-01-31 15:22:25 +01:00
Andrew Nicols
421ae9cb83
Merge branch 'MDL-75945-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-01-31 22:12:28 +08:00
sam marshall
f5dc8c4f9f
MDL-77092 Behat: Expand all fieldsets fails with single fieldset
...
The Behat step to expand all fieldsets did not work if the page
contains only one fieldset.
2023-01-31 13:58:08 +00:00
Andrew Nicols
7dfb4c229c
Merge branch 'MDL-77081-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-31 21:45:05 +08:00
Angelia Dela Cruz
df1d34bea8
MDL-76658 Behat: Coverage for course cohort enrolment groups
...
Co-authored-by: Simey Lameze <simey@moodle.com >
2023-01-31 21:24:12 +08:00
Paul Holden
6acc34a097
MDL-77081 forms: PHP8.1 compatibility for group/textarea elements.
...
See related changes in b0a83aa7 , we can no longer pass null values
to some string related methods.
2023-01-31 10:51:20 +00:00
Ilya Tregubov
0338a74dfb
Merge branch 'MDL-77077-401' of https://github.com/snake/moodle into MOODLE_401_STABLE
2023-01-31 18:13:49 +08:00
hieuvu
06c3d068a6
MDL-76904 question: Keep question highlight in url
2023-01-31 16:32:36 +07:00
Simey Lameze
ed544dd0f3
MDL-76587 behat: make grading page wider to avoid 'out of bounds' fail
...
This is because on classic theme the navigation block pushes the content
to the right and once behat changes the grades the 'Save changes' button
is no longer visible.
2023-01-31 11:18:09 +08:00
Charles Fulton
5cd9e69b6a
MDL-75578 course: require course library to resolve namespace issues
2023-01-30 10:44:57 -05:00
Jake Dallimore
a6bd5ae245
MDL-77077 mod_lti: Fix JWT signature verify when alg missing from JWKS
...
Infer the algorithm, where necessary, using a combination of JWT
headers and known valid LTI algorithms.
2023-01-30 16:44:58 +08:00
Andrew Nicols
cd0935a33e
Merge branch 'MDL-77040-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-30 12:28:01 +08:00
Tim Hunt
db861ee6d3
MDL-77018 qbank_statistics: only load stats for contexts that exist
...
Also, pre-load the contexts for efficiency.
2023-01-27 20:51:51 +00:00
David Matamoros
2307060239
MDL-77058 reportbuilder: Fix for cohort null idnumber column
2023-01-27 14:09:03 +01:00
Paul Holden
d78d372a1e
MDL-77057 group: format group names in module override pages.
2023-01-27 11:50:55 +00:00
Eloy Lafuente (stronk7)
8b31b8e8d0
MDL-76675 date: Only test all TZ names with PHPUNIT_LONGTEST enabled
...
It happens often that some timezone is renamed, split, added to the
IANAs list of timezones (that, for PHP is kept updated by the
php-timezonedb PECL extension).
When the information coming from the extension changes, all the
PHPUnit jobs in the world start failing (that's when CIs update
their PHP images, when devs update their packages, ...).
So, what we are doing here is to move that test that check for
every single string existing to be run only when PHPUNIT_LONGTEST
is enabled. That way only places running all tests will run that
one. And every other run just will skip it.
This corresponds to point 1 & 2 of the issue, lower impact in general
and, still be able to enable the tests to run.
2023-01-27 08:48:22 +01:00
Andrew Nicols
62118364f2
Merge branch 'MDL-76562-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-01-27 14:24:26 +08:00
Andrew Nicols
0a4f551fff
Merge branch 'MDL-75978-401' of https://github.com/JBThong/moodle into MOODLE_401_STABLE
2023-01-27 12:34:04 +08:00
Paul Holden
d8f7fb803f
MDL-77040 core: assert types of returned Geoplugin data, not values.
...
The results we get from these tests are beyond our control, and are
unreliable for use in testing.
See also previous change 215cd2d8 in similar tests.
2023-01-26 13:24:06 +00:00
Paul Holden
64293da947
MDL-76662 tool_log: correct supported reports test assertions.
2023-01-26 13:09:13 +00:00
Davo Smith
dcd48987f7
MDL-76938 backup: fix restore of comments linked to a course format
2023-01-26 12:32:35 +00:00
Sara Arjona
67bbf6c416
weekly release 4.1.1+
2023-01-26 09:59:12 +01:00
Lars Bonczek
d238db5f36
MDL-76948 mod_assign: Fix description of submission_unlocked event
2023-01-25 19:20:56 +01:00
Paul Holden
522ee5ae4c
MDL-77042 mod_data: fix empty/zero equality check for numeric field.
2023-01-25 17:04:47 +00:00
Tim Hunt
deed4fe251
MDL-77024 quiz: fix metatdata on log events
...
Some had the wrong edulevel or crud
2023-01-25 16:12:37 +00:00
Jun Pataleta
a360fd0601
Merge branch 'MDL-76977-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-25 16:10:18 +08:00
Jun Pataleta
5e75da7598
Merge branch 'MDL-77036-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-01-25 16:02:23 +08:00
Stefan Hanauska
928633a33e
MDL-76985 course: Redirect to moved section
2023-01-25 09:00:06 +01:00
Simey Lameze
6bf5c32402
MDL-77036 core_iplookup: update test_ipv4 test expectations
2023-01-25 15:15:07 +08:00
Jun Pataleta
6d90fc7c5b
Merge branch 'MDL-76967-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-01-25 08:57:16 +08:00
Paul Holden
0a86c6a123
MDL-77003 javascript: improve string helper JSON detection.
...
Changes in fbc2732d made the JS template string helper method
too strict in regards to what it considers a valid JSON object.
Co-authored-by: Mike Churchward <mike@brickfieldlabs.ie >
2023-01-24 22:16:21 +00:00
Paul Holden
4b43da100c
MDL-77023 javascript: always normalise component of lang strings.
...
Co-authored-by: David Matamoros <davidmc@moodle.com >
2023-01-24 16:44:06 +00:00
Jun Pataleta
addbbfdaae
Merge branch 'MDL-76639-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-01-24 18:59:29 +08:00
Jun Pataleta
0006557b59
Merge branch 'MDL-76652-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-01-24 18:45:24 +08:00
Jun Pataleta
0813b938a3
Merge branch 'MDL-76655-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-01-24 18:27:00 +08:00
Andrew Nicols
710d0ef8f2
MDL-75945 core: Convert a floating value to an integer.
...
In PHP 8.1, any implicit conversion of float to int, which leads to a loss in precision, is now deprecated.
To avoid the error warning, the code must explicitly convert a floating value to an integer.
2023-01-24 16:53:34 +07:00
Jun Pataleta
fa51e1a149
Merge branch 'MDL-76362-401-extra' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-01-24 10:38:49 +08:00
Angelia Dela Cruz
066740a127
MDL-76655 behat: Coverage for workshop grading strategies
2023-01-24 09:09:26 +08:00
Paul Holden
26754aacd1
MDL-76354 competency: export user privacy data unconditionally.
...
We should ensure that any past competency data for a user is always
exported, regardless whether competencies are currently enabled.
2023-01-23 22:15:23 +00:00
Paul Holden
e0358d2eca
MDL-77001 tiny_autosave: use valid lang string during privacy export.
2023-01-23 22:06:33 +00:00
Amaia Anabitarte
3fd5c885a1
MDL-76066 mod_data: Trigger field_deleted event when importing
2023-01-23 18:54:35 +01:00
Miri Lipson
a10f75360b
MDL-75047 icons: Define the orientation of the question mark in right-to-left languages.
2023-01-23 17:26:45 +02:00
sam marshall
40081f5342
MDL-76956 core_grades: Regrade progress bar should be more granular
...
This change makes the regrade progress bar send frequent updates to
the web browser, even when processing within the same grade item, to
avoid timeout problems when there are a large number of users.
2023-01-23 11:43:15 +00:00
Paul Holden
1aa113fd1f
MDL-76584 question: correct temporary questionid upgrade field.
...
Pass correct parameter/type in field constructor (`XMLDB_NOTNULL`)
for consistency. This corrects the definition and preserves the
truthyness of the value that was incorrectly passed previously.
2023-01-23 09:16:39 +00:00
Eloy Lafuente (stronk7)
36b4f13e9b
MDL-76362 workshop: check for empty (null included) feedbackreviewer
...
As far as feedbackreviewer can be null, we cannot, since PHP 8.1
apply any string operation (trim, strlen...) on it, hence, checking
before applying.
2023-01-23 09:19:32 +08:00
Eloy Lafuente (stronk7)
03bc275093
MDL-76362 enrol_lti: Prevent calling to DataConnector with null keys
...
While it could have been fixed in DataConnector (3rd part lib), better
prevent in our code to call to it with null keys.
Covered by unit tests.
2023-01-23 09:17:48 +08:00
Eloy Lafuente (stronk7)
e6dfa9ff3c
MDL-76362 output: Preserve original behaviour for PHP 8.1
...
Whenever the page_requirements_manager::js_fix_url()
is called with null url, it must throw an exception and emit 0 warnings.
It's covered by an explicit test:
test_js_fix_url_coding_exception with data set "Provide a null argument"
2023-01-23 09:17:48 +08:00
Andrew Nicols
8f4bd4ce11
MDL-76362 core: Coding style fixes
2023-01-23 09:16:08 +08:00
Andrew Nicols
77a0a535b3
MDL-76362 core_privacy: Shortcircuit URL rewriting on empty content
2023-01-23 09:16:08 +08:00
Andrew Nicols
a4ea607c24
MDL-76362 core: Short circuit s() on empty values
2023-01-23 09:16:08 +08:00
Andrew Nicols
dbfb5eaa45
MDL-76362 core: Short-circuit strip_querystring on empty values
2023-01-23 09:16:08 +08:00
Andrew Nicols
788d86d7a3
MDL-76362 core_file: Check prefix exists before checking length
2023-01-23 09:16:07 +08:00
Andrew Nicols
a1f4f7bac5
MDL-76362 core: plugin names must be strings to be valid
2023-01-23 09:16:07 +08:00
Andrew Nicols
d08319ddf7
MDL-76362 core: Update core_component plugin name tests
2023-01-23 09:16:07 +08:00
Andrew Nicols
de4de9cec5
MDL-76362 core: Test coursealias before using
2023-01-23 09:16:07 +08:00
Andrew Nicols
ddf0f08cc9
MDL-76362 h5p: Use string as default lang param
2023-01-23 09:16:07 +08:00
Andrew Nicols
2250ab07e6
MDL-76362 qtype_numerical: Fix bug in phpdoc
2023-01-23 09:16:07 +08:00
Andrew Nicols
71c1fa0d8e
MDL-76362 qtype_calculated*: Address issues with null strings
2023-01-23 09:16:07 +08:00
Andrew Nicols
5fbd2eac32
MDL-76362 qtype: Update formatting of qtype_calculated* upgradelib
2023-01-23 09:16:07 +08:00
Andrew Nicols
12b36d2a32
MDL-76362 qtype_numerical: Support empty units for apply_units
2023-01-23 09:16:07 +08:00
Andrew Nicols
5f412b3301
MDL-76362 qtype_numeric: Refactor answer tests
2023-01-23 09:16:07 +08:00
Andrew Nicols
4ff3447c8c
MDL-76362 question: Add test for number(null)
2023-01-23 09:16:07 +08:00
Andrew Nicols
745080671b
MDL-76362 question: Refactor question number unit tests
2023-01-23 09:16:07 +08:00
Andrew Nicols
5fbbb51882
MDL-76362 core: Use empty default string when getting prefs
...
The json_decode function does not accept a null, which is the
traditional default for get_user_preferences. By passing a default of
am empty string we avoid issues in PHP 8.1.
2023-01-23 09:16:06 +08:00
Marina Glancy
2dd7290ccb
MDL-76362 various: Avoid passing nulls to functions that don't allow nulls
...
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc
show notice when null is passed as an argument
2023-01-23 09:16:06 +08:00
Marina Glancy
d83368a475
MDL-76362 mustache: Override parent method to avoid PHP notices
...
Parent method checks baseDir that is null in this case. This shows notices under PHP 8.1
2023-01-23 09:16:06 +08:00
Paul Holden
a68f5c6d37
MDL-76977 phpunit: ensure unique data provider keys in mustache test.
2023-01-20 17:21:27 +00:00
Luca Bösch
8bb813e461
MDL-76967 questions: Questions last used line height
2023-01-20 09:57:21 +01:00
Meirza
fb935957b8
MDL-76562 editor_tiny: Added functions to remove button/menu/submenu.
...
Added a few functions to remove the toolbar button, menubar and sub-menu items.
One of the implementations is to remove the justify alignment in the toolbar and
the sub-menu items to aid the accessibility aspect of the TinyMCE editor.
2023-01-20 10:02:06 +07:00
Ilya Tregubov
8de12b7997
weekly release 4.1.1+
2023-01-20 09:41:41 +08:00
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
Hiroto Kagotani
5fa1ec0dfa
MDL-76936 course: purge course cache on resetting start date
2023-01-19 20:08:58 +09:00
Jun Pataleta
0f28e2b02c
Merge branch 'MDL-76725-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-19 12:05:06 +08:00
Jun Pataleta
396fff3d0b
Merge branch 'MDL-76537_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2023-01-19 11:23:51 +08:00
Ilya Tregubov
e98b3fe183
Merge branch 'MDL-76870-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2023-01-19 11:15:14 +08:00
Ilya Tregubov
69fbf97923
Merge branch 'MDL-76766-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-01-19 11:04:23 +08:00
Ilya Tregubov
c4df4906bc
Merge branch 'MDL-74756-MOODLE_401_STABLE' of https://github.com/sh-csg/moodle into MOODLE_401_STABLE
2023-01-19 10:30:32 +08:00
Andrew Nicols
dd1efc4312
Merge branch 'MDL-76841-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-19 08:55:09 +08:00
Andrew Nicols
3309157233
Merge branch 'MDL-70070-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-19 08:50:37 +08:00
Jun Pataleta
abd969cb50
Merge branch 'MDL-76525-MOODLE_401_STABLE' of https://github.com/PhMemmel/moodle into MOODLE_401_STABLE
2023-01-18 22:55:51 +08:00
Philipp Memmel
888ed072c0
MDL-76525 mod_data: Add param validation for data fields
2023-01-18 12:10:45 +01:00
Claude Vervoort
1210c71703
MDL-76602 mod_lti: move lti13 claim declaration in subplugin
2023-01-17 16:55:10 -05:00
Jake Dallimore
17659466cc
Merge branch 'MDL-66221-401' of https://github.com/raortegar/moodle into MOODLE_401_STABLE
2023-01-17 11:28:53 +08:00
Stefan Hanauska
61b77b3bb6
MDL-74756 availability_completion: Prev activity (completion n/enabled)
2023-01-16 22:20:45 +01:00
Paul Holden
a74c5f0073
MDL-76841 tool_mobile: improve potential config issues test.
...
Avoid certificate checking of the default test site (`example.com`),
and update the assertion so we get clearer failures in the future.
2023-01-16 08:30:43 +00:00
Paul Holden
70a5e38b2c
MDL-70070 phpunit: correct data provider method names.
...
They should not be prefixed `test_` because that's how actual
test methods containing assertions are identified by PHPUnit.
2023-01-16 08:28:31 +00:00
Jaydn Cunningham
a2e37371a6
MDL-76370 curl: suppress CONNECT header when using HTTP proxy
2023-01-16 14:04:26 +10:30
Eloy Lafuente (stronk7)
2c7773b365
MDL-76537 behat: Month and day names are lang-dependent correct utf-8
...
Just verify that calendars are always displayed with correct UTF-8
and in the language the user is currently using.
2023-01-14 12:16:48 +01:00
Eloy Lafuente (stronk7)
7c66344323
MDL-76537 core: Fix date_format_string() to work with php-intl
...
With Moodle 4.1 and up, we have stopped to work with strftime(),
because it's deprecated for PHP 8.1 and up and, instead we are
using core_date::strftime() that performs the conversions using
the php-intl extension.
The original strftime() had a lot of OS-specific dependencies,
both about locale names and charsets used to provide the information.
Instead, the php-intl gets rid of all those OS-specific nightmares
and only uses ICU/Unicode locales and UTF-8.
Because of that, the old utf-8 => windows charset => utf-8
conversions aren't needed anymore. Hence, removing them.
2023-01-14 12:16:48 +01:00
Jun Pataleta
4b69c11978
Moodle release 4.1.1
2023-01-14 14:17:03 +08:00
raortegar
c812f450bb
MDL-66221 tool_recyclebin: Fix recycle bin with activity settings
...
If backup_auto_activities setting from Automated backup is disabled
the activities will not be stored for the recycle bin
2023-01-13 11:31:33 +01:00
Simey Lameze
4b2834439e
MDL-76870 question: change assertion to assertEqualsCanonicalizing
...
By using that assertion the arrays will be sorted before comparison
preventing any Oracle sorting related failures.
Credits for the solution go to Tim Hunt!
2023-01-13 18:13:12 +08:00
Angelia Dela Cruz
6bd3f18949
MDL-76639 behat: Add Behat test coverage for quiz with limited attempts
2023-01-13 16:11:22 +08:00
Jonathon Fowler
cc290a84e4
MDL-73847 lti: fetch keyset URLs using configured proxy settings
2023-01-13 14:30:05 +10:00
Jun Pataleta
2d628ba8d6
weekly release 4.1+
2023-01-13 10:52:14 +08:00
Cameron Ball
83c1ddc19d
MDL-76869 gradebook: Pass exception to rollback
2023-01-12 16:35:47 +08:00
Ilya Tregubov
66ad660acc
MDL-69690 mod_workshop: Fix fieldname for workshop.
2023-01-12 14:41:13 +07: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
Amaia Anabitarte
959c34de04
MDL-76766 mod_quiz: Allow shuffling quizes with no questions
2023-01-11 11:16:09 +01: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
Julien Boulen
e50831318e
MDL-76313 forum: improve accessibility on subscribers page
...
- add header on table of subscribers
- remove one redundant header
2023-01-10 11:17:22 +01: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
Meirza
687e276fe3
MDL-73519 core_course: re-styling the unordered list.
...
Currently, the unordered list in the course content follows the original style and
is ordered from the top of the content section, which is not part of the description.
That's why the first occurrence of the list is the 2nd level which uses the circle as the marker/list type
instead of the disc. In contrast, the editor always uses the original style.
so we need to reset the CSS of the unordered list in the description to the original
which the disc as the first marker, a circle for the second marker,
and a square for the following levels.
2023-01-10 12:18:39 +07: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
james-cnz
bc574f252d
MDL-76729 filepicker: Restore file picker thumbnails in tree view
2023-01-10 12:01:27 +13: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
Jun Pataleta
d2bacb04ff
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.
2023-01-09 15:41:59 +08:00
Jun Pataleta
77a0f1b129
MDL-76597 mod_quiz: Add label for question checkboxes
2023-01-09 15:41:59 +08:00
Jun Pataleta
ca841d1489
MDL-76597 mod_quiz: Darken section heading on quiz questions page
2023-01-09 15:41:59 +08:00
Jun Pataleta
c2216eefa6
MDL-76597 mod_quiz: Add label for version selector
2023-01-09 15:41:59 +08:00
Jun Pataleta
241da816db
MDL-76597 mod_quiz: Add a default sr-only section heading
...
Add a default sr-only section heading in order to prevent having an
empty heading for the quiz section which is not good for accessibility.
Plus:
- There's also an existing issue where filters are never applied to
section headings on load. This has been fixed in this commit as well.
- Button role added for the edit section button which enables it to
take advantage of the theme highlighting when it receives focus.
2023-01-09 15:41:59 +08:00
Jake Dallimore
18302e1244
MDL-75532 enrol_lti: fix optional lineitemsurl in grade sync task
...
As in MDL-74691, we need either or both of these fields, meaning either
one could be omitted. This just supports that as per the fix made in
MDL-74691.
2023-01-09 11:39:17 +08:00
Jake Dallimore
2080ba7c83
MDL-75532 enrol_lti: add tests for coupled and decoupled line items
...
This covers the following cases:
1. Where only the 'lineitem' service endpoint is provided
2. Where only the 'lineitems' service endpoint is provided.
Existing tests already cover the case where both are provided.
2023-01-09 11:39:09 +08:00
Simey Lameze
e1204dc4f1
MDL-76652 behat: use data generator and remove duplicated steps
2023-01-09 10:16:50 +08:00
Simey Lameze
33b7115024
MDL-76652 behat: add coverage for postwithoutthrottling logic
2023-01-09 10:16:50 +08:00
Paul Holden
b99d68087d
Merge branch 'MDL-32114-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE
2023-01-06 11:20:47 +00:00
Paul Holden
93d95cf1fe
Merge branch 'MDL-76578-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-01-06 10:41:36 +00:00
Paul Holden
13a6018b6d
Merge branch 'MDL-76781-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-01-06 10:23:55 +00:00
Paul Holden
ee507d22ec
MDL-76812 reportbuilder: ensure audience key is incremented correctly.
2023-01-06 09:58:05 +00:00
Ilya Tregubov
145317b2b3
MDL-76251 mod_forum: Fix illegal whitespace. Another try.
2023-01-06 16:41:25 +07:00
Ilya Tregubov
c3fdfc996c
Merge branch 'MDL-76251-patch-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-01-06 16:14:38 +07:00
Ilya Tregubov
6ee2865fcc
MDL-76251 mod_forum: Fix illegal whitespace.
2023-01-06 16:11:51 +07:00
Ilya Tregubov
4943d24d50
Merge branch 'MDL-76251-401' of https://github.com/aya-saad1/moodle into MOODLE_401_STABLE
2023-01-06 15:37:55 +07:00
Stephan Robotta
64b8061180
MDL-32114 form: markdown must be preserved on saving post
...
- Markdown is saved to the DB, no conversion to HTML to keep
ability to reedit the content without beaking it.
- Blockquote element is styled that it's distingishable from
normal text.
2023-01-05 18:36:16 +01:00
Andrew Nicols
b24414554f
Merge branch 'MDL-76508-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2023-01-05 21:30:22 +08:00
Luca Bösch
325ca6568b
MDL-76781 gradebook: support multilingual group names.
2023-01-05 13:27:02 +01:00
Paul Holden
cd072308e5
weekly release 4.1+
2023-01-05 10:53:10 +00:00
Aya Saad
3e0ad5831a
MDL-76251 mod_forum: fix responsive issues in discussion
2023-01-05 11:41:19 +02:00
David Woloszyn
a5430f1022
MDL-76607 timeline: Reordered message to account for long course name
2023-01-05 12:13:50 +11:00
David Woloszyn
46fca91bc4
MDL-76607 css: Fixed various classes where long strings break layout
2023-01-05 12:13:49 +11:00
Paul Holden
f8b463e394
MDL-76787 tiny_h5p: correct capability for plugin enabled state.
2023-01-04 16:07:47 +00:00
Sara Arjona
717e049627
Merge branch 'MDL-76375-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-01-04 16:21:42 +01:00
Luca Bösch
6e286481e0
MDL-76375 quiz generator: Allow more than one attempt by Behat tests.
2023-01-04 15:15:46 +01:00
Paul Holden
0563f72142
MDL-76725 mod_wiki: avoid named arguments in real path callback.
...
See also f4fb91ae . PHP8 now supports named arguments in calls to
the `call_user_func_array` method, which can result in differing
behaviour compared to PHP7, e.g. in this case it was throwing an
exception due to an unknown named parameter.
2023-01-04 14:08:14 +00:00
Sara Arjona
1cf0f78b9a
Merge branch 'MDL-76221-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-04 13:09:18 +01:00
Paul Holden
d95ab775ac
MDL-76657 grade: load required test libraries for grade helper.
2023-01-04 11:22:42 +00:00
Paul Holden
56a3828cf7
Merge branch 'MDL-76657-401' of https://github.com/rezaies/moodle into MOODLE_401_STABLE
2023-01-04 11:10:39 +00:00
Paul Holden
4ecd652189
MDL-76221 reportbuilder: improve report test generator methods.
...
Test generators for creating report columns, filters and conditions
now allow for setting all persistent properties.
2023-01-04 10:56:23 +00:00
Jun Pataleta
9c4b8bf7e8
Merge branch 'MDL-74822-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2023-01-04 17:29:21 +08:00
Jun Pataleta
c380811bb2
MDL-76601 block_myoverview: Remove hover action before clicking on menu
...
With the course card menu now always displayed, there's no need to hover
first before clicking on the menus on block_myoverview Behat tests.
2023-01-04 17:22:38 +08:00
Jun Pataleta
3e175706ff
MDL-76601 blocks: Always display course card menus
...
Displaying the course card menu only on hover is bad in terms of
accessibility as it prevents keyboard-only users from accessing the
menu. So it's better to always display them.
2023-01-04 17:22:38 +08:00
Sara Arjona
db3bc708c4
Merge branch 'MDL-76181-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-04 09:20:19 +01:00
Sara Arjona
87b3be343e
Merge branch 'MDL-76308-401' of https://github.com/BruceGoodGuy/moodle into MOODLE_401_STABLE
2023-01-03 14:13:00 +01:00
Paul Holden
a25f2d0d7e
Merge branch 'MDL-53137-401' of https://github.com/lucisgit/moodle into MOODLE_401_STABLE
2023-01-03 12:14:36 +00:00
Sara Arjona
0eb65f27ba
Merge branch 'MDL-71506-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-01-03 13:10:17 +01:00
Paul Holden
a4dfd67aed
Merge branch 'MDL-75346-reset_dashboard_error-401' of https://github.com/leonstr/moodle into MOODLE_401_STABLE
2023-01-03 11:28:28 +00:00
Shamim Rezaie
3a5820f3c4
MDL-76657 gradebook: Remove hard-coded plugin names from unit test
2023-01-03 20:23:48 +11:00
Andrew Nicols
a9abcf1af7
MDL-32105 mod_glossary: Improve behat test
2023-01-03 15:32:12 +08:00
Andrew Nicols
72f4f8ec7c
Merge branch 'MDL-32105-401' of https://github.com/Chocolate-lightning/moodle into MOODLE_401_STABLE
2023-01-03 15:32:04 +08:00
Peter
9fd77db89a
MDL-32105 mod_glossary: Restrict glossary aliases by set of keywords
2023-01-03 13:50:19 +08:00
Huong Nguyen
c6a1770682
MDL-74822 usertours: Fix accessibility issues with user tours
...
Including in this commit:
- Prevent the tour to be displayed if the CSS is disabled by the browser
- Removed redundant tabindex=0 attribute on the target
- Created extra code to re-calculate the suitable position of the tour
- Fixed tour issue in 200% and 400% zoom
- Fixed tour highlight is not correct in 200% and 400%
2023-01-03 10:35:24 +07:00
Sara Arjona
3e4ba8af5c
Merge branch 'MDL-60038-401' of https://github.com/aneno-m-e/moodle into MOODLE_401_STABLE
2023-01-02 16:35:23 +01:00
Luca Bösch
dcb0de7c92
MDL-71506 mod_choice: suppress non respondents in downloads if set so.
2023-01-02 15:53:20 +01:00
Sara Arjona
e2c8f3db7c
Merge branch 'MDL-76106-401' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_401_STABLE
2023-01-02 13:07:39 +01:00
Sara Arjona
b7b2097f50
Merge branch 'MDL-76760-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-01-02 12:27:40 +01:00
Paul Holden
0dbc7187ff
MDL-76181 reportbuilder: sort columns during stress testing.
2022-12-29 13:57:37 +00:00
Sara Arjona
7e1aa845c7
weekly release 4.1+
2022-12-29 12:57:44 +01:00
Sara Arjona
810cffb702
Merge branch 'MDL-76399-patch-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2022-12-29 09:13:32 +01:00
Ilya Tregubov
5271bd9237
MDL-76399 behat: switch to appropriate Behat step for selects.
2022-12-29 14:53:16 +07:00
Ilya Tregubov
f84d8e3c37
Merge branch 'MDL-76399-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-29 09:43:28 +07:00
Sara Arjona
a3a3fd451c
Merge branch 'MDL-76004-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2022-12-28 18:22:35 +01:00
Sara Arjona
52d5ebbb21
Merge branch 'MDL-72523-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-28 13:01:39 +01:00
Sara Arjona
c72b7b7edc
Merge branch 'MDL-76617_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2022-12-28 12:42:21 +01:00
Paul Holden
c4960a2adf
MDL-72523 calendar: return original focus from event modals.
2022-12-28 11:14:44 +00:00
Huong Nguyen
510bf00643
MDL-72523 javascript: Introduce setReturnElement for core/modal
2022-12-28 11:14:44 +00:00
Sara Arjona
d3fca5e689
Merge branch 'MDL-72563-401' of https://github.com/KepaUrzelai/moodle into MOODLE_401_STABLE
2022-12-28 12:13:16 +01:00
Sara Arjona
1be732e913
Merge branch 'MDL-69071-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-28 11:41:11 +01:00
Paul Holden
d2f55155a8
MDL-76760 tool_behat: defer library loading until service execution.
...
Ensures that API documentation can be generated without requiring
the presence of the `vendor/` directory.
2022-12-28 10:39:48 +00:00
Sara Arjona
430c7ff4e7
Merge branch 'MDL-76734-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2022-12-28 10:04:31 +01:00
Ilya Tregubov
181cab2fbd
Merge branch 'MDL-76731_401' of https://github.com/PhilippImhof/moodle into MOODLE_401_STABLE
2022-12-28 15:14:07 +07:00
Sara Arjona
f4f0207693
Merge branch 'MDL-76679-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-27 16:55:25 +01:00
Amaia Anabitarte
ad8a10e7b6
MDL-76578 core_course: One section per page summary information
2022-12-26 16:03:34 +01:00
Meirza
9d822d41d8
MDL-76508 templates: Handling non-JSON string
...
When the param string contains a left curly bracket as the first character,
the system will assume the string is a JSON string and will be parsed and returned as an object.
But in some cases, the string is not JSON and will return an error if the system parses it.
For example, a user might have used the course name with a left curly bracket as the first character.
Adding a double quote after the left curly bracket to differentiate between string and JSON string,
so it can be safe to parse the string.
2022-12-24 05:50:56 +07:00
Noemie Ariste
e89ed4b463
MDL-60038 moodlelib: ignore site policy if user auth type = 'webservice'
2022-12-23 10:09:09 +13:00
Eloy Lafuente (stronk7)
5db1ac4e98
MDL-76617 store_mongodb: Adjust moodle to mongo-php-library to v1.15.0
...
The new library version should work without problems with older
php-mongodb extension versions:
- v1.15.0 (paired version, tested).
- v1.14.1 (tested)
So, here, in 401_STABLE, we aren't raising the requirements. We have
done that in master, in order to get php82 support, but not here. For
more details about compatibilities, see:
https://www.mongodb.com/docs/drivers/php/#compatibility
2022-12-22 19:36:40 +01:00
Eloy Lafuente (stronk7)
c22b39a650
MDL-76617 store_mongodb: Update mongo-php-library to v1.15.0
...
This updates the library from v1.13.1. Fixes some php81 warnings
leading to failed/risky tests.
The new library version should work without problems with older
php-mongodb extension versions:
- v1.15.0 (paired version, tested).
- v1.14.1 (tested)
2022-12-22 19:36:40 +01:00
Philipp Imhof
9d64ad1416
MDL-76731 behat: add steps to check for version
...
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk >
2022-12-22 17:12:47 +01:00
Tony Butler
11816b9e41
MDL-53137 qtype_numerical: Swap geo tolerance limits for -ve answers
2022-12-22 15:32:39 +00:00
Ilya Tregubov
178aa05227
weekly release 4.1+
2022-12-22 19:16:29 +07:00
Ilya Tregubov
9f2e81004c
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2022-12-22 19:16:26 +07:00
Ilya Tregubov
0b7102abcc
Merge branch 'MDL-76667-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-22 12:27:51 +07:00
Paul Holden
fe16fea153
Merge branch 'MDL-75965-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2022-12-22 12:27:51 +07:00
Andrew Nicols
86f9ffc274
MDL-75105 tool_behat: Correct version number
2022-12-22 12:27:51 +07:00
Andrew Nicols
a439461f03
MDL-75105 tool_behat: Coding style fixes
2022-12-22 12:27:51 +07:00
Andrew Nicols
5c15c1f211
Merge branch 'MDL-75105_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2022-12-22 12:27:51 +07:00
Paul Holden
86d02a9239
Merge branch 'MDL-75914-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2022-12-22 12:27:51 +07:00
Thong Bui
a93d6e5f2d
MDL-75978 Quiz\D&D: on mobile, a moving line-wrap can bork the question
2022-12-22 10:08:03 +07:00
AMOS bot
68706da86a
Automatically generated installer lang files
2022-12-22 00:07:43 +00:00
Meirza
296fd70a2c
MDL-75914 webservice: Added fake URL to avoid debugging output.
...
Webservice doesn't need to set the page URL. Hence,
any function that requires a page URL will raise debugging output.
The patch fixes it by adding a fake URL for the webservice.
The patch also removed assertDebuggingCalled because it is no longer needed.
2022-12-21 16:33:00 +07:00
Mark Johnson
0c448af668
MDL-75105 tool_behat: List available data generators
...
This will find all data generators that can be used in behat via the
'the following "something" exist:' step, and display them in a select
list on the step definitions page.
When a generator is selected, it will fetch the required fields for that
generator and display them on the page.
2022-12-21 08:38:28 +00:00
Huong Nguyen
1f7bb3a50d
MDL-75965 question_multichoice: Misalignment of feedback icons
2022-12-21 14:15:42 +07:00
Andrew Nicols
744e1dbaea
MDL-76734 editor_tiny: Listen to TinyMCE submit events
...
jQuery submit events do not trigger the native submit event, and
therefore the TinyMCE submit listener is not called. This means that the
tinymce.triggerSave() function is not called, and the editor content is
not saved.
To work around this, if there is a form for the Node that the editor is
attached to, the jQuery submit event is listened to and the save event
called.
Unfortunately it is not possible to use a global jQuery submit listener
added to the document to save all editors on the page.
In some cases, this is too late because the bubbling process means that
a child node consumer may attempt to consume the data before the
delegated handler is called for the document.
2022-12-21 13:03:14 +08:00
Ilya Tregubov
5b47024f13
Merge branch 'MDL-76727-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2022-12-21 09:50:18 +07:00
Paul Holden
dcf4a4629b
Merge branch 'MDL-75279-401' of https://github.com/spvickers/moodle into MOODLE_401_STABLE
2022-12-20 10:27:38 +00:00
Andrew Nicols
bb7cce1e56
MDL-76727 core: Allow phpcs configuration to be overridden locally
...
This change reduces the priority of the shipped phpcs configuration to
allow for local overrides.
This is beneficial in several situations:
- when users wish to apply stricter or additional standards
- when the integration team wishes to trial new rules
2022-12-20 09:35:45 +08:00
Stephen Vickers
27cc23ca7a
MDL-75279 mod_lti: Add username to NRPS response
2022-12-19 18:09:27 +00:00
Paul Holden
e8123832fb
Merge branch 'MDL-72906-401' of https://github.com/tdjones/moodle into MOODLE_401_STABLE
2022-12-19 10:23:10 +00:00
Ilya Tregubov
6b47dc3b29
Merge branch 'MDL-74779-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE
2022-12-19 09:44:48 +07:00
Leon Stringer
a77b23cdb7
MDL-75346 core_my: Handle missing blocks on reset
...
If the default dashboard contained a block that was missing from disk
then "Exception - Call to a member function instance_copy() on bool"
was shown to users. This change only shows an error with debugging
enabled which now includes the name of the missing block.
2022-12-17 17:39:44 +00:00
Paul Holden
7708594e89
MDL-76399 question: switch to appropriate Behat step for selects.
2022-12-16 13:09:46 +00:00
Paul Holden
1dda343f05
MDL-76399 behat: improvements to "should exist in" thrown exception.
2022-12-16 12:29:57 +00:00
Paul Holden
4f19d454ea
Merge branch 'MDL-76026_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2022-12-16 09:54:15 +00:00
Andrew Nicols
24c009f222
weekly release 4.1+
2022-12-16 09:05:52 +08:00
Andrew Nicols
5556693437
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2022-12-16 09:05:50 +08:00
Paul Holden
b874e20b55
MDL-69071 core: retrieve full result from remote content.
...
Use the full result from download_file_content within the component
installer to ensure that spurious debugging is not emitted during
operation. Handle validation of the returned data consistently.
2022-12-15 17:19:17 +00:00
Paul Holden
06383b0b8a
MDL-76679 admin: correct password config field template.
...
The template changes were missed as part of 0795b579 , update them
to match so that they continue to work with the unmask JS module.
2022-12-14 19:12:05 +00:00
Sara Arjona
4979a5e988
Merge branch 'MDL-76674_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2022-12-14 18:34:50 +01:00
Amaia Anabitarte
76ce30ca98
MDL-76004 core_h5p: Ensure the browser is serving updated file
2022-12-14 16:22:46 +01:00
Eloy Lafuente (stronk7)
1e54868139
MDL-76674 core_lang: Add string for new America/Ciudad_Juarez
2022-12-14 15:51:10 +01:00
Paul Holden
a33d1c8903
Merge branch 'MDL-76666_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE
2022-12-14 13:22:03 +00:00
Eloy Lafuente (stronk7)
c5213c103b
MDL-76666 local_langimport: Better handling of long locales
...
Under some linux versions, and depending of the configured
locale categories, it's possible to get a current locally
which length > 255 when calling to setlocale(LC_ALL, 0).
Later, if that long locale is tried to be restored, there
is a "setlocale(): Specified locale name is too long" warning
error.
When that happens we need to split the long locale into
individual chunks and set all the (six) locale categories
supported one by one.
Covered with tests, note that, in practice, this only
happens with linux because it supports 12 locale categories
@ OS level. Both BSD (6) and Windows (5) hardly can reach the limit.
No matter of that, the tests have been designed to ensure that
they pass on all OSs, just the new code only will be executed
on linux.
2022-12-14 12:25:17 +01:00
Sara Arjona
4ce5c57547
Merge branch 'MDL-75441-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2022-12-14 09:57:12 +01:00
AMOS bot
7496e9df75
Automatically generated installer lang files
2022-12-14 00:07:43 +00:00
Anupama Sarjoshi
fe094a3705
MDL-76026 Question bank: Fix errors related to categories renaming
...
This part of the code in 'question_category_object.php' 'update_category' method was used before Moodle 4.0 version for renaming
the random questions in an updated category. For Moodle 4.1, it is unnecessary as the details of random questions are no more
stored in 'question' table but in 'question_set_references' table. The method call move_question_set_references handles the same.
2022-12-13 18:01:24 +00:00
Amaia Anabitarte
93bd773ee9
MDL-75441 mod_forum: Show add new post button to guest users
2022-12-13 17:38:30 +01:00
Paul Holden
0d20d1e8aa
MDL-76667 forms: mark modal form as submitted upon success.
...
Ensure the form change checker module doesn't warn user about it.
2022-12-13 14:48:10 +00:00
Andrew Nicols
361ebe960b
Merge branch 'MDL-76509-401' of https://github.com/safatshahin/moodle into MOODLE_401_STABLE
2022-12-13 20:31:35 +08:00
Andrew Nicols
0d5d3a0c49
Merge branch 'MDL-76536-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-13 11:42:35 +08:00
Andrew Nicols
4d94f7e677
MDL-76293 gradebook: Address coding violations
...
This includes a data provider which had the 'test_' prefix and was
therefore run as a test.
2022-12-13 11:07:02 +08:00
Andrew Nicols
6f68abf715
Merge branch 'MDL-76293_401' of https://github.com/mkassaei/moodle into MOODLE_401_STABLE
2022-12-13 11:06:59 +08:00
Safat
ac21fa9a1c
MDL-76509 core: Upgrade error resolve for slot tags
2022-12-13 13:39:02 +11:00
Shamiso.Jaravaza
f954848667
MDL-74779 mod_bigbluebuttonbn: Fix recording sort
...
AMOS BEGIN
MOV [config_recordings_sortorder,mod_bigbluebuttonbn],[config_recordings_asc_sort,mod_bigbluebuttonbn]
MOV [config_recordings_sortorder_description,mod_bigbluebuttonbn],[config_recordings_asc_sort_description,mod_bigbluebuttonbn]
AMOS END
2022-12-12 13:33:22 -07:00
hieuvu
a42c52bf4e
MDL-76106 qtype_ddmarker: fix the missing maker issue.
...
We will not calculate old maker position again and using old data.
This will make sure the position of makers is correct
when the background image is smaller than dropzone.
2022-12-12 20:31:24 +07:00
Sara Arjona
987542f609
Merge branch 'MDL-75571-401' of https://github.com/jacdsouza/moodle into MOODLE_401_STABLE
2022-12-12 11:23:18 +01:00
Khoa Nguyen Dang
959b58e132
MDL-76308 Question\D&D: The draggable area is slim characters to select
2022-12-12 13:53:57 +07:00
Andrew Nicols
be5cf43aa4
Merge branch 'MDL-76398-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-11 20:20:19 +08:00
Jackson D'souza
de182b9a22
MDL-75571 tool_componentlibrary: Custom activity icon
2022-12-09 15:56:07 +00:00
Jackson D'souza
c48f443c32
MDL-75571 theme_boost: Activity icon
...
* Use Activity get_icon_url helper method to fetch icon.
2022-12-09 15:56:07 +00:00
Jackson D'souza
fc67298a27
MDL-75571 block_timeline: Display custom activity icon if available.
2022-12-09 15:56:07 +00:00
Jackson D'souza
c3db3298dd
MDL-75571 calendar: Activity icon
...
* Use Activity get_icon_url helper method to fetch icon.
2022-12-09 15:56:07 +00:00
Sara Arjona
6bb2b9aa69
Merge branch 'MDL-76274-401' of https://github.com/cameron1729/moodle into MOODLE_401_STABLE
2022-12-09 16:18:08 +01:00
Paul Holden
187a7f7ac5
MDL-76536 enrol: prevent invalid role assignments in course creation.
...
Upgrade step to fixup existing bad data.
2022-12-09 11:39:19 +00:00
Sara Arjona
6b24f59302
weekly release 4.1+
2022-12-09 08:56:58 +01:00
Sara Arjona
797a20a597
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE
2022-12-09 08:56:55 +01:00
Jun Pataleta
7a1e9ad82c
Merge branch 'MDL-76556-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2022-12-08 10:07:47 +08:00
Andrew Nicols
bd40bc0341
Merge branch 'MDL-76491-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-08 08:10:44 +08:00
AMOS bot
398fc9b0d3
Automatically generated installer lang files
2022-12-08 00:07:41 +00:00
Andrew Nicols
2a69a46a71
Merge branch 'MDL-76550_401' of https://github.com/AnupamaSarjoshi/moodle into MOODLE_401_STABLE
2022-12-08 08:06:49 +08:00
Andrew Nicols
41b48aeea5
Merge branch 'MDL-76074-401' of https://github.com/srobotta/moodle into MOODLE_401_STABLE
2022-12-08 07:28:45 +08:00
Andrew Nicols
3a544f384b
Merge branch 'MDL-76116-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2022-12-08 06:17:10 +08:00
Sara Arjona
d8f2ead786
Merge branch 'MDL-75588-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2022-12-07 19:31:11 +01:00
Trevor Jones
50f06cb2be
MDL-72906 Quiz: Prevent scrollbar on multichoice
...
Remove negative margin from the "clear my choice" anchor.
With the negative margin, when the containing box height is calculated
the anchor's hidden style overflows beyond the boundary and triggers
the overflow:auto to add a scroll bar.
2022-12-07 11:23:35 -07:00
Mahmoud Kassaei
d4abc697b8
MDL-76293 Gradebook: PHPUnit fails when plugins are not expected
2022-12-07 17:41:19 +00:00
Sara Arjona
10c1a7de42
Merge branch 'MDL-76575-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2022-12-07 18:32:19 +01:00
Sara Arjona
dc444f4634
Merge branch 'MDL-76500-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-07 18:27:53 +01:00
Sara Arjona
151de4586d
Merge branch 'MDL-76193-401' of https://github.com/JBThong/moodle into MOODLE_401_STABLE
2022-12-07 17:26:22 +01:00
Sara Arjona
52890694bf
Merge branch 'MDL-76571_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2022-12-07 17:17:41 +01:00
Tim Hunt
95f073453b
MDL-76571 quiz reports: should not show description items
...
... or anything else with length = 0. This got broken in MDL-71696.
The only way to fix this kind-of involves and API change to
quiz_report_get_significant_questions. However, it is only changing
the external API of this function back to how it was before the 4.0 release,
and the chnages in 4.0 were never documented, nor, I would guess, intended,
since they just broke things.
2022-12-07 14:53:41 +00:00
Jun Pataleta
6661a3eb45
Merge branch 'MDL-76559-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2022-12-07 22:41:07 +08:00
Andrew Nicols
0f8f164a07
MDL-76559 core: validate_email does not take false either
2022-12-07 21:40:18 +08:00
Sara Arjona
4cc96c42fa
Merge branch 'MDL-76273-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-07 12:51:37 +01:00
Huong Nguyen
208c9fb5af
MDL-75588 assign: Reset completion status when resetting a submission
2022-12-07 16:16:01 +07:00
Huong Nguyen
8884da3d8b
MDL-76575 tiny_media: Remove unnecessary console log
2022-12-07 15:50:40 +07:00
Jun Pataleta
e0f34d5049
Merge branch 'MDL-73017-M401_add-environment-check-for-versions-not-supporting-php-8-1' of https://github.com/ziegenberg/moodle into MOODLE_401_STABLE
2022-12-07 13:47:12 +08:00
Meirza
09e171c522
MDL-76116 mnet: styling the delete key confirmation window properly
2022-12-07 11:26:26 +07:00
Jun Pataleta
4426e21204
Merge branch 'MDL-76559-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2022-12-06 23:19:37 +08:00
Andrew Nicols
fb7d1b34ef
MDL-76559 core: validate_email should not accept empty values
2022-12-06 20:53:47 +08:00
Jun Pataleta
32bb535cb6
Merge branch 'MDL-76476-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-06 19:41:17 +08:00
Jun Pataleta
dd3b92545e
Merge branch 'MDL-75381-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-06 19:24:34 +08:00
Ilya Tregubov
e572943d21
Merge branch 'MDL-76490-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-06 13:09:38 +03:00
Paul Holden
2d2b2e3244
MDL-76500 grade: fix grade form when item cannot be overridden.
2022-12-06 09:20:01 +00:00
Ilya Tregubov
e03c52acbe
Merge branch 'MDL-76446-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-06 12:19:09 +03:00
Cameron Ball
c503238978
MDL-76274 assignfeedback_editpdf: Fix upgrade step for stale conversions
2022-12-06 16:05:44 +08:00
Ilya Tregubov
bc5c812db3
Merge branch 'MDL-75516_401' of https://github.com/larsbonczek/moodle into MOODLE_401_STABLE
2022-12-06 10:38:12 +03:00
Stephan Robotta
d7734740b2
MDL-76074 completion: fixed filter in reports with custom user fields
...
When the site uses custom user text fields that would show up in a
user list, the filter for firstname or lastname didnt work anymore.
If a filter was used, no result would show up. Users where shown only
when the course reports where used without filters.
2022-12-06 08:24:46 +01:00
Andrew Nicols
ba38d916be
Merge branch 'MDL-75446-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2022-12-06 15:19:47 +08:00
Andrew Nicols
e7c70fd2c0
Merge branch 'MDL-75573-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-06 13:55:58 +08:00
Andrew Nicols
fa309d0650
Merge branch 'MDL-76145-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2022-12-06 13:36:16 +08:00
Brendan Heywood
11721f7ff5
MDL-76478 formslib: Fix autocomplete bug of existing passwords
2022-12-06 12:34:25 +11:00
Paul Holden
1efd88b2c8
MDL-76273 core: multi-byte character filename support for TCPDF.
...
See: https://github.com/tecnickcom/TCPDF/pull/562
2022-12-05 15:04:23 +00:00
Paul Holden
20ac0d1626
MDL-76490 behat: use defined step for interaction with autocomplete.
2022-12-05 14:22:19 +00:00
Marina Glancy
40ee69ea8b
MDL-76490 behat: correct step for opening autocomplete in container.
2022-12-05 14:21:53 +00:00
Andrew Nicols
9e1caf81ce
MDL-76569 editor_tiny: Set table row header style
...
Configure Tiny to use markup of:
table > thead > tr > th
For all table headers.
2022-12-05 20:50:06 +08:00
Anupama Sarjoshi
87d5f8eb0f
MDL-76550 Quiz and qbank: Fix display of Category and question names
2022-12-05 12:19:14 +00:00
Sara Arjona
05c53f2c44
Merge branch 'MDL-75789-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-05 12:53:43 +01:00
Sara Arjona
1b9bcbf19d
Merge branch 'MDL-76166-username-logging-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE
2022-12-05 12:44:23 +01:00
Ilya Tregubov
a3ed6cea5f
Merge branch 'MDL-75788-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2022-12-05 14:31:44 +03:00
Sara Arjona
f2dd9867ab
Merge branch 'MDL-76482-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2022-12-05 12:04:02 +01:00
Daniel Ziegenberg
bbd49c9533
MDL-73017 env: Moodle 3.9.x, 3.11.x and 4.0.x do not support PHP 8.1
...
This commit adds an additional environment check for the unsupported
PHP 8.1 version to Moodle 3.9.x, 3.11.x and 4.0.x.
It also updates the lang string for unsupported PHP version.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2022-12-05 11:29:09 +01:00
Angelia Dela Cruz
bc82295f6a
MDL-75446 behat: Workshop behat generators use UI
...
Replace steps that manually add Workshop instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2022-12-05 16:05:07 +08:00
Ilya Tregubov
2e1118fa62
Merge branch 'MDL-76330-MOODLE_401_STABLE' of https://github.com/sh-csg/moodle into MOODLE_401_STABLE
2022-12-05 09:22:05 +03:00
Ferran Recio
272a458099
MDL-76225 core_courseformat: fix section title id
2022-12-05 13:48:05 +08:00
Thong Bui
2370255e4c
MDL-76193 Questions: Backup and Restore with tags fails
2022-12-05 10:01:48 +07:00
AMOS bot
9cf6e7128e
Automatically generated installer lang files
2022-12-04 00:08:32 +00:00
Andrew Nicols
ed29852851
MDL-76556 tool_log: Set the store property correctly
2022-12-03 11:48:26 +08:00
Ilya Tregubov
a7e9836173
Merge branch 'MDL-76495-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2022-12-02 13:49:13 +03:00
Lars Bonczek
add1d29339
MDL-75516 core: Perform proper JSON encoding in mustache quote helper
2022-12-02 11:22:23 +01:00
Paul Holden
68dc955abe
MDL-76491 javascript: add missing core/notification imports.
2022-12-02 10:06:21 +00:00
Paul Holden
258fe36e10
MDL-76491 javascript: prevent eslint undefined Notification import.
2022-12-02 10:06:04 +00:00
Paul Holden
76fde950c1
MDL-76398 reportbuilder: use improved action menu steps in Behat.
...
Improved steps for using actions menus were added in 232ebac3 , so
make use of them here for consistency/reliability.
2022-12-02 09:55:55 +00:00
Paul Holden
d4681259bc
MDL-76398 behat: broader action menu partial matching by element.
...
For action menu elements whose trigger element isn't plain text
(e.g. a pix icon), we should be able to match via the title of
that element.
2022-12-02 09:55:45 +00:00
Ilya Tregubov
e6dec9c0fb
Merge branch 'MDL-75951-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2022-12-02 11:55:54 +03:00
Dani Palou
8b153fb67d
MDL-75788 behat: Use profile field generators in existing tests
2022-12-02 14:58:28 +08:00
Dani Palou
1145b8f597
MDL-75788 testing: Handle new lines in menu profile field generator
2022-12-02 14:58:28 +08:00
Andrew Nicols
743fc68b4f
MDL-75951 core: Update box/spout to address PHP 8.1 deprecation
...
This change is a direct pull from an upstream fix:
https://github.com/openspout/openspout/commit/64a09a748d04992d63b38712599a9d8742bd77f7
This addresses the deprecation of auto_detect_line_endings in PHP 8.1.
2022-12-02 13:58:39 +08:00
Ilya Tregubov
9d801ab8a0
Merge branch 'MDL-76494-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2022-12-02 08:41:34 +03:00
hieuvu
b7f08d7ecc
MDL-76106 qtype_ddmarker: Improve loading consistency.
...
Wait for the image to load completely before running the js.
2022-12-02 12:39:23 +07:00
Andrew Nicols
715ec40ad6
Merge branch 'MDL-76493-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2022-12-02 12:15:30 +08:00
Paul Holden
1d98d162a1
MDL-75573 backup: translate async operation type in messages.
2022-12-01 19:48:58 +00:00
Stefan Hanauska
d42189d71a
MDL-76330 enrol: Check permission to show edit icon
2022-12-01 20:07:13 +01:00
Sara Arjona
7f5f04dbc2
weekly release 4.1+
2022-12-01 16:07:58 +01:00
Sara Arjona
82d90a8950
NOBUG: Fixed file access permissions
2022-12-01 16:07:57 +01:00
Simey Lameze
e581bd6cde
MDL-76507 behat: change step to use 'Recent and next 60 days' option
...
It was detected that 'This month' option may cause failures in builds in between months
so using the 'Recent and next 60 days' still fixes the weekend scenario and also the
in between months issue.
2022-12-01 08:51:26 +01:00
Andrew Nicols
68cd224ef3
Merge branch 'MDL-75604-401' of https://github.com/ssj365/moodle into MOODLE_401_STABLE
2022-12-01 08:59:07 +03:00
Andrew Nicols
afef05b07c
Merge branch 'MDL-75281-401' of https://github.com/call-learning/moodle into MOODLE_401_STABLE
2022-12-01 08:59:07 +03:00
Jun Pataleta
d9cd25c2fb
MDL-76497 upgrade: add the 4.1.0 separation line to all upgrade scripts
2022-12-01 08:59:07 +03:00
Sara Arjona
960bc4e3c5
Merge branch 'MDL-76226-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-01 08:59:07 +03:00
Sara Arjona
cf06e4207f
Merge branch 'MDL-76507-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE
2022-12-01 08:59:07 +03:00
Jun Pataleta
9f06111278
Merge branch 'MDL-76250-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-01 08:59:06 +03:00
Andrew Nicols
a8bcb23134
MDL-76483 core: Handle default value for get_docs_url()
2022-12-01 08:59:06 +03:00
Ilya Tregubov
5c96f74a06
Merge branch 'MDL-74853-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2022-12-01 08:59:06 +03:00
Ilya Tregubov
7cc3d06276
Merge branch 'MDL-76487-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2022-12-01 08:59:06 +03:00
Andrew Nicols
b00f1464a8
Merge branch 'MDL-75826-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE
2022-12-01 08:59:06 +03:00
Andrew Nicols
88393518f5
MDL-76487 tiny_autosave: Clarify autosave store rejection message
2022-12-01 08:59:06 +03:00
Jun Pataleta
57e5cc1588
Merge branch 'MDL-68981-401' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE
2022-12-01 08:59:06 +03:00
Andrew Nicols
a0efc27d31
MDL-76487 tiny_autosave: Use navigator.sendBeacon instead of fetch
...
Firefox does not support the keepalive flag for fetch, despite every
other browser except IE supporting it.
2022-12-01 08:59:06 +03:00
David Woloszyn
0be376fdc0
MDL-76183 lib: Update Github URLs
2022-12-01 08:59:05 +03:00
Jun Pataleta
8bf788a1bd
Merge branch 'MDL-76284-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-01 08:59:05 +03:00
Eloy Lafuente (stronk7)
864a2ea990
MDL-76429 composer: Bump to phpwebdriver 1.2.1 for php81 compat
...
Note this comes with a bunch of other small updates, all them
pretty minor and should not be problematic. Better we get them
than keeping them apart.
2022-12-01 08:59:05 +03:00
Andrew Nicols
73f10723b3
Merge branch 'MDL-76380-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2022-12-01 08:59:05 +03:00
sam marshall
be11ee3383
MDL-76218 cachestore_redis: delete_many can fail with no keys
...
In some cases, we get an error message such as:
Wrong parameter count for Redis::zRem()
Within the delete_many function. This function requires at least one
key to be supplied, but if delete_many is called with an empty array,
we will call it with no keys.
2022-12-01 08:59:05 +03:00
Eloy Lafuente (stronk7)
fbb0fd952d
MDL-75977 xmldb: Avoid using null params on built-in DB functions
...
This changes a couple of cases, in postgres and oracle where we
were trying to calculate strlen() on null values (that causes a
PHP 8.1 warning).
Also, at the same time, fixing another case in xmldb_field, it
was detected that it had a bug around precision (being set to the
value of type), being used as object property, when it's not, so
it was also fixed by moving the code logic a little bit.
Note that the bug has been there since inception because there
isn't any code in Moodle using that ->precision property. It
was just detected thanks to PHP 8.2, but that's another story. :-)
Verified that with the patch:
- All DBs can be installed (phpunit install)
- Both DDL and DML pass without any ddl/dml warning (in all DBs).
2022-12-01 08:59:05 +03:00
Meirza
0cc4492303
MDL-76127 Profiling: Make the breadcrumb of the profiling URL clickable
...
Boost has the behavior to remove the last item action.
To avoid that, we need to add an action item.
2022-12-01 08:59:05 +03:00
Ilya Tregubov
dcc2d22a74
Merge branch 'MDL-72019-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2022-12-01 08:59:05 +03:00
Meirza
1c2503a6de
MDL-72019 user: Allows data to be formatted when exporting.
2022-12-01 08:59:05 +03:00
Laurent David
c86d6510ce
MDL-75281 mod_bigbluebuttonbn: Upgrade failure when table exists
...
* Fix several upgrade script issue when the recording table exists or plugin has been
downgraded prior to 4.x upgrade
2022-11-30 20:18:27 +01:00
Shamiso.Jaravaza
a8f889acbf
MDL-75604 mod_bigbluebuttonbn: Fix welcome section
...
* Removed welcome message from General settings
* Cleaned settings.php file to remove hardcoded add($item) after adding conditional element
2022-11-30 12:10:07 -07:00
Kepa Urzelai
5a07bcf871
MDL-72563 theme_boost: rubric area style fix
2022-11-30 15:13:50 +01:00
Marina Glancy
12ac6ce86b
MDL-76494 libs: patch Box::Spout for PHP 8.1 - calling basename on null
2022-11-30 10:45:58 +01:00
Meirza
2db281b197
MDL-76145 course: Avoid long course names that exceed available space
...
Co-authored-by: Stephen Sharpe <stephen.sharpe@synergy-learning.com >
2022-11-30 11:36:24 +07:00
Andrew Nicols
805559cb48
MDL-76482 output: The javascript mustache helper should return a string
2022-11-30 12:18:47 +08:00
Huong Nguyen
19ed64f2d9
MDL-68981 tool_recyclebin: Force necessary settings when restoring
...
Created code to force the necessary settings for restore_item in:
+ course_bin class
+ category_bin class
2022-11-30 10:18:54 +07:00
Huong Nguyen
dcc115786d
MDL-68981 tool_recyclebin: Extra PHPUnit with General restore config
2022-11-30 10:18:54 +07:00
Huong Nguyen
2ef01c0fdf
MDL-68981 tool_recyclebin: Extra Behat test with General restore config
...
Including in this commit:
- Convert existing Behat scenario to use Data generators
- Convert existing Behat scenario to use Provider
- Add new scenario for Include users setting in General restore page
2022-11-30 10:18:54 +07:00
Brendan Heywood
2696f446ac
MDL-76166 calendar: Ensure user is in server access logs
2022-11-30 13:26:27 +11:00
Brendan Heywood
c45c98f6f2
MDL-76166 auth: Ensure user is in server access logs
2022-11-30 13:26:27 +11:00
Jonathan Champ
181ecedb11
MDL-76506 cache_application: Fix MDL_PERF and perfdebug checks
2022-11-29 13:28:05 -05:00
Paul Holden
7e8efa870d
MDL-76446 user: correct logic for multiple keyword search.
...
When the keyword participant filter was used with multiple values
in conjunction with other participants filters, the boolean logic
was effectively:
X AND Y OR Z
When what we actually wanted was:
X AND (Y OR Z)
2022-11-29 16:31:05 +00:00
Paul Holden
b363723f9a
MDL-76476 tiny_media: don't load image preview if none exists.
2022-11-29 16:28:15 +00:00
Ilya Tregubov
e0ef5d0638
Merge branch 'MDL-75463-401' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2022-11-29 13:32:16 +03:00
Kevin Percy
38250aec8e
MDL-75463 lib: Update Bennu version number to 0.2
2022-11-29 13:31:25 +03:00
Andrew Nicols
5475fb8a15
Merge branch 'MDL-76355-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2022-11-29 17:30:02 +08:00
Angelia Dela Cruz
5384f872bb
MDL-75960 behat: Survey behat generators use UI
...
Replace steps that manually add Survey instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2022-11-29 17:06:42 +08:00
Paul Holden
eb3ee12852
MDL-75381 gradereport_grader: ensure valid paging preference value.
...
Set type of the report paging setting to integer, to ensure usage
of it is predictable. Unsupported operated type errors were thrown
on PHP8.0 when it's value contained a string or was empty.
2022-11-29 08:42:02 +00:00
Daniel Ziegenberg
dded69ad15
MDL-74823 lib: HTMLPurifier upgrade to 4.16.0
...
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2022-11-29 16:39:48 +08:00
Daniel Ziegenberg
2cfaa895aa
MDL-74823 lib: normalize line endings for HTMLPurifier
...
Prior to this change, all the line endings in the imported HTMLPurifier
library were using CRLF (\r\n aka Windows style), but the HTMLPurifier
source and also the downloadable artefacts use LF (\n aka Linux style)
as line endings. This has been the case since
510d190382 when with the commit
"MDL-38672 import HTML Purifier 4.5.0" all line endings were changed
from LF to CRLF. There was no comment in the commit on why this change
was done.
As the original source uses LF, this commit partly reverts
510d190382 and goes back to LF as line
endings.
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2022-11-29 16:39:35 +08:00
Daniel Ziegenberg
60e176b50d
MDL-74823 lib: HTMLPurifier upgrade to 4.14.0
...
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at >
2022-11-29 16:39:22 +08:00
Paul Holden
530e06da6d
MDL-75789 restore: multi-byte safe substring calculating course names.
...
Co-authored-by: Leon Stringer <leon.stringer@ntlworld.com >
2022-11-29 08:36:00 +00:00
info@eWallah.net
4d9c6785ff
MDL-65939 phpunit: Maildigest tests can query a wrong adhoc task
2022-11-29 15:41:31 +08:00
Simey Lameze
1b8456dbb1
MDL-76058 behat: send message using data generator
2022-11-29 15:37:15 +08:00
Andrew Nicols
3e26150eae
Merge branch 'MDL-76088-401' of https://github.com/marinaglancy/moodle into MOODLE_401_STABLE
2022-11-29 15:09:46 +08:00
Pablo Amaya
5cf31d7445
MDL-74454 mod_scorm: Fixed problems in lateral navigation.
...
Fixed problems in lateral navigation and grading when
a SCORM has more than three levels
The SCORM module has problems with full screen display,
completion tracking and grading in SCORM.
Also resolves issues MDL-74992, MDL-73249, MDL-75407
2022-11-29 14:18:30 +08:00
Andrew Nicols
62238568a2
MDL-76258 mod_lti: Codign style fixes
2022-11-29 12:28:46 +08:00
Stefan Hanauska
6e9e2be8f4
MDL-76258 mod_lti: Reset clientid after restore
2022-11-29 12:28:46 +08:00
Andrew Nicols
34f8f82288
MDL-69570 assignfeedback_editpdf: Whitespace fix
2022-11-29 11:50:41 +08:00
Adrian Greeve
ac8b7e9f0a
MDL-69570 assignfeedback_editpdf: Upgrade step to remove files.
...
This upgrade step removes all orphaned editpdf feedback files and
records.
2022-11-29 11:50:41 +08:00
Adrian Greeve
b50c240ab5
MDL-69570 assignfeedback_editpdf: Remove temp pdf files
...
This adds a new method to the assignfeedback edit pdf library
to specify user data file areas that will return just the meaningful
annotated feedback pdf.
get_file_areas has been updated for this plugin to return all
file areas related to assignfeedback_editpdf, and should stop
producing orphaned files and records when a course reset is done.
Thanks to @toniginard who provided a base solution for me to work
off.
2022-11-29 11:50:41 +08:00
Jonathan Champ
189c4ce4de
MDL-76506 core\lock: Fix MDL_PERF and perfdebug checks
2022-11-28 18:54:13 -05:00
Mark Holliday
c55f219d77
MDL-76376 scorm: fix PHP8 TypeError (null is not Countable)
2022-11-28 17:52:10 -05:00
Paul Holden
e3840909f5
MDL-76380 tool_oauth2: remove double persistent load on update.
...
The method already loaded the validated persistent model data on the
previous line, there's no need to do it again (while also trying to
load unvalidated properties).
2022-11-28 19:38:52 +00:00
Paul Holden
523b590711
MDL-76250 mod_assign: disable form change checker for grading options.
...
This was previously fixed in 8e9efe60 , but seems to have regressed
somewhere along the way.
2022-11-28 16:07:29 +00:00
Paul Holden
b391ed9941
MDL-76226 admin: account for preset config checkboxes other than bool.
...
The assumption that the settings checkbox always stores boolean values
(e.g. 0/1) isn't correct. The `perfdebug` configuration instead uses
the values 7/15.
2022-11-28 16:04:43 +00:00
Marina Glancy
a5f92c041e
MDL-74853 various: add second parameter to htmlentities functions
...
Default value of the $flag argument changed in PHP 8.1 from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE
To ensure consistent behavior across different PHP version the second parameter is now required for the functions:
htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), html_entity_decode() and get_html_translation_table()
2022-11-28 16:12:32 +01:00
Marina Glancy
cfe0945ffb
MDL-76495 libs: patch TCPDF for PHP 8.1 compatibility
2022-11-28 16:02:03 +01:00
Marina Glancy
6989097a3c
MDL-76495 lib: test for qrcode in TCPDF
2022-11-28 16:02:03 +01:00
Marina Glancy
847f08dcd4
MDL-76494 libs: patch Box::Spout for PHP 8.1 compatibility
2022-11-28 15:56:54 +01:00
Marina Glancy
02430ee562
MDL-76494 core_reportbuilder: behat test for downloading report
2022-11-28 15:56:54 +01:00
Marina Glancy
a8e90aaae1
MDL-76494 dataformat: tests for Excel and ODS writers
2022-11-28 15:56:53 +01:00
Paul Holden
fac0c27efb
MDL-76284 webservice: early exit if no users for missing capabilities.
2022-11-28 11:53:23 +00:00
Marina Glancy
a7e7cd71cb
MDL-76355 lib: apply a patch to googleapi for php 8.1 compatibility
2022-11-28 12:01:05 +01:00
Marina Glancy
37be6bfa4d
MDL-76088 blocks: fixed incorrect use of static cache
2022-11-28 11:59:46 +01:00
Marina Glancy
d311cab0c0
MDL-76493 core: make sure format_string(null) works on PHP 8.1
2022-11-28 11:55:50 +01:00
Meirza
fb5a3dd643
MDL-75826 profile: Redirect to profile page if returnto is profile.
2022-11-28 16:39:11 +07:00