Menu

Trac Commit Log


Commit Date  
[r6910] by cboos

TicketQuery: ''format=count'' now re-uses some of the Query code to directly perform the count at the sql level (from #216).

This is much cheaper but has the disadvantage of by-passing the fine-grained permission checks.

Note however that the same can be said for #216, and there, it's not only the count but also the whole paging logic (use of `LIMIT` and `OFFSET`) that doesn't take the fine-grained permissions into account. So the problem has to be fixed there, if possible.

Note that the only adverse effect will be to show ticket counts higher than the number of tickets actually shown to the user.

2008-04-29 15:16:09 Tree
[r6909] by cboos

TicketQuery: for ''format=table'' the query was executed needlessly twice...

2008-04-29 15:09:44 Tree
[r6908] by cboos

Update documentation of the TicketQuery macro (''max'' and ''row'' parameters)

2008-04-29 15:09:13 Tree
[r6907] by cboos

Fix the reversal of forbidden ticket changes, as hinted by ebray in #7169.

2008-04-29 15:08:22 Tree
[r6906] by cboos

Follow-up to r6899, need to reverse direction of sorting for `previous_rev`

2008-04-29 10:40:03 Tree
[r6905] by cboos

Adds fine-grained permission checks in a few additional places.

Patch by ebray, closes #7169.

2008-04-29 07:20:05 Tree
[r6904] by jonas

Fixed copyright year.

2008-04-28 18:49:58 Tree
[r6903] by thatch

Fix #7165 to make the tests work with older sqlite

2008-04-28 18:49:19 Tree
[r6902] by cboos

Prevent the test runner to fail when errors occured in setUp() at functional tests (e.g. "Login").

Closes #7167.

2008-04-28 18:22:42 Tree
[r6901] by cboos

Adding pagination for reports and custom queries (from branch log:sandbox/report_pagination@...). Closes #216.

2008-04-28 18:12:15 Tree
Older >