Menu

Trac Commit Log


Commit Date  
[r3121] by cmlenz

Remove variable from report comment, which was causing #2894.

2006-04-10 14:30:53 Tree
[r3120] by cmlenz

Ported [3119] to 0.9-stable (fixing #2531).

2006-04-10 14:27:35 Tree
[r3119] by cmlenz

Remove handling of `X_FORWARDED_HOST` header. Should fix #2531 and similar problems with SSL-proxy setups.

2006-04-10 14:26:29 Tree
[r3118] by cboos

More unicode tweaks:

* if no encoding was specified, `Request.write` will encode an unicode string using ''utf-8'' instead of ''ascii''
* the `trac.util.to_unicode` function is now "smarter": when the optional `charset` parameter is not given, it will first try to convert from ''utf-8'', then from the locale preferred encoding. In any case, the conversion '''will''' succeed, if necessery using either replacement characters or a '1-to-1' encoding, depending on the value of the `lossy` optional parameter.
* unit tests for the `to_unicode` function have been added
* deprecate the `trac.util.to_utf8` utility function, which is not used anymore
* the TracIni configuration file is converted to `unicode`. Should fix #2972.

2006-04-10 11:28:12 Tree
[r3117] by cboos

The TracBrowser now uses the `[browser] downloadable_paths` configuration option to selectively enable Zip downloading of the specified paths.

2006-04-10 10:59:05 Tree
[r3116] by cboos

Typo fixed, closes #3001.

2006-04-08 21:06:07 Tree
[r3115] by otavio

tagging version 0.9.4-3

2006-04-08 11:53:33 Tree
[r3114] by cboos

unicode fixes for TracAdmin

There were several problems left:
1. TracAdmin was still using UTF-8 encoded strings rather than `unicode` strings
2. but `shlex` is not unicode aware, so `arg_tokenize()` works around this limitation by going through UTF-8 locally
3. When converting a `str` command to `unicode` in the main entry point (`onecmd()`), we use the `sys.stdin.encoding`.
4. When converting `unicode` strings to output, we conversely use `sys.stdout.encoding`
5. Added an unit test for a creating Milestone with an accented character

3. and 4. replace the previous usage of `locale.getpreferredencoding()`.
On some platforms (e.g. Windows), the encoding used for the console
as given by `sys.*.encoding` can differ from the `locale.getpreferredencoding()` (e.g. `cp437` vs. `cp1252`).

2006-04-07 17:51:58 Tree
[r3113] by cboos

Try to cope with Alec's inventiveness regarding the usage of the log: Wiki syntax...

2006-04-07 11:45:17 Tree
[r3112] by cmlenz

Add support for milestone management to WebAdmin based on patch in #2992. Thanks.

2006-04-07 08:26:22 Tree
Older >
MongoDB Logo MongoDB