Menu

Trac Commit Log


Commit Date  
[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
[r4545] by athomas

PermissionPolicy: Merged log:trunk@...:4543.

2007-01-11 14:20:42 Tree
[r4544] by cboos

Blame branch: an alternative to r4543 for displaying the age color in the browser in a "light" way.

2007-01-11 14:18:00 Tree
[r4543] by cboos

Blame branch: implement jonas' suggestion to make the color scale less prominent in the browser directory view.

Also, made that feature entirely optional (but enabled by default).
To turn it off:
{{{
[browser]
color_scale = disabled
}}}

2007-01-11 09:12:30 Tree
[r4542] by mgood

Blame: move `BlameAnnotator` declaration to module level so the class isn't reconstructed on every call to `get_annotation_data`

2007-01-11 05:53:37 Tree
[r4541] by cboos

Blame branch: merge with trunk@..., using svnmerge (r4520,4524,4532-4533,4535-4536,4539)

2007-01-10 19:19:21 Tree
[r4540] by cboos

Blame branch: add <meta name="ROBOTS"> header for the browser view, as appropriate.

2007-01-10 19:14:46 Tree
[r4539] by cboos

Follow-up to r4536, fix unit tests. Also took this opportunity to clean up that file which apparently contained 3 times the same content...

2007-01-10 17:49:53 Tree
[r4538] by cboos

Timeline link resolver branch (#975):

This implements a `timeline:` link resolver prefix.
The argument must be a date string in the ISO:8601 format, with at least the year and the month specified.

Besides TracLinks, there are many more ways to go back to the timeline, now: I modified the format_datetime helper function and the dateinfo macros so that we get links to the timeline from various places (e.g. changeset time, ticket created and last modified time, browser age, wiki history, ...).

Also, there are some fine tuning to the datetime utilities in `trac.util.datefmt`:
- the `format_*` functions supports an `'iso8601'` format
- `parse_date` can also understand this format
- fixed offsets timezones are now using strings like "GMT +01:00" instead of the more confusing 'Etc/GMT-1' one (see discussion in #975).

2007-01-10 17:36:44 Tree
Older >
Auth0 Logo