100179 Commits

Author SHA1 Message Date
Jun Pataleta
572ec82454 Merge branch 'MDL-70987-master' of git://github.com/andrewnicols/moodle 2021-03-03 16:42:18 +08:00
Sara Arjona
187801ccf5 Merge branch 'MDL-70966-master' of git://github.com/marinaglancy/moodle 2021-03-03 09:30:41 +01:00
Jun Pataleta
44001630d8 Merge branch 'MDL-71009' of https://github.com/timhunt/moodle 2021-03-03 16:22:50 +08:00
Sara Arjona
97786378be Merge branch 'MDL-69097-master' of https://github.com/inigozendegi/moodle 2021-03-03 09:06:45 +01:00
Jun Pataleta
2ad776694a Merge branch 'MDL-70995' of https://github.com/paulholden/moodle 2021-03-03 15:05:36 +08:00
Jun Pataleta
9419124654 Merge branch 'MDL-69883' of https://github.com/paulholden/moodle 2021-03-03 14:35:06 +08:00
Andrew Nicols
3cda34adf2 Merge branch 'MDL-70268-master-2' of git://github.com/peterRd/moodle 2021-03-03 12:23:04 +08:00
Peter Dias
63cb8999ce MDL-70268 core: Update the oauthlib to exclude scope if none provided 2021-03-03 12:03:40 +08:00
Paul Holden
a251c260c4 MDL-70822 enrol: respect capability to view other users profile.
When retrieving courses of another user via web services, we should
respect the capability to view that users profile in a given course.
2021-03-02 23:44:24 +01:00
Sander Wind
c9855a8b20 MDL-70668 auth: Fix secret validation during user confirmation
Co-authored-by: Michael Hawkins <michaelh@moodle.com>
2021-03-02 23:44:24 +01:00
Eloy Lafuente (stronk7)
5b45f13073 Merge branch 'MDL-70340-master' of git://github.com/jleyva/moodle 2021-03-02 23:32:30 +01:00
Víctor Déniz
65957d8109 Merge branch 'MDL-70676-master' of git://github.com/ilyatregubov/moodle
Fixed mod/workshop/db/upgrade.php: \xmldb_field::getNotNull()
does not verify if the column is nullable in the database.
2021-03-02 18:29:19 +00:00
Peter Dias
36e529a889 MDL-59293 block_onlineusers: Update behat tests 2021-03-02 15:51:31 +00:00
Peter Dias
33d6017287 MDL-59293 block_onlineusers: Check whether current user can view online users
- Removed block from site admin.
- Blocked guest from viewuserlist cap
2021-03-02 15:51:31 +00:00
Ilya Tregubov
0420ec757a MDL-70676 workshop: Allow empty grades. 2021-03-02 13:41:52 +02:00
Sara Arjona
5db1ed89b9 Merge branch 'MDL-67515-master' of git://github.com/vmdef/moodle 2021-03-02 11:21:17 +01:00
Jun Pataleta
e86504fbcf Merge branch 'MDL-70457' of https://github.com/stronk7/moodle 2021-03-02 17:39:36 +08:00
Víctor Déniz
b1bbfbbbdb Merge branch 'MDL-70172-master' of git://github.com/rezaies/moodle 2021-03-02 09:16:41 +00:00
Víctor Déniz
bb4da690cf MDL-67515 tool_customlang: Ignore invalid component strings
After uninstalling a plugin, the translated strings remain in
tool_customlang table, throwing an exception when trying to localise
any strings. Currently there is no mechanism to
clean up customlang tables and files during the uninstall process,
so with this patch the invalid components will be ignored.
2021-03-02 09:07:38 +00:00
Sara Arjona
b64ee9ecf3 Merge branch 'MDL-70877' of https://github.com/stronk7/moodle 2021-03-02 09:29:17 +01:00
Jun Pataleta
2b113fd93c Merge branch 'MDL-70876' of https://github.com/stronk7/moodle 2021-03-02 16:02:52 +08:00
Eloy Lafuente (stronk7)
bf2b1b18b5 Merge branch 'MDL-70898-master' of git://github.com/marinaglancy/moodle 2021-03-01 22:50:33 +01:00
Eloy Lafuente (stronk7)
476a0ad905 Merge branch 'MDL-67974-master' of git://github.com/sarjona/moodle 2021-03-01 22:33:17 +01:00
Eloy Lafuente (stronk7)
932e2a5478 Merge branch 'MDL-70916' of https://github.com/timhunt/moodle 2021-03-01 21:58:45 +01:00
Eloy Lafuente (stronk7)
ece2fe5da1 Merge branch 'MDL-70899-master' of git://github.com/marinaglancy/moodle 2021-03-01 20:20:46 +01:00
Shamim Rezaie
612a1741f6 MDL-70172 output: pages with main logo should have a first-level header 2021-03-02 05:35:14 +11:00
Shamim Rezaie
2896cb83cc MDL-70172 output: Fix empty links
The approach taken is inline with font-awesome documentation:
https://fontawesome.com/how-to-use/on-the-web/other-topics/accessibility
2021-03-02 05:19:36 +11:00
Eloy Lafuente (stronk7)
e635eed2ed Merge branch 'MDL-70912-master' of git://github.com/sarjona/moodle 2021-03-01 16:47:28 +01:00
Sara Arjona
f5bee1b704 Merge branch 'MDL-68735' of https://github.com/stronk7/moodle 2021-03-01 16:17:19 +01:00
Eloy Lafuente (stronk7)
76e5b1b59d Merge branch 'MDL-70913-master' of git://github.com/sarjona/moodle 2021-03-01 14:21:59 +01:00
Sara Arjona
9e5655b7c7 MDL-70913 core_badges: Use and update properly sortorder
Sortorder field in badge_external_backpack was updated with a wrong
value. This patch fixes this behaviour and adds sortorder as
sorting criteria for displaying the list of site backpacks.

In the phpunit method reviewed for covering this, a couple of
assertEquals() calls have been changed too to put the expected value
first.
2021-03-01 13:04:00 +01:00
Eloy Lafuente (stronk7)
b7d3e56d7e Merge branch 'MDL-70931-master-xmldbeol' of git://github.com/mudrd8mz/moodle 2021-03-01 10:00:27 +01:00
Eloy Lafuente (stronk7)
bd2efca873 Merge branch 'MDL-70941-master' of git://github.com/dravek/moodle 2021-03-01 09:54:00 +01:00
Eloy Lafuente (stronk7)
537905a773 Merge branch 'MDL-70910-master' of git://github.com/dravek/moodle 2021-03-01 09:46:27 +01:00
Eloy Lafuente (stronk7)
ac9b920981 Merge branch 'MDL-70964-master-enfix' of git://github.com/mudrd8mz/moodle 2021-03-01 09:33:49 +01:00
Marina Glancy
612c230709 MDL-70966 various: Under PHP8 empty string is no longer equals to 0 2021-02-28 19:16:09 +01:00
David Matamoros
05e4c75ca5 MDL-70910 contentbank: fix for using contentid not validated 2021-02-26 14:36:39 +01:00
Tim Hunt
9216860b88 MDL-71009 question bank: escape idnumbers when displayed 2021-02-26 12:46:32 +00:00
Eloy Lafuente (stronk7)
08ae245926 MDL-70876 php80: 5th param removed from custom error handlers
It was deprecated in php72 and now it's gone.

Have used this regexp to find all the uses in core:

ag set_error_handler | uniq

And then checked all them manually, that parameter was not
being used in the 3 methods where we are removing it.
2021-02-26 13:08:27 +01:00
Eloy Lafuente (stronk7)
0dea9a80c8 MDL-68735 env: Moodle 3.8.x, 3.9.x and 3.10.x do not support PHP 8.0 2021-02-26 13:07:59 +01:00
Marina Glancy
a7553de7ad MDL-70877 php: remove final functions __clone and __wakeup
Implementing these functions as final does not prevent the object to be
cloned or serialized, so the comment to them was wrong.
However having these functions not public breaks in PHP 8.0.
It still does not make sense to clone or serialise file_system or external_settings classes
but there are a lot of classes in moodle that should not be cloned, no reason to have
a specific solution here.
2021-02-26 13:07:52 +01:00
Eloy Lafuente (stronk7)
599567977f MDL-70457 forms: php74 fix for the (not used in core) date element
Curly brackets to access by index to strings or arrays is
deprecated since php74.
2021-02-26 11:55:24 +01:00
David Matamoros
9b8c45e0d6 MDL-70941 contentbank: fix empty equality check when renaming content 2021-02-26 11:50:09 +01:00
Jun Pataleta
95dd305cc6 weekly release 4.0dev 2021-02-26 13:42:40 +08:00
Jun Pataleta
b80b050624 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-02-26 13:42:36 +08:00
David Mudrák
0c9eaeff59 MDL-70964 lang: Use the fixed strings in tests 2021-02-25 16:20:58 +01:00
Helen Foster
422e70e308 MDL-70964 lang: Import fixed English strings (en_fix) 2021-02-25 16:18:57 +01:00
Jun Pataleta
2024a32283 Merge branch 'MDL-70169-master' of git://github.com/lameze/moodle 2021-02-25 12:30:22 +08:00
Jun Pataleta
e85b1f9c0f Merge branch 'MDL-70768-langpack-admin' of https://github.com/brendanheywood/moodle 2021-02-25 11:32:36 +08:00
AMOS bot
d6536d6fc1 Automatically generated installer lang files 2021-02-25 00:07:45 +00:00