[Repoze-dev] repoze.bitblt trims leading slash when transforming HTML

2009-06-08 Thread Damien Baty
, but I do not know why. Regards, N.B.: perhaps I should have reported this in the the issue tracker. I'll be glad to do, should it be the case. -- Damien Baty Index: repoze/bitblt/transform.py === --- repoze/bitblt/transform.py

[Repoze-dev] [issue90] Unable to configure image quality in Paste Deploy for repoze.bitblt

2009-06-28 Thread Damien Baty
New submission from Damien Baty damien.b...@gmail.com: The repoze.bitblt middleware accepts a quality parameter. However, with the following Paster deploy configuration: [app:main] use = egg:MyApp#app filter-with = bitblt [filter:bitblt] use = egg:repoze.bitblt#bitblt secret

[Repoze-dev] [issue90] Unable to configure image quality in Paste Deploy for repoze.bitblt

2009-06-28 Thread Damien Baty
Damien Baty damien.b...@gmail.com added the comment: and a (minimal) test. -- status: unread - chatting __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue90 __Index: tests.py

[Repoze-dev] [issue90] Unable to configure image quality in Paste Deploy for repoze.bitblt

2009-08-16 Thread Damien Baty
Damien Baty damien.b...@gmail.com added the comment: The patch has been committed to trunk by Malthe Borch 30 June (r5687). -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue90

[Repoze-dev] [issue103] repoze.bitblt removes doctype

2009-11-03 Thread Damien Baty
New submission from Damien Baty damien.b...@gmail.com: When rewriting image tags, repoze.bitblt removes the doctype of any (X)HTML content (cf. attached test). It should not. I have found a fix for XHTML code (cf. attached patch) by changing how the content is parsed. However, the bug

Re: [Repoze-dev] repoze.bitblt trims leading slash when transforming HTML

2009-11-03 Thread Damien Baty
For the record, this issue has been fixed today in r6960. I wrote a few months ago (08/06/09): Hello, I am trying to use repoze.bitblt and could not make it work when my HTML pages use absolute URLs _without_ FQDN, like /pics/23. For example, the following tag: img src=/pics/23

[Repoze-dev] [issue103] repoze.bitblt removes doctype

2009-11-11 Thread Damien Baty
Damien Baty damien.b...@gmail.com added the comment: Malthe, I think you have replied to the wrong ticket. The patch I described has not been applied (and regular expressions, well, we can use them everywhere, of course, but... ;) ) (Note: I plan to commit the patch next Friday when I have time

[Repoze-dev] Updating zope.component to a more recent version in the KGS of BFG?

2010-01-22 Thread Damien Baty
is of course to mimic what this ZCML directive does, which I did, first. But I would like to avoid that if possible.) -- Damien Baty ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

[Repoze-dev] I18n in BFG

2010-01-28 Thread Damien Baty
(target_language=getPreferredLanguage(request)) return base_render(template, **kwargs) 11. Run your application, test it and rant about me having forgotten something. --- end --- -- Damien Baty DEFAULT_LANGUAGE = 'en' AVAILABLE_LANGUAGES = set([DEFAULT_LANGUAGE]) ## will be set by 'run.app

Re: [Repoze-dev] I18n in BFG

2010-01-29 Thread Damien Baty
Hello Hanno, Le 29/01/10 09:46, Hanno Schlichting a écrit : On Fri, Jan 29, 2010 at 2:12 AM, Damien Baty damien.b...@gmail.com wrote: Does anyone have feedback about i18n with BFG? Personally I'd suggest to use Babel instead of zope.i18n. [...] I will certainly take a look

Re: [Repoze-dev] I18n in BFG

2010-01-29 Thread Damien Baty
Le 29/01/10 10:17, Hanno Schlichting a écrit : [...] With BFG you don't have any of those backwards compatibility concerns, so zope.babel won't make any sense in this environment. I must be missing something, here. Let's restrict the use case to template i18n. In my BFG app, I use Chameleon.

Re: [Repoze-dev] How can I launch only one test with python setup.py test ?

2010-05-01 Thread Damien Baty
Hello Stéphane, Le 01/05/10 18:45, KLEIN Stéphane a écrit : [...] * how can I launch only one test, example ``chameleon/tests/test_doctests.py:CoreTests.test_parsing_module`` ? python setup.py test -s chameleon.tests.test_doctests -- Damien Baty

Re: [Repoze-dev] Feedback / help on i18n/l10n docs...

2010-05-01 Thread Damien Baty
. Of course I could do that only once, when the application gets started. But isn't there a better way? Regards, -- Damien Baty ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev