Commit graph

99172 commits

Author SHA1 Message Date
Huong Nguyen
0d9c49d8d6 MDL-69955 qtype_ddimageortext: drop zone disappear in special case 2020-11-04 09:53:23 +07:00
Jake Dallimore
4d9ffaae34 Merge branch 'MOODLE_39_MDL-70093' of https://github.com/golenkovm/moodle into MOODLE_39_STABLE 2020-11-04 09:00:49 +08:00
Mihail Geshoski
21cfc35074 MDL-67837 backup: Add unit tests 2020-11-03 12:27:34 +01:00
Mihail Geshoski
5d0b569ba1 MDL-67837 backup: Verify caps before unenrolling users on course restore 2020-11-03 12:27:34 +01:00
andreasschenkel
fd7db38d8b MDL-69844 user: Fix no email in download_participants_table
Only include eMail in download_participants_table 
if selected in showuseridentity 
($identityfieldsselect)
2020-11-03 12:27:34 +01:00
Juan Leyva
2f9f0b0fcc MDL-67015 mod_data: Prevent users adding entries to other groups 2020-11-03 12:27:34 +01:00
Amaia Anabitarte
14aaba1b72 MDL-69046 core_contentbank: Escape quotes when showing name 2020-11-03 12:27:34 +01:00
Ferran Recio
629657363d MDL-69378 tool_uploadcourse: fix enrolment methods uploads 2020-11-03 12:27:34 +01:00
Peter Dias
498c54d1de MDL-56310 restore: Confirm user has permission to change capabilities 2020-11-03 12:27:34 +01:00
Eloy Lafuente (stronk7)
a3f72b3972 weekly release 3.9.2+ 2020-11-03 12:21:21 +01:00
Michael Hawkins
098f09b638 MDL-68749 theme: Fix bootstrap toggle switches in RTL layout
Co-authored-by: Bas Brands <bas@moodle.com>
2020-11-03 15:24:48 +08:00
Eloy Lafuente (stronk7)
99732c4c3b Merge branch 'MDL-70081-39' of git://github.com/jleyva/moodle into MOODLE_39_STABLE 2020-11-03 01:26:11 +01:00
Sara Arjona
905d3939f5 Merge branch 'MDL-69973_39' of https://github.com/stronk7/moodle into MOODLE_39_STABLE 2020-11-02 15:45:09 +01:00
Mikhail Golenkov
051cad238b MDL-70093 dataformat_pdf: Fix row height calculation with high cells 2020-11-02 22:27:08 +11:00
Alexander
6a4bf785cc MDL-70067 theme_classic: Use col-12 as col-xs-12 was removed in BS4 2020-11-02 09:07:05 +13:00
Juan Leyva
223f7cc0b4 MDL-70081 airnotifier: Add missing device type in token registration 2020-10-31 13:08:05 +01:00
Eloy Lafuente (stronk7)
287ed73429 MDL-69973 xmldb: Ensure all reports use fresh metadata (not cached) 2020-10-30 19:27:18 +01:00
Eloy Lafuente (stronk7)
db1368926a 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:18 +01:00
Marina Glancy
ec19837b79 MDL-68349 auth_db: user_created event should be triggered later 2020-10-30 14:18:41 +01:00
Eloy Lafuente (stronk7)
3b0d958065 weekly release 3.9.2+ 2020-10-30 13:49:12 +01:00
Eloy Lafuente (stronk7)
6722a6b105 Merge branch 'install_39_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_39_STABLE 2020-10-30 13:49:09 +01:00
Jun Pataleta
920b4dd6ab Merge branch 'MDL-68167-39' of git://github.com/rezaies/moodle into MOODLE_39_STABLE 2020-10-30 13:16:48 +08:00
Shamim Rezaie
898bdfdd67 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:11:16 +11:00
Shamim Rezaie
ed7485277e MDL-68167 lib: Do not set aria-expanded if it should not be set 2020-10-30 16:11:16 +11:00
Shamim Rezaie
eb238722da MDL-68167 user: Fix missing label for participants filter input fields 2020-10-30 16:11:16 +11:00
Shamim Rezaie
da1f204a0a 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:11:16 +11:00
Shamim Rezaie
5dd385d522 MDL-68167 user: Fix a hardcoded string to be read from lang pack 2020-10-30 16:11:16 +11:00
Shamim Rezaie
dca6513b8a 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:11:08 +11:00
Shamim Rezaie
6484e89188 MDL-68167 user: filter elements should listen to accessibleChange event 2020-10-30 14:58:54 +11:00
Shamim Rezaie
9312e7389a 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:58:54 +11:00
Shamim Rezaie
0218859c3e MDL-68167 theme_boost: make focus outline accessible for autocompletes 2020-10-30 14:58:53 +11:00
Shamim Rezaie
18702b5869 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:56:39 +11:00
Shamim Rezaie
d0ab1d1540 MDL-68167 user: Improve keyboard navigation on autocomplete fields 2020-10-30 14:56:39 +11:00
Shamim Rezaie
7d25143979 Merge branch 'MDL-69390-39' of git://github.com/bmbrands/moodle into MDL-69390-39-test 2020-10-30 14:56:03 +11:00
Andrew Nicols
a067cc5ada Merge branch 'MDL-69156_39' of https://github.com/ffhs/moodle into MOODLE_39_STABLE 2020-10-30 11:52:35 +08:00
Huong Nguyen
ea68407895 MDL-69841 Quiz: Review options 'Help' icons do not work correctly 2020-10-30 10:28:59 +07:00
AMOS bot
03f5e32712 Automatically generated installer lang files 2020-10-30 00:09:48 +00:00
Víctor Déniz
c0b0649582 Merge branch 'MDL-70032-39-2' of git://github.com/junpataleta/moodle into MOODLE_39_STABLE 2020-10-29 22:24:21 +00:00
Tim Hunt
72cd24d3c9 MDL-70065 quiz: fix paging when adding questions from the bank 2020-10-29 20:29:58 +00:00
Paul Holden
d16aa74359 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:10:09 +01:00
Adrian Perez
7e52e95d8d MDL-69156 course_copy: set defaults for idnumber when not permitted 2020-10-29 13:52:48 +01:00
Jun Pataleta
42f3862b91 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:22:08 +08:00
Jun Pataleta
556648db0b 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 16:22:08 +08:00
Andrew Nicols
6026aa7b3c Merge branch 'MDL-68722-39' of https://github.com/matt-catalyst/moodle into MOODLE_39_STABLE 2020-10-29 14:03:29 +08:00
Jake Dallimore
8e5782b848 Merge branch 'MDL-69716-39' of git://github.com/aanabit/moodle into MOODLE_39_STABLE 2020-10-29 12:40:23 +08:00
Jake Dallimore
f38e17f16f Merge branch 'MDL-70041-39' of git://github.com/mihailges/moodle into MOODLE_39_STABLE 2020-10-29 11:49:40 +08:00
Adrian Greeve
465cc9e91a Merge branch 'm39_MDL-70042_Progress_Bar_Upgrade_Message_Popup' of https://github.com/scara/moodle into MOODLE_39_STABLE 2020-10-29 08:32:16 +08:00
Matteo Scaramuccia
faa76ee29a MDL-70042 message_popup: Trivial savepoint comment cleanup 2020-10-28 23:03:34 +01:00
Matteo Scaramuccia
d6491a67c8 MDL-70042 message_popup: progress bar on upgrade only when necessary 2020-10-28 23:03:26 +01:00
Jun Pataleta
27db5c5024 Merge branch 'MDL-69390-39' of git://github.com/bmbrands/moodle into MOODLE_39_STABLE 2020-10-28 22:44:02 +08:00