Menu

Trac Commit Log


Commit Date  
[r5445] by cboos

Fixing if/when confusion in the error template.

2007-05-20 10:26:23 Tree
[r5444] by cboos

WorkFlow: some interface changes for the ITicketActionController

- `render_ticket_action_control` returns now a `(label, control, hint)` tuple.
The `hint` will be used to inform the user about what will happen if the action is performed.
- `get_ticket_changes` now returns simply the dictionary containing the ticket changes, instead of that dictionary plus a description of the change. That description was barely used (only by one sample plugin), and if there's a need to warn the user, the standard `req.warning` mechanism will achieve the same effect.

Also:
- further improvements to the documentation
- adapt the sample plugins to the above API changes (well, for those not already anticipating it!)
- the !CodeReview sample plugin has also been refactored a bit

2007-05-20 09:53:41 Tree
[r5443] by cboos

WorkFlow: follow-up to the r5442 move. ''Note that those sample plugins are still not operational as they're already matching the future API for get_ticket_changes which should come shortly (in r5444 if all goes well)''

2007-05-19 17:19:54 Tree
[r5442] by cboos

WorkFlow: renamed the '''!DefaultTicketActionController''' component to '''!ConfigurableTicketWorkflow'''

''Note that if you already have multiple controllers configured, you should do the same rename in your trac.ini file''

e.g. from:
{{{
[ticket]
workflow = DefaultTicketActionController,CodeReviewActionController,StatusFixerActionController
}}}

to:
{{{
[ticket]
workflow = ConfigurableTicketWorkflow,CodeReviewActionController,StatusFixerActionController
}}}

2007-05-19 15:38:21 Tree
[r5441] by cboos

WorkFlow: move the default workfow implementation out of the API file.

2007-05-19 15:27:50 Tree
[r5440] by cboos

WorkFlow: follow-up to r5439, the check for matching action controllers was not correct.

2007-05-19 15:26:11 Tree
[r5439] by cboos

WorkFlow: the `get_ticket_changes` and `apply_action_side_effects` methods of the ITicketActionController interface, like the `render_ticket_action_control` one, where intended to be called only on the controllers that actually declared to handle the `action` being performed.

2007-05-19 14:58:12 Tree
[r5438] by cboos

WorkFlow: enhanced the documentation and a few formatting cleanups.

In particular, I felt the need to clarify ''state'' vs. ''status''.
In many places, we were talking about ticket states referring to the ticket state as a whole, not only to its ''status'' field. The `ITicketActionController.get_all_states` method on the other hand was about getting the different values for the ''status'' fields, so I renamed the ITicketActionController method to `get_all_status`.

2007-05-19 13:20:22 Tree
[r5437] by cboos

Fix typo in query RSS export method.

2007-05-19 10:24:33 Tree
[r5436] by cboos

Add distinctive ''closed'' style for TracLinks to completed milestones.

2007-05-19 10:10:36 Tree
Older >