Menu

Trac Commit Log


Commit Date  
[r4555] by cboos

PermissionPolicy: some PEP:0008 fixes for perm.py and fix unit tests for the new permission cache, as it stands now.

2007-01-12 16:36:45 Tree
[r4554] by cboos

Blame branch: simplified the <meta name=ROBOTS> tags following mgood's suggestion.

2007-01-12 14:39:29 Tree
[r4553] by cboos

Blame branch: color scale is now fully configurable

- by default use linear interpolation method suggested by mgood
- make it possible to configure `oldest_color` and `newest_color` (r,g,b) triples in the `[browser]` section of trac.ini
- in addition, it is also possible to configure an `intermediate_point` (between 0 and 1 exclusive) which can be use to position an `intermediate_color` on the color scale. This can be used to make the very newest changes to stand out.

Here's an example for using the default color scale in the [0,0.8] range of the time span, and a gradient to the "Edgewall red" for the last 20% of the newest changes:

{{{
[browser]
oldest_color = (136,136,255)
intermediate_color = (255,136,136)
newest_color = (187,0,0)
intermediate_point = 0.8
}}}

2007-01-12 14:20:52 Tree
[r4552] by athomas

Rectified `Context` nomenclature, renamed `resource` to `realm`.

2007-01-12 13:33:54 Tree
[r4551] by athomas

PermissionPolicy: Added `WikiPage().context(req)` call as a shortcut.

2007-01-12 13:16:34 Tree
[r4550] by athomas

PermissionPolicy: Merged trunk log:trunk@...:4549

2007-01-12 09:08:14 Tree
[r4549] by mgood

only show admin panels as active if their category is also active

2007-01-12 02:45:10 Tree
[r4548] by thatch

Apply fix for #4336: reworking _group_lines to cope with empty text nodes.

2007-01-11 20:45:30 Tree
[r4547] by cboos

0.10.4dev: ported r4546 to 0.10-stable (''custom log_format, fix #2844'')

2007-01-11 14:55:05 Tree
[r4546] by cboos

Make it possible to configure the format string used for logging.

Example:
{{{
[logging]
log_format = ($(thread)d) Trac[$(basename)s:$(module)s] $(levelname)s: $(message)s
}}}

See http://docs.python.org/lib/node422.html for a full list of keywords that can be used.
Note however that `$(...)s` should be used instead of `%(...)` in order to prevent the !ConfigParser from trying to expand those keys himself. In addition to those keys, a few Trac specific ones have been added: `path`, `basename` and `project`. They are written the same way as the others for the sake of consistency.

This fixes #2844. Thanks to maz <mzizka@...> for the initial patch. Even if there's nothing left of that patch, he gave the incentive to get that done ;)

2007-01-11 14:51:35 Tree
Older >
Auth0 Logo