|Version 5 (modified by athomas, 11 years ago) (diff)|
Patch for exporting an interface to alternative ticket workflows
This is a patch against Trac trunk which implements an extension mechanism for allowing alternative ticket work flows. It is discussed at length on PEC under [trac-ticket:869 #869] and NewWorkFlow.
The patch adds two things to Trac's Python API:
- The trac.ticket.api.ITicketActionController interface, which abstract the ticket action control logic into an extension point.
- The trac.web.form module which is used to describe form controls that can be passed to Trac's form_control() Clearsilver function.
It also adds one function to Trac's Clearsilver macros:
- form_control(control). This takes a trac.web.form.Control object and renders it as a form control.
If you have any issues, create a new ticket.
Download the zipped source from [download:workflowpatch here].