-
Notifications
You must be signed in to change notification settings - Fork 35
Changes of version 4.5.4 and 4.5.5
Now it's possible to define for every workflow step another step from which the process in case of a rollback delay run off shall start the process for the course again.
Introduce new lib function check_course_code to force using function check_course for every course candidate (issue #243, #245)
If you want to add your own trigger selection code for a trigger to be processed on every single course you insert your selection code in function check_course() of the trigger and return "true" in trigger function check_course_code(). To avoid errors caused by $DB-sql-limitations the use of $DB->get_in_or_equal has been replaced by sql-statements largely, especially in process-relevant code parts. Be aware: If at least one trigger uses the check_course function all the other triggers of this workflow will use it as well.
Now it is possible to use a trigger more than once per workflow. If the lib function multiple_use() of a trigger returns true the trigger can be added to the course selection of the workflow n times. For the category trigger this is now the default.
EXPERIMENTAL: Trigger selection sql - conjunction(AND) and disjunction(OR) now possible (as a workflow option)
For every workflow you can now define whether the triggers for course selections will be combined with a conjunction (AND) or disjunction(OR). This new feature is not thouroughly tested, so be careful if you use it and tell us about your experiences in the issues section!
Display trigger counting partial as tooltip; show courses already part of the workflow process or the process errors
To reduce the abundant information about the course selection in workflow overview some informations are shifted to the tooltips of the trigger and the information, how many courses are already part of the process is shifted to the workflow panel.
Now it is possible to delete process errors which have no workflow-ID or step-ID in the process errors table.
Especially for debugging reasons it is now possible to start the lifecycle task (which is usually scheduled) via a link in the timetrigger panel of the workflow overview. In debugging mode the job writes a line for every course which is processed as well (course id and status).
- Display time as usertime, not UTC (Issue #188)
- A lack of capability is now the only reason not to render the manage courses sec nav link (issue #198)
- Trigger categories: improve cat listing in frozen edit form
- Workflowoverview Course selection: show run-link only when workflow is active
- Display error time in errors table
- Fix missing course error when aborting processes after course deletion
- Refactor last access trigger: no single course ids in sql (issue #243)
- Subplugins both ways of describing following MDL-83705 (issue #249)
- Workflows with triggers which have more than 65.535 paramaters throw an error (issue #243)
- Workflowoverview: show also '0' courses in exclude trigger. Make instancenames in supplugin form of active workflows static
- proceed, rollback event: take course context when context is missing
- Fix trigger customfielddelay's missing field error message
- Delete all delays: show amount of delays that would be deleted next to button
- Workflowoverview: exclude trigger: show excluded 0 as well
- processor.php: restore version 4.5 of function process_courses
- processor.php: restore version 4.5 of function call_trigger
- Fix step email context course id
- call_trigger: mtrace only when called by cron
- Fix behat tests interaction.feature and manual_trigger.feature
- Step libs' function process_course error: make sure course is of type stdClass
- Fix unit test process_error_test
- Add additional jobs to run in ci-file
- Fixed error occurring when renaming field manual to manually during the upgrade
The new trigger lastaccess fetches all the courses, where the last access by any course participant is before a defined date.
The step movecategory does just this: The course is moved to another category. Many thanks to the University Würzburg to provide these usefull subplugins!
Thanks to Thorsten Bartel of the RUB you can now catch not only all the courses, where a certain role is missing, but also where a certain role is present.
- No php notice if string plugindescription is missing
- Fix adminapprove sql error single approve
- Catch/prevent missing workflow error
- Fix uploadworkflow wrong redirect
- Workflowoverview: show also delayed trigger courses but only when still in delay
- Shift showdetails icon to block trigger
- activestep.php: make approval tab an active link
- Exclude trigger customfieldsemester from git
- mtrace processes without workflow and delete processes of removed courses
- Remove customfield_semester dependency
- Improve display of next run time
- Prevent deleting course 1
- Fix lastaccess error when no courses found
- Add filter form to procerror page
- Categories trigger: instance settings should not be editable
- Shift subplugins list to own page
- DB field 'manual' now reserved word in mysql version 8.4, change to 'manually'