Menu

Trac Commit Log


Commit Date  
[r3146] by cmlenz

Experimental hooks for pre and post processing of wiki page changes (for spam filtering).

2006-04-13 09:09:06 Tree
[r3145] by cmlenz

Add hooks for listening to, and potentially rejecting, ticket changes, based on patch by Alec. Closes #2176 and #3029.

2006-04-13 08:47:17 Tree
[r3144] by cboos

Adding a regression test for #2665.

2006-04-13 07:41:13 Tree
[r3143] by cboos

Don't allow the usage of "%20" in WikiPageNames in order to represent a space.

Wiki page names containing spaces can be build using the usual
[TracLinks#QuotingspaceinTracLinks target quoting rules]
in explicit Wiki links.

This was done in order to fix #2665.

2006-04-13 07:38:14 Tree
[r3142] by cboos

Corrected Jonas family name's UTF-8 encoding messed-up in r3141

2006-04-13 07:21:45 Tree
[r3141] by cboos

Unicode consolidation: use `to_unicode(x)` instead of `unicode(x)` when `x` might be a `str` object.

This is especially true when the content may come from a plugin,
e.g. the fix in the `WikiProcessor` will likely fix #3024.

`to_unicode` will always succeed at producing some unicode object,
whereas the basic `unicode(x)` call can raise an `UnicodeDecodeError`
when given an arbitrarily encoded string.
Thus, `unicode(x)` should only be used when we're confident that `x`
is already an `unicode` or derived object, like `Markup`, or is some other type that can be safely converted to `unicode`.

This also fixes the problems that happened in TracAdmin
when `sys.stdin.encoding` was `None` (#3018).

''Last minute, the typo introduced in r3138 in `format_datetime` is fixed,
and mgood actually already fixed #3018 in r3140 :)''

2006-04-13 07:06:33 Tree
[r3140] by mgood

trac-admin: handle unicode conversion when `sys.stdin.encoding` is `None` (fixes #3030)

2006-04-13 03:49:43 Tree
[r3139] by eblot

Suppress notification sandbox now that the changes have been committed to the trunk

2006-04-12 23:44:43 Tree
[r3138] by cboos

Don't use the (broken) charset given by `getlocale(locale.LC_TIME)` on windows.
Fixes #2971.

2006-04-12 20:49:40 Tree
[r3137] by cboos

Follow-up to r3109: there was actually more than one user of `cursor.description`, so I decided to factor out the changes.

There's now a `trac.db.get_column_names` utility, which is simpler to use than `cursor.description` (it contains only the names) and is guaranteed to deliver `unicode` objects.

2006-04-12 20:43:16 Tree
Older >
MongoDB Logo MongoDB