3466 Commits

Author SHA1 Message Date
Sara Arjona
0fc33251bf Merge branch 'MDL-72904-master-dec21' of https://github.com/peterRd/moodle 2021-12-27 08:47:50 +01:00
Peter Dias
6d5ab2233a MDL-72904 core_badges: Update behat tests 2021-12-23 21:25:36 +08: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
Jun Pataleta
b180acb3f2 Merge branch 'MDL-72650-master' of https://github.com/HuongNV13/moodle 2021-12-22 09:21:51 +08:00
Jun Pataleta
f3324d208b MDL-72581 block_timeline: Update with the new activity icons 2021-12-21 18:04:25 +08:00
Jun Pataleta
e9bd499fb1 Merge branch 'MDL-72867-master' of https://github.com/HuongNV13/moodle 2021-12-21 11:23:09 +08:00
Andrew Nicols
a7f6c8cdcd MDL-72701 core: Improve code coverage for core 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
Paul Holden
73ef0be41f MDL-73402 block_admin_bookmarks: slightly relax section cleaning.
Allow '/' character in external page names.
2021-12-17 11:59:23 +00:00
Bas Brands
a8b6912e44 MDL-73274 theme_boost: add block/activity styling 2021-12-15 14:46:45 +01:00
Huong Nguyen
8c336899a9 MDL-72867 Navigations: User menu improvements 2021-12-15 13:54:45 +07:00
Ilya Tregubov
9e5ffa2229 Merge branch 'MDL-72095-master-3' of https://github.com/bmbrands/moodle 2021-12-13 18:46:16 +02:00
Sara Arjona
9de028f9ec Merge branch 'MDL-73330' of https://github.com/paulholden/moodle 2021-12-13 17:25:28 +01: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
David Mudrák
46e2e2020d MDL-73201 lang: Use fixed strings in the tests, too 2021-12-09 19:56:02 +01:00
Paul Holden
7905bbf240 MDL-73330 blocks: add missing library require for constants.
All the MY_PAGE_* constants used since 15b41641 reside in another
library. We should be explicit and include it, to avoid warnings.
2021-12-09 16:06:15 +00: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
Bas Brands
3652222ec9 MDL-71691 block_social_activities: activity styling 2021-12-08 13:14:05 +01:00
Bas Brands
a1efc59edf MDL-71691 block_site_main_menu: activity styling 2021-12-08 13:14:05 +01:00
Bas Brands
c68813be08 MDL-71691 core_course: activity styling 2021-12-08 13:14:05 +01:00
Eloy Lafuente (stronk7)
deb0e76eee MDL-73278 phpunit: Rename already namespaced classes to match file name
These are the only cases 100% safe to apply the renaming of the
testcase class names to match the file names.

All other cases are not safe, because they are missing namespace
and may enter into name conflicts. Adding namespaces is not as
simple as imagined because it implies to, also, add a good number
of modifications to core. See the issue for more details.
2021-12-07 23:54:29 +01:00
Huong Nguyen
1f6a45ba21 MDL-72650 Blocks: Use search_input_auto for Course overview and Timeline 2021-12-06 10:49:48 +07:00
Sara Arjona
ba2e02e5ae Merge branch 'MDL-73087' of https://github.com/Chocolate-lightning/moodle 2021-12-02 12:57:26 +01:00
Mathew May
15b416416c MDL-73087 blocks: Add a way to fetch my courses via WS 2021-12-02 18:40:52 +08:00
Jun Pataleta
9c87d0772c Merge branch 'MDL-73113-master' of https://github.com/aanabit/moodle 2021-12-02 12:57:52 +08:00
Sara Arjona
948c86ce07 Merge branch 'MDL-72996' of https://github.com/Chocolate-lightning/moodle 2021-12-01 11:35:01 +01:00
Amaia Anabitarte
21eec081fb MDL-73113 block_myoverview: Change All filter names 2021-11-30 18:57:16 +01:00
Jun Pataleta
a119f8e09c MDL-73066 calendar: Behat test fixes
* Specify which close button is being clicked
* Fill out course field when creating a group event
2021-11-30 17:18:42 +08:00
Mathew May
f65b92577a MDL-70197 navigation: Update classic goutte tests 2021-11-30 08:13:49 +02:00
Eloy Lafuente (stronk7)
113ced6c0d Merge branch 'MDL-73066-master' of https://github.com/lameze/moodle 2021-11-29 20:11:24 +01:00
Sara Arjona
bc93e8438d Merge branch 'MDL-72790-master-3' of git://github.com/mickhawkins/moodle 2021-11-29 12:07:56 +01:00
Sara Arjona
d1667b684b Merge branch 'MDL-72893-master' of https://github.com/HuongNV13/moodle 2021-11-29 09:58:32 +01:00
Mathew May
b983003e2e MDL-70197 navigation: Remove old navigation elements and migrate behat 2021-11-29 15:47:42 +08:00
Mathew May
2e31a1c930 MDL-72996 myoverview: Hide the block header on the my courses page 2021-11-25 10:55:20 +08:00
Michael Hawkins
c18fe5ecf6 MDL-72790 block_timeline: Set content width consistent with other blocks
Previously the margins were set with the container class, which meant
the content was narrower than other blocks. This does not need to be
managed by the block since the dashboard will soon manage this with
its own max width.
2021-11-24 14:09:57 +08:00
Michael Hawkins
873262bbaa MDL-72790 block_timeline: Ensure overdue badge visible at all widths
This ensures on narrower screens, the activity title still truncates
but the overdue pill always remains visible where present. There is no
visual change where an item is not overdue, or on wider screens where
there is room to display the full content.
2021-11-24 14:09:57 +08:00
Huong Nguyen
1a75b75b52 MDL-72790 block_timeline: Fix button layout and row wrapping on mobile
This ensures all row content wraps nicely on smaller screen sizes, and
forces all action buttons to be displayed in a consistent position
indepdendent of the length of the activity name etc. Buttons are also
now aligned under the text on small screens, to maximise space for the
text content.

Co-authored-by: Michael Hawkins <michaelh@moodle.com>
2021-11-24 14:09:57 +08:00
Michael Hawkins
921eb5ce0e MDL-72790 block_timeline: Improve padding and background in Classic
This ensures in the Classic theme that some padding is appled to both
sides of each item, so titles and action buttons are not flush against
the margin. Dropdowns/inputs in the block are also aligned to this
content, so everything aligns in both Boost and Classic.
This commit also groups related elements with a solid background colour
(eg within the same course in courses view), rather than having
individual row items broken up, to improve readability (and look nicer).
2021-11-24 14:09:50 +08:00
Simey Lameze
dba805c552 MDL-73066 calendar: remove course and cat params from footer links 2021-11-23 19:11:34 +08:00
Eloy Lafuente (stronk7)
a7571e934c Merge branch 'MDL-73067-master' of https://github.com/lameze/moodle 2021-11-23 10:52:11 +08:00
Huong Nguyen
f1c0c2905d MDL-72893 Behat: Fix Behat failures for Timeline block 2021-11-22 11:50:25 +07:00
Sara Arjona
dc0e7a45df Merge branch 'MDL-70721-master' of git://github.com/rezaies/moodle 2021-11-18 15:18:51 +01:00
Simey Lameze
46e4130b6f MDL-73067 block_calendar_month: remove event key filter 2021-11-18 09:08:03 +08:00