Changes between Version 10 and Version 11 of WorkFlowPatch


Ignore:
Timestamp:
Jan 14, 2006 5:27:05 AM (9 years ago)
Author:
athomas
Comment:

Updated to reflect API changes

Legend:

Unmodified
Added
Removed
Modified
  • WorkFlowPatch

    v10 v11  
    88The patch adds two things to Trac's Python API: 
    99 
    10   * The `trac.ticket.api.ITicketActionController` interface, which abstract the ticket action control logic into an extension point. 
    11   * The `trac.web.form` module which is used to describe form controls that can be passed to Trac's `form_control()` Clearsilver function. 
     10  * The `trac.ticket.api.ITicketWorkflow` interface, which abstract the ticket action control logic into an extension point. 
     11  * The `trac.ticket.field` module which is used to describe ticket fields that can be passed to Trac's `form_control()` Clearsilver function. 
    1212 
    1313It also adds one function to Trac's Clearsilver macros: 
    1414 
    15   * `form_control(control)`. This takes a `trac.web.form.Control` object and renders it as a form control. 
     15  * `form_control(control)`. This takes a `trac.ticket.field.Field` object and renders it as a form control. 
    1616 
    1717== Installation == 
     
    1919Once you have downloaded or checked out the source, apply `workflow.diff` to Trac trunk and reinstall Trac. 
    2020 
    21 Then change into the tracworkflow directory and type: 
     21Then change into the `tracnewworkflow` directory and type: 
    2222 
    2323{{{ 
     
    3232{{{ 
    3333[components] 
    34 tracworkflow.tracworkflow.tracworkflowplugin = enabled 
     34tracnewworkflow.* = enabled 
    3535 
    3636[ticket] 
    37 controller = tracworkflow.tracworkflow.tracworkflowplugin 
     37workflow = tracnewworkflow.tracnewworkflow.newworkflowplugin 
    3838}}} 
    3939