Commit graph

6326 commits

Author SHA1 Message Date
Sara Arjona
81b80edf40 MDL-73584 lib: Remove role menubar from Actions menu
The menubar role defined in the "menubar d-flex" element is not
required and it's causing the following error "Required ARIA children
role not present: group, menuitemradio, menuitem, menuitemcheckbox".
2022-01-17 12:50:53 +01:00
Andrew Nicols
4f0b70ba6d Merge branch 'MDL-73316' of https://github.com/Chocolate-lightning/moodle 2022-01-17 14:16:12 +08:00
Mathew May
0d279d3f24 MDL-73316 course: Prevent further redirects on redirect 2022-01-17 12:35:34 +08:00
Ferran Recio
81b0bbe8cb MDL-73340 behat: add mobile and table size 2022-01-14 18:49:06 +01:00
Ferran Recio
72321cff3f MDL-73340 theme_boost: course index opened by default 2022-01-14 18:49:06 +01:00
Eloy Lafuente (stronk7)
0c53a3dec8 MDL-73476 phpunit: events, external and search tescase names
All events_test, external_test and search_test classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to lib/external/tests/external_test.php:
- external is not a valid component
- hence, its only valid namespace is "core"
- also, it's testing lib/external/externallib.php
- hence, the file (and class) have been renamed to external_externallib_test.php
  (to avoid conflicts with other external_test that may exist in core)
2022-01-14 16:18:39 +01:00
Sara Arjona
53fe23d8b5 MDL-73347 behat: Add blocks hidden by default for boost
For the boost them, a few themes have been hidden by default.
The unaddable setting should be set to let admins add them again,
because some behat tests need them.
2022-01-14 13:08:48 +01:00
Paul Holden
8d5e36d55d MDL-73563 course: add vertical space above category action buttons. 2022-01-13 23:13:10 +00:00
Sara Arjona
1ce7bc329c Merge branch 'MDL-73343-master' of https://github.com/aanabit/moodle 2022-01-13 10:22:16 +01:00
Amaia Anabitarte
615027ea75 MDL-73343 block_myoverview: Add link to create course for empty content 2022-01-13 09:39:43 +01:00
Jun Pataleta
527808b1b5 Merge branch 'MDL-73508-master' of https://github.com/bmbrands/moodle 2022-01-13 15:33:07 +08:00
Paul Holden
6d18f136ae MDL-72772 gradereport_overview: account for users with parent roles. 2022-01-12 14:18:52 +01:00
Bas Brands
35f334be05 MDL-73508 core_course: bigger activity description on view page 2022-01-12 11:40:08 +01:00
Ilya Tregubov
4f5debcbef Merge branch 'MDL-72897-master' of https://github.com/ferranrecio/moodle 2022-01-12 11:32:36 +02:00
Sara Arjona
5c99a7e766 Merge branch 'MDL-72771_master' of https://github.com/reskit/moodle 2022-01-12 09:40:52 +01:00
Mathew May
a9952cfe4c MDL-73316 navigation: Add homepagesecondary nav 2022-01-12 13:54:57 +08:00
Paul Holden
1964d68f85 MDL-72772 gradereport_overview: access checks for viewing grades. 2022-01-12 13:43:35 +08:00
Ferran Recio
7a16356b05 MDL-73336 core_courseformat: fix tree accessbility issues
The course index uses collapsible to simulate a tree. To ensure the
resulting HTML follows the WCAG tree implementation, the tree widget
cannot be a nav element but a div one.
2022-01-11 16:15:57 +01:00
Ferran Recio
ea01266118 MDL-73336 theme_boost: fix drawer tooltips 2022-01-11 16:15:57 +01:00
Ferran Recio
ac77de1122 MDL-72897 core_courseformat: add scroll control to course index 2022-01-10 17:14:00 +01:00
Marc Català
b2702ccad2 MDL-72771 core_course: Set module visibility after moving it
Move a module to another section needs to update its visibility after
placing it into the new section. Otherwise an invalid database state
prevents the system to move any module with a completion rule
involving grades.
2022-01-07 14:28:00 +01:00
Bas Brands
31c4ac2c53 MDL-72735 core_course: style activity information on view page 2022-01-03 10:02:03 +01:00
Ferran Recio
88e17ccad9 MDL-72911 core_courseformat: fix deprecation messages 2021-12-28 12:50:53 +01:00
Ferran Recio
43499d332c MDL-72898 core_courseformat: hidden activity link 2021-12-28 12:50:23 +01:00
Shamim Rezaie
c683b69855 Merge branch 'MDL-72819-master' of https://github.com/ferranrecio/moodle 2021-12-23 17:33:32 +11:00
Jun Pataleta
80c17cd2a0 Merge branch 'MDL-72701-master' of https://github.com/andrewnicols/moodle 2021-12-23 12:10:46 +08:00
Jun Pataleta
2b962cf691 Merge branch 'MDL-73274-master' of https://github.com/bmbrands/moodle 2021-12-23 11:31:25 +08:00
Shamim Rezaie
dacfebedf3 Merge branch 'MDL-73348' of https://github.com/stronk7/moodle 2021-12-22 21:19:52 +11:00
Ferran Recio
08670beb6e MDL-72819 core_courseformat: change collapsed attribute names 2021-12-21 10:02:40 +01:00
Andrew Nicols
a7f6c8cdcd MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
Andrew Nicols
bb9741d472 MDL-72701 unit tests: Fix broken @covers annotations 2021-12-21 09:24:00 +08:00
Bas Brands
f2ddd23ec1 MDL-71457 theme_boost: activity icon styling 2021-12-20 15:02:24 +01:00
Eloy Lafuente (stronk7)
e4a2d9c1d4 MDL-73348 phpunit: normalize all privacy provider tests
As far as now all them have correct privacy level2 namespace:
- Move them to "privacy" subdir.
- Rename the files to "provider_test.php", this includes old
  privacy_test.php and privacy_provider_test.php files
- Rename the testcase to provider_test too (to match file name)

Also, change some relative paths and comments to point to new
locations.
2021-12-17 14:21:02 +01:00
Eloy Lafuente (stronk7)
57e6fb7ad9 MDL-73348 phpunit: privacy and privacy_provider testcase names
All privacy_test and privacy_provider_test classes:

- Namespaced with component\privacy.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Renamed a few files to make all be privacy_test or privacy_provider_test.php
- All them passing individually.
- Complete runs passing too.
2021-12-17 14:21:02 +01:00
Bas Brands
a8b6912e44 MDL-73274 theme_boost: add block/activity styling 2021-12-15 14:46:45 +01:00
Peter Dias
66b32a677b MDL-72413 course: Behat test update 2021-12-14 08:11:20 +02:00
Ilya Tregubov
9e5ffa2229 Merge branch 'MDL-72095-master-3' of https://github.com/bmbrands/moodle 2021-12-13 18:46:16 +02:00
Ilya Tregubov
16a7c3a698 Merge branch 'MDL-72413-master-dec13' of https://github.com/peterRd/moodle 2021-12-13 09:35:14 +02:00
Peter Dias
710c04d5ee MDL-72413 core: Disable the default activity header 2021-12-13 09:49:35 +08:00
Ilya Tregubov
6f44f008d8 Merge branch 'MDL-73278' of https://github.com/stronk7/moodle 2021-12-10 18:51:40 +02:00
Eloy Lafuente (stronk7)
de66ba356e t checkout MOODLE_311_STABLE && git fetch https://github.com/mudrd8mz/moodle.git MDL-73201-311-enfix && git merge --no-ff FETCH_HEAD
Merge branch 'MDL-73201-master-enfix' of https://github.com/mudrd8mz/moodle
2021-12-09 23:18:03 +01:00
Eloy Lafuente (stronk7)
71746122a5 Merge branch 'MDL-72287-master' of https://github.com/mihailges/moodle 2021-12-09 23:14:32 +01:00
David Mudrák
46e2e2020d MDL-73201 lang: Use fixed strings in the tests, too 2021-12-09 19:56:02 +01:00
Mihail Geshoski
e00da7e884 MDL-72287 behat: Update behat tests 2021-12-09 23:47:57 +08:00
Mihail Geshoski
d000b16a72 MDL-72287 report: Add back link and headings in user profile pages 2021-12-09 22:46:57 +08:00
Ilya Tregubov
4c6151abd1 Merge branch 'MDL-71291-master' of https://github.com/bmbrands/moodle 2021-12-09 13:28:16 +02:00
Jun Pataleta
107bcc143c Merge branch 'MDL-72090-master' of git://github.com/abgreeve/moodle 2021-12-09 11:17:32 +08:00
abgreeve
fcd4de8639 MDL-72090 navigation: Update to behat feature files for navigation.
This updates feature files to use the new steps to navigate to certain
pages.
2021-12-09 11:13:35 +08:00
Bas Brands
946fd915e2 MDL-72095 theme_boost: max width for activity pages 2021-12-08 17:29:49 +01:00
Jun Pataleta
402101b58f Merge branch 'MDL-71691-master-9' of https://github.com/bmbrands/moodle 2021-12-08 20:29:40 +08:00