Jun Pataleta
03f298a71c
MDL-72882 core: Use default site lang when user lang no longer available
...
* Check that the lang attribute for the output HTML exists. If not,
use the default site language.
* Also fix the current language for the user.
2022-11-03 13:27:11 +08:00
Eloy Lafuente (stronk7)
a0d916bc86
MDL-76055 libraries: Autoload phpxmlrpc and verify it works
...
Also, we can now safely remove Autoloader.php, because
Moodle PSR-4 autoloader has taken control, so document
and test it too.
2022-11-02 15:56:38 +01:00
Eloy Lafuente (stronk7)
c958bd7305
MDL-76055 libraries: Import phpxmlrpc 4.8.0 release
2022-11-02 15:56:38 +01:00
Sara Arjona
ae63a2d16b
MDL-76172 core: Fix error when userinfo is false
...
This patch should fix a regression introduced in MDL-75171, raised
while running the OBv2.1 certification.
The new method get_raw_userinfo() can return stdClass or false but
the second one was not taken into account from get_userid() (so an
error was thrown: "Argument 1 passed to
core\oauth2\client::map_userinfo_to_fields() must be an instance
of stdClass, bool given").
2022-11-02 12:28:19 +01:00
Jun Pataleta
b2368a421b
Merge branch 'MDL-75848' of https://github.com/paulholden/moodle
2022-11-02 13:20:12 +08:00
Jake Dallimore
b76ac53c9d
MDL-61880 core: don't clear issuer fields not present in form data
...
In cases where we have an id, load the persistent and then set new data
before saving. This ensures we don't delete fields which are missing in
the form data.
2022-11-02 11:11:00 +08:00
Yannick Forget
52d523fa9c
MDL-61880 core: Retain OAuth 2.0 user field mappings after issuer update
2022-11-02 11:10:36 +08:00
Andrew Nicols
f50b622319
Merge branch 'mdl-75010' of https://github.com/danmarsden/moodle
2022-11-01 11:51:33 +08:00
Andrew Nicols
60bc475925
Merge branch 'MDL-75468' of https://github.com/paulholden/moodle
2022-11-01 11:17:27 +08:00
Ilya Tregubov
9a723c0e15
Merge branch 'MDL-74643-master' of https://github.com/mickhawkins/moodle
2022-10-31 14:52:47 +03:00
Michael Hawkins
e3b3ba90c8
MDL-74643 core_user: New admin setting for site support availability
...
This allows admins to configure whether contact site support is
available to everyone, authenticated users, or nobody.
The behat testing checks linked and direct access for each setting,
as well as adding testing that the support page override works as
expected.
2022-10-31 18:58:06 +08:00
Jun Pataleta
fb302fe40f
Merge branch 'MDL-75469-master' of https://github.com/kevpercy/moodle
2022-10-31 17:10:23 +08:00
Jun Pataleta
d54abc4079
Merge branch 'MDL-75487' of https://github.com/paulholden/moodle
2022-10-31 13:33:56 +08:00
Dan Marsden
a81c5593a5
MDL-75010 core: Prevent user last access update on user key login
2022-10-31 14:18:31 +13:00
Víctor Déniz
04d8fc6070
Merge branch 'MDL-68437-master' of https://github.com/mihailges/moodle
2022-10-28 17:44:50 +01:00
Sara Arjona
fbfd60fef2
NOBUG: Fixed file access permissions
2022-10-28 14:09:38 +02:00
Marina Glancy
a34b4ebdc3
MDL-76112 various: can not pss null as 3rd param to preg_split
...
This produces notices in PHP 8.1
2022-10-28 10:51:20 +02:00
Sara Arjona
4dc0505b2a
Merge branch 'MDL-75471' of https://github.com/paulholden/moodle
2022-10-27 17:35:04 +02:00
Víctor Déniz
8e57940fe7
Merge branch 'MDL-75467' of https://github.com/paulholden/moodle
2022-10-27 16:09:05 +01:00
Víctor Déniz
d76550da83
Merge branch 'MDL-75969-master' of https://github.com/andrewnicols/moodle
2022-10-27 15:29:40 +01:00
Meirza
d49b78706e
MDL-73624 lib_spout: encode output file name
2022-10-27 16:46:51 +07:00
Sara Arjona
c122d3a7f5
Merge branch 'MDL-69275-submissionreview-resquashed' of https://github.com/cengage/moodle
2022-10-27 08:48:08 +02:00
Marina Glancy
4b99c6a795
MDL-76102 lib: PEAR - passing null to str functions is deprecated
2022-10-27 07:36:26 +02:00
Andrew Nicols
6bc92b7f99
Merge branch 'MDL-76002-master' of https://github.com/snake/moodle
2022-10-27 11:31:57 +08:00
Claude Vervoort
12e207de9d
MDL-69275 mod_lti: submission review (gradebook launch)
2022-10-26 15:03:41 -04:00
Thong Bui
5151cd6bd0
MDL-75784 Forms: Fix issues multi expand all/collapse buttons on a page
2022-10-26 14:06:54 +07:00
Jun Pataleta
c6b1d79238
Merge branch 'MDL-75478-master' of https://github.com/stevandoMoodle/moodle
2022-10-26 14:15:05 +08:00
Jun Pataleta
c76a2a05ba
Merge branch 'MDL-72558' of https://github.com/NoelDeMartin/moodle
2022-10-26 13:37:45 +08:00
Amaia Anabitarte
ab97d41644
MDL-75335 mod_data: Zero state for Fields and Templates
2022-10-25 16:35:58 +02:00
Andrew Nicols
89b9f20229
Merge branch 'MDL-75760' of https://github.com/stronk7/moodle
2022-10-25 10:48:21 +08:00
Víctor Déniz
9235ed5296
Merge branch 'MDL-75482-master' of https://github.com/stevandoMoodle/moodle
2022-10-24 16:36:26 +01:00
Sara Arjona
636e39e98b
Merge branch 'MDL-75465-master' of https://github.com/stevandoMoodle/moodle
2022-10-24 17:30:12 +02:00
Víctor Déniz
3b4023122a
Merge branch 'MDL-75483-master' of https://github.com/davewoloszyn/moodle
2022-10-24 16:00:46 +01:00
Sara Arjona
83aa6c2a13
Merge branch 'MDL-75474-master' of https://github.com/davewoloszyn/moodle
2022-10-24 16:54:40 +02:00
Sara Arjona
85385cd09f
Merge branch 'MDL-75470-master' of https://github.com/davewoloszyn/moodle
2022-10-24 16:10:11 +02:00
Andrew Nicols
bc5252d8bf
Merge branch 'MDL-75684-master' of https://github.com/sarjona/moodle
2022-10-24 21:50:45 +08:00
Sara Arjona
b0110cbed3
Merge branch 'MDL-75897' of https://github.com/paulholden/moodle
2022-10-24 15:35:12 +02:00
Sara Arjona
16ba7cbe96
MDL-75684 mod_data: Add metadata to templates
...
Each template should display at the top the information about the
user who has created the entry, when it was created and modified.
Apart from that, this commit also includes:
- For the Journal preset, a link on each card entry title has been
added, to open the Single view.
- For the Resources preset, the Author field has been renamed to
"Author of resource" and the Description to "Content".
- For the Resources preset, the Author and Type fields will be
hidden in the List view for small devices.
2022-10-24 13:01:39 +02:00
Jun Pataleta
5ca124e7a2
Merge branch 'MDL-76018-master' of https://github.com/sammarshallou/moodle
2022-10-24 13:16:24 +08:00
Paul Holden
91c49cb836
MDL-75904 admin: ignore $CFG->allowcategorythemes during installation.
2022-10-21 22:32:12 +01:00
Paul Holden
3be5954500
MDL-76059 forms: graceful early exit for invalid button elements.
...
Ensure login form tries to capture guest button only if it exists.
2022-10-21 19:36:24 +01:00
Paul Holden
3bf355e37a
MDL-75848 editor_atto: fix console error when clicking toolbar menu.
2022-10-21 18:46:07 +01:00
Eloy Lafuente (stronk7)
83eb19338e
MDL-75760 database: Keep mysql driver working over all PHP versions
...
Before PHP 8.1, the mysqli extension had MYSQLI_REPORT_OFF as default setting.
With PHP 8.1, it has been changed to MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT
The native driver is not ready to work with this new reporting level,
see MDL-75761 about to considering to improve it.
So this change just ensures that we continue using MYSQLI_REPORT_OFF
with any PHP version.
2022-10-21 16:33:22 +02:00
Sara Arjona
963b7a4423
Merge branch 'MDL-72828-master' of https://github.com/davewoloszyn/moodle
2022-10-21 16:24:41 +02:00
Sara Arjona
5e9d99eeaf
Merge branch 'MDL-61921-master' of https://github.com/HuongNV13/moodle
2022-10-21 16:22:44 +02:00
Ilya Tregubov
660b56eb50
Merge branch 'MDL-75362-refactor' of https://github.com/Chocolate-lightning/moodle
2022-10-21 09:56:19 +03:00
Jun Pataleta
58a92364ed
Merge branch 'MDL-70368-cache-image-metadata' of https://github.com/brendanheywood/moodle
2022-10-21 09:07:58 +03:00
Sara Arjona
ef3c37dd4c
Merge branch 'MDL-75484-master' of https://github.com/davewoloszyn/moodle
2022-10-21 09:07:58 +03:00
Víctor Déniz
c209719811
Merge branch 'MDL-67020_master' of https://github.com/marxjohnson/moodle
2022-10-21 09:07:58 +03:00
David Woloszyn
bbe528c1ad
MDL-72828 js: get_strings supports jquery objects
2022-10-21 13:47:34 +11:00