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

2013-09-18 Thread Leonardo Rochael Almeida
Hi Jan-Wij, +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 wouldn't need to change the `*pageform.pt`

Re: [Zope-dev] five.grok - svn

2013-04-11 Thread Leonardo Rochael Almeida
Thanks! On Thu, Apr 11, 2013 at 10:37 PM, Stephan Richter stephan.rich...@gmail.com wrote: On Wednesday, April 10, 2013 04:43:17 PM Leonardo Rochael Almeida wrote: Can anyone please migrate five.grok to GitHub? Done. Regards, Stephan -- Entrepreneur and Software Geek Google me. Zope

[Zope-dev] five.grok - svn

2013-04-10 Thread Leonardo Rochael Almeida
Hi repository specialists, Can anyone please migrate five.grok to GitHub? Some people have fixes for it, but don't want to touch SVN ever again, like its some sort of plague... Thanks in advance! Cheers, Leo ___ Zope-Dev maillist -

Re: [Zope-dev] Python 3 support status page

2013-01-28 Thread Leonardo Rochael Almeida
Cool, looks nice! On Mon, Jan 28, 2013 at 3:27 PM, Marius Gedminas mar...@gedmin.as wrote: I wanted to have an up-to-date status page for the status of the Python 3 porting efforts of various zope-ish packages, so I made one: http://zope3.pov.lt/py3/ Source for the data extraction bits:

Re: [Zope-dev] Status of github migration

2013-01-10 Thread Leonardo Rochael Almeida
Hi Jens, On Thu, Jan 10, 2013 at 11:47 AM, Jens Vagelpohl j...@dataflake.org wrote: [...] All other repositories (Zope, Products.*) were test migrations where I asked for feedback and never got any. They are throw-away and not final. The only finished migrations are yours and Tres'. I've

Re: [Zope-dev] DateTime issues with negative offsets

2012-12-09 Thread Leonardo Rochael Almeida
Here's Guido's official explanation for the divmod behaviour: http://python-history.blogspot.com.br/2010/08/why-pythons-integer-division-floors.html IMHO we should treat negative offsets specially, doing the divmod() with -60 in that case. Regards, Leo On Fri, Dec 7, 2012 at 5:22 PM, Juan A.

Re: [Zope-dev] AccessControl C extension, ExtensionBase, Cylic memory and tp_traverse

2012-11-06 Thread Leonardo Rochael Almeida
Hi Silvain, Thanks for the deep analysis. Did you put this code in a branch somewhere for us to take a look? Cheers, Leo On Tue, Nov 6, 2012 at 2:54 PM, Sylvain Viollon sylv...@infrae.com wrote: Hello, I recently find out I had a memory leak in Silva, with Python 2.7. After playing a

Re: [Zope-dev] libmysqlclient_r.so.15: cannot open shared object file: No such file or directory

2012-10-29 Thread Leonardo Rochael Almeida
Hi, This is the mailing list to discuss development of Zope itself. It's not strictly a support mailing list. You should likely contact: https://mail.zope.org/mailman/listinfo/zope In any case, by googling [libmysqlclient_r.so.15 centos 6] I found this page:

Re: [Zope-dev] SVN: Zope/branches/2.12/ LP #1047318: Tighten import restrictions for restricted code.

2012-09-10 Thread Leonardo Rochael Almeida
On Mon, Sep 10, 2012 at 8:09 AM, Hanno Schlichting ha...@hannosch.eu wrote: On Mon, Sep 10, 2012 at 10:31 AM, yuppie y.2...@wcm-solutions.de wrote: CMF uses some ZTUtils in restricted code: Batch, LazyFilter, make_query and SimpleTreeMaker. The new Zope 2 releases (2.12.24 and 2.13.17) are not

[Zope-dev] (no subject)

2012-09-10 Thread Leonardo Rochael Almeida
Zope4 Lille Sprint 2012 Report The first thing we did was discuss the state of contributions to the Zope codebase, specially in light of many vocal members of the community that would like to use GitHub (and other members, less numerous but equally vocal, who would not like to use GitHub at all,

[Zope-dev] Zope 4 Sprint Report [was: (no subject)]

2012-09-10 Thread Leonardo Rochael Almeida
Sorry for the missing subject. Hit Send too fast. On Mon, Sep 10, 2012 at 4:51 PM, Leonardo Rochael Almeida leoroch...@gmail.com wrote: Zope4 Lille Sprint 2012 Report The first thing we did was discuss the state of contributions to the Zope codebase, specially in light of many vocal members

Re: [Zope-dev] We need to change how code ownership works.

2012-08-20 Thread Leonardo Rochael Almeida
Hi, On Mon, Aug 20, 2012 at 11:09 AM, Lennart Regebro rege...@gmail.com wrote: On Mon, Aug 20, 2012 at 10:28 AM, j...@nexedi.com wrote: This approach protects from: - legal risks posed by github Such as? I'll let Jean-Paul elaborate, but I suppose it could be something along the lines of

Re: [Zope-dev] RFC: drop interactive feature of zdaemon

2012-06-11 Thread Leonardo Rochael Almeida
Speaking of handling command line options and eventually having (or not) an interactive interpreter, I'd like to point out Michele Simionato's plac. http://plac.googlecode.com/hg/doc/plac.html Just to throught it out there... On Tue, Jun 5, 2012 at 4:06 PM, Fred Drake f...@fdrake.net wrote: On

Re: [Zope-dev] SVN: zope.file/branches/ulif-fix-menus/ Do menu-related configuration only if z.a.zcmlfiles is available.

2012-06-03 Thread Leonardo Rochael Almeida
+1 for merging On Mon, May 28, 2012 at 11:16 AM, Uli Fouquet u...@gnufix.de wrote: On Sun, 27 May 2012 21:09:44 -0400 Tres Seaver wrote: On 05/27/2012 07:36 PM, Ulrich Fouquet wrote: Log message for revision 126504: Do menu-related configuration only if z.a.zcmlfiles is available. Changed:

Re: [Zope-dev] Remove zmi_views menus from zope.file?

2012-05-27 Thread Leonardo Rochael Almeida
Hi Uli, Thanks for taking care of this. IMHO: Move to a conditional include of a menu.zcml that (or include a menu.zcml file that conditionally) registers the browser menus for zmi_views and release a new minor version, declaring an extra dependency on the packages that provides zmi_views. With

Re: [Zope-dev] Remove zmi_views menus from zope.file?

2012-05-27 Thread Leonardo Rochael Almeida
! :-) Hope you're doing fine as well... On Sun, 27 May 2012 16:16:43 +0200 Leonardo Rochael Almeida wrote: IMHO: Move to a conditional include of a menu.zcml that (or include a menu.zcml file that conditionally) registers the browser menus for zmi_views and release a new minor version, declaring

Re: [Zope-dev] Adding broken/missing support to zope.interface? (was: experimental.broken - Graceful handling of broken interfaces and components in the ZODB)

2012-04-08 Thread Leonardo Rochael Almeida
Not ZCA/ZODB maintainer, but a big +1 from me. I've also experienced the negative effects of missing code for (marker) interfaces in persistent data. Cheers, Leo On Sun, Apr 8, 2012 at 22:04, Ross Patterson m...@rpatterson.net wrote: experimental.broken is working well for me.  It greatly

[Zope-dev] PyConUS sprint on Zope 4

2012-01-29 Thread Leonardo Rochael Almeida
Hi, Anyone going to this PyConUS who would like to sprint on Zope4? Topics of particular interest to me include security (as I explained in a previous e-mail) and the new ZMI. ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] Zope 4 publisher/traversal, sprint topic

2011-10-27 Thread Leonardo Rochael Almeida
Hi, Sorry for the cross-post, but I'd like to talk about a possible sprint topic for the next DZUG sprint[1], and invite myself to it :-) After the last two rather serious security issues that were recently patched in the Zope2 code base, it is increasingly clear to me that, differently than

Re: [Zope-dev] Conversion old.zope.org to static site

2011-10-14 Thread Leonardo Rochael Almeida
Hi, Congratulations on this move, must have been a nice technical challenge. And although I wholeheartedly agree with it, there is a part of me that is sad to know that the old zope.org Zope insance has been shut down for good. Leo On Fri, Oct 14, 2011 at 11:35, Jens Vagelpohl

Re: [Zope-dev] disabling zope.schema constraint check in edit form

2011-08-18 Thread Leonardo Rochael Almeida
Hi Joshua, On Thu, Aug 18, 2011 at 09:59, Joshua Immanuel j...@hipro.co.in wrote: [...] Worse case scenario is where I have a cancel action button which just redirects to another page, that too screams for the NameAlreadyExists error. For the 'cancel button' case, you need to have a form

Re: [Zope-dev] Pluggable template engine

2011-07-21 Thread Leonardo Rochael Almeida
Hi Malthe, How often is the adaptation called? For example, suppose a Page Template had a tal:repeat that rendered a macro inside of it. If that tal:repeat looped 5 times, do we get 5 more adaptation calls, besides the call of the outermost Page Template? Just asking out of curiosity, I haven't

Re: [Zope-dev] direction

2011-07-05 Thread Leonardo Rochael Almeida
Hi Hanno, On Tue, Jul 5, 2011 at 11:18, Hanno Schlichting ha...@hannosch.eu wrote: On Tue, Jul 5, 2011 at 11:03 AM, Martin Aspeli optilude+li...@gmail.com wrote: I would've thought it would also be possible for those who rely on this to maintain the relevant eggs as optional installations

Re: [Zope-dev] direction

2011-07-04 Thread Leonardo Rochael Almeida
Hi Hanno, From the point of view of the ERP5 codebase, this direction for Zope2 should be mostly ok, save for a few comments below: On Sun, Jul 3, 2011 at 03:41, Hanno Schlichting ha...@hannosch.eu wrote: On Sun, Jul 3, 2011 at 1:03 AM, Leonardo Rochael Almeida leoroch...@gmail.com wrote

Re: [Zope-dev] [Zope-Checkins] SVN: Zope/trunk/ Removed the last remaining code to support `SOFTWARE_HOME` and `ZOPE_HOME`.

2011-07-03 Thread Leonardo Rochael Almeida
Hi Hanno, I haven't checked deeply, but the change below seems to break Products.ZSQLMethods. At least there is an import in Products.ZSQLMethod from this location. And we depend heavily on it... Since you're already around that piece of code, would you mind moving it over there and releasing a

Re: [Zope-dev] Getting translation of python code string to work

2011-06-05 Thread Leonardo Rochael Almeida
Hi Morten, OK. Well I have this function now: def _(msgid, request): language = request['LANGUAGE'] return translate(msgid, domain='SimpleChat', target_language=language) Which sends all the relevant bits to the translate function. But, this doesn't work either, and I can see it

Re: [Zope-dev] beta.zope.org (www.zope.org relaunch project)

2011-05-10 Thread Leonardo Rochael Almeida
Hi Andreas, On Tue, May 10, 2011 at 06:55, Andreas Jung li...@zopyx.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I am happy to announce that we have made progress with the zope.org relaunch project. The first public version of the new site is now available under

Re: [Zope-dev] beta.zope.org (www.zope.org relaunch project)

2011-05-10 Thread Leonardo Rochael Almeida
Hi, On Tue, May 10, 2011 at 11:52, Martijn Faassen faas...@startifact.com wrote: Hi there, On 05/10/2011 06:55 AM, Andreas Jung wrote: Constructive criticism and feedback is welcome _now_. Application servers has Zope BlueBream. [...] Speaking of http://beta.zope.org/the-world-of-zope

Re: [Zope-dev] plone 4.1: can not access plone 3.5 site after startup

2011-03-02 Thread Leonardo Rochael Almeida
I usually saw this error when some of the objects persisted in the ZODB have references to (i.e. they directly provide) interfaces that are not there in the code anymore anymore, such as when an interface class is removed or moved to another module or package. It can be solved by providing the

Re: [Zope-dev] Bug day and developer meeting today at 15:00 UTC

2010-10-28 Thread Leonardo Rochael Almeida
This being PloneConf week, it's not surprising the attendance was even lower than usual. On Wed, Oct 27, 2010 at 08:55, Christian Theune c...@gocept.com wrote: Hi, On 10/26/2010 09:14 AM, Christian Theune wrote: [...] This week my job of summarizing is suprisingly easy: nothing to

[Zope-Checkins] SVN: Zope/branches/2.12/doc/CHANGES.rst Missing changelog for the ImageFile warning

2010-07-14 Thread Leonardo Rochael Almeida
Log message for revision 114755: Missing changelog for the ImageFile warning Changed: U Zope/branches/2.12/doc/CHANGES.rst -=- Modified: Zope/branches/2.12/doc/CHANGES.rst === --- Zope/branches/2.12/doc/CHANGES.rst 2010-07-14

[Zope-Checkins] SVN: Zope/branches/2.12/src/App/ Warn on App.ImageFile.ImageFile deprecated assumption of software_home

2010-07-14 Thread Leonardo Rochael Almeida
Log message for revision 114749: Warn on App.ImageFile.ImageFile deprecated assumption of software_home Changed: U Zope/branches/2.12/src/App/ImageFile.py U Zope/branches/2.12/src/App/config.py A Zope/branches/2.12/src/App/tests/testImageFile.py -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/ Warn on App.ImageFile.ImageFile deprecated assumption of software_home. Forward ported 114749 from 2.12 branch

2010-07-14 Thread Leonardo Rochael Almeida
Log message for revision 114757: Warn on App.ImageFile.ImageFile deprecated assumption of software_home. Forward ported 114749 from 2.12 branch Changed: U Zope/trunk/doc/CHANGES.rst U Zope/trunk/src/App/ImageFile.py U Zope/trunk/src/App/config.py A

Re: [Zope-dev] ZEO TempStorage: Odd behavior on ZEO restart

2010-07-14 Thread Leonardo Rochael Almeida
On Wed, Jul 14, 2010 at 19:22, Benji York be...@benjiyork.com wrote: [...] Let me make sure I understand your setup: you have a TemporaryStorage running on a central server that is exposed via ZEO to clients.  Right? So, when the ZEO server restarts the temp storage is reset (it's contents

[Zope-dev] Zope 2.12.9 broke ZMySQLDA in the middle of a stable release series

2010-07-13 Thread Leonardo Rochael Almeida
Hi, The latest Zope 2.12.9 release broke the last release of Products.ZMySQLDA. To demonstrate, bootstrap and run the attached buildout, then run: $ bin/py -c import Shared.DC.ZRDB, Products.ZMySQLDA You'll get the following traceback: Traceback (most recent call last): File bin/py, line

Re: [Zope-dev] Zope 2.12.9 broke ZMySQLDA in the middle of a stable release series

2010-07-13 Thread Leonardo Rochael Almeida
Hi On Tue, Jul 13, 2010 at 12:44, Hanno Schlichting ha...@hannosch.eu wrote: [...] You'll get the following traceback: Traceback (most recent call last):  File bin/py, line 107, in module    exec _val  File string, line 1, in module  File

Re: [Zope-dev] Zope 2.12.9 broke ZMySQLDA in the middle of a stable release series

2010-07-13 Thread Leonardo Rochael Almeida
On Tue, Jul 13, 2010 at 14:46, Hanno Schlichting ha...@hannosch.eu wrote: On Tue, Jul 13, 2010 at 7:05 PM, Leonardo Rochael Almeida leoroch...@gmail.com wrote: And I'm not disagreeing with the policy, but it can be argued that depending on the location of *data* files inside the Zope2 package

[Zope-Checkins] SVN: Zope/branches/rochael-TM_sortKey/ branch has been merged

2010-06-21 Thread Leonardo Rochael Almeida
Log message for revision 113726: branch has been merged Changed: D Zope/branches/rochael-TM_sortKey/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins

Re: [Zope-dev] SVN: Zope/branches/2.12/ ReST changes, and it's a new year already

2010-06-20 Thread Leonardo Rochael Almeida
This should've gone to zope-dev too. On Sun, Jun 20, 2010 at 23:14, Leonardo Rochael Almeida leoroch...@gmail.com wrote: Hi Tres, That file was brand new from this year. I just copied a copyright boilerplate that contained 2009 and pasted into the file before adding it to the repository

[Zope-Checkins] SVN: Zope/branches/rochael-TM_sortKey/doc/CHANGES.rst record setSortKey() changes

2010-06-18 Thread Leonardo Rochael Almeida
Log message for revision 113621: record setSortKey() changes Changed: U Zope/branches/rochael-TM_sortKey/doc/CHANGES.rst -=- Modified: Zope/branches/rochael-TM_sortKey/doc/CHANGES.rst === ---

[Zope-Checkins] SVN: Zope/branches/2.12/ merge branch rochael-TM_sortKey: add a setSortKey method to Shared.setSortKey() method to Shared.DC.ZRDB.TM.TM

2010-06-18 Thread Leonardo Rochael Almeida
Log message for revision 113622: merge branch rochael-TM_sortKey: add a setSortKey method to Shared.setSortKey() method to Shared.DC.ZRDB.TM.TM Changed: U Zope/branches/2.12/doc/CHANGES.rst U Zope/branches/2.12/src/Shared/DC/ZRDB/TM.py A

[Zope-Checkins] SVN: Zope/trunk/ merge branch rochael-TM_sortKey: add a setSortKey method to Shared.setSortKey() method to Shared.DC.ZRDB.TM.TM

2010-06-18 Thread Leonardo Rochael Almeida
Log message for revision 113623: merge branch rochael-TM_sortKey: add a setSortKey method to Shared.setSortKey() method to Shared.DC.ZRDB.TM.TM Changed: U Zope/trunk/doc/CHANGES.rst U Zope/trunk/src/Shared/DC/ZRDB/TM.py A Zope/trunk/src/Shared/DC/ZRDB/tests/testTM.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.12/ ReST changes, and it's a new year already

2010-06-18 Thread Leonardo Rochael Almeida
Log message for revision 113624: ReST changes, and it's a new year already Changed: U Zope/branches/2.12/doc/CHANGES.rst U Zope/branches/2.12/src/Shared/DC/ZRDB/tests/testTM.py -=- Modified: Zope/branches/2.12/doc/CHANGES.rst

Re: [Zope-dev] connection commit ordering

2010-06-18 Thread Leonardo Rochael Almeida
Hi Laurence On Fri, Jun 18, 2010 at 08:06, Laurence Rowe l...@lrowe.co.uk wrote: On 18 June 2010 01:24, Leonardo Rochael Almeida leoroch...@gmail.com wrote: By the way, this issue is completely separate from the two-phase-commit discussion that we had recently, since all the connectors

Re: [Zope-dev] connection commit ordering

2010-06-18 Thread Leonardo Rochael Almeida
On Fri, Jun 18, 2010 at 10:55, Hanno Schlichting ha...@hannosch.eu wrote: On Fri, Jun 18, 2010 at 3:32 PM, Leonardo Rochael Almeida leoroch...@gmail.com wrote: In any case, does anyone oppose the existence of a .setSortKey() on the TM class? Your branch looks simple enough. Feel free

[Zope-Checkins] SVN: Zope/branches/rochael-TM_sortKey/ branch for adjustable sortKey() for Shared.DC.ZRDB.TM

2010-06-17 Thread Leonardo Rochael Almeida
Log message for revision 113596: branch for adjustable sortKey() for Shared.DC.ZRDB.TM Changed: A Zope/branches/rochael-TM_sortKey/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins

[Zope-Checkins] SVN: Zope/branches/rochael-TM_sortKey/src/Shared/DC/ZRDB/ make the result of Shared.DC.ZRDB.TM.TM.sortKey() adjustable

2010-06-17 Thread Leonardo Rochael Almeida
Log message for revision 113597: make the result of Shared.DC.ZRDB.TM.TM.sortKey() adjustable Changed: U Zope/branches/rochael-TM_sortKey/src/Shared/DC/ZRDB/TM.py A Zope/branches/rochael-TM_sortKey/src/Shared/DC/ZRDB/tests/testTM.py -=- Modified:

[Zope-dev] connection commit ordering

2010-06-17 Thread Leonardo Rochael Almeida
Hi, In ERP5[1], which is CMF based, we have a number of strategies for high performance and scalability. One of these is that we have ZSQLCatalog extensively. The other is that we delay execution of potentially expensive operations (like indexing) for background execution. For the latter, we

Re: [Zope-dev] Launchpad gardening

2010-04-15 Thread Leonardo Rochael Almeida
Thanks Tres and Sidnei, My questions were intended to go to the list anyway. Can we take a branch from the launchpad mirror and bind it back directly at svn+ssh://svn.zope.org/ to commit? For instance, say I'm reviewing a bugfix proposed by someone that doesn't currently have access to

[Zope-Checkins] SVN: Zope/branches/2.12/src/Products/StandardCacheManagers/ fix lp #534653, reset *CacheManager module level cache id on clone

2010-03-12 Thread Leonardo Rochael Almeida
Log message for revision 109929: fix lp #534653, reset *CacheManager module level cache id on clone Changed: U Zope/branches/2.12/src/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py U Zope/branches/2.12/src/Products/StandardCacheManagers/RAMCacheManager.py A

[Zope-Checkins] SVN: Zope/trunk/ forward port r109929: fix for lp #534653

2010-03-12 Thread Leonardo Rochael Almeida
Log message for revision 109931: forward port r109929: fix for lp #534653 Changed: _U Zope/trunk/ U Zope/trunk/src/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py U Zope/trunk/src/Products/StandardCacheManagers/RAMCacheManager.py A

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-07 Thread Leonardo Rochael Almeida
On Thu, Jan 7, 2010 at 07:18, Lennart Regebro rege...@gmail.com wrote: On Thu, Jan 7, 2010 at 04:56, Baiju M mba...@zeomega.com wrote: http://www.youtube.com/watch?v=HyG5Qee5wbs Heh, nice! :-) Except that the song in this clip is what weddings in Brazil traditionally play in the part where

[Zope-Checkins] SVN: Zope/branches/2.12/ LP #246983: Unicode conflict resolution on variables inside 'string:' expressions

2010-01-05 Thread Leonardo Rochael Almeida
Log message for revision 107725: LP #246983: Unicode conflict resolution on variables inside 'string:' expressions Changed: U Zope/branches/2.12/doc/CHANGES.rst U Zope/branches/2.12/src/Products/Five/browser/tests/test_pagetemplatefile.py U

[Zope-Checkins] SVN: Zope/trunk/ merge 107725 from 2.12: fix for LP #246983

2010-01-05 Thread Leonardo Rochael Almeida
Log message for revision 107726: merge 107725 from 2.12: fix for LP #246983 Changed: U Zope/trunk/doc/CHANGES.rst U Zope/trunk/src/Products/Five/browser/tests/test_pagetemplatefile.py U Zope/trunk/src/Products/PageTemplates/Expressions.py U

Re: [Zope-dev] A summary of Interfaces vs ZCA concepts

2009-12-17 Thread Leonardo Rochael Almeida
We've been through this option recently already. It has been quickly shot down by those who want interfaces to get the new behaviour immediately available in existing interfaces, instead of having to rewrite already existing interfaces to support the new API. Painful memories of a time when we

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-15 Thread Leonardo Rochael Almeida
Funny you should mention this, I've got this idea bugging for a few weeks now, after the last thread: Have the zope.interface package expose a single overridable hook: def getInterfaceAttribute(iface, name, default): This method would be called by any attempt to look up an interface attribute

Re: [Zope-dev] ZCA proposal

2009-12-03 Thread Leonardo Rochael Almeida
For my 2 cents (not that I think anyone should care): +1 for IFoo.adapt[er](*args, **kw) and IFoo.utility(*kw) -1 for tuple adaptation on 1st arg. Besides losing genericity on tuple adaptation, we risk situations where a class could trigger multi-adaptation by inheriting from tuple. +1 for

Re: [Zope-dev] implementing zope.component 4.0

2009-11-30 Thread Leonardo Rochael Almeida
I find it rather odd that we're wasting so much time worrying about backward incompatibility when we have a perfect mechanism to introduce backward incompatible changes in a way that allows both flavours to be used by packages in the same application (on a module by module basis just like Martijn

Re: [Zope-dev] improving the utility and adapter lookup APIs

2009-11-26 Thread Leonardo Rochael Almeida
On Thu, Nov 26, 2009 at 14:34, Benji York be...@zope.com wrote: On Wed, Nov 25, 2009 at 11:17 AM, Matthew Wilkes matt...@matthewwilkes.co.uk wrote: On 2009-11-25, at 1601, Benji York wrote: I'm not sure I like the following suggestion better than the above, but throwing it out there anyway:

Re: [Zope-dev] Zope 2.12 - one more ZPublisher event

2009-11-12 Thread Leonardo Rochael Almeida
Wouldn't it be better to just move IPubFailure before the abort? Is there a reason for subscribing to such an event which would required the transaction to be aborted already? I can see the usefulness of the transaction being already doom()ed before this event, but not aborted. On Wed, Nov 11,

Re: [Zope-dev] Zope 2.12 - one more ZPublisher event

2009-11-12 Thread Leonardo Rochael Almeida
On Thu, Nov 12, 2009 at 12:29, Martin Aspeli optilude+li...@gmail.com wrote: Leonardo Rochael Almeida wrote: Wouldn't it be better to just move IPubFailure before the abort? [...] I can see the usefulness of the transaction being already doom()ed before this event, but not aborted

Re: [Zope-dev] Zope closes connection if the client closes the write-end of connection

2009-10-17 Thread Leonardo Rochael Almeida
On Sat, Oct 17, 2009 at 10:30, Lennart Regebro rege...@gmail.com wrote: 2009/10/16 Lennart Regebro rege...@gmail.com: So HTTP seems to contradict itself, typically But from looking at other peoples responses, most interpret the specification that the connection should immediately be closed, so

Re: [Zope-dev] Zope closes connection if the client closes the write-end of connection

2009-10-16 Thread Leonardo Rochael Almeida
On Fri, Oct 16, 2009 at 16:36, Tres Seaver tsea...@palladion.com wrote: [...] You might also look at fixing varnish: I don't know of any valid reason for it to be using the half-open connection model to test that an HTTP-based backend is up Going out on a limb here, but I think Varnish might

[Zope-Checkins] SVN: Zope/trunk/src/Shared/DC/ZRDB/Connection.py Forward port 105096 to trunk. Missed Globals removal.

2009-10-15 Thread Leonardo Rochael Almeida
Log message for revision 105097: Forward port 105096 to trunk. Missed Globals removal. Changed: U Zope/trunk/src/Shared/DC/ZRDB/Connection.py -=- Modified: Zope/trunk/src/Shared/DC/ZRDB/Connection.py === ---

[Zope-Checkins] SVN: Zope/branches/2.12/src/Shared/DC/ZRDB/Connection.py Tres, you missed a spot

2009-10-15 Thread Leonardo Rochael Almeida
Log message for revision 105096: Tres, you missed a spot Changed: U Zope/branches/2.12/src/Shared/DC/ZRDB/Connection.py -=- Modified: Zope/branches/2.12/src/Shared/DC/ZRDB/Connection.py === ---

[Zope-Checkins] SVN: Zope/branches/2.12/src/HelpSys/APIHelpTopic.py Fix HelpSys to work with zope.interface.Interface as it did before the deprecated methods of scarecrow Interface.Interface were remo

2009-10-14 Thread Leonardo Rochael Almeida
Log message for revision 105060: Fix HelpSys to work with zope.interface.Interface as it did before the deprecated methods of scarecrow Interface.Interface were removed. Changed: U Zope/branches/2.12/src/HelpSys/APIHelpTopic.py -=- Modified: Zope/branches/2.12/src/HelpSys/APIHelpTopic.py

[Zope-Checkins] SVN: Zope/trunk/src/HelpSys/APIHelpTopic.py Merge 105060 from branch 2.12: Fix HelpSys to work with zope.interface.Interface as it did before the deprecated methods of scarecrow Interf

2009-10-14 Thread Leonardo Rochael Almeida
Log message for revision 105062: Merge 105060 from branch 2.12: Fix HelpSys to work with zope.interface.Interface as it did before the deprecated methods of scarecrow Interface.Interface were removed. Changed: U Zope/trunk/src/HelpSys/APIHelpTopic.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the trav

2006-11-17 Thread Leonardo Rochael Almeida
Log message for revision 71167: revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None Changed: U Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py U

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/ZCatalog/ revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result

2006-11-17 Thread Leonardo Rochael Almeida
Log message for revision 71168: revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None Changed: U Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py U

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/ZCatalog/ revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal resul

2006-11-17 Thread Leonardo Rochael Almeida
Log message for revision 71169: revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None Changed: U Zope/branches/2.10/lib/python/Products/ZCatalog/ZCatalog.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/ revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None

2006-11-17 Thread Leonardo Rochael Almeida
Log message for revision 71170: revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None Changed: U Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py U

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ fix #2235 for real now

2006-11-17 Thread Leonardo Rochael Almeida
Em Sex, 2006-11-17 às 07:48 +, Chris Withers escreveu: Leonardo Rochael Almeida wrote: [] This is the full method before my changes: def getobject(self, rid, REQUEST=None): Return a cataloged object given a 'data_record_id_' obj

Re: [Zope-dev] Re: Upcoming releases: 2.10.1, 2.9.6

2006-11-17 Thread Leonardo Rochael Almeida
. -- Leonardo Rochael Almeida Enfold Systems http://www.enfoldsystems.com phone. +1.713.942.2377 Ext 215 fax. +1.832.201.8856 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] Re: [Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ fix #2235 for real now

2006-11-16 Thread Leonardo Rochael Almeida
Hi Chris, Em Qui, 2006-11-16 às 07:33 +, Chris Withers escreveu: Leonardo Rochael Almeida wrote: @@ -615,8 +615,8 @@ def getobject(self, rid, REQUEST=None): Return a cataloged object given a 'data_record_id_' -obj

[Zope-Checkins] SVN: Zope/branches/2.9/ fix for #2235: ZCatalog triggering boolean evaluation of objects

2006-11-15 Thread Leonardo Rochael Almeida
Log message for revision 71132: fix for #2235: ZCatalog triggering boolean evaluation of objects Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py U Zope/branches/2.9/lib/python/Products/ZCatalog/tests/testCatalog.py -=-

[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt typo in CHANGES.txt

2006-11-15 Thread Leonardo Rochael Almeida
Log message for revision 71133: typo in CHANGES.txt Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2006-11-15 08:05:34 UTC (rev

[Zope-Checkins] SVN: Zope/branches/2.10/ fix for #2235: ZCatalog triggering boolean evaluation of objects

2006-11-15 Thread Leonardo Rochael Almeida
Log message for revision 71135: fix for #2235: ZCatalog triggering boolean evaluation of objects Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/Products/ZCatalog/ZCatalog.py U Zope/branches/2.10/lib/python/Products/ZCatalog/tests/testCatalog.py -=-

[Zope-Checkins] SVN: Zope/trunk/ fix for #2235: ZCatalog triggering boolean evaluation of objects

2006-11-15 Thread Leonardo Rochael Almeida
Log message for revision 71136: fix for #2235: ZCatalog triggering boolean evaluation of objects Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py U Zope/trunk/lib/python/Products/ZCatalog/tests/testCatalog.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ fix #2235 for real now

2006-11-14 Thread Leonardo Rochael Almeida
Log message for revision 71127: fix #2235 for real now Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py U Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/tests/testCatalog.py -=-

Re: [Zope-dev] Branches finished for merging.

2006-04-26 Thread Leonardo Rochael Almeida
. -- Leonardo Rochael Almeida Enfold Systems http://www.enfoldsystems.com phone. +1.713.942.2377 Ext 215 fax. +1.832.201.8856 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Strange traceback or Error in the traceback ?

2006-01-16 Thread Leonardo Rochael Almeida
Hi, Em Seg, 2006-01-16 às 16:20 +0100, Godefroid Chapelle escreveu: Hi, While seaching for objects of all types containing some text through the ZMI find tab, I got the traceback hereunder. (Zope 2.7.8-final on windows) Traceback (innermost last): [...] Module OFS.Image, line

Re: [Zope-dev] What use cases are driving make install from a checkout?

2005-12-21 Thread Leonardo Rochael Almeida
Just as a data point. A lot of autoconf projects (the ones that made ./configure; make; make install famous) don't just run like that from a checkout, but they are never more than 2 steps away from that. The process for a checkout is usually more like ./autoconf; ./automake; ./configure; make;

Re: [Zope-dev] Re: PermissionGeddon

2005-11-29 Thread Leonardo Rochael Almeida
Hi all, Em Dom, 2005-11-27 às 21:26 +0100, Florent Guillaume escreveu: Dieter Maurer wrote: The first change is in the manage_pasteObjects method of CopyContainer. There are some _setObject and _delObject calls which grew a new suppress_events parameter. [...] Several Folder like

Re: [Zope-dev] Re: PermissionGeddon

2005-11-29 Thread Leonardo Rochael Almeida
Hi Florent Em Ter, 2005-11-29 às 15:32 +0100, Florent Guillaume escreveu: [...] I'm a bit peeved though at the lack of willingness from the few people that have reimplemented their version of _setObject/_delObject (which could be considered private APIs, seeing that they're prefixed with an

Re: [Zope-dev] Username/userid separation

2005-08-04 Thread Leonardo Rochael Almeida
Em Qui, 2005-08-04 às 08:39 +0100, Jens Vagelpohl escreveu: On 4 Aug 2005, at 01:01, Leonardo Rochael Almeida wrote: Hi, I've started the lra-userid_username_separation-branch (from Zope-2_8-branch to start from a stable point) in order to implement proper userid/username separation

Re: [Zope-dev] Username/userid separation

2005-08-04 Thread Leonardo Rochael Almeida
Em Qui, 2005-08-04 às 16:20 -0300, Leonardo Rochael Almeida escreveu: I propose that we look up the userid for the username in RoleManager.manage_{add,set,del}LocalRoles() and change the signature of these methods to mention username instead of userid. And we also need to change

[Zope-dev] Username/userid separation

2005-08-03 Thread Leonardo Rochael Almeida
, but a Google search didn't help much. Are there any other projects in this area that I should colaborate with instead of duplicating efforts? Are there any considerations I should be aware of? Is the Proposals wiki pages still used for this kind of change? Cheers, Leo -- Leonardo Rochael

Re: [Zope-dev] RAMcache and container vs. context

2005-04-25 Thread Leonardo Rochael Almeida
part of a portal_skins setup and deal with it. Alternativelly, portal_skins should provide the functionality of expiring RAMCached subitems. -- Leonardo Rochael Almeida [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

Re: [Zope-dev] Re: [Zope-Coders] Re: Question about procedures

2005-03-29 Thread Leonardo Rochael Almeida
if it's empty, or it could implement __nonzero__() and be considered false even when you want to return it. Cheers, Leo -- Leonardo Rochael Almeida [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-dev] ZConfig issue: products and container-class

2005-02-14 Thread Leonardo Rochael Almeida
will only be made effective AFTER all ZConfig configuration has been processed... Any pointers? Should this go right into the collector? Cheers, Leo -- Leonardo Rochael Almeida [EMAIL PROTECTED] Enfold Systems - http://www.enfolsystems.com/ ___ Zope-Dev

Re: [Zope-dev] ZConfig issue: products and container-class

2005-02-14 Thread Leonardo Rochael Almeida
Em Seg, 2005-02-14 às 13:36 -0500, Fred Drake escreveu: On Mon, 14 Feb 2005 15:22:38 -0200, Leonardo Rochael Almeida [EMAIL PROTECTED] wrote: It's obvious that the container-class directive is being evaluated much earlier than the products directive. Without delving further into the code

Re: [Zope-dev] Re: inconsistent mimetype assignment for uploaded files

2004-10-14 Thread Leonardo Rochael Almeida
Em Ter, 2004-10-12 às 00:23, Kapil Thangavelu escreveu: i believe you were referring to http://freedesktop.org/Software/shared-mime-info spec http://freedesktop.org/Standards/shared-mime-info-spec its a system wide shared mime database for use by applications (ie. both gnome and kde).

Re: [Zope-dev] using VirtualHostMonster in a ZPublisher python module?

2004-09-21 Thread Leonardo Rochael Almeida
() and .setVirtualRoot() Documentation for those can be found in the Zope Online Help and other places. Cheers, Leo -- Leonardo Rochael Almeida [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Patch: let non-seekable streams be input for ZPublisher (updated)

2004-08-18 Thread Leonardo Rochael Almeida
Em Qua, 2004-08-18 às 12:22, Ames Andreas (MPA/DF) escreveu: [...] Questions: - Is this the right forum/place to send patches to? This is the right forum to discuss the patches, and to send them for evaluation if it's a small one, like yours. The best place to actually send patches to is

RE: [Zope-dev] Possible Windows Service improvements.

2004-08-09 Thread Leonardo Rochael Almeida
Can't we just parse the log files, or maybe even have a special logger for Window Service, and wait for this? 2004-08-03T15:37:55 INFO(0) Zope Ready to handle requests If the process dies after this, restart. Em Seg, 2004-08-09 às 10:56, Chris McDonough escreveu: Would a lockfile work ok to

[Fwd: Re: [Zope-dev] Referencial Integrity in ZCatalogs]

2004-08-02 Thread Leonardo Rochael Almeida
Forgot to Cc: zope-dev -Mensagem encaminhada- From: Leonardo Rochael Almeida [EMAIL PROTECTED] To: Santi Camps [EMAIL PROTECTED] Subject: Re: [Zope-dev] Referencial Integrity in ZCatalogs Date: Mon, 02 Aug 2004 17:05:53 -0300 I would suggest you take a look at mxmRelations, however

Re: [Zope-dev] zope-dev list policies

2004-06-24 Thread Leonardo Rochael Almeida
+1 for member-only posting On Wed, 2004-06-16 at 22:24, Tim Peters wrote: Over on the zope and zope-dev lists, there's currently agitation to make them members-only mailing lists. The point is that spam could not get thru then (unless posted by a member). What would zodb-dev members like?

[Zope-dev] bug day?

2004-06-24 Thread Leonardo Rochael Almeida
This next Friday (25th) is the last friday of the month. Are we going to have a bugday? Cheers, Leo ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] Re: zope-dev list policies

2004-06-24 Thread Leonardo Rochael Almeida
On Mon, 2004-06-21 at 11:59, Casey Duncan wrote: -1 on changing the list policy. I read and post to all of the public lists through Gmane, which won't work if the policy is changed. I rarely see spam get through list either (unless Gmane is filtering it all out for me), so I fail to see

Re: [Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-23 Thread Leonardo Rochael Almeida
you do not have access to one of the containing folders. I certainly hope he'd get a permission error instead of silent 'None' for '.getObject()' in this case or I'd consider it a bug :-) Cheers, Leo -- Leonardo Rochael Almeida [EMAIL PROTECTED

  1   2   3   >