-
Improvement
-
Resolution: Fixed
-
Minor
-
4.1.6
-
MOODLE_401_STABLE
-
MOODLE_404_STABLE
-
mdl67898-check-setting-admintree
-
Builds on top of MDL-67818
Lots of plugins define some settings like url + api keys, and then have some sort of conditional inline notification to add a connect check. This would just be some convenience classes so that once you have defined a check you can just expose that in the admin tree directly and remove a chunk of duplication.
- Expose all checks as a web service so we get ajax for free
- Create a new admin setting which is passed in the check object
- Renders minimal generic info which is what gets searched in the admin tree
- If the check is visible on the loaded admin page either in a search or in a settings page then fire ajax call to load in the details
- If it passes or fails show a notification
- link to the action
- find a simple candidate in core which is easy to test to convert over, eg auth_ldap connection check
- caused a regression
-
MDL-83537 admin_setting_check should not render action link if check does not have action link
-
- Waiting for peer review
-
- has been marked as being related by
-
MDL-68602 Performance regression for badges_verify_site_backpack -> curl on admin pages
-
- Closed
-
- is child of
-
MDL-67818 Create a Check API
-
- Closed
-