Commit graph

6087 commits

Author SHA1 Message Date
Shamim Rezaie
090fd3f8ae Merge branch 'MDL-72852-master' of https://github.com/sarjona/moodle 2022-01-25 13:34:01 +11:00
Shamim Rezaie
61f6e6c639 Merge branch 'MDL-73068-master-2' of git://github.com/mickhawkins/moodle 2022-01-25 10:55:47 +11:00
Sara Arjona
7c1d536b0d MDL-72852 navigation: Do not display badges when empty
If there are no course badges, students shouldn't have a link to a
page saying there are no badges available.

This patch is for displaying the Badges in the secondary navigation
only if the user can manage badges or there is, at least, one
badge available to the current user.
2022-01-24 15:31:23 +01:00
Sara Arjona
5b220a45ef MDL-71724 behat: Fix accessibility issues when upgrading axe lib 2022-01-24 15:30:57 +01:00
Mathew May
c530e4c448 MDL-72089 block_myoverview: Template changes for styling 2022-01-24 15:09:38 +08:00
Jake Dallimore
041b1beb46 Merge branch 'MDL-73347-master' of https://github.com/sarjona/moodle 2022-01-24 13:40:57 +08:00
Ilya Tregubov
67570f8b21 Merge branch 'MDL-73340-master-v02' of https://github.com/ferranrecio/moodle 2022-01-19 14:58:18 +02:00
Michael Hawkins
e01f2d514a MDL-73068 timeline: Update courses view to omit courses without events
Previously, the timeline block courses view included all courses in
alphabetical order, whether they contained any events matching the
relevant filters or not. This could be tedious and misleading if there
were many courses with no events appearing before a course which did
have matching events. Now, courses are only included if they contain
events matching the currently set time filter and search term. When
those values are modified, the block will be refreshed and fetch
results for the current values, and also takes these into
consideration when determining whether to display the show more courses
button.
2022-01-18 18:22:45 +08:00
Jun Pataleta
426d8badbd Merge branch 'MDL-73563' of https://github.com/paulholden/moodle 2022-01-18 10:43:47 +08:00
Andrew Nicols
6670c04c23 Merge branch 'MDL-73476' of https://github.com/stronk7/moodle 2022-01-18 09:31:44 +08:00
Víctor Déniz
04fe24ba0a Merge branch 'MDL-73584-master' of https://github.com/sarjona/moodle 2022-01-17 18:52:53 +00:00
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