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

2009-02-10 Thread Wichert Akkerman
Previously Tres Seaver wrote: > There *is* no status code corresponding to "log out." I don't think > logging out can be done cleanly by middleware, fraknly: I think there > should be a "forgetCredentials" API which the app calls when it knows > that the user has requested a logout. Just like th

[Repoze-dev] [what] Latest what revision does not work with TG2

2009-02-10 Thread Florent Aide
Hi all, trying latest trunk of tg2, repoze.who, repoze.what and repoze.what.plugin.sql get the following traceback: File "/home/faide/progs/ENVS/tg2/checkouts/turbogears-2.0/tg/configuration.py", line 607, in make_base_app app = self.add_auth_middleware(app) File "/home/faide/progs/ENVS/tg2/c

[Repoze-dev] [what] requirement for repoze.what.plugins.quickstart incompatible with svn dev

2009-02-10 Thread Florent Aide
the requirement is: repoze.what.plugins.sql >= 1.0rc1 and should read: repoze.what.plugins.sql > 1.0rc0 in order that we can use the svn trunk version in develop mode because trunk is in 1.0rc1 right now and once developped its labelled as 1.0rc1dev which is normal and permits to differentiate

[Repoze-dev] [issue58] Repoze.who does not allow identity to be set programmatically

2009-02-10 Thread Raphael Slinckx
New submission from Raphael Slinckx : I can't find a way to setup identity programmatically. I have a registration controller that creates a user in a database, when the registration controller returns I want the user to be authenticated just like if would have logged-in through the login form.

Re: [Repoze-dev] [what] requirement for repoze.what.plugins.quickstart incompatible with svn dev

2009-02-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Aide wrote: > the requirement is: > > repoze.what.plugins.sql >= 1.0rc1 > > and should read: > > repoze.what.plugins.sql > 1.0rc0 > > in order that we can use the svn trunk version in develop mode because > trunk is in 1.0rc1 right now and

Re: [Repoze-dev] [issue58] Repoze.who does not allow identity to be set programmatically

2009-02-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raphael Slinckx wrote: > New submission from Raphael Slinckx : > > I can't find a way to setup identity programmatically. > > I have a registration controller that creates a user in a database, when the > registration controller returns I want the us

Re: [Repoze-dev] [what] requirement for repoze.what.plugins.quickstart incompatible with svn dev

2009-02-10 Thread Gustavo Narea
Bonjour, Florent ! On Tuesday February 10, 2009 11:07:37 Florent Aide wrote: > the requirement is: > > repoze.what.plugins.sql >= 1.0rc1 > > and should read: > > repoze.what.plugins.sql > 1.0rc0 > > in order that we can use the svn trunk version in develop mode because > trunk is in 1.0rc1 right n

Re: [Repoze-dev] [what] Latest what revision does not work with TG2

2009-02-10 Thread Gustavo Narea
Hello, Florent! I think you downloaded repoze.what v2. The repository for v1 is at: http://svn.repoze.org/repoze.what/branches/1.X/ Trunk (v2) is experimental and very unstable right now. Cheers. On Tuesday February 10, 2009 09:21:42 Florent Aide wrote: > Hi all, > > trying latest trunk of tg2,

Re: [Repoze-dev] [what] Latest what revision does not work with TG2

2009-02-10 Thread Florent Aide
On Tue, Feb 10, 2009 at 1:18 PM, Gustavo Narea wrote: > Hello, Florent! > > I think you downloaded repoze.what v2. The repository for v1 is at: > http://svn.repoze.org/repoze.what/branches/1.X/ > > Trunk (v2) is experimental and very unstable right now. Yeah... But I had some predicates based on

Re: [Repoze-dev] [what] requirement for repoze.what.plugins.quickstart incompatible with svn dev

2009-02-10 Thread Chris McDonough
Florent Aide wrote: > the requirement is: > > repoze.what.plugins.sql >= 1.0rc1 > > and should read: > > repoze.what.plugins.sql > 1.0rc0 > > in order that we can use the svn trunk version in develop mode because > trunk is in 1.0rc1 right now and once developped its labelled as > 1.0rc1dev whi

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

2009-02-10 Thread Gustavo Narea
On Monday February 9, 2009 18:24:55 Mark Ramm wrote: > Yea, I think he's talking about SCRIPT_NAME. Not sure where the > confusion comes from, but yea, I think his patch makes sense only if > you replace SCRIPT_PATH with SCRIPT_NAME. Oh, right, I don't know how I made the same mistake twice! :-O

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

2009-02-10 Thread Gustavo Narea
On Monday February 9, 2009 21:34:43 Chris McDonough wrote: > The thing you sent over a patch and a bugreport for is a plugin for > repoze.who's RedirectingFormPlugin.  This plugin happens to ship with > repoze.who itself (it's one of the default plugins), but TG2's "what" > quickstart doesn't actua

Re: [Repoze-dev] repoze.what.plugins.quickstart.FriendlyRedirectingFormPlugin

2009-02-10 Thread Gustavo Narea
Hello, On Monday February 9, 2009 10:03:03 binet bruno wrote: > Thanks for the new FriendlyRedirectingFormPlugin plugin for repoze.who > which is usefull to redirect to predefined url after login or logout. > Here is my question : is it possible to get rid of the "came_from" > param in the url whi

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

2009-02-10 Thread Chris McDonough
Gustavo Narea wrote: > On Monday February 9, 2009 21:34:43 Chris McDonough wrote: >> The thing you sent over a patch and a bugreport for is a plugin for >> repoze.who's RedirectingFormPlugin. This plugin happens to ship with >> repoze.who itself (it's one of the default plugins), but TG2's "what"