Amaia Anabitarte
dd9795530d
MDL-73397 adminpresets: Fix docblocks for apply_behaviors
2022-01-04 12:13:20 +01:00
Amaia Anabitarte
570d2e7492
MDL-73397 adminpresets: Remove tree-view
2022-01-04 12:13:19 +01:00
Sara Arjona
e5a1b33676
MDL-73397 adminpresets: Move lastpresetapplied to core
...
In MDL-73394 the lastpresetapplied setting was added to the
tool_admin_presets. This commit moves it to adminpresets.
2022-01-04 12:13:19 +01:00
Sara Arjona
e5c440b3aa
MDL-73397 adminpresets: Use new API from auth and quiz
...
The adminpresets has become an API in order to let plugins, such
as quiz and auth, to overwrite classes for their settings.
2022-01-04 12:13:19 +01:00
Sara Arjona
e046c6e6ef
MDL-73397 admin: Use method from new core_adminpresets
...
In MDL-73145, a new $CFG setting was added to let define the preset
to be installed.
This patch replaces the method call to the new one that has been
moved from tool_admin_presets plugin to core_adminpresets component.
2022-01-04 12:13:19 +01:00
Sara Arjona
1f47ef1a34
MDL-73397 adminpresets: Move sensiblesettings to core
...
The sensiblesettings setting has been moved from tool_admin_presets
to adminpresets component where it belongs, in order for being able
to use it from the API to decide whether sensible settings should
be included when exporting them.
2022-01-04 12:13:19 +01:00
Sara Arjona
8bf52e3195
MDL-73397 tool_admin_presets: Move data and API methods to new component
...
A new component has been created, core_adminpresets, and tables and some
API methods from this tool have been moved there, so it can spread over
other plugins.
Currently, the tool_admin_presets plugin only provides the UI to interact
with the core adminpresets stuff.
2022-01-04 12:13:19 +01:00
Ilya Tregubov
bc8b1be24d
Merge branch 'MDL-73451-master' of https://github.com/bmbrands/moodle
2022-01-04 12:46:41 +02:00
Paul Holden
7412121555
MDL-73465 theme_boost: apply rounded borders to modal dialogs.
2022-01-04 09:31:57 +00:00
Shamim Rezaie
ec4fd41f39
Merge branch 'MDL-72930-master' of git://github.com/abgreeve/moodle
2022-01-04 19:03:08 +11:00
Adrian Greeve
0a04ebde11
MDL-72930 navigation: Remove duplicated navigation boxes.
...
Some pages have settings that really aren't required anymore.
These have been removed and a function has been aded so that other
developers can turn off the navigation overflow if they want.
2022-01-04 15:58:52 +08:00
abgreeve
f56ecc27f9
MDL-72930 navigation: Update to quiz and questionbank navigation.
...
Alterations here allowed the removal of renderables, and mustache
templates for quiz report navigation. The questionbank was also
updated to show injected navigation nodes from third party plugins.
2022-01-04 15:58:52 +08:00
abgreeve
f1d22c9830
MDL-72930 navigation: Update to badges navigation.
...
This allows navigation nodes injected into the badges section
to be displayed as either a button or a dropdown url_select.
2022-01-04 15:58:52 +08:00
abgreeve
f0ecd475d0
MDL-72930 navigation: Update the reports helper navigation.
...
This allows injected navigation nodes into the reports to be
shown in the report selector.
2022-01-04 15:58:52 +08:00
abgreeve
ffdf385547
MDL-72930 navigation: Update to the participants page navigation.
...
This adds the ability for the participants page to display injected
navigation nodes in the users navigation node.
2022-01-04 15:58:52 +08:00
abgreeve
f85662d744
MDL-72930 navigation: Changes to the secondary view unit tests.
...
The display of the arrays has been changed and so updates were
necessary for the unit tests as well due to changing output.
2022-01-04 15:58:52 +08:00
abgreeve
060e5dedee
MDL-72930 navigation: Change over old code to use new static methods.
...
This removes the old and less good methods for retrieving an array
for use with a url_select and uses the newer better ones instead.
2022-01-04 15:58:52 +08:00
abgreeve
f17b124b7b
MDL-72930 navigation: Creation of new secondary nav methods
...
This adds new static methods for general use when dealing with
third party navigation nodes that have been added via callbacks.
2022-01-04 15:58:52 +08:00
Bas Brands
e3f5c0d191
MDL-73486 block_privatefiles: prevent stylelint warnings
2022-01-04 08:24:34 +01:00
Mihail Geshoski
cb9e513ee5
MDL-73487 navigation: Remove outcomes from course admin overflow nodes
2022-01-04 14:57:06 +08:00
Peter Burnett
28d6333f47
MDL-68773 backup: Allow completed async backup + restore tasks to clear
2022-01-04 10:57:58 +10:00
Eloy Lafuente (stronk7)
ed4c560c42
Merge branch 'MDL-72735-master' of https://github.com/bmbrands/moodle
2022-01-03 20:15:09 +01:00
Eloy Lafuente (stronk7)
3960da3fc7
Merge branch 'MDL-71718-master' of https://github.com/sarjona/moodle
2022-01-03 19:52:00 +01:00
Laurent David
09ba0cb9a8
MDL-73306 mod_bigbluebuttonbn: "Recently Activity" block display
...
* The callback 'xxx_print_recent_activity' needed to be created in order to display
the activities in the block
* Use the print_recent_activity_note api function
2022-01-03 15:04:21 +01:00
Sara Arjona
727f0d4daf
MDL-73397 adminpresets: Create new core_adminpresets component
...
The core_adminpresets component has been added and some data and
methods from the tool_admin_presets have been moved here.
2022-01-03 11:51:33 +01:00
Bas Brands
31c4ac2c53
MDL-72735 core_course: style activity information on view page
2022-01-03 10:02:03 +01:00
Shamim Rezaie
2e4fcf618b
Merge branch 'MDL-73449-master' of https://github.com/aanabit/moodle
2021-12-31 19:39:09 +11:00
Shamim Rezaie
33f1288675
Merge branch 'MDL-73339-master' of https://github.com/sarjona/moodle
2021-12-31 11:04:57 +11:00
Petr Skoda
2e95fabd95
MDL-73272 behat: move behat extension to core
2021-12-31 09:59:18 +13:00
Eloy Lafuente (stronk7)
511801cb46
MDL-73352 phpunit: lib_test and locallib_test testcase names
...
All lib_test and locallib_test classes:
- Namespaced with component (and API whenever makes sense).
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed or add new uses.
- All them passing individually.
- Complete runs passing too.
Special mention to tests under login/tests:
1) The core_login component doesn't exist.
2) But login/tests are allowed because there is a suite pointing to it (phpunit.xml).
3) So, the only possible namespace for them is "core".
4) And to avoid problems with other core testcases (under lib/tests)
they have been renamed to have login_xxxx as prefix.
2021-12-30 16:21:42 +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
Paul Holden
98e7d99720
MDL-73468 reportbuilder: observe configured sorting when editing.
...
Users preferred sorting (via clicking on column headers) should only
take effect when pre/viewing the report, not when editing it.
2021-12-30 11:35:07 +00:00
Sara Arjona
fdfa1a9524
MDL-71718 lib: Set Moodle files after codemirror upgrade
2021-12-30 12:34:16 +01:00
Sara Arjona
8dc095e54e
MDL-71718 lib: Upgrade codemirror to 5.65.0
2021-12-30 12:34:16 +01:00
Sara Arjona
5c2004def2
MDL-71719 lib: Set Moodle files after jsbeautify upgrade
2021-12-30 12:33:10 +01:00
Sara Arjona
eebf70d1e8
MDL-71719 lib: Upgrade jsbeautify to 1.14.0
2021-12-30 12:33:10 +01:00
Sara Arjona
541d999d27
on-demand release 4.0dev+
2021-12-30 11:24:35 +01:00