Re: [Zope-dev] ZTK TTW Content Types Project Wiki

2010-09-08 Thread Kevin Gill
So I am starting a project to build content types through the web using the ZTK. Here is the url. http://specialtyjobmarkets.com/Wikis/LozinskiClasses/FrontPage Hi Christopher, I understand where you are. Four years ago, I made the transition from Zope2 to Zope3. It was about 12 months

Re: [Zope-dev] ZTK TTW Content Types Project Wiki

2010-09-08 Thread Kevin Gill
Don't be too harsh on Grok/Dexterity. Dexterity has worked out how not to repeat the definitions in interfaces, forms and content objects. It also produces an application with suprisingly little redundant code. I urge you to try it out. The benefits are of course quick turn around, version

Re: [Zope-dev] Zope3 sessions and database conflicts

2010-03-04 Thread kevin gill
Hi, For quite some time I see messages like this in my z3.log: 2010-03-02T16:27:14 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/images/sponsor_logo.png: database conflict error (oid 0x063f, class BTrees.OOBTree.OOBucket, serial this txn

Re: [Zope-dev] Zope3 sessions and database conflicts

2010-03-04 Thread kevin gill
Hi, For quite some time I see messages like this in my z3.log: 2010-03-02T16:27:14 WARNING ZopePublication Competing writes/reads at /BSPSite/act/++vh++http:zis.act.at:80/bankneu/++/images/sponsor_logo.png: database conflict error (oid 0x063f, class BTrees.OOBTree.OOBucket, serial this txn

[Zope-dev] Need help - wrong hierarchy on svn.zope.org

2008-10-20 Thread kevin gill
Hi, I need a little help. I checked two packages into svn.zope.org, but I have set up the hierarchy incorrectly. The packages are z3c.rotterdam and z3c.boston. The egg is in the base folder, rather than in 'trunk'. I would appreciate it if someone with administration access to the repository

Re: AW: [Zope-dev] Re: [Zope3-Users] How do I automatically login a user]

2008-04-15 Thread kevin gill
I have made many changes to the first version of this proposal and submitted a new version to the wiki. http://wiki.zope.org/zope3/SessionCredentialsAPIEnhancements I have checked in an example implementation to the Zope SVN repository. The code is at:

Re: AW: [Zope-dev] Re: [Zope3-Users] How do I automatically login a user]

2008-04-10 Thread kevin gill
Kevin On Apr 9, 2008, at 5:07 AM, kevin gill wrote: 1. IP Extraction Extract the IP Address from the credentials and store it. Return the IP Address in the dictionary from extractCredentials(). The value from request._environ['HTTP_X_FORWARDED_FOR'] will be used if present. otherwise

Re: AW: [Zope-dev] Re: [Zope3-Users] How do I automatically login a user

2008-04-09 Thread kevin gill
a migration script? Regards Roger Ineichen _ END OF MESSAGE Regards, David Jim Fulton wrote: Let's move this discussion to zope-dev. On Apr 2, 2008, at 5:36 AM, kevin gill wrote: Please check in the code to the sandbox and I will have a look

[Zope-dev] Tutorial on SQLScript - Feedback solicited

2008-01-02 Thread kevin gill
I found that there is a lack of documentation for using SQLScript with Zope3. SQLAlchemy is newer and exciting and SQLScript is mostly ignored. This is unfortunate as it works well and is well known to Zope2 developers. I have made an attempt to redress the balance by adding a page on it to the

[Zope-dev] Configuring PAU - Should it be this hard?

2007-12-14 Thread kevin gill
I spent approximately a weeks work (spread over a month) to get the PAU configured with my PostgreSQL database. When I look at what I am doing now, it seems very complicated. Please have a look at the following and let me know if I am doing it the hard way. This may also be helpful for anyone

[Zope-dev] Re: Re: PAU question - how to I handle roles on principals

2007-12-07 Thread kevin gill
Thanks Christophe I tried to configure a Principal annotation for 'roles' but I am afraid I have come up blank. Here is what I did... # Create a principal Annotations Utility (as recommeded by CC) from zope.component import provideUtility, provideAdapter from zope.app.principalannotation import

[Zope-dev] PAU question - how to I handle roles on principals

2007-12-06 Thread kevin gill
I have created a simple authenticator plug-in. It allows me to load my users from my database. The plug-in only allows me to control the name of a principal and validate their user name / password. I need to tell Zope which roles different users have. I have the roles stored on the database.