Menu

Trac Commit Log


Commit Date  
[r4655] by cboos

Support for customized rendering of version control properties in the TracChangeset.
This is achieved by implementing the IPropertyDiffRenderer interface (see changeset.py).

The default diff renderer implements #3002 (i.e. shows diffs of multi-line properties using the patch renderer).

(final part of the merge of the source:sandbox/property-renderers-tmp branch)

2007-01-28 17:26:04 Tree
[r4654] by cboos

Support for Subversion properties rendering in the TracBrowser.

This is done by the !SubversionPropertyRenderer, which implements the IPropertyRenderer interface introduced in r4653:
- it handles the `svn:externals` property by adding links to corresponding path inside the repository or the configured source browser (#2340)
- it handles the `svn:need-lock` property, by showing a locked icon when the property is set (#1601)

(partial merge of the source:sandbox/property-renderers-tmp branch)

2007-01-28 17:14:15 Tree
[r4653] by cboos

Support for customized rendering of version control properties in the TracBrowser.
This is achieved by implementing the IPropertyRenderer interface (see browser.py).

Implements #1601.

(partial merge of the source:sandbox/property-renderer-tmp branch)

2007-01-28 17:02:51 Tree
[r4652] by cboos

Property renderer branch: merge changes from trunk (r4620:4622,r4624:4641,r4644:4649,r4651)

2007-01-27 22:42:02 Tree
[r4651] by cboos

Follow-up to r4659 -- cleanups

2007-01-27 22:32:46 Tree
[r4650] by cboos

All the changes from the Timeline link resolver branch are now in trunk - removing it from the sandbox.

2007-01-27 22:28:22 Tree
[r4649] by cboos

Restore the usage of `IRequestFilter.post_process_request`, which was not enabled so far for Genshi templates.

Compared to the ClearSilver version, there's one additional parameter for the Genshi version: instead of `template` and `content_type`, it's now `template`, `data` and `content_type`. This makes it convenient to support both the 0.10 and 0.11 request filters, as we can distinguish them based on the arity of the `post_process_request` method.

The main usage for such a post-process filter is to change the data dictionary (aka template context) before the template is rendered.

The Timeline makes use of this to replace the `dateinfo` method, so that all the dateinfos become links to the timeline. Thanks to you-know-who for the clever idea ;)

Implements #975.

2007-01-27 22:26:44 Tree
[r4648] by cboos

`dateinfo` is no longer a template macro, but is now provided in the template context, so that it can be eventually overriden.

2007-01-27 21:30:44 Tree
[r4647] by cboos

Add a `timeline:` TracLinks, for creating links to the Timeline from within wiki text.

The format to use for the link is ISO:8601. If the timezone is not specified, the timezone is assumed to be UTC. At least the year and the month has to be specified. If the hour is specified, the events within that hour in the timeline will be highlighted, same for the minutes and the seconds.

Examples:
- timeline:2007 - links to the 1st of January, 2007
- timeline:2007-02 - links ot the 1s of February, 2007
- timeline:2007-01-27 - links to the date of this commit
- timeline:2007-01-27T21 - same, but with the precision set to `'hours'` (all events between 21 and 22 hours UTC will be highlighted)
- timeline:2007-01-27T20:23 - should highlight [4646]...

Implements partially #975.

(merged from the source:sandbox/timeline-link-resolver-tmp branch, plus some fixes)

2007-01-27 21:12:11 Tree
[r4646] by cboos

Date and Time Preference Panel:
- show how the current date and time looks in the selected timezone
- more robust timezone selection (use of get_timezone)
- ... and fix the page title for date time preference panel (#4391)

(merged from the source:sandbox/timeline-link-resolver-tmp branch)

2007-01-27 20:23:35 Tree
Older >
Auth0 Logo