[Repoze-dev] Linked routes

2009-07-05 Thread Malthe Borch
This is a proposal to allow partial route matching by linking a route with another (named) route to form an "extension". In its purest form: This would link the route to itself to allow repeat application. It would (in three iterations) match a URL such as: /produce/fruits/apple Note that

[Repoze-dev] repoze.who missing functionality?

2009-07-05 Thread Nathan Van Gheem
Hello everyone, It seems odd to me that repoze.who would log someone out who is not authorized to a certain part of a web site. Unless I'm doing something wrong it seems like there is no good way around it either. The only solution I could find is creating my own redirecting form plugin that adds

Re: [Repoze-dev] repoze.who missing functionality?

2009-07-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan Van Gheem wrote: > Hello everyone, > It seems odd to me that repoze.who would log someone out who is not > authorized to a certain part of a web site. Unless I'm doing something > wrong it seems like there is no good way around it either. > >

Re: [Repoze-dev] New releases of repoze.urispace and repoze.dvselect

2009-07-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: > I just released version 0.3 of repoze.urispace today, adding the > "generic middleware" feature I had meant to have there all along. I > would therefore like to rip out the bit of repoze.dvselect which holds > its own "urispace" p

Re: [Repoze-dev] repoze.who missing functionality?

2009-07-05 Thread Nathan Van Gheem
> > Can we clarify this some more? > The "correct" behavior for the application to return a "Forbidden" error response (HTTP response code 403) for authenticated users, and only raise an "Unauthorized" (401) for anonymous users: the 401 response is misnamed, but the semantics defined in RF

[Repoze-dev] bfg web site broken

2009-07-05 Thread Carlos de la Guardia
I'll have some time later tonight and I plan to do a few CSS fixes to the site, since people other than us may take a look when the announcement is out. Right now, however, there's a problem with login (throws 500 error). I hope someone can take a look. Thanks, Carlos de la Guardia _

Re: [Repoze-dev] bfg web site broken

2009-07-05 Thread Chris McDonough
Thanks Carlos... it's fixed; the ZEO server wasn't started. - C On 7/5/09 3:50 PM, Carlos de la Guardia wrote: > I'll have some time later tonight and I plan to do a few CSS fixes to > the site, since people other than us may take a look when the > announcement is out. > > Right now, however, the

[Repoze-dev] metaclass question

2009-07-05 Thread Iain Duncan
Sorry if this isn't the right place to ask, but figured someone might be able to help! I am making a meta class to build schemas, the api for declaring a schema will look something like this: class MySchema(ViewFieldSchema): age = TextField.reg(label='Age') name = TextField.reg(label=

[Repoze-dev] repoze.bfg 1.0 released...

2009-07-05 Thread Chris McDonough
Summary --- The first major release of the BFG web framework (aka "repoze.bfg"), version 1.0, is available. See http://bfg.repoze.org/ for general information about repoze.bfg. Details --- BFG is a Python web framework based on WSGI. It is inspired by Zope, Pylons, and Django. It make

Re: [Repoze-dev] repoze.who missing functionality?

2009-07-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan Van Gheem wrote: >> Can we clarify this some more? > > > >> The "correct" behavior for the application to return a "Forbidden" error > > response (HTTP response code 403) for authenticated users, and only > > raise an "Unauthorized" (401)