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
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
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
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:
64a09a748d
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
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
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
Simey Lameze
4be0e3541e
MDL-76507 behat: use 'This month' option when exporting
...
This is necessary because 'This week' option is conditionally
hidden on weekends making behat builds to fail on those days.
Also, the last two steps had to be split because Bennu library
adds days with leading zero and moodle removes it by default.
2022-11-30 19:57:35 +08: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
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
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
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
510d190382003985eafd6f4407190d43509016a5 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
510d190382003985eafd6f4407190d43509016a5 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
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