[Zope3-Users] Zope user web authentication module?

2008-03-14 Thread Andrew Gryaznov
Hi,

Is there any user authentication module like that I used form Plone in Zope
2?
Like a ready 'skinnable' zope product that will draw login form,
authenticate, manage captchas/registration with post-init scripting and
remind user passwords?

Thanks,
Andrew
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Attn Jim Fulton: Buildout builder

2008-03-14 Thread Derek Richardson
I am the Plone champion for the buildout builder. The buildout builder 
will be a web application, likely written in Grok, that will allow 
textually-challenged users to configure a buildout via a GUI and receive 
a .cfg in return.


Jim, you mentioned at PSPS-2008 that you would gladly help whoever 
championed this. I am now asking for assistance. Please contact me at 
the gmane email address on this post.


Anyone else who has interest and would like to contribute questions, 
ideas, or code is welcome to contact me, as well, or continue discussion 
here (please cc me, since I don't regularly read this list).


The buildout builder may very well be a Plone Summmer of Code project. 
At the current time, it is unclear whether someone else or I will be the 
student. In either case, I'd like to get some of the high-level 
coneptual design out of the way so that, whoever the student is, she/he 
can get down to business immediately.


Thanks!

Derek

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Attn Jim Fulton: Buildout builder

2008-03-14 Thread Martijn Faassen
Hey,

On Fri, Mar 14, 2008 at 1:27 PM, Derek Richardson
[EMAIL PROTECTED] wrote:
[snip]
  Anyone else who has interest and would like to contribute questions,
  ideas, or code is welcome to contact me, as well, or continue discussion
  here (please cc me, since I don't regularly read this list).

Note that Malthe (cc-ed too) is interested in:

Architecting and implementing a Zope component that can extend a
running application in a way that plays nicely with both the component
architecture and setuptools. The extensions would typically be pulled
in over the network as eggs.

which is a project he proposed as a possible summer of code project. I
see a lot of possible connections between the project you mention and
this project. I think much of this project could be architected as a
generic Python library and/or Zope 3 component (that offers some
abstractions to describe, and possibly also run, a buildout), and then
you could do the UI in Grok or whatever.

Regards,

Martijn
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Problem with z3c.form / z3c.formui packages

2008-03-14 Thread Thierry Florac
Hi,

I'm trying to use a few z3c.* packages to build a little test
application : z3c.form, z3c.formui, z3c.layout, z3c.pagelet...

What I've done until now is :
 - create a custom layer :
class ITestLayer(z3c.form.interfaces.IFormLayer,
 z3c.layer.pagelet.IPageletBrowserLayer)

 - create a custom skin based on this layer :
class ITestSkin(z3c.formui.interfaces.IDivFormLayer,
ITestLayer)

 - create a pagelet based layout for my skin (via z3c.layout)

 - create an add form, a display form and an edit form for my custom
content :
class TestAddForm(z3c.formui.form.AddForm)
class TestDisplayForm(z3c.formui.form.DisplayForm)
class TestEditForm(z3c.formui.form.EditForm)

 - declare these forms as pagelets (via z3c.pagelet)

Until now, everything is OK : I've created a set of custom widgets that
I can display without any problem in the different modes, and these
forms work perfectly.

My problem is that I would like to modify the default form template,
actually provided by z3c.formui template 'div-form.pt' ; so I've created
a new template, but I can't use it : I've tried to register it via
several ZCML directives (z3c.template...), but none of them is OK and my
custom template is never used !

So I just suppose that it's my ZCML directive which is bad, that I
missed a set of declarations (I didn't declare any macro, for example),
or just that the interface for which the template is registered is not
the good one...

Thanks for any help,
Thierry



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Problem with z3c.form / z3c.formui packages

2008-03-14 Thread Thierry Florac
Hi,

On ven, 2008-03-14 at 23:12 +0100, Thierry Florac wrote:
 I'm trying to use a few z3c.* packages to build a little test
 application : z3c.form, z3c.formui, z3c.layout, z3c.pagelet...
 
 What I've done until now is :
  - create a custom layer :
 class ITestLayer(z3c.form.interfaces.IFormLayer,
  z3c.layer.pagelet.IPageletBrowserLayer)
 
  - create a custom skin based on this layer :
 class ITestSkin(z3c.formui.interfaces.IDivFormLayer,
 ITestLayer)
 
  - create a pagelet based layout for my skin (via z3c.layout)
 
  - create an add form, a display form and an edit form for my custom
 content :
 class TestAddForm(z3c.formui.form.AddForm)
 class TestDisplayForm(z3c.formui.form.DisplayForm)
 class TestEditForm(z3c.formui.form.EditForm)
 
  - declare these forms as pagelets (via z3c.pagelet)
 
 Until now, everything is OK : I've created a set of custom widgets that
 I can display without any problem in the different modes, and these
 forms work perfectly.
 
 My problem is that I would like to modify the default form template,
 actually provided by z3c.formui template 'div-form.pt' ; so I've created
 a new template, but I can't use it : I've tried to register it via
 several ZCML directives (z3c.template...), but none of them is OK and my
 custom template is never used !

I'm replying to my own message after a short discussion on IRC with
Stephan Richter, for anybody which would be interested in the answer...

The problem is coming from the ITestSkin interface, which was inheriting
from IDivFormLayer : actually, IDivFormLayer benefit is to provide a
ready to use div-based form layout ; so if your goal (like for me in
this example) is just to override this layout template, inheriting from
IDivFormLayer doesn't make any sense.

Problem was finally solved with the following statements :

class ITestSkin(z3c.formui.interfaces.IFormUILayer,ITestLayer):
...

z3c:template
for=z3c.form.interfaces.IInputForm
template=mydiv-form.pt
layer=.ITestLayer /


Many thanks,
Thierry



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users