Re: [Repoze-dev] Chameleon: a few newby questions

2011-03-29 Thread Hanno Schlichting
On Tue, Mar 29, 2011 at 10:09 AM, Malthe Borch mbo...@gmail.com wrote: 3) Can we have 1 template per file? You want to have them named somehow then? What sort of syntax are you thinking about it? Isn't that exactly what macros give you via define and use? Hanno

Re: [Repoze-dev] repoze.zope2 release

2011-03-25 Thread Hanno Schlichting
On Fri, Mar 25, 2011 at 3:20 PM, Malthe Borch mbo...@gmail.com wrote: Are there any impediments to releasing the trunk of repoze.zope2? According to the changelog (http://svn.repoze.org/repoze.zope2/trunk/CHANGES.txt) there are no changes on trunk. Since WSGI support is available in Zope 2.13,

Re: [Repoze-dev] sorting API for repoze.folder?

2011-02-28 Thread Hanno Schlichting
On Mon, Feb 28, 2011 at 10:22 AM, Danny Navarro j...@dannynavarro.net wrote: Thanks for your hints. I missed plone.folder, I'll have a careful look at it before redoing something that has already been done. The plone.folder code is quite complicated, as it supports different ordering strategies

[Repoze-dev] Generating http/https links from the application

2010-11-10 Thread Hanno Schlichting
Hi. We have an application which supports both HTTP and HTTPS. If the user visits the site via https:// he should stay on that protocol and as such all links should be generated accordingly. We do the SSL handling in Nginx in front of the bfg application. So the application always gets a

Re: [Repoze-dev] Repackaged PIL 1.1.7

2010-04-16 Thread Hanno Schlichting
On Fri, Apr 16, 2010 at 1:18 PM, Chris Withers ch...@simplistix.co.uk wrote: Yeah, the warning is a wart, but what's the problem? The problem is that installing his tarball with setuptools puts everything at the top level. import ImageFile works, but import PIL or any from PIL import ImageFile

Re: [Repoze-dev] Repackaged PIL 1.1.7

2010-04-10 Thread Hanno Schlichting
On Sun, Apr 11, 2010 at 3:14 AM, Alex Clark acl...@aclark.net wrote: A couple questions: (1) Just curious have you seen any issues with PIL and Zope 2 along these lines:    04:45 wiggy argh, PIL 1.1.7 breaks Zope    06:42 aclark wiggy: how?    06:42 wiggy aclark:  it includes an

Re: [Repoze-dev] I18n in BFG

2010-01-29 Thread Hanno Schlichting
On Fri, Jan 29, 2010 at 10:09 AM, Damien Baty damien.b...@gmail.com wrote: Le 29/01/10 09:46, Hanno Schlichting a écrit : Personally I'd suggest to use Babel instead of zope.i18n. [...] I will certainly take a look at it. Thanks. What is the status of your zope.babel [1] package: any plan

Re: [Repoze-dev] I18n in BFG

2010-01-29 Thread Hanno Schlichting
On Fri, Jan 29, 2010 at 11:09 AM, Damien Baty damien.b...@gmail.com wrote: I must be missing something, here. Let's restrict the use case to template i18n. In my BFG app, I use Chameleon. And Chameleon is pretty tied up to zope.i18n (cf. chameleon.core.i18n), isn't it? Ah right. Chameleon has

Re: [Repoze-dev] chameleon and appengine

2010-01-10 Thread Hanno Schlichting
On Sun, Jan 10, 2010 at 6:36 PM, Chris McDonough chr...@plope.com wrote: Miuler wrote: Hi, will work chameleon on google appengine? in future? Sorry, unknown. I think it's possible to make that work without all too much work, but it doesn't work right now. Basically the cached compiled

Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-27 Thread Hanno Schlichting
On Sun, Dec 27, 2009 at 7:21 PM, Nathan Van Gheem vangh...@gmail.com wrote: The page renders completely fine with those actions missing. I stepped into the code a bit and the plone.contentactions viewlet isn't even called when repoze.vhm is used. Hhm, the only slightly funny thing about this

Re: [Repoze-dev] repoze.bfg from within plone?

2009-08-05 Thread Hanno Schlichting
On Wed, Aug 5, 2009 at 7:37 PM, Iain Duncaniaindun...@telus.net wrote: Just wondering if anyone manages to run bfg apps from within plone, and if so, do they have any examples up online? I'd love to be able to pass traversal from the plone-zope publisher to the repoze publisher, but I'm very

Re: [Repoze-dev] Identifier plugins...

2009-06-17 Thread Hanno Schlichting
On Wed, Jun 17, 2009 at 8:42 PM, Douglas Mayledoug...@openplans.org wrote: I've been doing some testing of a new site, and I've used repoze.who and repoze.what for authentication, and authorization respectively.  I did notice one unusual behavior with AuthTktCookiePlugin, however.  If I log in

Re: [Repoze-dev] [chameleon] magic?

2009-05-15 Thread Hanno Schlichting
Chris Rossi wrote: While I think you're probably right, I know for a fact there are plenty of templates in the wild that assume you can use attribute syntax for dictionary lookup. At least on the stuff I'm working on. Maybe add deprecation warnings to the next release and actually yank it

Re: [Repoze-dev] repoze.zope2 - what's up on trunk

2009-05-13 Thread Hanno Schlichting
Chris McDonough wrote: I added some more test coverage on the trunk. It's still pretty poor right now. Awesome! I'll try to improve the coverage after getting some more documentation for my latest changes in. Hanno ___ Repoze-dev mailing list

Re: [Repoze-dev] repoze.zope2 - what's up on trunk

2009-05-12 Thread Hanno Schlichting
Chris McDonough wrote: I think this package is becoming less repoze.zope2 than some other more experimental system. Which is fine. But there's no way I'm going to be able to give people help with it on IRC or the maillist when it breaks because they're using an API that we removed. I

Re: [Repoze-dev] Changes to Chameleon compilation system

2009-05-09 Thread Hanno Schlichting
Chris McDonough wrote: On 5/9/09 9:12 AM, Martin Aspeli wrote: It'd be nice if there was a way to name the files that meant people won't accidentally commit a bunch of compiled .py files that may then end up conflicting later. Maybe there could be a mode to compile template files directly

Re: [Repoze-dev] Changes to Chameleon compilation system

2009-05-09 Thread Hanno Schlichting
Malthe Borch wrote: As a general improvement (in terms of clarity) and as part of the efforts of getting Chameleon working on GAE, I've begun reworking the compilation stage. Yeah! 3) If the ``CHAMELEON_STATIC`` flag is enabled, compile into one-method-fits-all-arguments render methods for

[Repoze-dev] [issue72] Python 2.4 and profiler, broken with pyprof2calltree

2009-05-04 Thread Hanno Schlichting
Hanno Schlichting hanno...@hannosch.eu added the comment: Since I added that particular dependency I should take care of this issue. Only question I have: Do we really still care about Python 2.4 support? Especially for profiling the 2.5 libraries are quite different and much better

Re: [Repoze-dev] repoze grok comparison

2009-05-04 Thread Hanno Schlichting
Iain Duncan wrote: Hi folks, I'm new here and was wondering if there is a good Repoze.bfg to Grok comparison page anywhere. If not, I'd like to recommend that it would be a great addition to the docs. I know there is a brief comparison up there, but to someone like me who is experienced in

Re: [Repoze-dev] BFG now running on windows (was Re: repoze.bfg trunk C-free)

2009-05-02 Thread Hanno Schlichting
Chris McDonough wrote: I just tried running the c-free version of on Windows for the first time and ran into an issue where zope.1i8nmessageid required compilation. Hhm, which version of the package did you use? At least for 3.4.3 there are binary Windows eggs available for Python 2.4 to

[Repoze-dev] [repoze.zope2] Request handling

2009-03-05 Thread Hanno Schlichting
Hi. Got a brainstorming question for the repoze.zope2 folks. Currently repoze.zope2 reuses the Zope2 ZPublisher request object pretty much directly. This is nice for full backwards compatibility, which has been a primary concern during its initial development. At some point in the Zope2 or at

Re: [Repoze-dev] middleware for zope-exceptions

2008-12-09 Thread Hanno Schlichting
Paul Everitt wrote: On Dec 9, 2008, at 10:15 AM, Hanno Schlichting wrote: Tom Gross wrote: is there any repoze-component for catching zope2-exceptions except cgitb which is unsuitable for production environments. omitting cgitb results in a white page which isn't too good eighter