Menu

Trac Commit Log


Commit Date  
[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
[r4645] by cboos

datetime utilities:
- add support for `'iso8601'` format in format utilities and also in `parse_date`
- change names of !FixedOffset timezones, from the ''Etc/GMT-/+'' POSIX names to the more intuitive ''GMT +/-'' ones, as discussed in #975.

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

2007-01-27 20:15:55 Tree
[r4644] by cmlenz

Reverted indentation of `<textarea>` contents on the report editing screen in [4631].

2007-01-27 10:07:38 Tree
[r4643] by cboos

Timeline link resolver branch: merge changes from trunk (integrates r4620:4622 and r4624:4641).

2007-01-26 22:15:07 Tree
Older >
Auth0 Logo