| Commit | Date | |
|---|---|---|
|
[r6113]
by
cboos
Timestamp sample macro: `strftime` returns UTF-8 string, need to use `to_unicode` here. Fixes #5778. This also updates the sample plugin to use datetime, like the rest of Trac 0.11 is doing. Finally, I've noticed that the win32 specific code in format_datetime is only really necessary for Python 2.3 (related to #2971). |
2007-10-29 15:53:53 | Tree |
|
[r6112]
by
cboos
!OneLinerFormatter: when truncating last linesep, should take into account real length of linesep. Fix #6253, |
2007-10-29 13:41:13 | Tree |
| 2007-10-29 13:19:42 | Tree | |
| 2007-10-29 11:49:00 | Tree | |
| 2007-10-29 11:48:38 | Tree | |
| 2007-10-29 11:34:32 | Tree | |
|
[r6107]
by
cboos
context-refactoring: rework r6104 based on feedback from nkantrowitz The idea here is that IPermissionPolicy plugin writers shouldn't bother with taking the username and resource information from the perm cache. Rather, it's simpler for them to be presented with the `username`, `resource` and `perm` parameters directly. We also make the guarantee that `perm` matches the given `username` and `resource`. |
2007-10-26 18:40:36 | Tree |
|
[r6106]
by
cboos
context-refactoring: don't use `__slots__` I couldn't get any noticeable performance difference anyway, and ... |
2007-10-26 16:30:55 | Tree |
|
[r6105]
by
cboos
TracMercurial plugin for 0.11: compatibility fix with the context-refactoring branch (will still work with current trunk) |
2007-10-26 16:25:22 | Tree |
|
[r6104]
by
cboos
context-refactoring: modified the IPermissionPolicy interface so that plugins can easily check for extra permissions the standard way. The `check_permission` method has changed from: As noted in the vulnerability_tickets.py plugin, some care should be taken to avoid recursion, though. |
2007-10-26 16:11:24 | Tree |