Re: [Zope3-Users] Authentication howto

2007-06-12 Thread Nando Quintana
Hi Torvald, I recommend you Philips,s zope3 book and specialy the security charpters that explain the zope3 auth mechanics widely. Here you are some notes about how to implement a user management system... 1) First of all you have to create and register a PAU Utillity in your siteManager. Read

Re: Vedr. Re: [Zope3-Users] Authentication howto

2007-06-12 Thread Nando Quintana
Hi, I've uploaded you another piece of code: kelpi.com/script/c880ba There you have a view to handle login action. when auth is required zope redirects you to /loginForm.html I redirect then to /login where I prompt the user asking for user/pass. In this zcml: kelpi.com/script/fa9196 you can

Re: [Zope3-Users] Re: Evolution of ZoDB after changing python modules structure (moving content classes to another module)

2007-06-12 Thread Rupert Redington
Aleksander Kowalczyk wrote: On 6/8/07, Alek Kowalczyk [EMAIL PROTECTED] wrote: Alek Kowalczyk [EMAIL PROTECTED] writes: Hi, I moved my content class from mypackage.mymodule.MyContentClass into mypackage.mysubpackage.mymodule.MyContentClass. But when started Zope and went to visit an

Re: Vedr. Re: [Zope3-Users] Authentication howto

2007-06-12 Thread Christophe Combelles
I didn't know kelpi.com, that's a nice example of zope3 app !! I guess this hasn't been online for a long time? I've quickly looked at the code, and I have a question: what's the purpose of MyIntIds compared to the base IntIds? Is this some optimisation? Christophe Nando Quintana a écrit :

Re: [Zope3-Users] Re: Evolution of ZoDB after changing python modules structure (moving content classes to another module)

2007-06-12 Thread Aleksander Kowalczyk
On 6/12/07, Rupert Redington [EMAIL PROTECTED] wrote: Aleksander Kowalczyk wrote: On 6/8/07, Alek Kowalczyk [EMAIL PROTECTED] wrote: Alek Kowalczyk [EMAIL PROTECTED] writes: Hi, I moved my content class from mypackage.mymodule.MyContentClass into

Re: [Zope3-Users] Re: Evolution of ZoDB after changing python modules structure (moving content classes to another module)

2007-06-12 Thread Marius Gedminas
On Sun, Jun 10, 2007 at 09:14:24AM +0200, Aleksander Kowalczyk wrote: On 6/8/07, Alek Kowalczyk [EMAIL PROTECTED] wrote: Alek Kowalczyk [EMAIL PROTECTED] writes: Hi, I moved my content class from mypackage.mymodule.MyContentClass into mypackage.mysubpackage.mymodule.MyContentClass.

[Zope3-Users] z3c.forms: Datamanger that combines values of multiple widgets

2007-06-12 Thread Hermann Himmelbauer
Hi, I've read the doctests of z3c.forms and have to say that the package is really impressive. Many things look a lot cleaner and more customizeable than formlib. Thanks! However, what I don't know is how to read/write values of multiple widgets into one context attribute. A common example of

[Zope3-Users] Zope3 profiler ?

2007-06-12 Thread Thierry Florac
Hi, I'm looking for a simple solution to profile a Zope3 application, some kind of 'ZopeProfiler' product which was available for Zope2. Any link or advise would be welcome... Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département

Re: [Zope3-Users] Zope3 profiler ?

2007-06-12 Thread Marius Gedminas
On Tue, Jun 12, 2007 at 06:39:57PM +0200, Thierry Florac wrote: I'm looking for a simple solution to profile a Zope3 application, some kind of 'ZopeProfiler' product which was available for Zope2. That would be a nice thing to have. Any link or advise would be welcome... So far the easiest