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
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