Menu

Trac Commit Log


Commit Date  
[r7642] by cboos

The ticket field specifications returned by `TicketSystem.get_ticket_fields()` is now cached.

That method used to be costly to call, and by calling it in `Query` constructor, we made Wiki pages containing lots of `[[TicketQuery]]` macros very expensive (#6436). There are probably several other situations that will benefit from this caching as well (like showing big roadmap pages, creating lots of `Ticket` instances, etc.).

2008-10-31 17:57:00 Tree
[r7641] by cboos

Move `[ticket] restrict_owner` logic outside of the `TicketSystem.get_ticket_fields()`.
- this enables taking into account fine-grained permissions, for restricting the choice of possible owners even further if needed
- this makes it possible to have complete control over when the `get_ticket_fields` value will change, so we can cache it (related to #6436)

2008-10-31 17:50:36 Tree
[r7640] by cboos

Code cosmetic fix, no CamelCase for variable names.

Btw, I'm not sure this code is still needed.

2008-10-31 17:46:35 Tree
[r7639] by cboos

Fix typo affecting the values for the ''precision'' parameter for timeline requests (should have been ''minute'' and ''hour'' - no need for day as we anyway group entries by day).

2008-10-30 08:38:29 Tree
[r7638] by cboos

Show completed date and time for the milestone ''completed'' information, on Milestone edit and view pages. Fixes #7648.

2008-10-30 08:33:48 Tree
[r7637] by cboos

Edit new milestone with requested name, when such a milestone doesn't exist and the user has the MILESTONE_CREATE permission, instead of showing an error page.

Closes #4145.

2008-10-30 08:10:33 Tree
[r7636] by rblank

0.12dev: Merged [7635] from 0.11-stable.

2008-10-30 00:24:13 Tree
[r7635] by rblank

0.11-stable: Removed a spurious `print`.

2008-10-29 23:41:45 Tree
[r7634] by rblank

0.12dev: Fixed !DeprecationWarning from docutils.

Closes #7390.

2008-10-29 23:11:00 Tree
[r7633] by rblank

0.12dev: In the report variables form, show only variables that actually appear in the SQL query.

2008-10-29 22:53:48 Tree
Older >