Skip to content

v2.7.0

Latest

Choose a tag to compare

@tkorner tkorner released this 07 Nov 23:15

Two additions to the dashboard. Both are on by default.

  • Developer debugging switch. Next to "Purge ALL site caches" there is now a button that switches developer debugging on (debug = DEBUG_DEVELOPER, messages shown on screen) or off again. Like the full cache purge, it requires moodle/site:config. Every change is recorded in the config change log. If config.php fixes the debugging settings, the dashboard shows that instead of the button. Switching off sets debugging to "none", which also replaces a lower level such as DEBUG_NORMAL.
  • New health signal: "Courses without students or teachers". It lists visible courses in which nobody holds a student role, or nobody holds a teacher role, through an active enrolment. The detail page shows which group is missing and links to each course's participants page. Which roles count follows two existing site settings: "Graded roles" for students and "Course contacts" for teachers. Hide the signal with -local_admincockpit:courseswithoutparticipants in the plugin's health signal setting if you don't need it.

Also included: Behat acceptance tests for the dashboard, a weekly CI run against the Moodle 5.2/5.3 branch heads, and corrected test commands in the README. Release packages no longer contain repository tooling (.github/, .camp/, .gitattributes, .gitignore).