Ticket action controller which provides actions according to a
workflow defined in trac.ini.
|
|
|
|
|
__init__(self,
*args,
**kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
environment_created(self)
When an environment is created, we provide the basic-workflow,
unless a ticket-workflow section already exists. |
source code
|
|
|
|
environment_needs_upgrade(self,
db)
The environment needs an upgrade if there is no [ticket-workflow]
section in the config. |
source code
|
|
|
|
upgrade_environment(self,
db)
Insert a [ticket-workflow] section using the original-workflow |
source code
|
|
|
|
get_ticket_actions(self,
req,
ticket)
Returns a list of (weight, action) tuples that are valid for this
request and this ticket. |
source code
|
|
|
|
get_all_status(self)
Return a list of all states described by the configuration. |
source code
|
|
|
|
| render_ticket_action_control(self,
req,
ticket,
action) |
source code
|
|
|
|
| get_ticket_changes(self,
req,
ticket,
action) |
source code
|
|
|
|
| apply_action_side_effects(self,
req,
ticket,
action) |
source code
|
|
|
|
|
|
|
get_actions_by_operation(self,
operation)
Return a list of all actions with a given operation
(for use in the controller's get_all_status()) |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|