Menu

Trac Commit Log


Commit Date  
[r4490] by thatch

Fix php highlighter broken in r4399. `isinstance(stream, list)` was letting the line-generator pass through and assuming it was Genshi events.

2006-12-22 04:29:57 Tree
[r4489] by mgood

spamfilter: add info to `setup.py` for registering on Cheeseshop

2006-12-22 00:41:41 Tree
[r4488] by cboos

Obfuscate e-mails, unless:
- `[trac] show_email_addresses = true` (defaults to false)
- the user has the EMAIL_VIEW privilege

This addresses #153.

Thanks to Waldemar Kornewald for the initial serie of patches!

2006-12-21 22:11:26 Tree
[r4487] by cboos

Blame branch: avoid divide by zero issue when there's only one rev to show in the blame

2006-12-21 15:23:35 Tree
[r4486] by cboos

Blame branch: another oops, short_rev was already there...

2006-12-21 14:41:31 Tree
[r4485] by cboos

Blame branch: oops, obviously the IHTMLPreviewAnnotator is better implemented in the Browser module. Moving it there.

2006-12-21 14:35:52 Tree
[r4484] by cboos

Blame branch: added color codes for blame cells, oldest are light blue, newest are bright red.

2006-12-21 14:27:40 Tree
[r4483] by cboos

Blame branch: annotate an arbitrary revision. This requires adding basic support for storing the `version` information in WikiContext.

2006-12-21 13:40:50 Tree
[r4482] by cboos

TracMercurial: added annotate support (needs the [source:sandbox/blame] branch to be activated)

2006-12-21 12:56:13 Tree
[r4481] by cboos

Blame branch: basic working version for blame support.

Summary of changes:
- IHTMLPreviewAnnotator has been extended in the following ways:
- new method `get_annotation_data(context)` that can be used to setup a particular annotator, so that further calls to `annotate_row` get to see this additional data
- `annotate_row(context, row, number, line, annotations)` has been extended to take additional arguments `context` and `annotations` (the latter being the data produced by `get_annotation_data`)
- Mimeview methods `preview_data` and `render` now take an additional `force_source` arguments, defaulting to `False`. This is useful for forcing annotations on content that would otherwise be rendered to some non-line oriented format
- In the `versioncontrol` API:
- new method `Repository.short_rev` (needed to display abbreviated forms of revision numbers, in versioncontrol backends having long identifiers)
- new method `Node.get_annotations()`, returning an array of `rev`, one entry per line of the content
- Some refactorings in the `svn_fs` backend: simplify the `SubversionNode` constructor so that it gets only the `SubversionRepository`. This is needed in order to implement `SubversionNode.get_annotations()`

TODO:
- the WikiContext needs to now about the version information if available
- the display of annotation is ugly. Well, not that ugly, but could be much improved.
- more robust code in case `svn.client.blame2` is not available or not working correctly.

2006-12-21 12:54:55 Tree
Older >
MongoDB Logo MongoDB