99314 Commits

Author SHA1 Message Date
Juan Leyva
8169aeff59 MDL-67015 mod_data: Prevent users adding entries to other groups 2020-11-03 12:34:28 +01:00
Amaia Anabitarte
66be08216e MDL-69046 core_contentbank: Escape quotes when showing name 2020-11-03 12:34:28 +01:00
Ferran Recio
b8e1eec4c7 MDL-69378 tool_uploadcourse: fix enrolment methods uploads 2020-11-03 12:34:28 +01:00
Peter Dias
828caaac70 MDL-56310 restore: Confirm user has permission to change capabilities 2020-11-03 12:34:28 +01:00
Eloy Lafuente (stronk7)
2444c9d9be weekly release 4.0dev 2020-11-03 12:21:06 +01:00
Andrew Nicols
2c20083a16 Merge branch 'MDL-70059-master' of git://github.com/sarjona/moodle 2020-11-03 12:03:49 +08:00
Jun Pataleta
e275f0f5da Merge branch 'MDL-70033-master-2' of git://github.com/mickhawkins/moodle 2020-11-03 12:02:08 +08:00
Michael Hawkins
d1f0ca6e3c MDL-70033 course: Update download content event handling for Classic 2020-11-03 11:53:57 +08:00
Michael Hawkins
f01c2fa4e7 MDL-70033 core: Update tree.js event handlers to replace stopPropagation
Also added support to allow links to override action keys (enter/space)

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2020-11-03 11:53:57 +08:00
Eloy Lafuente (stronk7)
cb163538bb Merge branch 'MDL-70081-master' of git://github.com/jleyva/moodle into master 2020-11-03 01:24:45 +01:00
Jun Pataleta
a81f648ac4 Merge branch 'MDL-69975' of https://github.com/stronk7/moodle 2020-11-03 00:00:44 +08:00
Sara Arjona
88460c4b00 Merge branch 'MDL-69973' of https://github.com/stronk7/moodle 2020-11-02 15:44:41 +01:00
Sara Arjona
ee0c9d2efd MDL-70059 core_badges: avoid duplicate key error
When 2 or more backpack were created without credentials,
a "Duplicate key value violates unique constraint" error
was raised because externalbackpackid was not taking the
correct value.
Other improvements have been done to the code too in order
to make it more readable.
2020-11-02 10:41:38 +01:00
Jake Dallimore
7e44e7d2dc Merge branch 'MDL-70073-master' of git://github.com/peterRd/moodle 2020-11-02 13:57:21 +08:00
Peter Dias
df177126af MDL-70073 badges: Fix the master upgrade savepoint 2020-11-02 10:17:30 +08:00
Jun Pataleta
4231758896 Merge branch 'MDL-70074-add-authendpoint' of https://github.com/cengage/moodle 2020-11-02 10:04:24 +08:00
Brendan Heywood
10f33b6fdc MDL-69975 core: Fix paths longer than 260 chars on windows
Also, ensure that remove_dir() only processes directories,
because sometimes it was being called by shutdown managers
with files, leading to PHP warnings.

Co-authored-by: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Co-authored-by: Jun Pataleta <jun@moodle.com>
2020-11-01 11:02:00 +01:00
Juan Leyva
4bc5333b05 MDL-70081 airnotifier: Add missing device type in token registration 2020-10-31 13:07:30 +01:00
Claude Vervoort
6f34fe6dfe MDL-70074 mod_lti: add authorization_endpoint 2020-10-30 18:16:04 -04:00
Eloy Lafuente (stronk7)
12e273dddd MDL-69973 xmldb: Ensure all reports use fresh metadata (not cached) 2020-10-30 19:27:11 +01:00
Eloy Lafuente (stronk7)
533c35ff99 MDL-69973 xmldb: Fix problem with MariaDB >= 10.2.7 metadata defaults
With MariaDB 10.2.7 the driver was incorrectly returning '' (empty
string) as default for all the columns having null (meaning, no
default).

Also, cover the case in unit tests, it seems that we were already
testing other defaults but not the null case.
2020-10-30 19:27:11 +01:00
Eloy Lafuente (stronk7)
58ba94a729 weekly release 4.0dev 2020-10-30 13:48:48 +01:00
Eloy Lafuente (stronk7)
3814233fa0 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install into master 2020-10-30 13:48:46 +01:00
Jun Pataleta
48397d35ab Merge branch 'MDL-68167-master' of git://github.com/rezaies/moodle 2020-10-30 13:17:02 +08:00
Shamim Rezaie
0438cd60bb MDL-68167 lib: autocomplete focos should not be removed on blur
See https://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-rearrangeable.html
2020-10-30 16:01:38 +11:00
Shamim Rezaie
e2ee6025fe MDL-68167 lib: Do not set aria-expanded if it should not be set 2020-10-30 16:01:38 +11:00
Shamim Rezaie
c682aa5f97 MDL-68167 user: Fix missing label for participants filter input fields 2020-10-30 16:01:38 +11:00
Shamim Rezaie
cb0bf0ffe0 MDL-68167 lib: Clear single-select autocomplete elements with keyboard
Following MDL-57680, it should be possible to clear the selected option
using keyboard as well.
2020-10-30 16:01:38 +11:00
Shamim Rezaie
6fdfbc44f9 MDL-68167 user: Fix a hardcoded string to be read from lang pack 2020-10-30 16:01:38 +11:00
Shamim Rezaie
b6d733dd4e MDL-68167 lib: Fix label for autocomplete selection/suggestion box
The content of the autocomplete selection div is purged by javascript
so we have to move its label outside of it. aria-labeledby is the way
to go.

Each time the suggestion box is expanded, autocomplete js renders the
autocomplete suggestions template. So the label cannot be outside the
suggestions ul.
2020-10-30 16:01:38 +11:00
Shamim Rezaie
ceda24637d MDL-68167 user: filter elements should listen to accessibleChange event 2020-10-30 14:52:52 +11:00
Shamim Rezaie
15a349dd4f MDL-68167 lib: The accessibleChange custom event now supports bubbling
The change event bubbles so the accessibleChange shoud bubble as well.
2020-10-30 14:52:52 +11:00
Shamim Rezaie
29ad80e4ff MDL-68167 theme_boost: make focus outline accessible for autocompletes 2020-10-30 14:52:52 +11:00
Andrew Nicols
0ac855a304 Merge branch 'MDL-69156_master' of https://github.com/ffhs/moodle 2020-10-30 11:51:48 +08:00
Shamim Rezaie
b643c88682 MDL-68167 lib: Autocomplete selection to use listbox aria role
The aria-selected state cannot be used for the listitem role. The
autocomplete widget highly uses the aria-selected state internally.
2020-10-30 14:43:00 +11:00
Shamim Rezaie
ce484f2872 MDL-68167 user: Improve keyboard navigation on autocomplete fields 2020-10-30 14:43:00 +11:00
Shamim Rezaie
2a02fba4bd Merge branch 'MDL-69390-master' of git://github.com/bmbrands/moodle into MDL-69390-master-test 2020-10-30 14:37:25 +11:00
AMOS bot
458e531bdf Automatically generated installer lang files 2020-10-30 00:09:45 +00:00
Víctor Déniz
5009d5030d Merge branch 'MDL-70032-master-2' of git://github.com/junpataleta/moodle 2020-10-29 22:27:47 +00:00
Paul Holden
eec03671f8 MDL-69156 backup: correct behaviour of course copy idnumber field.
When a given user doesn't have the capability to change the idnumber
field during course copy, freeze the field value.
2020-10-29 14:14:13 +01:00
Adrian Perez
d5ec9d66a4 MDL-69156 course_copy: set defaults for idnumber when not permitted 2020-10-29 14:14:08 +01:00
Jun Pataleta
ac9ecf6bef MDL-70032 qtype_multichoice: Use custom partial named selector
* With the removal of the label element, Behat now has to click on the
answer text. In order to achieve this, the custom partial named selector
"qtype_multichoice > Answer" was now added and have replaced the
instances where the label of the answer's checkbox/radio button is
being clicked.
2020-10-29 16:21:22 +08:00
Jun Pataleta
a1d81dc6d9 MDL-70032 qtype_multichoice: Fix answer labelling
* Discard the use of the label element in order to be able to render
multiple choice answers as they are and have these act as the radio
button/checkbox' label through the aria-labelledby attribute.
* New JS module qtype_multichoice/answers that listens for click events
on the answer text container and selects the appropriate answer radio
button/checkbox.
2020-10-29 15:36:15 +08:00
Andrew Nicols
ede8fbe9f4 Merge branch 'MDL-68722-master' of https://github.com/matt-catalyst/moodle 2020-10-29 14:02:59 +08:00
Jake Dallimore
f6356b99aa Merge branch 'MDL-69716-master' of git://github.com/aanabit/moodle 2020-10-29 12:39:48 +08:00
Jake Dallimore
6fcd084f68 Merge branch 'MDL-70041-master' of git://github.com/mihailges/moodle 2020-10-29 11:48:58 +08:00
Adrian Greeve
131dacceb5 Merge branch 'm40_MDL-70042_Progress_Bar_Upgrade_Message_Popup' of https://github.com/scara/moodle 2020-10-29 08:34:27 +08:00
Matteo Scaramuccia
6e97e31423 MDL-70042 message_popup: Trivial savepoint comment cleanup 2020-10-28 22:44:07 +01:00
Matteo Scaramuccia
fad0a943b2 MDL-70042 message_popup: progress bar on upgrade only when necessary 2020-10-28 22:41:48 +01:00
Jun Pataleta
16ff8bc54c Merge branch 'MDL-69390-master' of git://github.com/bmbrands/moodle 2020-10-28 22:44:15 +08:00