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

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

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

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-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

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

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

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

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

Re: [Zope-dev] Re: [Collector] Strange reject policy

2004-05-06 Thread Leonardo Rochael Almeida
On Thu, 2004-05-06 at 11:56, Lennart Regebro wrote: From: Ken Manheimer [EMAIL PROTECTED] All the actions are verbs, won't fix is not a verb. Can you suggest a verb the more clearly indicates the result is won't fix? Tough one... Live with Ignore Keep this bug as is Zenify

Re: [Zope-dev] Proposal: cvs to subversion transition May 11 (?)

2004-05-05 Thread Leonardo Rochael Almeida
On Wed, 2004-05-05 at 02:59, Jim Fulton wrote: Jim Fulton wrote: [...] I'm thinking of trying again to do the cvs to svn conversion of the main-line development branches (cvs heads) on Tusday May 11. This would entail moving ZODB, Zope 2, and Zope 3 head development to subversion (along with

Re: [Zope-dev] performance tuning of ZODB

2004-04-26 Thread Leonardo Rochael Almeida
this might be fixed in 3.3 for all I know. Just replace the twisted stuff with the standard lib unittest module to have it work on a computer without twisted installed. -- Leonardo Rochael Almeida [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Re: Proposal: Rename zope package

2004-04-20 Thread Leonardo Rochael Almeida
people think about alternative 4? Jim -- Leonardo Rochael Almeida [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Use Z SQL methon in projects

2004-03-29 Thread Leonardo Rochael Almeida
Hi R33t, On Sat, 2004-03-27 at 14:35, R33t wrote: [...] The problem I have now is that I don't know how to manage to export my Z SQL method getNewsletters to my product folder and register it to Zope from within python when my product gets installed, so that the template can call this method

Re: [Zope-dev] Making a custom class addable to another class in product, but not to Zope

2004-02-25 Thread Leonardo Rochael Almeida
: ( { 'name' : 'Thing', 'action': 'Thing_add', 'permission': ManagePortal, }, ) Note, there is not manage_addProduct in the action... -- Leonardo Rochael Almeida [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] Adapters in Zope 2

2004-02-10 Thread Leonardo Rochael Almeida
Hi Santi. The Zope2 official way of extending objects at runtime is acquisition. The easiest way to make use of it is to put the methods/scripts you need in the acquisition path (e.g. closer to the root). There are more sofisticated methods, such as SkinnedFolders and TransparentFolders that

Re: [Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-07 Thread Leonardo Rochael Almeida
) to a CMFPhotoAlbum (0.4final) inside a plone2rc5 instance (Zope 2.6.4rc2, Python 2.3.3). I'm curious to at least know what kind of string 'self.REQUEST' is :-) Want to coordinate? I'm happy to be the guinnea pig for this bug. -- Leonardo Rochael Almeida [EMAIL PROTECTED

Re: [Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-07 Thread Leonardo Rochael Almeida
On Sat, 2004-02-07 at 22:47, Christian Heimes wrote: Chris McDonough wrote: FWIW, this often happens when self isn't ultimately wrapped in a RequestContainer (as it always should be when dealing with TTW code or code that depends on REQUEST). The string is likely something like

[Zope-dev] fdrake's fix for brian's fix for bug 1203 needs to be applied in other branches

2004-01-27 Thread Leonardo Rochael Almeida
Hi, There's a recent entry in the 2.6 branch from fred stating: types don't have a guaranteed truth value, so check that it isn't None the diff is here: http://cvs.zope.org/Zope/lib/python/ZTUtils/Zope.py.diff?r1=1.10.6.3r2=1.10.6.4only_with_tag=Zope-2_6-branch This same fix

Re: [Zope-dev] Re: fdrake's fix for brian's fix for bug 1203 needs to be applied in other branches

2004-01-27 Thread Leonardo Rochael Almeida
On Tue, 2004-01-27 at 12:42, Tres Seaver wrote: [...] The 2.7 branch and the head are the only two other active branches; I just checked in a fix which removes the pre-2.3 compatibility code. Funny, with all the talk about 2.8 including only the ZODB work and fixes, I thought we'd have a 2.8

Re: [Zope-dev] New-style classes and ClassSecurityInfo, fixed already?

2004-01-04 Thread Leonardo Rochael Almeida
On Mon, 2004-01-05 at 00:06, Mike C. Fletcher wrote: http://zope.org/Collectors/Zope/1055 Is a bug report I filed a while ago for a fairly trivial breakage of the ClassSecurityInfo class due to the use of assignment to the class dictionary during the apply method. [...] The

Re: [Zope-dev] Preview of a Stackless Zope Application

2003-12-11 Thread Leonardo Rochael Almeida
On Thu, 2003-12-11 at 01:50, Christian Tismer wrote: Howdy, I made a little demo of Stackless Zope. It is just a quick hack to see how things can work. The example is a long-running Python method which prints lines to the browser. The key to this surprizing solution is tasklets,

RE: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-11 Thread Leonardo Rochael Almeida
On Thu, 2003-12-11 at 15:28, Tim Peters wrote: Anyone? Since Sidnei's efforts to use the head are exposing problems, it would be great if we could keep him obsessed wink with it a bit longer. Just point Sidnei torwards (sp?) some pretty API docs about old and new BTrees and he'll be happy as

Re: [Zope-dev] SMPT Authorization support

2003-12-11 Thread Leonardo Rochael Almeida
On Thu, 2003-12-11 at 18:26, Lennart Regebro wrote: I just checked in (on regebro-esmpt_support-branch) support for setting a username and password on the mailhost. Very nice and easy fix, and lot's of people want it. But I realized that what you actually might want is to have different

Re: [Zope-dev] Post-mortem [Was: Zope 2.7.0 b3 regressions]

2003-12-09 Thread Leonardo Rochael Almeida
I'd like to suggest that any new methods created to handle paths or urls do not require parameters for different behaviours (which should be implemented as different methods), so that they can be more easily used from plain ZPT path expressions. Cheers, Leo

Re: [Zope-dev] Re: Zope 2.7.0 b3 regressions

2003-12-08 Thread Leonardo Rochael Almeida
On Mon, 2003-12-08 at 09:35, Stefan H. Holek wrote: [...] So by my definition, the URL (relative or not) should *always* include eventual _vh_xyz parts. If what one really needs is related to the physical layout of the ZODB, there is always getPhysicalPath(). +1 URLs are in fact just

Re: [Zope-dev] Double products in management interface pulldown menu after database copy to new zope version.

2003-11-05 Thread Leonardo Rochael Almeida
On Wed, 2003-11-05 at 09:07, Martin Koekenberg wrote: Hello, I've made the step from 2.6.2b5 to 2.6.2. Everything is working well, but something went wrong. In the management interface are some option in the pulldown menu listed twice: I have no idea whether this will work (make backups,

Re: [Zope-dev] Bare except and ConflictError in manage_beforeDelete

2003-10-31 Thread Leonardo Rochael Almeida
On Fri, 2003-10-31 at 09:28, Florent Guillaume wrote: [...] manage_beforeDelete has this code: try: if hasattr(aq_base(object), 'manage_beforeDelete'): object.manage_beforeDelete(item, container) except BeforeDeleteException, ob:

[Zope-dev] We need a user search API (was Better MemberData search for CMF)

2003-10-31 Thread Leonardo Rochael Almeida
There is another function in Zope that would be an excelent client of this search API: the local-roles screen of default Zope objects. As it is now, it tries to list all existing userids to allow the user to pickup a userid to associate with a role. -- Ideas don't stay in some minds very long

Re: [Zope-dev] Zope doesn't know enough mime types.

2003-10-24 Thread Leonardo Rochael Almeida
On Fri, 2003-10-24 at 11:48, Romain Slootmaekers wrote: [...] (Monkey)patching zope(s) to workaround (bugs | missing features) is indeed sometimes needed but if the fix is as simple as adding some name-value pairs I see no reason why not to do this before the next release. Put it in the

Re: [Zope-dev] WebDAV and UTF-8 filenames

2003-10-15 Thread Leonardo Rochael Almeida
If you set the management_page_charset property to utf-8 in a folder (even the root folder) then Zope will inform the browser that the charset of the management pages of this folder and all subobjects is utf-8 and the IDs in the folder listing page will look right. Cheers, Leo -- Ideas don't

Re: [Zope-dev] WebDAV and UTF-8 filenames

2003-10-15 Thread Leonardo Rochael Almeida
On Wed, 2003-10-15 at 12:50, Lennart Regebro wrote: Leonardo Rochael Almeida wrote: If you set the management_page_charset property to utf-8 in a folder (even the root folder) then Zope will inform the browser that the charset of the management pages of this folder and all subobjects

Re: [Zope-CMF] Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-10 Thread Leonardo Rochael Almeida
On Fri, 2003-10-10 at 14:34, Dieter Maurer wrote: If such a _v_ attribute is flushed, the next access to the DA (in the same request) reopens the database. As this is a new connection, it does not see the changes made by the previous connection (in the same request). This can lead to very

Re: [Zope-dev] Initial ZODB permissions

2003-10-09 Thread Leonardo Rochael Almeida
On Wed, 2003-10-08 at 18:45, Andy McKay wrote: Yeah, wrong but toothless. Feel free to fix on appropriate branches I guess :-) Well yeah but Im betting its there for a reason, I just dont know what it is yet. Changing that is sure to break something... The best I could find out is this

Re: [Zope-dev] relations in objects

2003-10-09 Thread Leonardo Rochael Almeida
On Fri, 2003-10-10 at 00:46, Jason Corbett wrote: Thanks for your reply. I've actually been thinking in an object oriented form for a while. I've looked at implimenting this project in Java using either prevailance or a object persistence model that mapped to a RDBMS. I like the idea of

Re: [Zope-dev] Re: catalogObject changes (Zope-2_6-branch)

2003-10-08 Thread Leonardo Rochael Almeida
On Tue, 2003-10-07 at 21:37, Leonardo Rochael Almeida wrote: On Tue, 2003-10-07 at 16:57, Chris McDonough wrote: OK, I checked in changes on the 2.6, 2.7, and HEAD branches that add an update_metadata keyword argument to Catalog's catalogObject and ZCatalog's catalog_object. The argument

  1   2   3   >