Commit graph

101461 commits

Author SHA1 Message Date
Jun Pataleta
335e628e27 MDL-71669 atto_table: Set appropriate ARIA roles for table button
The table button can become a menu button when the cursor's position
in the editor is within a table. So we'd need to update the button with
ARIA attributes appropriate for a menu button.
This is best done when the button's highlight gets toggled, so we're
adding an event listener for when this happens and add/remove the ARIA
attributes accordingly.
2021-06-23 13:10:16 +08:00
Jun Pataleta
2874db9bd5 MDL-71669 editor_atto: Fire custom event when toggling button highlight 2021-06-23 13:10:16 +08:00
Jun Pataleta
408a698eef MDL-71669 editor_atto: Create an events module for the atto editor 2021-06-23 13:10:16 +08:00
AMOS bot
254f3d34c6 Automatically generated installer lang files 2021-06-23 00:07:31 +00:00
Dongsheng Cai
9a50919cbc MDL-71029 forum: fix post count for users have more than 1 enrolment 2021-06-23 09:44:05 +10:00
Tim Hunt
54197c12d2 MDL-71991 files: check return value of rename when writing files 2021-06-22 19:37:28 +01:00
Víctor Déniz
0cc154a14c Merge branch 'MDL-71634-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-06-22 18:38:19 +01:00
Sara Arjona
ae9c02762e Merge branch 'MDL-70750-311' of git://github.com/ilyatregubov/moodle into MOODLE_311_STABLE 2021-06-22 10:21:05 +02:00
Andrew Nicols
2f36d545a5 Merge branch 'MDL-70233-alternative-disabled-cache-311' of https://github.com/Peterburnett/moodle into MOODLE_311_STABLE 2021-06-22 15:47:41 +08:00
mohalisad
480ceb3b10
MDL-71973 analytics cli: fix enabling model bug
Fix the exception at line 143 caused by wrong argument for constructor in line 140
2021-06-21 18:51:10 +04:30
Ilya Tregubov
69b3669a64 MDL-71593 oauth2: Remove methods that were readded by mistake. 2021-06-21 10:12:45 +02:00
Ilya Tregubov
b818405c99 MDL-70750 mod_survey: Fix warning for undefined offset. 2021-06-21 08:42:28 +02:00
Eloy Lafuente (stronk7)
bafd525ebe Merge branch 'MDL-71113-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-06-19 18:03:03 +02:00
AMOS bot
9fc53b4428 Automatically generated installer lang files 2021-06-19 00:07:33 +00:00
Jun Pataleta
c4b00efba1 MDL-71669 editor_atto: Set proper roles to toolbar menus
* Menu button fix
  - Added aria-haspopup, aria-controls, and aria-expanded attributes.
* Menu fixes
  - Added aria-labelledby that points to the menu button label.
  - Removed the dialog role in the menu's container.
  - The ul tag needs the "menu" role.
  - The li tag needs the role "none" instead of the "presentation" role

Reference:
https://www.w3.org/TR/wai-aria-practices-1.1/#menubutton
2021-06-18 15:20:52 +08:00
Andrew Nicols
613cd69cbd MDL-71113 javascript: Improve basic JS Documentation 2021-06-18 09:38:05 +08:00
Andrew Nicols
e214af5720 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Andrew Nicols
43ae52cbf8 MDL-71113 js: Bare minimum fixes to build jsdoc 2021-06-18 09:38:04 +08:00
Andrew Nicols
b811a22f86 MDL-71113 js: Add jsdoc configuration and Grunt 2021-06-18 09:38:04 +08:00
AMOS bot
25a35fc5ac Automatically generated installer lang files 2021-06-18 00:07:31 +00:00
Luca Bösch
77504691d5 MDL-71634 course: Do not show "Your progress" info any more. 2021-06-17 19:22:12 +02:00
Víctor Déniz
0e64d1d00d weekly release 3.11+ 2021-06-17 14:54:56 +01:00
Andrew Nicols
5ef3bfa683 Merge branch 'MDL-71813-311' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_311_STABLE 2021-06-17 11:28:34 +08:00
Andrew Nicols
e66cd8b30d Merge branch 'MDL-71926-311' of git://github.com/peterRd/moodle into MOODLE_311_STABLE 2021-06-17 10:45:02 +08:00
Eloy Lafuente (stronk7)
86b801358a Merge branch 'MDL-71896-311' of git://github.com/merrill-oakland/moodle into MOODLE_311_STABLE 2021-06-17 00:11:36 +02:00
Eloy Lafuente (stronk7)
afe6b6914c Merge branch 'MDL-71888-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-06-17 00:08:12 +02:00
Eloy Lafuente (stronk7)
383fcbbfb2 Merge branch 'MDL-71736-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-06-17 00:01:50 +02:00
Andrew Nicols
56efe6f9e3 Merge branch 'MDL-71804_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE 2021-06-15 11:27:08 +08:00
Peter Dias
6c5b6ab10c MDL-71926 core: Check capabilities before adding link
Check whether the user has the capability to manage courses before adding any link
2021-06-15 08:41:53 +08:00
Eloy Lafuente (stronk7)
3b90b7da11 MDL-71804 travis: Bump to bionic 2021-06-13 22:53:36 +02:00
abgreeve
70f99ddd9a weekly release 3.11+ 2021-06-11 13:52:12 +08:00
abgreeve
a3ef910dcf Merge branch 'install_311_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_311_STABLE 2021-06-11 13:52:11 +08:00
Eric Merrill
c5f16df579 MDL-71896 dml: Add auroramysql to config-dist 2021-06-10 15:30:25 -04:00
Sujith Haridasan
b5cd2c809b MDL-68915 core_form: Fix the behat test failure
Fix the behat test failure for the forums when
grades exist.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-06-10 15:04:05 +08:00
Adrian Greeve
881ec9371b Merge branch 'MDL-71369-311' of git://github.com/andrewnicols/moodle into MOODLE_311_STABLE 2021-06-10 11:50:08 +08:00
Andrew Nicols
430f220649 Merge branch 'MDL-71838_311' of https://github.com/timhunt/moodle into MOODLE_311_STABLE 2021-06-10 11:42:44 +08:00
Adrian Greeve
588db816c9 Merge branch 'MDL-68915-311' of https://github.com/sharidas/moodle into MOODLE_311_STABLE 2021-06-10 11:36:16 +08:00
Adrian Greeve
2048fa0397 Merge branch 'MDL-64236-311' of git://github.com/mihailges/moodle into MOODLE_311_STABLE 2021-06-10 11:28:38 +08:00
Sujith Haridasan
ee1b33a480 MDL-68915 lesson: Do not allow maxgrade change
Do not allow maxgrade change when some of the
users are already graded. As of now this is applicable
to the following activities:
1. Forum
2. Database
3. Lesson
4. Glossary

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-06-10 08:32:23 +05:30
Andrew Nicols
a14f5eb8ba Merge branch 'MDL-71559-m311' of https://github.com/sammarshallou/moodle into MOODLE_311_STABLE 2021-06-10 10:58:33 +08:00
Adrian Greeve
02bff36c41 Merge branch 'MDL-71682-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-06-10 10:52:43 +08:00
Andrew Nicols
6774412034 Merge branch 'MDL-71832-m311' of https://github.com/sammarshallou/moodle into MOODLE_311_STABLE 2021-06-10 10:41:31 +08:00
Andrew Nicols
e4f9f7ddea Merge branch 'MDL-71836-m311' of https://github.com/sammarshallou/moodle into MOODLE_311_STABLE 2021-06-10 09:19:04 +08:00
Andrew Nicols
42dc1464df Merge branch 'MDL-70846-311' of https://github.com/dcai/moodle into MOODLE_311_STABLE 2021-06-10 08:41:34 +08:00
AMOS bot
000065610d Automatically generated installer lang files 2021-06-10 00:07:26 +00:00
Paul Holden
71300b78a6 MDL-71888 admin: define clitablesexist string used by CLI installer. 2021-06-09 22:06:10 +01:00
Andrew Nicols
022e9ab852 MDL-71736 javascript: Run the ignorefiles command more liberally 2021-06-09 19:11:53 +08:00
Andrew Nicols
4abe3027d8 MDL-71874 behat: Show warning when using add to section without js 2021-06-09 16:27:19 +08:00
abgreeve
dbde80d859 Merge branch 'MDL-67975-311' of https://github.com/sharidas/moodle into MOODLE_311_STABLE 2021-06-09 16:13:57 +08:00
Sujith Haridasan
23f7bdc9a2 MDL-67975 nextcloud: Add support for Link to file
This change set would bring the following new additions
to the nextcloud repo:
1. Create a new radio button in filepicker: "Link to file"
2. When user clicks this radio button a warning message
   would be created, saying this file would become public.
   Meaning a public link is created in the nextcloud server.
3. Created a sync_reference method to sync the files downloaded
   from nextcloud server. The sync/refresh time given is 1 day/24 hours.
4. Made sure that when the file is downloaded, we use the file
   from moodledata file pool.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-06-09 13:38:07 +05:30