wiki:WorkFlowPatch

Version 4 (modified by athomas, 9 years ago) (diff)

Better description of API changes

Patch for exporting an interface to alternative ticket workflows

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for WorkFlowPatch are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out WorkFlowPatch from here using Subversion, or browse the source with Trac.

Example

N/Aa

Author/Contributors

Author: athomas
Contributors:

TagIt(patch,athomas,alpha,1.0)?