Víctor Déniz
ee44d51aee
Merge branch 'MDL-70676-311' of git://github.com/ilyatregubov/moodle into MOODLE_311_STABLE
...
Fixed mod/workshop/db/upgrade.php: \xmldb_field::getNotNull()
does not verify if the column is nullable in the database.
2021-03-02 22:10:39 +00:00
Peter Dias
9e08079278
MDL-59293 block_onlineusers: Update behat tests
2021-03-02 16:05:08 +00:00
Peter Dias
950cdd5c06
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 16:05:08 +00:00
Ilya Tregubov
a81dda9fb2
MDL-70676 workshop: Allow empty grades.
2021-03-02 13:45:40 +02:00
Sara Arjona
56630bd392
Merge branch 'MDL-67515-311' of git://github.com/vmdef/moodle into MOODLE_311_STABLE
2021-03-02 11:21:27 +01:00
Jun Pataleta
4fe87411db
Merge branch 'MDL-70457_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE
2021-03-02 17:39:29 +08:00
Víctor Déniz
01fc159374
Merge branch 'MDL-70172-311' of git://github.com/rezaies/moodle into MOODLE_311_STABLE
2021-03-02 09:16:53 +00:00
Paul Holden
d1c9dc2ac0
MDL-71022 gradereport_history: prevent double escaping of users.
...
The user identity fields are already escaped by the AJAX endpoint
that returns them, we don't need to do it again at the client.
2021-03-02 09:14:32 +00:00
Víctor Déniz
b46b9092b7
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:09:08 +00:00
Sara Arjona
e476171f85
Merge branch 'MDL-70877_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE
2021-03-02 09:29:26 +01:00
Jun Pataleta
c9d57344b0
Merge branch 'MDL-70876_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE
2021-03-02 16:02:15 +08:00
AMOS bot
8963bb7c04
Automatically generated installer lang files
2021-03-02 00:07:22 +00:00
Eloy Lafuente (stronk7)
81761afcb1
Merge branch 'MDL-70898-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE
2021-03-01 22:50:41 +01:00
Eloy Lafuente (stronk7)
241cf14d71
Merge branch 'MDL-67974-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE
2021-03-01 22:33:26 +01:00
Eloy Lafuente (stronk7)
217698a385
Merge branch 'MDL-70916_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE
2021-03-01 21:58:55 +01:00
Eloy Lafuente (stronk7)
f276e63dce
Merge branch 'MDL-70899-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE
2021-03-01 20:20:53 +01:00
Shamim Rezaie
e9e31ed1ff
MDL-70172 output: pages with main logo should have a first-level header
2021-03-02 05:36:19 +11:00
Shamim Rezaie
9e17f08e97
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:36:19 +11:00
Eloy Lafuente (stronk7)
2baf0175f9
Merge branch 'MDL-70912-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE
2021-03-01 16:47:37 +01:00
Sara Arjona
addd1937c1
Merge branch 'MDL-68735_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE
2021-03-01 16:17:32 +01:00
Eloy Lafuente (stronk7)
2ebc333858
Merge branch 'MDL-70913-311' of git://github.com/sarjona/moodle into MOODLE_311_STABLE
2021-03-01 14:22:12 +01:00
Sara Arjona
2e03630504
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:07:58 +01:00
Thong Bui
502c11cc5d
MDL-70726 behat: should_not_exist function does not work correctly
2021-03-01 17:53:30 +07:00
Eloy Lafuente (stronk7)
c886b6cf07
Merge branch 'MDL-70931-311-xmldbeol' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE
2021-03-01 10:01:05 +01:00
Eloy Lafuente (stronk7)
b82d5f84f9
Merge branch 'MDL-70941-311' of git://github.com/dravek/moodle into MOODLE_311_STABLE
2021-03-01 09:54:09 +01:00
Eloy Lafuente (stronk7)
8e8240ff6e
Merge branch 'MDL-70910-311' of git://github.com/dravek/moodle into MOODLE_311_STABLE
2021-03-01 09:50:08 +01:00
Eloy Lafuente (stronk7)
0085741f6f
Merge branch 'MDL-70964-311-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_311_STABLE
2021-03-01 09:33:57 +01:00
Dmitrii Metelkin
f38fc37008
MDL-70855 course: add extra callback for extending course module form
2021-03-01 13:34:46 +11:00
AMOS bot
43b4384913
Automatically generated installer lang files
2021-03-01 00:07:25 +00:00
Marina Glancy
ac06e60ae1
MDL-70968 core: PHP8 compatibility, not allowed to pass extra parameters
2021-02-28 19:43:57 +01:00
Marina Glancy
b2d8938431
MDL-70966 various: Under PHP8 empty string is no longer equals to 0
2021-02-28 19:16:53 +01:00
AMOS bot
bb999f4ff5
Automatically generated installer lang files
2021-02-28 00:07:23 +00:00
AMOS bot
4afb746475
Automatically generated installer lang files
2021-02-27 00:07:29 +00:00
David Matamoros
52627c5f0f
MDL-70910 contentbank: fix for using contentid not validated
2021-02-26 14:36:02 +01:00
Tim Hunt
0b661342dc
MDL-71009 question bank: escape idnumbers when displayed
2021-02-26 12:47:33 +00:00
Eloy Lafuente (stronk7)
bbe91c4828
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:31 +01:00
Eloy Lafuente (stronk7)
0cbda5bda4
MDL-68735 env: Moodle 3.8.x, 3.9.x and 3.10.x do not support PHP 8.0
2021-02-26 13:08:03 +01:00
Marina Glancy
e87182d827
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:55 +01:00
David Matamoros
f648e9d0fa
MDL-70941 contentbank: fix empty equality check when renaming content
2021-02-26 12:01:51 +01:00
Eloy Lafuente (stronk7)
7b1dd2fbee
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:28 +01:00
Amaia Anabitarte
a3cc4fd3b1
MDL-67119 core_analytics: Analyse users once per course
...
User's activity in a course should be analysed only once
no matter the number of enrolments the user has in that course.
2021-02-26 11:48:09 +01:00
Jun Pataleta
4652b66ee4
weekly release 3.11dev
2021-02-26 13:42:46 +08:00
Jun Pataleta
cb75adc946
Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE
2021-02-26 13:42:43 +08:00
Marina Glancy
f2adb56be0
MDL-70921 repository: filter function can not accept argument by ref
...
PHP8.0 shows error that filter function accepts value by reference
The nested filtering was never working but also this function was never called on a tree with sub-levels,
so this logic is now removed
2021-02-25 18:25:05 +01:00
David Mudrák
deb99d0c7e
MDL-70964 lang: Use the fixed strings in tests
2021-02-25 16:32:11 +01:00
Helen Foster
d37a1b7e9f
MDL-70964 lang: Import fixed English strings (en_fix)
2021-02-25 16:31:43 +01:00
Jun Pataleta
b5e913a5c4
Merge branch 'MDL-70169-311' of git://github.com/lameze/moodle into MOODLE_311_STABLE
2021-02-25 12:30:11 +08:00
Jun Pataleta
71287b89ff
Merge branch 'MDL-70768-langpack-admin-MOODLE_311_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_311_STABLE
2021-02-25 11:30:38 +08:00
AMOS bot
da37a00736
Automatically generated installer lang files
2021-02-25 00:07:26 +00:00
Paul Holden
7aee6e2fb2
MDL-69883 message: fix lazy loading of conversations.
...
Set max-height on each container section rather than the container
itself, so that each can respond to the scrollBottom event within
the lazy loading module (which handles the overflow itself).
2021-02-24 22:01:34 +00:00