28617 Commits

Author SHA1 Message Date
Dongsheng Cai
8a3e5377b1 MDL-67536 libraries: replace babel-polyfill with core-js 2021-06-21 12:03:58 +10:00
Jun Pataleta
9d943c4ff9 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:08 +08:00
Andrew Nicols
4f422785c6 MDL-71113 javascript: Improve basic JS Documentation 2021-06-18 09:38:05 +08:00
Andrew Nicols
92179b7057 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Luca Bösch
9fc6c45b10 MDL-71634 course: Do not show "Your progress" info any more. 2021-06-17 19:22:13 +02:00
Andrew Nicols
f2ed5255e5 Merge branch 'MDL-71927' of https://github.com/timhunt/moodle 2021-06-17 10:52:18 +08:00
Eloy Lafuente (stronk7)
9395d24ca9 Merge branch 'MDL-56873-master' of git://github.com/mickhawkins/moodle 2021-06-16 23:30:26 +02:00
Andrew Nicols
fb61c1d930 Merge branch 'MDL-69908' of git://github.com/paulholden/moodle 2021-06-16 15:28:32 +08:00
Tim Hunt
b4bbbf15a3 MDL-71927 reports: show time to the second in logs report
And in the question history in quiz reviews.

Without this, it can be difficult to investigate some problems.
2021-06-14 21:41:16 +01:00
Paul Holden
c260bad774 MDL-69908 user: include groups with exported course participants. 2021-06-14 09:31:30 +01:00
Sara Arjona
6347b916bc MDL-71165 course: core_course_update_course external method 2021-06-14 14:36:20 +08:00
Andrew Nicols
a9b0f4dafe Merge branch 'MDL-71134-master-v03' of git://github.com/ferranrecio/moodle 2021-06-14 11:52:35 +08:00
Sujith Haridasan
f11be42fae 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:05:42 +08:00
Michael Hawkins
18a7f0134d MDL-56873 admin: Set sensible default cURL security settings 2021-06-10 12:01:39 +08:00
Andrew Nicols
fb39111722 Merge branch 'MDL-71806-improve-check-ux' of https://github.com/brendanheywood/moodle 2021-06-10 11:57:45 +08:00
Adrian Greeve
4af7195d1e Merge branch 'MDL-68915-master' of https://github.com/sharidas/moodle 2021-06-10 11:35:43 +08:00
Andrew Nicols
8c8eac9df5 Merge branch 'MDL-67822-schema-check' of https://github.com/brendanheywood/moodle 2021-06-10 11:03:52 +08:00
Sujith Haridasan
25ea1f8e64 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:30:39 +05:30
Andrew Nicols
e146f919fc Merge branch 'MDL-70230-master' of https://github.com/jpahullo/moodle 2021-06-10 08:45:26 +08:00
Andrew Nicols
73a5098a89 Merge branch 'MDL-70846-master' of https://github.com/dcai/moodle 2021-06-10 08:41:11 +08:00
Andrew Nicols
64e7326649 MDL-71874 behat: Show warning when using add to section without js 2021-06-09 16:26:43 +08:00
Andrew Nicols
7782eeb55e Merge branch 'MDL-65637-master' of git://github.com/peterRd/moodle 2021-06-09 13:22:49 +08:00
Ferran Recio
b85cba317e MDL-71134 core: add new reactive modules
The new course creation for Moodle 4.0 requires to add
some leavel of reactivity to the frontend. Instead of
building a specific solution only for the course editor,
in this commit there's a generic solution that can be
used in other places in Moodle to implement single
state reactive components.
2021-06-07 12:27:06 +02:00
Sara Arjona
5f91cbb611 MDL-71135 course: core_course_get_state external method 2021-06-04 16:43:28 +02:00
Jordi Pujol Ahulló
9c4510a358 MDL-70230 admin: add setting sched. task status
When defining settings that are used by scheduled tasks,
it is also useful, or even needed, to know the status
of that scheduled task to have the whole big picture of
that part of the system.

Based on the admin_setting_description, this new setting
reports its name, its status, a link to the configuration.

When adding a new setting of this type, the user can add
an extra description field to complete the whole meaning.
2021-06-04 08:12:16 +02:00
Dongsheng Cai
e3690a392d MDL-70846 accessibility: update tree attributes to pass a11y check
- Move aria-* atrributes from <p> to <li>
- Move "role" attribute from <p> to <li>
- Update behat tests

Based on reference implementation from:
- https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html
- https://www.w3.org/WAI/GL/wiki/Using_ARIA_trees
2021-06-03 13:52:04 +10:00
Andrew Nicols
95fed58b5e Merge branch 'MDL-71741-master' of git://github.com/HuongNV13/moodle 2021-06-03 11:51:12 +08:00
Huong Nguyen
711d309aa3 MDL-71741 portfolio: Reset header information between requests
The reset process also removes the CURLFile option in the HTTP object,
which will avoid the serialisation issue on PHP7.4 and upward
2021-06-03 10:49:50 +07:00
abgreeve
c5a08d897d Merge branch 'MDL-71284-master' of git://github.com/lucaboesch/moodle 2021-06-03 11:42:53 +08:00
abgreeve
e634ad8e3d Merge branch 'MDL-68927' of https://github.com/paulholden/moodle 2021-06-03 09:47:06 +08:00
abgreeve
ef1d17c8ba Merge branch 'MDL-71644-master' of https://github.com/NashTechOpenUniversity/moodle 2021-06-03 09:40:43 +08:00
Eloy Lafuente (stronk7)
0f5e9aa759 Merge branch 'master-MDL-71438_v2' of https://github.com/golenkovm/moodle 2021-06-02 23:51:52 +02:00
Mikhail Golenkov
ee3c6ad3ac MDL-71438 blocks: Add index on mdl_user_preferences.name 2021-06-02 22:10:37 +10:00
Brendan Heywood
fbb36f8977 MDL-67822 report_performance: Add DB schema check 2021-06-02 18:45:12 +10:00
Peter Dias
8e71f6b1f1 MDL-65637 core_oauth2: Introduce a new custom linkedin oauth2 client 2021-06-02 08:11:38 +08:00
Peter Dias
169e1812ed MDL-65637 core_oauth2: Create new oauth2 mapping function
Separated userinfo mapping into a function and new unit test
2021-06-02 08:11:38 +08:00
Brendan Heywood
7d96f74f6f MDL-71806 report_security: Improve public paths check 2021-06-01 18:24:53 +10:00
Huong Nguyen
6372d61f71 MDL-66539 atto_link: Non-intuitive action for atto link button 2021-06-01 08:52:32 +07:00
Eloy Lafuente (stronk7)
1a8f79a177 Merge branch 'MDL-71595-master' of https://github.com/sammarshallou/moodle 2021-05-31 22:34:39 +02:00
Huong Nguyen
5f91063c91 MDL-71741 portfolio: Use the correct configurations 2021-05-28 08:52:05 +07:00
Luca Bösch
0fb0743025 MDL-71284 assign: prevent double escaping assignment name. 2021-05-27 20:31:42 +02:00
Andrew Nicols
c1b5ff301c Merge branch 'MDL-71637-master' of git://github.com/peterRd/moodle 2021-05-27 11:47:59 +08:00
Andrew Nicols
676e366257 Merge branch 'MDL-53544-master-2' of git://github.com/peterRd/moodle 2021-05-27 11:43:46 +08:00
Andrew Nicols
1aa1276a84 Merge branch 'MDL-71047-master' of https://github.com/NashTechOpenUniversity/moodle 2021-05-27 11:18:14 +08:00
Peter Dias
d1c978c33c MDL-53544 core: Performance update is_charset_supported 2021-05-27 10:25:08 +08:00
Eloy Lafuente (stronk7)
27df23a5b7 Merge branch 'MDL-71159-master' of git://github.com/andrewnicols/moodle 2021-05-26 18:35:55 +02:00
Sara Arjona
eeb5b4b4d8 Merge branch 'MDL-53544-master-2' of git://github.com/peterRd/moodle 2021-05-26 12:39:25 +02:00
Peter Dias
f991397011 MDL-53544 lib: Update unit tests and thirdpartylibs 2021-05-26 16:46:30 +08:00
Peter Dias
490c72f491 MDL-53544 core: Remove typo3 usages in core 2021-05-26 16:46:30 +08:00
Peter Dias
36c64105a7 MDL-53544 lib: Remove typo3 from text.php 2021-05-26 16:46:30 +08:00