Menu

Trac Commit Log


Commit Date  
[r8501] by cboos

Add more tests for TicketQuery macro.

This time the input text is set to be unicode, therefore exercising r8499.

2009-08-23 19:58:08 Tree
[r8500] by cboos

Add some simple unit-tests for TicketQuery macro.

2009-08-23 19:57:29 Tree
[r8499] by rblank

0.12dev: Follow up to [8471], converting special query keys to `str`, as they are used as `**kwargs` when calling `Query.__init__()`. Fixes the `TicketQuery` macro.

2009-08-23 18:34:31 Tree
[r8498] by cboos

Rework r8495, we can't do without an active Translations instance, as this would propagate !LazyProxy in places not expecting them.

So the solution for coping to the lack of missing methods on !NullTranslations should be rather to simply add them in a sub class.

2009-08-23 17:46:24 Tree
[r8497] by rblank

0.12dev: Added a dummy `make_activable()` in `translation` for the case where Babel is not available (fixes [8496]).

2009-08-23 16:48:43 Tree
[r8496] by cboos

i18n: lazy activation of !TranslationsProxy

This avoids having to activate the session (through `req.locale`) and to activate the !TranslationsProxy for any request that doesn't trigger a gettext call (like Chrome request, for example).

The changes also make deactivation a bit more robust (#7253).

2009-08-22 20:22:28 Tree
[r8495] by cboos

i18n: make !TranslationsProxy activation more robust.

In particular, if a !NullTranslations is returned by `Translations.load`, don't use it, as it doesn't support all the methods of a `babel.support.Translations` class.

2009-08-22 20:21:54 Tree
[r8494] by cboos

i18n: fix usage of `pkg_resources.resource_*`, which prevented Trac egg to be zip-safe.

Don't actually make it zip_safe in the setup, though.

Related to #8062.

2009-08-22 20:21:41 Tree
[r8493] by cboos

Refactor the generation of links to the current report, in the report module.

This makes it easy to propagate the page argument to the CSV format when needed.
The behavior of the module in this respect has been aligned to the one of custom queries in r7308, i.e. output all the results unless an explicit limit has been specified.

Closes #8225.

2009-08-22 12:15:30 Tree
[r8492] by cboos

MultiRepos: fix colspan after previous change and add visible outer borders to the revision log tables in verbose mode.

2009-08-22 09:19:13 Tree
Older >
MongoDB Logo MongoDB