Re: [Repoze-dev] [Pyramid-checkins] Broken: Pylons/pyramid#1123 (master - ba0593a)

2014-11-05 Thread Wichert Akkerman
On 05 Nov 2014, at 15:57, Tres Seaver tsea...@palladion.com wrote: Unicode literals are a no-no for 3.2-compatibility: How important is 3.2 compatibility? Wichert. ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org

Re: [Repoze-dev] [Pyramid-checkins] Broken: Pylons/pyramid#1123 (master - ba0593a)

2014-11-05 Thread Wichert Akkerman
On 05 Nov 2014, at 17:55, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/05/2014 10:44 AM, Wichert Akkerman wrote: On 05 Nov 2014, at 15:57, Tres Seaver tsea...@palladion.com wrote: Unicode literals are a no-no for 3.2-compatibility

[Repoze-dev] repoze.depinj behaviour

2011-06-05 Thread Wichert Akkerman
I am using repoze.depinj in a small project to help replace a backend database with a dummy version. I was puzzled for quite some time by my code sometimes getting my test dummy and sometimes getting the real database. I finally tracked this down to something unexpected in repoze.depinj: every

Re: [Repoze-dev] bfg logging configuration through the INI file under mod_wsgi

2011-04-04 Thread Wichert Akkerman
/collective.recipe.modwsgi does that for you. If you are not using buildout you will need to add the necessary code to your own wsgi wrapper script. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: [Repoze-dev] Migration to Github

2011-03-22 Thread Wichert Akkerman
On 3/22/11 14:01 , Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/22/2011 09:54 AM, Wichert Akkerman wrote: On 2/22/11 15:40 , Tres Seaver wrote: We have chosen to leave dormant projects in SVN for the indefinite future.. Please let us know if there is an existing

Re: [Repoze-dev] Chameleon and attribute escape

2011-03-07 Thread Wichert Akkerman
On 3/7/11 12:06 , Malthe Borch wrote: On 7 March 2011 11:59, Wichert Akkermanwich...@wiggy.net wrote: Is there a mode to make it impossible to accept or generate invalid markup? For some of us that is very important. That's what this changeset does. It allows you to use invalid markup to the

Re: [Repoze-dev] Chameleon and attribute escape

2011-03-07 Thread Wichert Akkerman
On 3/7/11 12:09 , Malthe Borch wrote: On 7 March 2011 12:07, Wichert Akkermanwich...@wiggy.net wrote: That is the opposite of what I want: I would like invalid markup to be rejected, and I want it to be completely impossible to generate invalid markup. I see. Perhaps there could be a

Re: [Repoze-dev] chameleon zpt: structure or not?

2011-03-01 Thread Wichert Akkerman
On 3/1/11 12:00 , Chris Withers wrote: Hi All, I hope this is the right list, if not, what's the right list for Chameleon questions? Anyway, the following: div class=batcher tal:content=pager/ ...doesn't appear to quote the html in the pager variable. This is different from normal zpt, why

Re: [Repoze-dev] Migration to Github

2011-02-22 Thread Wichert Akkerman
On 2/22/11 15:40 , Tres Seaver wrote: We have chosen to leave dormant projects in SVN for the indefinite future.. Please let us know if there is an existing 'repoze.*' project which you think needs to be migrated: repoze.filesafe is still actively maintained and used, so it should probably

[Repoze-dev] catalog oddness

2011-01-14 Thread Wichert Akkerman
This may already be different in the trunk of repoze.catalog, but I just stumbled over this: when you do a catalog search and ask it to order by an empty index you get an empty result set. I was expecting the result to be an unordered result for that situation. Is this expected behaviour?

Re: [Repoze-dev] catalog oddness

2011-01-14 Thread Wichert Akkerman
On 1/14/11 15:04 , Chris Rossi wrote: On Fri, Jan 14, 2011 at 5:20 AM, Wichert Akkerman wich...@wiggy.net mailto:wich...@wiggy.net wrote: This may already be different in the trunk of repoze.catalog, but I just stumbled over this: when you do a catalog search and ask it to order

[Repoze-dev] venusian scanning test code

2010-12-28 Thread Wichert Akkerman
I recently refactored a package to move all test infrastructure out of tests/ to testing.py. This has one unfortunate side effect: on installs without test dependencies my app will now no longer start since the venusian scan aborts on test imports in testing.py. Is there a way block venusian

Re: [Repoze-dev] venusian scanning test code

2010-12-28 Thread Wichert Akkerman
On 2010-12-28 19:16, Chris McDonough wrote: On Tue, 2010-12-28 at 15:36 +0100, Wichert Akkerman wrote: I recently refactored a package to move all test infrastructure out of tests/ to testing.py. This has one unfortunate side effect: on installs without test dependencies my app will now

Re: [Repoze-dev] venusian scanning test code

2010-12-28 Thread Wichert Akkerman
On 2010-12-28 20:34, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/28/2010 01:39 PM, Wichert Akkerman wrote: On 2010-12-28 19:16, Chris McDonough wrote: On Tue, 2010-12-28 at 15:36 +0100, Wichert Akkerman wrote: I recently refactored a package to move all test

Re: [Repoze-dev] Improving renderer setup for views

2010-11-16 Thread Wichert Akkerman
On 2010-11-3 15:56, Wichert Akkerman wrote: I spent some time today trying to figure out why my views where unable to find a renderer even though it was registered. It turns out that I was calling config.scan() before doing config.add_renderer(). The resulting behaviour is a bit misleading

Re: [Repoze-dev] entry points vs ZCA registrations

2010-11-15 Thread Wichert Akkerman
On 11/14/10 05:32 , Shane Hathaway wrote: On 11/12/2010 03:17 PM, Iain Duncan wrote: Reading some of the diaolgue on the pylons/bfg merger has me curious about the following, wondering if any experts care to share opinions and war stories: - what is the best use case for extending through

[Repoze-dev] repoze.catalog clear

2010-11-08 Thread Wichert Akkerman
I have some code (from Chris) which rebuilds a repoze.catalog instance. It uses a very simple algorithm: catalog.clear() for each obj in root: index object if object is folderish: process al its children unfortunately there is one problem with this code: any stale

[Repoze-dev] DummyRequest breaks GET/POST API

2010-11-04 Thread Wichert Akkerman
Since the issue tracker on bfg.repoze.org is still broken I'm posting this here. I ran into a little problem today: I was adding some tests for a function which uses request.POST.getall(), but it turns out that repoze.bfg.testing.DummyRequest uses a plain dict for POST instead of a WebOb

[Repoze-dev] Improving renderer setup for views

2010-11-03 Thread Wichert Akkerman
I spent some time today trying to figure out why my views where unable to find a renderer even though it was registered. It turns out that I was calling config.scan() before doing config.add_renderer(). The resulting behaviour is a bit misleading: when rendering a view

[Repoze-dev] set_default_permission not working?

2010-10-26 Thread Wichert Akkerman
I tried to use config.set_default_permission with repoze.bfg 1.3b1, but it appears to do very little. My code looks like this: config.set_default_permission(authenticated) config.scan() config.add_route(shop+category+article+detail, /shop/:category/detail/:id,

Re: [Repoze-dev] good error traceback middlewear?

2010-10-07 Thread Wichert Akkerman
On 2010-10-7 16:32, Fernando Correa Neto wrote: I remember seeing pylons or tg2 displaying very nice tracebacks. I'm not sure it it's actually a middleware but worth looking though. They use WebError. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http

Re: [Repoze-dev] [issue155] Support encoding of cookies on repoze.who cookie plugin

2010-07-13 Thread Wichert Akkerman
. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

[Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Wichert Akkerman
I am using repoze.zodbconn in a BFG application but I suspect it is not working as it should be: as soon as multiple requests come in at the same time I get a lot of locking errors and broken results: LockError: Couldn't lock '/Users/wichert/Work/code/buildout/blackbox/var/Data.fs.lock' The

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Wichert Akkerman
On 6/25/10 20:03 , Wichert Akkerman wrote: The way I've setup repoze.zodbconn is from repoze.zodbconn.finder import PersistentApplicationFinder from myproject import appmaker finder = PersistentApplicationFinder(settings[zodb.url], appmaker) def get_root(request

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Wichert Akkerman
On 6/25/10 20:18 , Charlie Clark wrote: Am 25.06.2010, 20:03 Uhr, schrieb Wichert Akkermanwich...@wiggy.net: I am using repoze.zodbconn in a BFG application but I suspect it is not working as it should be: as soon as multiple requests come in at the same time I get a lot of locking errors and

Re: [Repoze-dev] Paste 1.7.4, security fix for XSS hole

2010-06-24 Thread Wichert Akkerman
On 6/24/10 09:07 , Ian Bicking wrote: I believe the changes to 1.7.4 are limited and upgrading will have a low impact. Is there a changelog somewhere? The paste website still lists 1.7.3 as the last release and the pypi page has no changelog information. If I look at

[Repoze-dev] repoze.folder API weirdness

2010-06-17 Thread Wichert Akkerman
I noticed something odd in repoze.folder: __setitem__ does not allow you to replace an existing item. This is a result from __setitem__ being an alias for add(). Is that a deliberate design decision? If not I'ld like to change it to allow replacing items. Wichert.

Re: [Repoze-dev] repoze.folder API weirdness

2010-06-17 Thread Wichert Akkerman
On 6/17/10 14:53 , Chris McDonough wrote: On Thu, 2010-06-17 at 11:28 +0200, Wichert Akkerman wrote: I noticed something odd in repoze.folder: __setitem__ does not allow you to replace an existing item. This is a result from __setitem__ being an alias for add(). Is that a deliberate design

Re: [Repoze-dev] [chameleon bug] ?python not working

2010-06-02 Thread Wichert Akkerman
On 2010-6-2 20:38, Chris Withers wrote: What tracker should I put this in? Please see http://chameleon.repoze.org/docs/latest/ which documents this. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things

Re: [Repoze-dev] url dispatch, args, matchdicts

2010-06-02 Thread Wichert Akkerman
would really like that. Or am I the only one? ;-) I suspect you are :). I came from Pylons and have not missed that feature in BFG. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: [Repoze-dev] [chameleon bug] bugtracker url wrong in docs.

2010-06-02 Thread Wichert Akkerman
would have pointed you to https://bugs.launchpad.net/chameleon-template-engine . I'll fix the link in svn. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: [Repoze-dev] GAE or other 'cloud' choices for bfg apps?

2010-04-15 Thread Wichert Akkerman
On 4/15/10 14:57 , Charlie Clark wrote: Am 15.04.2010, 01:48 Uhr, schrieb Iain Duncaniainduncanli...@gmail.com: Also curious about the economics of cloud deployment vs renting servers, input welcome. That's very much apples and spaceships. Utility services (cloud is such a deliberately

Re: [Repoze-dev] BFG PyCon BOF Summary

2010-02-23 Thread Wichert Akkerman
Thanks for the writeup! On 2/23/10 14:14 , Chris McDonough wrote: Documentation - - People would like to see a tutorial which hand-held people through the process of moving from a imperative configuration to a declarative configuration, and perhaps vice versa.

Re: [Repoze-dev] BFG book available from Amazon.com (better shipping rates?)

2010-02-07 Thread Wichert Akkerman
rates to Europe *are*, but hopefully they're better: From memory Amazon.com is still expensive with shipping. If the book lands on something like amazon.co.uk or amazon.de things should improve. Of course people could also just order it at their local bookstore :) Wichert. -- Wichert Akkerman

[Repoze-dev] repoze.bfg template changes

2010-01-06 Thread Wichert Akkerman
I'm about (or have done by the time you get this - I'm writing this offline) to commit a bfg branch which reworks the paster templates a bit. Most of the changes are inspired by the Pylons templates, and all of them felt like improvements to me. If you approve of the changes I can take a look

Re: [Repoze-dev] repoze.sphinx.autoinclude changes

2009-08-20 Thread Wichert Akkerman
On 2009-8-19 23:48, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: I did a little work on repoze.sphinx.autoinclude to update it for the API changes in Sphinx 0.6. There is one noticable change compared to current trunk: there is a new 'interface

Re: [Repoze-dev] chameleon.genshi with expressions inside non-XHTML attributes

2009-07-11 Thread Wichert Akkerman
could send some tests showing the error. This looks like a bug. Genshi syntax is pretty explicit about this having to work; it is an integral part of dynamic XIncludes for example. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net

Re: [Repoze-dev] [TurboGears] Re: repoze.what-pylons host no longer up

2009-06-11 Thread Wichert Akkerman
Hi Gustavo, is there a special reason the repoze.what docs can not be hosted on docs.repoze.org, next to all the other repoze documentation? Wichert. On 6/11/09 6:23 PM, Gustavo Narea wrote: Hi, everyone. Jorge's right, my personal server, which hosts code.gustavonarea.net and

Re: [Repoze-dev] security changes...

2009-05-26 Thread Wichert Akkerman
up have to use a bare try/except. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http

Re: [Repoze-dev] security changes...

2009-05-26 Thread Wichert Akkerman
Previously Chris McDonough wrote: On 5/26/09 3:52 AM, Wichert Akkerman wrote: Previously Chris McDonough wrote: def remember(self, principal, token): Return a set of headers suitable for 'remembering' the principal on subsequent requests def forget

Re: [Repoze-dev] security changes...

2009-05-26 Thread Wichert Akkerman
Previously Chris McDonough wrote: On 5/26/09 4:07 AM, Chris McDonough wrote: On 5/26/09 3:52 AM, Wichert Akkerman wrote: Previously Chris McDonough wrote: def remember(self, principal, token): Return a set of headers suitable for 'remembering' the principal

Re: [Repoze-dev] repoze grok comparison

2009-05-07 Thread Wichert Akkerman
statement. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo

Re: [Repoze-dev] removing the lxml dependency from bfg

2009-04-27 Thread Wichert Akkerman
. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

Re: [Repoze-dev] repoze.who and script_name

2009-02-10 Thread Wichert Akkerman
there should be a 'rememberCredentials' API the app can call. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Repoze-dev mailing list Repoze-dev

Re: [Repoze-dev] bfg zcml directives...

2008-12-22 Thread Wichert Akkerman
Previously Martin Aspeli wrote: Wichert Akkerman wrote: Previously Martin Aspeli wrote: If you want to pull in, say, plone.supermodel (a pure Zope 3 package that should be re-usable and may be useful to BFG if it ever wants to serialise Zope 3 schema interfaces to/from an XML

Re: [Repoze-dev] bfg zcml directives...

2008-12-21 Thread Wichert Akkerman
is that chameleon.zpt will pull in a few extra packages, but you yourself have argued that that should not bother people. Wichert. -- Wichert Akkerman wich...@wiggy.netIt is simple to make things. http://www.wiggy.net/ It is hard to make things simple