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
Andrew Nicols
626c8b43bf
Merge branch 'MDL-65801' of https://github.com/paulholden/moodle
2022-01-14 09:30:11 +08:00
Paul Holden
6ed8458eda
MDL-65801 lang: final removal of deprecated 37/38 strings.
...
The following lang strings have been undepecated, as they are still
in use:
* errorcoursewronglypublished, core_hub
* eventrolecapabilitiesupdated, core_role
2022-01-13 09:50:50 +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
Sara Arjona
f6af9e103d
MDL-73342 selfcompletion: Disable the block by default
...
Co-authored by: Amaia Anabitarte <amaia@moodle.com>
2022-01-11 16:37:26 +01:00
Sara Arjona
fcfa24f341
MDL-73342 rss_client: Disable the block by default
...
Co-authored by: Amaia Anabitarte <amaia@moodle.com>
2022-01-11 16:37:26 +01:00
Sara Arjona
219d8ec4a4
MDL-73342 feedback: Disable the block by default
...
Co-authored by: Amaia Anabitarte <amaia@moodle.com>
2022-01-11 16:37:25 +01:00
Sara Arjona
b1a772d1ad
MDL-73342 course_summary: Disable the block by default
...
Co-authored by: Amaia Anabitarte <amaia@moodle.com>
2022-01-11 16:37:25 +01:00
Huong Nguyen
db56452269
MDL-73297 Calendar: Display improvement in small screen
...
- Changed the breakpoint for responsiveness from 1200px to 768px
- Added "dots" to indicate days with events for the large block and main calendar page
- Added popovers for the main calendar page
- Added new Behat scenarios to test the responsiveness
2022-01-07 14:41:32 +07:00
Bas Brands
e3f5c0d191
MDL-73486 block_privatefiles: prevent stylelint warnings
2022-01-04 08:24:34 +01:00
Sara Arjona
b90bc54f4b
MDL-73339 mnet_hosts: Add block only if main feature is enabled
...
The Network servers block should be added only if the MNet
authentication is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
8246271f7c
MDL-73339 glossary_random: Add block only if main feature is enabled
...
The Random glossary entry block should be added only if the glossary
module is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
595177194f
MDL-73339 core_blocks: Behat tests to cover can_block_be_added
2021-12-30 13:17:49 +01:00
Sara Arjona
bafe63dc9f
MDL-73339 lp: Add block only if main feature is enabled
...
The Learning plans block should be added only if the competencies
advanced feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
c435627e18
MDL-73339 tags: Add block only if main feature is enabled
...
The Tags block should be added only if the badges advanced
feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
39faf1d99c
MDL-73339 badges: Add block only if main feature is enabled
...
The Latest badges block should be added only if the badges
advanced feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
33499f32d3
MDL-73339 globalsearch: Add block only if main feature is enabled
...
The Global search block should be added only if the global search
advanced feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
5f7b53980b
MDL-73339 completionstatus: Add block only if main feature is enabled
...
The Course completion status block should be added only if the
completion advanced feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
8e932d6fd9
MDL-73339 comments: Add block only if main feature is enabled
...
The Comments block should be added only if the comments advanced
feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
8d600233d3
MDL-73339 blog_tags: Add block only if main feature is enabled
...
The Blog tags block should be added only if the blogs and the tags
advanced features are enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
3413df37a5
MDL-73339 blog_recent: Add block only if main feature is enabled
...
The Recent blog entries block should be added only if the blogs
advanced feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
1e09ac167f
MDL-73339 blog_menu: Add block only if main feature is enabled
...
The Blog menu block should be added only if the blogs advanced
feature is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
06e8cda348
MDL-73339 accessreview: Add block only if main feature is enabled
...
The Accessibility review block should be added only if the
"Enable accessibility tools" advanced setting is enabled.
2021-12-30 13:17:49 +01:00
Sara Arjona
1823873d9a
MDL-73339 core_blocks: New method can_block_be_added
...
A new method, can_block_be_added, has been added to
let blocks override it to decide whether it should
be added to a page or not.
2021-12-30 13:17:47 +01:00
Sara Arjona
a633bb56c1
Merge branch 'MDL-72716' of https://github.com/paulholden/moodle
2021-12-29 15:01:38 +01:00
Paul Holden
844f4a7fb3
MDL-72716 blocks: fix external fetching of available blocks.
...
Pass `$PAGE->subpage` value in AJAX request, which is required on
some pages (e.g. user dashboard) for loading existing blocks.
2021-12-29 11:59:27 +00:00
Sara Arjona
27c1de3950
Merge branch 'MDL-73402' of git://github.com/paulholden/moodle
2021-12-29 10:07:55 +01:00
Sara Arjona
7e559628dc
Merge branch 'MDL-72581-master' of https://github.com/junpataleta/moodle
2021-12-28 09:23:11 +01:00
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