Changes of version 4.5 in detail - learnweb/moodle-tool_lifecycle GitHub Wiki
Lifecycle Version 4.5
There are many changes to the plugin in version 4.5, most of them at the surface. If you have questions I hope you will find the answer here. If not just send me an email to: [email protected].
Administration subpages organized by tabs (#237)
To be able to jump from one lifecycle page to another instantly tabs have been introduced. Every main function page is now callable with a tab link from any other page.
Workflow overview
"Show Details" activated/deactivated in the workflow overview
To see the countings for the actual workflow in the overview screen you have to click "the eye". Then the detailed figures are shown for this workflow as long you don't deactivate the detail view by clicking the eye again or by activating the detail view mode for another workflow. This setting lasts for the lifetime of the current session.
Workflow draft: Introduce "Activate"-button
If you are in the workflow overview page of a draft workflow and you have fullfilled the criterias for activating the workflow you can do it here right at the spot. Just click the new "Activate" button. Notice: You have to add a trigger AND at least one step to get the activate button.
Display the amounts of triggered, excluded, already used and delayed courses and the corresponding course lists
Now the figures for delayed or already used in other processes courses are shown in the totals of the course selection triggers section (if you are in "Show details mode"). If you click at these figures you can see the list of the corresponding courses.
Search function in course list
If the list of courses in workflow overview is longer than a page (> 20 entries) a search field is shown. Here you can filter the list by course name or course id.
Display the list of triggered (or excluded) courses of a single trigger
Now you can also call a list of courses included or excluded by a trigger. You see the amount of triggered/excluded courses for the trigger and - if there are any - the amount of courses that will not be triggered because they are already in the process of this workflow. The list shows only the courses that would be triggered/excluded newly when the trigger selection would start right now.
Now you can add single courses to workflow process
If you open the list of courses "triggered in total" you will find a button to add each single course to the workflow step. I dont know if this is a good idea but let's give it a try.
New: Two sections of triggers in workflow overview
Now there are two sections of triggers:
- Course selection triggers - They select or exclude courses by certain criterias.
- Course selection run triggers - They show when the (next) course selection run would take place (and when the last run has taken place). Here you see triggers who control the date when course selection runs take place. If there are no triggers of that kind the scheduled next run of the lifecycle scheduled task will be shown.
Triggers with activated option "exclude" show courses as "excluded"
If a trigger has the option to "exclude" and the option of the instance is checked the courses triggered by this trigger are shown as "excluded".
New Workflow: Select course selection trigger at first
If you create a new workflow you have to add a course selection trigger at first.
Notice: To promote a draft workflow to an active workflow the draft needs to have at least one trigger and one step.
Allow steps to run when course no longer exists (#222) (#223)
Even if a course which is due to be processed by a step has been deleted in the meantime the step is able to continue to work on the other courses instead of throwing an error.
Add checkbox "only once a day" to admin setting for trigger specificdate (#221)
Now there is an option to run a course selection run only once a day triggered by the specific date trigger and not the whole day (at every cron job cycle).
In case the action column is empty display a string (#217)
Empty columns in course listings are filled with information strings. Also in the workflowdetails view there should be at least a "-".
Store log data of sending emails in database (#218)
By activating an admin setting you can force to store data from the user notification emails sent by the email step to the database. User ID, course ID and timestamp are stored.
Email: add ##shortcourses## placeholder (#215)
To be able to use short course names in the notification emails a new placeholder has been introduced.
Show category of specified level in interaction tables (#216)
By means of two new admin settings it is possible to define the course category level that is shown in the interaction table.
Use field courseid for logging events (#203)
Now the course IDs are written in the lifecycle events whenever it makes sense.
Fix error when otherindex does not exist (#192)
This bug is now fixed thanks to Melanie Treitlinger.
Email: Clear separation in courses-list (#231)
In the notification emails courses in course listings are now separated by line breaks.
Delayed courses page: confirmation needed when deleting all delays
If you wish to delete all delays at once you have to confirm that in an modal confirmation window now.
The steps adminapprove and makeinvisible are now part of the main lifecycle plugin
Notice: A list of installed triggers and steps including short descriptions what they do can be seen in the settings page of the lifecycle plugin (tab "general").
The triggers byrole, customfielddelay and semindependent are also part of the lifecycle plugin now
Notice: A list of installed triggers and steps including short descriptions what they do can be seen in the settings page of the lifecycle plugin (tab "general").
Replace triggers sitecourse and delayedcourses by workflow instance options
The pseudo workflows for these triggers are not necessary anymore. Instead you can include the site course or the delayed courses by activating corresponding options in the workflow instance settings. So the two pseudo workflows are deprecated and made deletable and they will be removed by version 5.0 of the lifecycle plugin.
Shorter tab texts and introduce tab titles
You can customize the name of the tabs and the title of the tabs separately. The title is shown as tooltip.
Improve performance of workflow overview page
The performance when loading the workflow overview page has been improved. Still the trigger "by_role" is a little bit slow. Maybe we can improve it for the next version.
Prepare for not included trigger customfieldsemester
There should be no problem to use the trigger customfieldsemester with this new version of the lifecycle plugin. Please let me know if you run in troubles, though.