Commit Graph

17 Commits

Author SHA1 Message Date
Paul Holden 6c08d1c101 MDL-81058 admin: fix sesskey checks for admin preset actions. 2024-04-17 03:24:19 +00:00
Paul Holden 4a8cd5019f MDL-80124 admin: prevent deletion of pre-installed preset definitions. 2024-01-25 21:51:48 +00:00
Paul Holden 70dff40d77 MDL-78688 admin: define accepted filetype for uploaded preset file. 2023-08-01 10:23:14 +01:00
Marina Glancy 8fc1486d36 MDL-77164 various: fix incorrect phpdocs 2023-04-13 11:35:06 +01:00
Mathew May e5ca7766e7 MDL-52805 core: Remove legacy log calls 2023-03-07 13:08:46 +08:00
Marina Glancy 7bbb5434bf MDL-75100 core: replace function strftime deprecated in PHP 8.1 2022-11-21 11:41:12 +01:00
Sujith Haridasan aa1c2e2382 MDL-73848 administration: Fix the breadcrumbs and nav highlights
Create or update the breadcrumbs in the site administration
pages where it is required.
Highlight the corresponding site adminstration tab.
Highlight the primary nav to Site administration when user
is navigating to any of the site administration pages.

Also changed the boostnavbar so that the nodes in the secondary
navigation are not shown in the breadcrumbs when user is in site
administration page.
2022-03-25 17:44:47 +08:00
Amaia Anabitarte c0196fb096 MDL-73953 core_adminpresets: Marking core presets on DB 2022-03-02 12:49:01 +01:00
Jun Pataleta 0ca2ed3432 Merge branch 'MDL-73741-master' of https://github.com/sarjona/moodle 2022-02-03 12:06:26 +08:00
Sara Arjona 5b0ff32841 MDL-73741 adminpresets: Remove duplicates from breadcrumbs 2022-02-02 16:51:37 +01:00
Bas Brands 7c76e1c349 MDL-72466 core_output: dropdown menu alignment 2022-01-27 17:24:20 +01:00
Sara Arjona 65d56fa87b MDL-73546 tool_admin_presets: Fix link error in logs 2022-01-11 17:14:37 +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
Sara Arjona bfa24ae53a MDL-73394 admin_presets: New setting to store last preset applied
A new setting has been added to config_plugins to store the last
preset identifier applied.
2021-12-23 16:07:57 +01:00
Sara Arjona 42895003e4 MDL-73145 install: Apply site preset if defined in config
A new setting, $CFG->setsitepresetduringinstall, has been added to
config file, to let admins define the site admin preset to be applied
during the Moodle installation.

Besides, a new parameter, "--sitepreset" has been also added
to admin/cli/install.php, to let define it too when running the
upgrade process using CLI.
2021-12-09 09:48:44 +01:00
Ilya Tregubov 855aaa6053 NOBUG: Fixed file access permissions 2021-12-07 14:59:36 +02:00
Sara Arjona 9e4f2a45f8 MDL-72112 admin_presets: Add admin_presets tool 2021-12-03 11:11:37 +01:00