Re: [Zope-dev] (optional) CSRF protection in zope.formlib

2013-10-01 Thread Jan-Wijbrand Kolman
On 9/18/13 4:41 PM, Jan-Wijbrand Kolman wrote: I've been working on CSRF protection for zope.formlib. Anyone else interested in this feature? We made an internal release of zope.formlib with this functionality and so far we found no issues in using it in production. After upd

Re: [Zope-dev] (optional) CSRF protection in zope.formlib

2013-09-18 Thread Jan-Wijbrand Kolman
On 9/18/13 5:26 PM, Leonardo Rochael Almeida wrote: +1 for implementing convenient CSRF. I wonder if you could make your implementation more orthogonal by implementing a CSRF "field/widget", and make your `protected` attribute simply trigger the inclusion of this field implicitly. This way you

[Zope-dev] (optional) CSRF protection in zope.formlib

2013-09-18 Thread Jan-Wijbrand Kolman
Hi, I've been working on CSRF protection for zope.formlib. I have a "csrfprotection" branch in my zope.formlib fork on github. The changes against the current zope.formlib mainline can be found here: https://github.com/janwijbrand/zope.formlib/compare/csrfprotection When creating form compon

Re: [Zope-dev] github etiquette

2013-09-17 Thread Jan-Wijbrand Kolman
On 9/17/13 3:32 PM, Jim Fulton wrote: On Tue, Sep 17, 2013 at 8:32 AM, Jan-Wijbrand Kolman Is this "reviewer role" something someone takes upon himself? I mean, if I see a pull request for a code base that I know, I could review the request? These are good questions. I probably

Re: [Zope-dev] github etiquette

2013-09-17 Thread Jan-Wijbrand Kolman
On 9/17/13 1:47 PM, Jim Fulton wrote: I strongly prefer that the reviewer do the merge. I'd also really like reviewers to take their responsibility seriously, making comments and suggestions where appropriate. Software review, done well, improves the software, and, more importantly, improves th

Re: [Zope-dev] github etiquette

2013-09-17 Thread Jan-Wijbrand Kolman
On 9/17/13 1:00 PM, Marius Gedminas wrote: On Tue, Sep 17, 2013 at 12:04:04PM +0200, Jan-Wijbrand Kolman wrote: I wonder if there is a formal or informal write-up of how to "nicely" contribute code to the repositories under the zopefoundation umbrella. I don't think so. I&#x

Re: [Zope-dev] github etiquette

2013-09-17 Thread Jan-Wijbrand Kolman
On 9/17/13 12:04 PM, Jan-Wijbrand Kolman wrote: snip 2) fork the repository, make a branch in the fork, do my work, push the changes to my fork, and issue a pull request. The latter is what I did, without explicitly asking for feedback. Luckily someone did give me feedback (thanks!) :-) Now

[Zope-dev] github etiquette

2013-09-17 Thread Jan-Wijbrand Kolman
Hi, I wonder if there is a formal or informal write-up of how to "nicely" contribute code to the repositories under the zopefoundation umbrella. Back in the subversion days I would branch a project, amend code, write tests, commit this to the repository, ask for feedback on the list, and, wh

Re: [Zope-dev] request for more package migrations to github

2013-03-22 Thread Jan-Wijbrand Kolman
On 3/22/13 12:59 PM, Stephan Richter wrote: On Friday, March 22, 2013 10:23:21 AM Jan-Wijbrand Kolman wrote: zopetoolkit Is everyone ok with me moving this? Hanno mentioned that several external tools depend on the SVN location and the move was delayed because of that. I think this package

[Zope-dev] request for more package migrations to github

2013-03-22 Thread Jan-Wijbrand Kolman
Hi, Stephan, may I kindly request a few more package migrations to github? Here's the list: groktoolkit grokcore.errorview grokcore.permission grokcore.registries grokcore.resource grokui.admin hurry.query hurry.workflow z3c.bcrypt zc.relation zc.relationship zopetoolkit Thank you *very much*

Re: [Zope-dev] "procedures" for moving package to github and porting to Python 3

2013-03-04 Thread Jan-Wijbrand Kolman
On 3/1/13 5:29 PM, Stephan Richter wrote: On Friday, March 01, 2013 02:37:34 PM Jan-Wijbrand Kolman wrote: megrok.menu It's done now, but it lost its 0.1 tag due to a conversion issue. Great! And thanks again! regards, jw ___ Zop

Re: [Zope-dev] "procedures" for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
On 3/1/13 2:49 PM, Stephan Richter wrote: On Friday, March 01, 2013 02:37:34 PM Jan-Wijbrand Kolman wrote: I do see someone just created an empty grokcore.component repository on github (thanks whoever did that! :-) ) It is actually fully converted. :-) LOL - cool! I am going to adjust

Re: [Zope-dev] "procedures" for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
On 3/1/13 1:39 PM, Stephan Richter wrote: AFAIK Stephan migrated most of the zope.* packages using this process. Yes, I have, except that I use a one does it all script published here: https://github.com/zopefoundation/zope.githubsupport Aha, great! All you need to do is to create a zope.c

Re: [Zope-dev] "procedures" for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
On 3/1/13 2:23 PM, Marius Gedminas wrote: On Fri, Mar 01, 2013 at 11:24:31AM +0100, Jan-Wijbrand Kolman wrote: On 3/1/13 10:17 AM, Marius Gedminas wrote: My attempt at this: https://gist.github.com/mgedmin/4944724 AFAIK Stephan migrated most of the zope.* packages using this process

Re: [Zope-dev] "procedures" for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
On 3/1/13 10:17 AM, Marius Gedminas wrote: On Fri, Mar 01, 2013 at 09:51:05AM +0100, Jan-Wijbrand Kolman wrote: Disclaimer: it's been a while since I actively followed zope-dev and grok-dev. So, please forgive me my ignorance. A single up-to-date web page sure beats reading months of

[Zope-dev] "procedures" for moving package to github and porting to Python 3

2013-03-01 Thread Jan-Wijbrand Kolman
Hi, Disclaimer: it's been a while since I actively followed zope-dev and grok-dev. So, please forgive me my ignorance. Spurred by the recent ZTK-2.0 discussion, I'm trying to get back on track on the topics of 1) migrating package to github and 2) porting packages to Python 3. As a first s

Re: [Zope-dev] ZTK 2.0 process

2013-02-27 Thread Jan-Wijbrand Kolman
Hi, On 2/26/13 7:26 PM, Hanno Schlichting wrote: snip > Our rule for inclusion in the ZTK is: Whatever library is used by at > least two out of the three frameworks (BlueBream, Grok, Zope). > > Given that BlueBream hasn't seen any release beyond a 1.0 about two > years back, I'm not sure it's act

Re: [Zope-dev] ZTK 2.0 process

2013-02-27 Thread Jan-Wijbrand Kolman
Hi, On 2/26/13 5:04 PM, Hanno Schlichting wrote: > Hi. > > The process for a ZTK 2.0 release isn't really well defined. I'm not > sure if Jan-Wijbrand and Christophe are still interested in working on > ZTK releases. I'm personally and from a business-perspective still interested in the ZTK and

Re: [Zope-dev] zope.formlib's action decorator return Action() object, not the decorated function. Why?

2012-09-18 Thread Jan-Wijbrand Kolman
On 9/16/12 09:38 , Wichert Akkerman wrote: > On Sep 16, 2012, at 07:28, Marius Gedminas wrote: > >> On Fri, Sep 14, 2012 at 01:44:30PM +0200, Jan-Wijbrand Kolman wrote: >>> After years and years of heavily using zope.formlib it suddenly struck >>> me that the zope

Re: [Zope-dev] zope.formlib's action decorator return Action() object, not the decorated function. Why?

2012-09-18 Thread Jan-Wijbrand Kolman
On 9/16/12 07:28 , Marius Gedminas wrote: > On Fri, Sep 14, 2012 at 01:44:30PM +0200, Jan-Wijbrand Kolman wrote: >> The reason I came across this "issue" is trying to improve the test >> coverage of the application I'm building somewhat closer to 100% and

[Zope-dev] zope.formlib's action decorator return Action() object, not the decorated function. Why?

2012-09-14 Thread Jan-Wijbrand Kolman
Hi, After years and years of heavily using zope.formlib it suddenly struck me that the zope.formlib.form.action decorator returns an Action() object instead of the decorated function (this action object is also added to the form's actions sequence as a "side effect" of the decorator). I know wond

Re: [Zope-dev] zope.intid and zope.keyreference.interfaces.NotYet exception (patch)

2012-07-04 Thread Jan-Wijbrand Kolman
On 7/3/12 15:06 , Hanno Schlichting wrote: > On Tue, Jul 3, 2012 at 1:56 PM, Jan-Wijbrand Kolman > wrote: >> At the end of this post, I pasted the diff from the current zope.intid >> trunk against your "fork" on bitbucket. Maybe this would make it easier >> fo

Re: [Zope-dev] zope.intid and zope.keyreference.interfaces.NotYet exception (patch)

2012-07-03 Thread Jan-Wijbrand Kolman
On 7/3/12 13:26 , Cykooz wrote: > 2012/7/3 Jan-Wijbrand Kolman <mailto:janwijbr...@gmail.com>> > > Are you basically using a forked zope.keyreference for the time being? > > No, I do not use a forked zope.keyreference. I used my fork of the > zope.intid. Ah, y

Re: [Zope-dev] zope.intid and zope.keyreference.interfaces.NotYet exception (patch)

2012-07-03 Thread Jan-Wijbrand Kolman
On 1/24/12 23:49 , Cykooz wrote: > 2012/1/25 Marius Gedminas : >> >> http://foundation.zope.org/agreements is where you can find the >> committer agreement form. > > Thanks. > But I have one problem. I do not know any of the existing Committer > who can vouch for me. Bringing up a rather old thre

Re: [Zope-dev] bugifx release for zope.error

2012-01-17 Thread Jan-Wijbrand Kolman
Thanks. Released as zope.error 3.7.3. regards, jw On 17/01/2012 21:33 , Jim Fulton wrote: Done. Jim On Tue, Jan 17, 2012 at 3:17 PM, Jan-Wijbrand Kolman wrote: Hi, I'd like to make a bugfix release for zope.error. Could someone grant me the needed permissions on pypi for this? My

[Zope-dev] bugifx release for zope.error

2012-01-17 Thread Jan-Wijbrand Kolman
Hi, I'd like to make a bugfix release for zope.error. Could someone grant me the needed permissions on pypi for this? My pypi handle is "jw". Thank you in advance. regards, jw ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailma

Re: [Zope-dev] zope-tests - FAILED: 9, OK: 72

2011-06-08 Thread Jan-Wijbrand Kolman
On 6/6/11 16:48 , Tres Seaver wrote: > On 06/05/2011 02:24 PM, Hanno Schlichting wrote: >> On Sun, Jun 5, 2011 at 6:31 PM, Tres Seaver wrote: [1]FAILED Zope Buildbot / zope2.13-py2.7 slave-ubuntu64 https://mail.zope.org/pipermail/zope-tests/2011-June/042535.html >>>

Re: [Zope-dev] zope-tests - FAILED: 8, OK: 71, UNKNOWN: 4

2011-04-07 Thread Jan-Wijbrand Kolman
On 4/7/11 07:00 , Zope tests summarizer wrote: > This is the summary for test reports received on the > zope-tests list between 2011-04-05 00:00:00 UTC and 2011-04-06 00:00:00 UTC: > [5]FAILED Zope Buildbot / zopetoolkit-1.1-py2.5 slave-ubuntu64 > https://mail.zope.org/pipermail/zope-t

Re: [Zope-dev] Zope Tests: 171 OK, 13 Failed, 2 Unknown

2011-04-04 Thread Jan-Wijbrand Kolman
On 4/4/11 12:57 , Zope Tests Summarizer wrote: > Summary of messages to the zope-tests list. > Period Sun Apr 3 11:00:00 2011 UTC to Mon Apr 4 11:00:00 2011 UTC. > There were 186 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 23 > from buildbot at winbot.zope.org, 8 from ccomb at free.f

Re: [Zope-dev] Zope Tests: 74 OK, 19 Failed

2011-03-30 Thread Jan-Wijbrand Kolman
On 3/30/11 13:17 PM, Tres Seaver wrote: >> Subject: FAILED : Zope Buildbot / zope2.12-py2.6 slave-ubuntu32 >> From: jdriessen at thehealthagency.com >> Date: Tue Mar 29 17:09:03 EDT 2011 >> URL: http://mail.zope.org/pipermail/zope-tests/2011-March/036550.html >> >> Subject: FAILED : Zope Buildbot /

Re: [Zope-dev] Zope Tests: 74 OK, 14 Failed

2011-03-30 Thread Jan-Wijbrand Kolman
On 3/30/11 9:11 AM, Jan-Jaap Driessen wrote: > On 29 March 2011 16:22, Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >>> Subject: FAILED : Zope Buildbot / zopetoolkit-1.0_win-py2.6 slave-win >>> From: jdriessen at thehealthagency.com >>> Date: Mon Mar 28 15:18:14 EDT 20

Re: [Zope-dev] Anyone want to do Google Summer of code mentoring for PSF?

2011-03-21 Thread Jan-Wijbrand Kolman
On 3/21/11 10:30 AM, Wichert Akkerman wrote: >>> - you may have some draft files in your tree that are not ready for use >>> and never referenced anywhere, but a scan will still process them. >> >> This is true. > > I ran into this with .html.py files generated by Chameleon as well. My > Z

Re: [Zope-dev] Anyone want to do Google Summer of code mentoring for PSF?

2011-03-21 Thread Jan-Wijbrand Kolman
On 3/20/11 16:12 PM, Wichert Akkerman wrote: >>> Both Grok and Pyramid (or martian and venusian really) do a scan of >>> the code to find the registration hints. >> >> Pyramid only does so if you tell it to do so by using config.scan(). You >> are not obliged to do that, and I have several pyramid

Re: [Zope-dev] Anyone want to do Google Summer of code mentoring for PSF?

2011-03-21 Thread Jan-Wijbrand Kolman
Hi, Not sure where to 'hook into' the discussion thread, so I'll just start here: On 3/20/11 15:28 PM, Jim Fulton wrote: > Hm, it's been a while since I've looked at grok. Some notes: > > - The mechanism I'm thinking of should not require *any* ZCML. Do you mean "without having a configure.zcml

Re: [Zope-dev] zope.pluggableauth and "camefrom" information in login form not an absolute URL

2011-02-08 Thread Jan-Wijbrand Kolman
On 2/7/11 18:03 PM, Roger wrote: > why not use the same pattern like I changed to in z3c.authenticator. > There the camefrom request part was replaced by session handling. > > On the other side, I think your changes are fine since, I guess > someone from gocept, a long time ago, fixed and protected

Re: [Zope-dev] zope.pluggableauth and "camefrom" information in login form not an absolute URL

2011-02-07 Thread Jan-Wijbrand Kolman
On 2/7/11 12:04 PM, Adam GROSZER wrote: > Hello, > > I'm not sure whether you open up a security hole there. > Imagine that someone does a > http://yoursite.com/@@loginform.html?camefrom=http://mysite.com > We ended up with storing the camefrom URL in a session variable. The redirect method in the

[Zope-dev] zope.pluggableauth and "camefrom" information in login form not an absolute URL

2011-02-07 Thread Jan-Wijbrand Kolman
Hi, The SessionCredentialsPlugin will redirect to a login form whenever a user needs to be authenticated. The URL to this login form will have a "camefrom" query string, where the "camefrom" is the path-information to the originally requested view. When the credentials provided by the user are

[Zope-dev] Zope Toolkit 1.1 released

2011-01-31 Thread Jan-Wijbrand Kolman
olkit/index/1.1/zopeapp-versions.cfg There's a bit of high level change overview available at http://docs.zope.org/zopetoolkit/releases/overview-1.1.html Kind regards, Jan-Wijbrand Kolman ___ Zope-Dev maillist - Zope-Dev@zope.org https://mai

[Zope-dev] plans for a ZTK-1.1 release

2011-01-04 Thread Jan-Wijbrand Kolman
Hi, The ZTK-releaseteam is making plans for a ZTK-1.1 release. We aim for a release next week. Except for an updated versions list [1], other significant changes will be: * dropping python-2.4 support * gaining python-2.7 support * more deprecated zope.app.* packages [2] We welcome questions,

Re: [Zope-dev] [Checkins] SVN: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py Don't import site on initialization, as this mitigates the buildout 1.5 way of setting sys.path

2010-11-26 Thread Jan-Wijbrand Kolman
On 11/26/10 10:49 AM, Jan-Wijbrand Kolman wrote: > On 11/26/10 8:37 AM, Michael Howitz wrote: >> currently the ZTK tests on the trunk do not run successfully in a >> virtualenv. > >> But reverting this change does not help to get the tests of >> z3c.recipe.compatte

Re: [Zope-dev] [Checkins] SVN: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py Don't import site on initialization, as this mitigates the buildout 1.5 way of setting sys.path

2010-11-26 Thread Jan-Wijbrand Kolman
On 11/26/10 8:37 AM, Michael Howitz wrote: > currently the ZTK tests on the trunk do not run successfully in a > virtualenv. > But reverting this change does not help to get the tests of > z3c.recipe.compattest itself running again. There are the same errors > like before. > > Is it intensional th

Re: [Zope-dev] SVN: zopetoolkit/doc/source/releaseteam/ minutes of ztk releaseteam meeting 11/09

2010-11-19 Thread Jan-Wijbrand Kolman
On 11/18/10 16:50 PM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/18/2010 05:19 AM, Wichert Akkerman wrote: >> On 11/18/10 11:16 , Jan-Wijbrand Kolman wrote: >>> +The ZTK would like to use distribute by default. > >> Is the

Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?

2010-10-19 Thread Jan-Wijbrand Kolman
On 10/18/10 21:16 PM, Michael Howitz wrote: > Am 18.10.2010 um 11:02 schrieb Jan-Wijbrand Kolman: >> I propose to release this as 1.5.0, which would be a major version >> release that would indicate: "Watch out, potentially backwards >> incompatible changes ahead!".

Re: [Zope-dev] Moving concrete IAuthenticatorPlugin implementations to zope.pluggableauth

2010-10-18 Thread Jan-Wijbrand Kolman
On 10/13/10 18:56 , Michael Howitz wrote: > Am 13.10.2010 um 16:05 schrieb Jan-Wijbrand Kolman: > >> Hi, >> >> A while ago zope.pluggable split off reusable components from >> zope.app.authentication. The concrete IAuthenticatorPlugin >> implementations (prin

Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?

2010-10-18 Thread Jan-Wijbrand Kolman
Hi Michael and Marius, Thanks for the feedback and suggestions! This is what I did: On 10/13/10 15:37 , Michael Howitz wrote: > Am 13.10.2010 um 13:50 schrieb Jan-Wijbrand Kolman: >> Then there's no real need for a browser extra, as the browser >> subpackage does not really

[Zope-dev] Zope Toolkit 1.0 release

2010-10-13 Thread Jan-Wijbrand Kolman
with us on this mailing list. Kind regards, Jan-Wijbrand Kolman ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/lis

[Zope-dev] Moving concrete IAuthenticatorPlugin implementations to zope.pluggableauth

2010-10-13 Thread Jan-Wijbrand Kolman
Hi, A while ago zope.pluggable split off reusable components from zope.app.authentication. The concrete IAuthenticatorPlugin implementations (principalfolder and groupfolder) however, were left in zope.app.authentication. I think it makes sense to move these IAuthenticatorPlugin implementatio

Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?

2010-10-13 Thread Jan-Wijbrand Kolman
On 10/13/10 13:42 , Jan-Wijbrand Kolman wrote: > Good idea. This would improve the testing situation. That would > definitely help the Grok Toolkit, as it could then run the "normal" > tests in the context of the toolkit, without pulling in the dependencies > of the bro

Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?

2010-10-13 Thread Jan-Wijbrand Kolman
On 10/13/10 13:16 , Michael Howitz wrote: > Am 13.10.2010 um 10:02 schrieb Jan-Wijbrand Kolman: >> If I would be pedantic here I'd say there is no such thing as >> renaming a permission. When the old name is gone, it is gone. >> There's no mechanism similar to the

Re: [Zope-dev] (re)moving browser subpackage from zc.catalog?

2010-10-13 Thread Jan-Wijbrand Kolman
On 10/6/10 08:08 , Michael Howitz wrote: > Am 05.10.2010 um 20:21 schrieb Jan-Wijbrand Kolman: >> Today I fixed a small bug in zc.catalog (the ftesting.zcml depended >> on a permission name that has been removed from zope.dublincore). > > Actually the permission h

[Zope-dev] wiki.zope.org / download.zope.org down?

2010-10-11 Thread Jan-Wijbrand Kolman
Hi, As it seems wiki.zope.org is down, as is download.zope.org. But probably this is already known..? Is there anything I can do to help getting the machine(s) back up? regards, jw ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mai

Re: [Zope-dev] z3c.recipe.compattest buildout 1.5/1.4 compatibility

2010-10-07 Thread Jan-Wijbrand Kolman
On 10/7/10 10:20 AM, Wolfgang Schnerring wrote: > * Jan-Wijbrand Kolman [2010-10-06 13:39]: >> BTW, I discussed updating the z3c.recipe.i18n for similar reasons - to >> support newer buildout features - in a separate thread. There people >> seemed to be +1 on releasing a rec

Re: [Zope-dev] z3c.recipe.i18n

2010-10-07 Thread Jan-Wijbrand Kolman
On 10/6/10 10:27 AM, Jan-Wijbrand Kolman wrote: > On 10/6/10 9:53 AM, yuppie wrote: >> Jan-Wijbrand Kolman wrote: >>> This afternoon I merged the "gary-0.8.0" branch for z3c.recipe.i18n. The >>> recipe now uses and depends on zc.buildout-1.5.1 features. I'

Re: [Zope-dev] z3c.recipe.compattest buildout 1.5/1.4 compatibility

2010-10-06 Thread Jan-Wijbrand Kolman
On 10/6/10 12:49 PM, Wolfgang Schnerring wrote: > * Jan-Jaap Driessen [2010-10-05 18:09]: >> Version 0.12.2 of z3c.recipe.compattest is not compatible with recent >> versions of it's dependencies zc.buildout (v1.5.1), zc.recipe.egg >> (v1.3.2) and z3c.recipe.scripts. I fixed this in revision 11725

Re: [Zope-dev] z3c.recipe.i18n

2010-10-06 Thread Jan-Wijbrand Kolman
On 10/6/10 9:53 AM, yuppie wrote: > Jan-Wijbrand Kolman wrote: >> This afternoon I merged the "gary-0.8.0" branch for z3c.recipe.i18n. The >> recipe now uses and depends on zc.buildout-1.5.1 features. I'd like to >> release this merge as 0.8.0 as this make

[Zope-dev] (re)moving browser subpackage from zc.catalog?

2010-10-05 Thread Jan-Wijbrand Kolman
Hi, Today I fixed a small bug in zc.catalog (the ftesting.zcml depended on a permission name that has been removed from zope.dublincore). This made me realize that zc.catalog contains ZMI code in the browser subpackage. Are people still using this ZMI code from zc.catalog? Would it be an idea

[Zope-dev] z3c.recipe.i18n

2010-10-05 Thread Jan-Wijbrand Kolman
Hi, This afternoon I merged the "gary-0.8.0" branch for z3c.recipe.i18n. The recipe now uses and depends on zc.buildout-1.5.1 features. I'd like to release this merge as 0.8.0 as this make it possible to move grok and the groktoolkit over to zc.buildout-1.5.1. I guess this is also useful in th

[Zope-dev] Zope Toolkit - 1.0a3 release

2010-08-24 Thread Jan-Wijbrand Kolman
e to start discussing with us on this mailing list. Kind regards, Jan-Wijbrand Kolman ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mai

Re: [Zope-dev] Zope Toolkit - 1.0a1 release

2010-07-06 Thread Jan-Wijbrand Kolman
On 6/30/10 21:47 PM, Hanno Schlichting wrote: > To use the ZTK release, you can use: > > [buildout] > extends = > http://download.zope.org/zopetoolkit/index/1.0a1/ztk-versions.cfg > http://download.zope.org/zopetoolkit/index/1.0a1/zopeapp-versions.cfg > > This first release focuses on get

[Zope-dev] 1.4.4 bugfix release for zc.catalog

2010-07-06 Thread Jan-Wijbrand Kolman
Hi, Grok would be greatly helped with a 1.4.4 bugfix release of zc.catalog. The fix we want is already implemented, we just need a release. Is someone willing to do that? (or, would allow me to do it by granting pypi right for the package? My pypi username is jw). kind regards, jw ___

Re: [Zope-dev] Copyright update for z3c.ajax: no buildout, no headers

2010-06-04 Thread Jan-Wijbrand Kolman
On 6/3/10 8:20 AM, Christian Theune wrote: > Hi, > > I just fixed up z3c.ajax and it has a quirk that the check doesn't know > about: > > If a file doesn't contain any copyright attribution header, it ignores > that file. > > In this case, z3c.ajax has no headers at all. no setup.py. no buildout. >

Re: [Zope-dev] Help updating the copyright attributions

2010-06-02 Thread Jan-Wijbrand Kolman
On 6/3/10 8:40 AM, Christian Theune wrote: > On 06/02/2010 05:19 PM, Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Jan-Wijbrand Kolman wrote: >>> On 6/2/10 15:11 , Christian Theune wrote: >>>> Hi, >>>> >

Re: [Zope-dev] Help updating the copyright attributions

2010-06-02 Thread Jan-Wijbrand Kolman
Hi, Another one I'm not sure about: jquery.javascript The zope.repositorypolicy readme instructs me to remove the files that are copyright to a non-committer. So in this case I should remove the whole 'js' directory from the package I guess? regards, jw ___

Re: [Zope-dev] Help updating the copyright attributions

2010-06-02 Thread Jan-Wijbrand Kolman
Hi, What should I do with a package such as lovely.memcached where the copyright is currently attributed to "Lovely Systems and Contributors"? Just apply the fix script? regards, jw ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/ma

Re: [Zope-dev] Help updating the copyright attributions

2010-06-02 Thread Jan-Wijbrand Kolman
On 6/2/10 15:11 , Christian Theune wrote: > Hi, > > the ZF needs to finish updating the copyright attributions to state that > the Zope code now belongs to the foundation. > > I've prepared some scripts to help with monitoring which packages need > to be updated and also a helper to update most cas

Re: [Zope-dev] Help updating the copyright attributions

2010-06-02 Thread Jan-Wijbrand Kolman
On 6/2/10 15:11 , Christian Theune wrote: > So, I'm the first one to step up to do a hundred of them until Friday > 2010-06-11. Who else is joining me? I'll take a batch of ten per day until 2010-06-11. Can I just pick from the list, or will you (or someone) hand out a batch? regards, jw __

Re: [Zope-dev] pypi access for zope.password Was: pypi access for zope.app.authentication and zope.password

2010-05-27 Thread Jan-Wijbrand Kolman
On 5/27/10 8:12 AM, Christian Theune wrote: >> Could someone please grant me (username "jw") access to zope.password as >> well? Thanks in advance! > > According to PyPI jw has Owner privileges already (by now). Uli granted me access, but his reply to me about it didn't make it to the list someho

[Zope-dev] pypi access for zope.password Was: pypi access for zope.app.authentication and zope.password

2010-05-26 Thread Jan-Wijbrand Kolman
On 5/26/10 08:46 , Stephan Richter wrote: > On Wednesday, May 26, 2010, Jan-Wijbrand Kolman wrote: >> Could someone grant me pypi access to zope.app.authentication and >> zope.password? > > Done. Thanks. However, I see "myself" in the list of package owners for z

[Zope-dev] pypi access for zope.app.authentication and zope.password

2010-05-25 Thread Jan-Wijbrand Kolman
Hello, Could someone grant me pypi access to zope.app.authentication and zope.password? My pypi username is "jw". For compatibility reasons the upcoming Grok-1.0.x bugfix release cannot jump to a newer zope.app.authentication version, but I'd still like to add support for the SSHA password m

[Zope-dev] zope.password SSHAPasswordManager cannot handle unicode?

2010-05-25 Thread Jan-Wijbrand Kolman
Hi, When I define a principal in my site.zcml and have it use the SSHAPasswordManager, I cannot login as a "TypeError: character mapping must return integer, None or unicode" is raised in the checkPassword() methid. It took me quite a while to figure out what was going on... The site.zcml cont

Re: [Zope-dev] Wanted: representatives from Zope 2, grok, and BlueBream to engineer ZTK 1.0 release

2010-04-20 Thread Jan-Wijbrand Kolman
Christian Theune wrote: > On 03/29/2010 04:08 PM, Christian Theune wrote: >> Hi everyone, >> >> on the way towards a ZTK 1.0 release we first looked for a single >> volunteer release manager who would drive the process. >> >> As no one stepped up and no (serious) nominations were presented the >

Re: [Zope-dev] z3c.password and tracking failed login attempts

2010-03-24 Thread Jan-Wijbrand Kolman
Adam GROSZER wrote: > JWK> I'll make a release of z3c.password then too, if you agree with that. > > Sure. I'd go with a minor version increment. E.g. 0.10.1. We were at 0.9.0, I made it a 0.10.0. Great for having these features available!! regards, jw ___

Re: [Zope-dev] z3c.password and tracking failed login attempts

2010-03-24 Thread Jan-Wijbrand Kolman
Adam GROSZER wrote: > Looks good. > > The only weird is to define those constants in the method parameters. > > def _isIrrelevantRequest(self, RELEVANTlse, IRRELEVANT ue): > > Do you call this method from somewhere else? > > Maybe it would be better to change the name (and behavour) to > _isR

[Zope-dev] z3c.password and tracking failed login attempts

2010-03-08 Thread Jan-Wijbrand Kolman
Hi, A while ago I asked some questions and made some suggestions for improving how to track failed login attempts in z3c.password. Most likely these suggestions got buried in now a out-of-sight thread and were never noticed. My suggestion was that making a request for for example a resource cou

Re: [Zope-dev] release for z3c.password with Dutch translations

2010-02-18 Thread Jan-Wijbrand Kolman
Michael Howitz wrote: >> Would it be possible for one of the package owners to make a release, >> or, alternatively, allow me to upload a new version to the package >> index? (My pypi username is jw). > > Done. Thanks! I just released z3c.password 0.9.0. regards, jw _

[Zope-dev] release for z3c.password with Dutch translations

2010-02-18 Thread Jan-Wijbrand Kolman
Hello, I would be greatly helped with a new release of z3c.password with the Dutch translations that I recently added. Would it be possible for one of the package owners to make a release, or, alternatively, allow me to upload a new version to the package index? (My pypi username is jw). Thank

Re: [Zope-dev] z3c.password and "failedAttempts" andSessionCredentialsPlugin

2010-02-04 Thread Jan-Wijbrand Kolman
Hi Adam, Adam GROSZER wrote: > We're using it too... > Go for 0.8.0. I noticed that requesting for, for example, a resource could still trigger account locked errors, where in my opinion only the login attempts themselves should do that. I created a branch... http://svn.zope.org/z3c.password

Re: [Zope-dev] z3c.password and "failedAttempts" andSessionCredentialsPlugin

2010-01-29 Thread Jan-Wijbrand Kolman
Hi Adam, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Adam GROSZER wrote: > >> Thinking this further, resource requests will have a '/@@/' (usually) >> in their URL. So it might be an idea to skip those requests from >> counting. > > Seems to me skipping anything except POST reque

Re: [Zope-dev] bugfix release for zope.app.wsgi, pypi rights

2010-01-29 Thread Jan-Wijbrand Kolman
Marius Gedminas wrote: > Marius Gedminas wrote: > Marius Gedminas wrote: > On Fri, Jan 29, 2010 at 10:48:41AM +0000, Jan-Wijbrand Kolman wrote: >> I'd like to make a 3.6.1 bugfix release for zope.app.wsgi. >> >> On the trunk there's support for pickin

[Zope-dev] bugfix release for zope.app.wsgi, pypi rights

2010-01-29 Thread Jan-Wijbrand Kolman
Hi, I'd like to make a 3.6.1 bugfix release for zope.app.wsgi. On the trunk there's support for picking up "product configuration" that has not been released yet (however, it had been released in a bugfix release in the 3.4 line). Could I ask someone to grant me pypi rights for this package?

Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Jan-Wijbrand Kolman
Hi, Christian Theune wrote: > On 01/26/2010 03:30 PM, Souheil CHELFOUH wrote: >> Well, the first step is already to cut the dependencies and get a sane >> tree and a reusable package. >> The second step, however, if people feel like it, will be to refactor >> a bit and _that_ will need careful pl

Re: [Zope-dev] zope.app.authentication

2010-01-26 Thread Jan-Wijbrand Kolman
Hi, Christian Theune wrote: > On 01/26/2010 09:32 AM, Souheil CHELFOUH wrote: >> I hear you and understand you. > > Thanks. :) > >> I'm not advertizing for an immediate and brainless action. >> What I did this week end is simply to split the PAU from all the >> components provided with it (wel

Re: [Zope-dev] quitting the ZTK steering group

2010-01-22 Thread Jan-Wijbrand Kolman
Martijn Faassen wrote: > Hi there, > > This is to announce my withdrawal from the Zope Toolkit steering > group. I'm not sure if you're reading this, but I wanted to thank you anyway for the tremendous amount of energy you've put into the steering group. kind regards, jw ___

Re: [Zope-dev] z3c.password and "failedAttempts" andSessionCredentialsPlugin

2010-01-19 Thread Jan-Wijbrand Kolman
Adam GROSZER wrote: Thank you for your reply! > Right. Well right now the lame solution is to try to count the number > of resources needed to load the page and multiply maxFailedAttempts by > that number. > Other than that you _will_ want to offload resources in production. Oh, sure in _produ

Re: [Zope-dev] z3c.password and "failedAttempts" andSessionCredentialsPlugin

2010-01-18 Thread Jan-Wijbrand Kolman
"Roger" wrote: >> Betreff: [Zope-dev] z3c.password and "failedAttempts" >> andSessionCredentialsPlugin >> >> I'm looking into integrating z3c.password into an application >> that also uses the PAU with the principal folder, >> InternalPrincipals and the SessionCredentialsPlugin. >> >> One of

[Zope-dev] z3c.password and "failedAttempts" and SessionCredentialsPlugin

2010-01-18 Thread Jan-Wijbrand Kolman
Hi, I'm looking into integrating z3c.password into an application that also uses the PAU with the principal folder, InternalPrincipals and the SessionCredentialsPlugin. One of the features of z3c.password that I'd like to use is locking out an user account after a number of failed login attemp

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-09 Thread Jan-Wijbrand Kolman
Gediminas Paulauskas wrote: >> I'll make it require zope.browserpage and release (and upload!) >> zope.app.exception 3.7.0. > Could you upload 3.6.0 as it was anyway, the ISystemErrorView move > would be useful for me since I run SchoolTool on an older/custom > KGS. Yes. Done. regards, jw

Re: [Zope-dev] zope.publisher 3.12 broke 25 zope.app packages

2010-01-09 Thread Jan-Wijbrand Kolman
Jan-Wijbrand Kolman wrote: > Martijn Faassen wrote: >> 25 zope.app packages are broken due to changes in zope.publisher 3.12. >> zope.publisher had some components factored out of it into zope.login. >> >> I fixed zope.app.exception: it could be fixed by adding the

Re: [Zope-dev] zope.publisher 3.12 broke 25 zope.app packages

2010-01-06 Thread Jan-Wijbrand Kolman
Martijn Faassen wrote: > 25 zope.app packages are broken due to changes in zope.publisher 3.12. > zope.publisher had some components factored out of it into zope.login. > > I fixed zope.app.exception: it could be fixed by adding the zope.login > requirement and adding a zcml include statement.

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
Martijn Faassen wrote: > Jan-Wijbrand Kolman wrote: >> I'm trying to figure out what has changed that could be related to this, but if >> anyone has a hint for me... > > I can definitely reproduce the error. > > It seems to be occurring somewhere in

Re: [Zope-dev] release and upload zope.app.pagetemplate to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
Baiju M wrote: > On Mon, Jan 4, 2010 at 7:32 PM, Jan-Wijbrand Kolman > wrote: >> hello, >> >> Would any of the owners of zope.app.pagetemplate be so kind to upload >> (or let me upload) a new version of zope.app.pagetemplate? > > Added "jw" as o

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
Jan-Wijbrand Kolman wrote: > Baiju M wrote: >> $ ./bin/test >> /opt/baiju/wa/z3hello/eggs/zope.testing-3.8.6-py2.6.egg/zope/testing/ > testrunner/debug.py:23: >> DeprecationWarning: zope.testing.doctest is deprecated in favour of >> the Python standard li

[Zope-dev] release and upload zope.app.pagetemplate to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
hello, Would any of the owners of zope.app.pagetemplate be so kind to upload (or let me upload) a new version of zope.app.pagetemplate? This will allow me to fix and release zope.app.exception. regards, jw ___ Zope-Dev maillist - Zope-Dev@zope.or

Re: [Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
Baiju M wrote: > On Mon, Jan 4, 2010 at 6:32 PM, Jan-Wijbrand Kolman > wrote: >> Would any of the pypi owners of zope.app.exception be so kind to >> upload the 3.6.0 release to the package index? I see this package has >> been tagged already a while ago. >> >&g

[Zope-dev] upload zope.app.exception to pypi

2010-01-04 Thread Jan-Wijbrand Kolman
hello, Would any of the pypi owners of zope.app.exception be so kind to upload the 3.6.0 release to the package index? I see this package has been tagged already a while ago. I think this newer version should also be included in the ZTK versions list, as this version will import the correct IS

[Zope-dev] z3c.schema2xml and z3c.schema2json

2009-11-25 Thread Jan-Wijbrand Kolman
Hi, I'm about to work a bit on z3c.schema2json [1]. As has been briefly discussed before (a while ago [2]), z3c. schema2json is so similar to z3c.schema2xml [3] in what it does and how it does it, that I wonder about merging the two packages somehow. One way to do this - maybe - is to use name

Re: [Zope-dev] z3c.hashedresource and cache response headers

2009-09-18 Thread Jan-Wijbrand Kolman
Hi Stephan, Stephan Richter wrote: > On Friday 18 September 2009, Jan-Wijbrand Kolman wrote: >> While working on it we wondered how and where people using >> z3c.hashedresource set the caching headers for the resources referenced >> by the URLs generated by z3c.hashedres

[Zope-dev] z3c.hashedresource and cache response headers

2009-09-18 Thread Jan-Wijbrand Kolman
Hi, We're trying to make an integration of z3c.hashedresource into Grok. While working on it we wondered how and where people using z3c.hashedresource set the caching headers for the resources referenced by the URLs generated by z3c.hashedresource. A few random thoughts about this: * zope.bro

Re: [Zope-dev] zope.sendmail and testing

2009-08-25 Thread Jan-Wijbrand Kolman
Chris Withers wrote: > Jan-Wijbrand Kolman wrote: >> Zope.sendmail explains in its README.txt that the developer using >> zope.sendmail should himself take care of not sending emails (by setting >> up a test layer for example, that would register a no-op IMailDelivery >

Re: [Zope-dev] zope.sendmail and testing

2009-08-25 Thread Jan-Wijbrand Kolman
Adam GROSZER wrote: > Hello, > > I'd rather use a mailer stub for testing. > Like the one in zope.sendmail.tests.test_mailer.py > > ... > class SMTP(object): > ... > > Something like this can be setup for individual tests with > > name="mailer-name" > provides="zope.sendmail.inte

  1   2   >