Andrew Nicols
f375cac31a
MDL-76559 core: validate_email should not accept empty values
2022-12-06 20:53:30 +08:00
Jun Pataleta
daa506a037
Merge branch 'MDL-76476' of https://github.com/paulholden/moodle
2022-12-06 19:34:40 +08:00
Ilya Tregubov
e641428826
Merge branch 'MDL-76490' of https://github.com/paulholden/moodle
2022-12-06 13:09:21 +03:00
Ilya Tregubov
ac60253859
Merge branch 'MDL-75516' of https://github.com/larsbonczek/moodle
2022-12-06 10:37:46 +03:00
Paul Holden
79bd94089f
MDL-76273 core: multi-byte character filename support for TCPDF.
...
See: https://github.com/tecnickcom/TCPDF/pull/562
2022-12-05 15:03:15 +00:00
Marina Glancy
8d86f30351
MDL-76490 behat: correct step for opening autocomplete in container.
2022-12-05 14:01:55 +00:00
Sara Arjona
d5b3abde3c
Merge branch 'MDL-76166-username-logging' of https://github.com/brendanheywood/moodle
2022-12-05 12:44:17 +01:00
Ilya Tregubov
ff871829c5
Merge branch 'MDL-75788-master' of https://github.com/lameze/moodle
2022-12-05 14:31:16 +03:00
Sara Arjona
474f92910a
Merge branch 'MDL-76482-master' of https://github.com/andrewnicols/moodle
2022-12-05 12:03:57 +01:00
Daniel Ziegenberg
afe68a65cb
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:39:14 +01:00
Ilya Tregubov
ea8710f2c9
Merge branch 'MDL-76330-master' of https://github.com/sh-csg/moodle
2022-12-05 09:21:09 +03:00
Lars Bonczek
e875c6118c
MDL-75516 core: Perform proper JSON encoding in mustache quote helper
2022-12-02 13:39:58 +01:00
Ilya Tregubov
fb27e80566
Merge branch 'MDL-76495-master' of https://github.com/marinaglancy/moodle
2022-12-02 13:48:11 +03:00
Paul Holden
077a30b7ff
MDL-76491 javascript: add missing core/notification
imports.
2022-12-02 10:05:28 +00:00
Paul Holden
e2a2332cc0
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:54:49 +00:00
Ilya Tregubov
357a937790
Merge branch 'MDL-75951-master' of https://github.com/andrewnicols/moodle
2022-12-02 11:55:35 +03:00
Stephan Robotta
ecc6b31176
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-02 09:42:35 +01:00
Dani Palou
3923ef9408
MDL-75788 testing: Handle new lines in menu profile field generator
2022-12-02 14:54:46 +08:00
Andrew Nicols
fad9666817
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:05 +08:00
Ilya Tregubov
e925e2984a
Merge branch 'MDL-76494-master' of https://github.com/marinaglancy/moodle
2022-12-02 08:40:57 +03:00
Andrew Nicols
8ddbc7b055
Merge branch 'MDL-76493-master' of https://github.com/marinaglancy/moodle
2022-12-02 12:15:20 +08:00
Stefan Hanauska
d602d936ac
MDL-76330 enrol: Check permission to show edit icon
2022-12-01 20:07:15 +01:00
Sara Arjona
7418832f75
NOBUG: Fixed file access permissions
2022-12-01 16:08:29 +01:00
Ilya Tregubov
05535e38df
Merge branch 'MDL-76497-master' of https://github.com/junpataleta/moodle
2022-12-01 08:56:09 +03:00
Jun Pataleta
3947ad99c1
Merge branch 'MDL-76483-master' of https://github.com/andrewnicols/moodle
2022-12-01 08:55:34 +03:00
Ilya Tregubov
9ba9589f09
Merge branch 'MDL-74853-master' of https://github.com/marinaglancy/moodle
2022-12-01 08:55:34 +03:00
Ilya Tregubov
ad2b1af12b
Merge branch 'MDL-76487-master' of https://github.com/andrewnicols/moodle
2022-12-01 08:55:34 +03:00
Andrew Nicols
0646f7ea5a
Merge branch 'MDL-76183-master' of https://github.com/davewoloszyn/moodle
2022-12-01 08:55:34 +03:00
Andrew Nicols
cd723a9bc1
Merge branch 'MDL-76380' of https://github.com/paulholden/moodle
2022-12-01 08:55:34 +03:00
Jun Pataleta
85e8177eac
Merge branch 'MDL-75977' of https://github.com/stronk7/moodle
2022-12-01 08:55:33 +03:00
Marina Glancy
8bababa369
MDL-76494 libs: patch Box::Spout for PHP 8.1 - calling basename on null
2022-11-30 10:30:34 +01:00
Andrew Nicols
6ab3740eb4
MDL-76482 output: The javascript mustache helper should return a string
2022-11-30 12:18:32 +08:00
David Woloszyn
126028cc76
MDL-76183 lib: Update Github URLs
2022-11-30 14:01:31 +11:00
Brendan Heywood
825d11ec50
MDL-76166 auth: Ensure user is in server access logs
2022-11-30 13:25:20 +11:00
Paul Holden
e82198daf9
MDL-76476 tiny_media: don't load image preview if none exists.
2022-11-29 16:27:38 +00:00
Ilya Tregubov
08fc4f9589
Merge branch 'MDL-75463-master' of https://github.com/kevpercy/moodle
2022-11-29 13:24:43 +03:00
Andrew Nicols
62b6e49143
Merge branch 'MDL-76355-master' of https://github.com/marinaglancy/moodle
2022-11-29 17:29:49 +08:00
Andrew Nicols
9e2051931f
Merge branch 'MDL-74823_upgrade-html-purifier-to-4-14-0' of https://github.com/ziegenberg/moodle
2022-11-29 16:24:31 +08:00
Jonathan Champ
33e3af1899
MDL-76506 core\lock: Fix MDL_PERF and perfdebug checks
2022-11-28 18:53:44 -05:00
Paul Holden
e0d7ab9989
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:47 +00:00
Marina Glancy
a800e7e62f
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:20 +01:00
Marina Glancy
2d0b8c9282
MDL-76495 libs: patch TCPDF for PHP 8.1 compatibility
2022-11-28 16:01:47 +01:00
Marina Glancy
c1dec1d2f4
MDL-76494 libs: patch Box::Spout for PHP 8.1 compatibility
2022-11-28 15:56:35 +01:00
Andrew Nicols
3125eb732b
MDL-76487 tiny_autosave: Clarify autosave store rejection message
2022-11-28 19:42:12 +08:00
Andrew Nicols
d907d5ccb1
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-11-28 19:42:12 +08:00
Marina Glancy
b99a931f7f
MDL-76355 lib: apply a patch to googleapi for php 8.1 compatibility
2022-11-28 12:00:51 +01:00
Jun Pataleta
c6ab792ddf
MDL-76497 upgrade: add the 4.1.0 separation line to all upgrade scripts
2022-11-28 14:43:04 +08:00
Marina Glancy
369bca652c
MDL-76495 lib: test for qrcode in TCPDF
2022-11-26 19:18:29 +01:00
Eloy Lafuente (stronk7)
eeaaf131ac
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-11-26 16:16:20 +01:00
Marina Glancy
e5f862d0b1
MDL-76493 core: make sure format_string(null) works on PHP 8.1
2022-11-26 14:02:32 +01:00