[tg-trunk] charset in Content-Type header

2008-10-15 Thread Christophe de VIENNE
Hi all, We have just upgraded our applicatoin from TG 1.0.4.4 to TG 1.0.7, and noticed that the Content-Type header is now completed with the charset for any content type except json. (the code is in view/base.py around line 150). Although it seems to be a very good thing for content types like

[tg-trunk] Re: charset in Content-Type header

2008-10-15 Thread Christoph Zwerschke
Christophe de VIENNE schrieb: We have just upgraded our applicatoin from TG 1.0.4.4 to TG 1.0.7, and noticed that the Content-Type header is now completed with the charset for any content type except json. (the code is in view/base.py around line 150). Although it seems to be a very good

[tg-trunk] Re: charset in Content-Type header

2008-10-15 Thread Christophe de VIENNE
2008/10/15 Christoph Zwerschke [EMAIL PROTECTED]: Christophe de VIENNE schrieb: We have just upgraded our applicatoin from TG 1.0.4.4 to TG 1.0.7, and noticed that the Content-Type header is now completed with the charset for any content type except json. (the code is in view/base.py around

[tg-trunk] Re: charset in Content-Type header

2008-10-15 Thread Christoph Zwerschke
Christophe de VIENNE schrieb: Indeed, I wrote a decated templating engine that can generate, from a particular data structure, several kind of output. This made it possible to make the rendering engine choice handled by expose depending on the accept header (or tg_format). By the way, why

[tg-trunk] Login/out in TG2

2008-10-15 Thread Helio Pereira
I'm trying to use auth and I realize that I only need to give a valid user and anything in password to get a success login. login_handler and logout_handler have care with all, how can I change to validate the password? Regards, Helio Pereira

[tg-trunk] Re: genshi problems?

2008-10-15 Thread Helio Pereira
many thanks all :-) On 13 Out, 17:54, Christopher Arndt [EMAIL PROTECTED] wrote: Helio Pereira schrieb: When I include the follow tag in a template, tgw (or genshi) gives an error: a href=teste?ola=olepp=xxteste/a TemplateSyntaxError: not well-formed (invalid token): line 88, column

[tg-trunk] websetup.py equivalent in TG1.x

2008-10-15 Thread Jorge Vargas
Hello guys. I have answer this two times in the past 2 days on IRC, which i think is something that could be back ported or at least write some documentation. The issue at hand is that people want to prepopulate either test data or default SQL rows values, to their models. a long time ago I

[tg-trunk] Re: websetup.py equivalent in TG1.x

2008-10-15 Thread Florent Aide
On Wed, Oct 15, 2008 at 10:28 PM, Jorge Vargas [EMAIL PROTECTED] wrote: Hello guys. I have answer this two times in the past 2 days on IRC, which i think is something that could be back ported or at least write some documentation. The issue at hand is that people want to prepopulate

[tg-trunk] Re: websetup.py equivalent in TG1.x

2008-10-15 Thread Florent Aide
On Wed, Oct 15, 2008 at 10:39 PM, Florent Aide [EMAIL PROTECTED] wrote: sa commands is a good place to put any setup specific command ala websetup... sorry I meant: yourapp.commands --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[tg-trunk] TG2 beta this week?

2008-10-15 Thread Mark Ramm
I got really sick at PloneConf, and have not made much progress on the TG2 release this week so far, but I'm still planing to do a release as soon as possible. I'm feeling a bit better this evening than I have been so I'm going to start prepping a release tonight and hopefully will be able to

[tg-trunk] Re: TG2 beta this week?

2008-10-15 Thread Iain Duncan
On Wed, 2008-10-15 at 22:23 -0400, Mark Ramm wrote: I got really sick at PloneConf, and have not made much progress on the TG2 release this week so far, but I'm still planing to do a release as soon as possible. I'm feeling a bit better this evening than I have been so I'm going to start

[tg-trunk] Re: TG2 beta this week?

2008-10-15 Thread Mark Ramm
I would very much like to see this CSS stuff go into TG2, but I don't think that it's a blocker for 1.9.7 final, since it shouldn't break anybody's tg2 app, it will just make creating new tg2 apps easier. Also, I'm not opposed to doing another tg2 release relatively soon after 1.9.7 final if we

[tg-trunk] Re: Mercurial for TG2 discussion

2008-10-15 Thread Lukasz Szybalski
On Tue, Oct 14, 2008 at 1:05 AM, Florent Aide [EMAIL PROTECTED] wrote: On Tue, Oct 14, 2008 at 5:43 AM, Lukasz Szybalski [EMAIL PROTECTED] wrote: Just out of curiosity, is there a reason why bazaar is not mentioned in this thread? http://bazaar-vcs.org/BzrPlugins Certainly because none