100359 Commits

Author SHA1 Message Date
Simey Lameze
b7b0b246bc MDL-67494 calendar: shared subscriptions should not set userid to 0 2021-03-03 16:06:32 +08:00
Simey Lameze
ac0a0bad63 MDL-67494 calendar: only user overrides should retain userid 2021-03-03 16:06:32 +08:00
Simey Lameze
2dd31504b9 MDL-67494 calendar: set userid to zero for shared events 2021-03-03 16:06:32 +08:00
Simey Lameze
ba04a79ac6 MDL-67494 calendar: step to set userid 0 to all shared events 2021-03-03 16:06:32 +08:00
Simey Lameze
a3e2601675 MDL-67494 calendar: add logic for category events in get_context 2021-03-03 16:06:32 +08: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
AMOS bot
291e942a49 Automatically generated installer lang files 2021-03-03 00:07:43 +00: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
AMOS bot
39e2552088 Automatically generated installer lang files 2021-03-02 00:07:42 +00: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
Thong Bui
6abb07712e MDL-70726 behat: should_not_exist function does not work correctly 2021-03-01 17:55:05 +07: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
Dmitrii Metelkin
e99e0bb557 MDL-70855 course: add extra callback for extending course module form 2021-03-01 13:33:52 +11:00
AMOS bot
b380c403a4 Automatically generated installer lang files 2021-03-01 00:07:45 +00:00
Marina Glancy
593540cc19 MDL-70968 core: PHP8 compatibility, not allowed to pass extra parameters 2021-02-28 19:43:37 +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
AMOS bot
d25ccbc1bd Automatically generated installer lang files 2021-02-28 00:07:41 +00:00
AMOS bot
0300ab41f6 Automatically generated installer lang files 2021-02-27 00:07:50 +00: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