Skip to content

Changes of Version 5.1.3

Thomas Niedermaier edited this page Mar 3, 2026 · 7 revisions

Version 5.1.3 (v5.1-r4, 2026-03-03)

Steps createbackup, deletecourse: fix maximum per cron bug

Until now, setting the fields “Maximum number of backups per cron” (step createbackup) and “Maximum number of courses deleted per cron” (step coursedelete) to zero prevented any courses from being processed in these steps.

Important: When upgrading the plugin to this new version, all step instances with a value of zero in these fields will automatically be set to “stopped” using the new stop feature (see below).

From now on, a value of zero means — as is standard for Moodle settings — no limit.

Make steps deletecourse and createbackup stoppable

You can now stop and reactivate each instance of these two step types at any time. Stopping a step means that the workflow remains active, but no courses in this step will be processed. This feature will soon be available for other step types as well.

Stop and Go-Steps in Workflow Stop and reactivate step

Introduce new trigger: Startdate

Trigger courses if their start date fall in a defined timeframe.

New trigger start date

Improve speed of view page (PR #289 by bycs-lp)

Improve performance of view page, especially for large instances. Admins will now also see courses that they are enrolled, but do not have a course role with the managecourses capability.

Thanks to Philipp Memmel of bycs-lp!

Cleanup task: Add the deletion of orphaned processes

To get rid of processes of courses that do not exist anymore a deletion-task has been added to the livecycle_cleanup_task.

Add interactions filter at user level (PR #291 by bycs-lp)

A new function "get_available_actions_for_user" has been added to the step lib where you can filter allowed step actions at user level. Your local code should go here: https://github.com/PhMemmel/moodle-tool_lifecycle/blob/cea46e98c1ab3cac1efb030bda802ed3fa885209/step/interactionlib.php#L125

Thanks to Philipp Memmel of bycs-lp!

Clone this wiki locally