Menu

Trac Commit Log


Commit Date  
[r7394] by cboos

Fixed the unit-test affected by r7393 and also fix a few typos from r7291.

2008-07-25 13:44:10 Tree
[r7393] by cboos

When `trac-admin` is run non-interactively, don't duplicate backslashes found in the command arguments.

Closes #5787.

2008-07-25 13:04:46 Tree
[r7392] by cboos

TracAdmin: don't try to guess the indexing error based on the repository_type, as any kind of error is possible.

2008-07-25 13:04:26 Tree
[r7391] by cboos

Follow-up to [7390], also use `printerr` as a shortcut to `console_print(sys.stderr,...)` and add translation markers.

2008-07-25 13:03:57 Tree
[r7390] by cboos

In `trac-admin`, also consistently use `console_print` for the text sent to sys.stdout.

That will be useful for translated texts, but also for a few other situations, like when exporting a wiki page on the console (`print text`). In that situation, I noticed the previous version of `print_console` was not robust enough, as you easily get unicode code points for which no encoding exist in the console charset, hence we need to use the 'replace' mode.

Closes #7241.

2008-07-25 13:02:27 Tree
[r7389] by cboos

0.12dev: merged changes [7372-7375,7380-7384] from 0.11-stable

2008-07-24 19:19:43 Tree
[r7388] by cboos

Fix various XHTML validation issues in templates:
* `<form>` tags must have an `action` attribute.
* The content of the `method` attribute of a `<form>` must be lowercase.
* !JavaScript code containing < or & must be enclosed in a CDATA section or have these characters escaped.
* `<input>`, `<label>` and `<select>` tags must be in a block.
* Empty `<ul>` or `<table>` elements are not allowed.
* The content of a `<noscript>` tag must be a block level element in XHTML-1.0-Strict. As this was the only occurrence of such a tag in Trac, I fixed it by using !JavaScript to hide the button instead of enclosing it in a `<noscript>` tag.
* `<form>` tags can only have an `id` attribute and must not have a `name` attribute. This required changing some functional tests, as one form had both with different names.

Patch contributed by Remy Blank. Closes #7445.

2008-07-24 18:33:06 Tree
[r7387] by jonas

Backported Fix for #5637 (r7386) to trunk.

2008-07-24 17:35:20 Tree
[r7386] by jonas

Cookies path attribute was not set for installations where base_path=''. This caused among other things false "invalud form_token" errors. Closes #5637.

2008-07-24 16:41:05 Tree
[r7385] by jruigrok

Actually use isinstance() to compare.

2008-07-24 05:04:00 Tree
Older >