[Zope-CMF] Re: [dev] failing tests and other unit test issues

2005-04-04 Thread Sidnei da Silva
Products.CMFCore.tests.utils as there's another try:except in there. -- Sidnei da Silva [EMAIL PROTECTED] http://awkly.org - dreamcatching :: making your dreams come true http://www.enfoldsystems.com http://plone.org/about/team#dreamcatcher Mais informado que gerente de funerária

Re: [Zope-CMF] Bad interaction between CMF 1.4 and Zope 2.8 (catalog-getObject-raises)

2005-04-14 Thread Sidnei da Silva
which I'm about to fix. Thank you so much! -- Sidnei da Silva [EMAIL PROTECTED] http://awkly.org - dreamcatching :: making your dreams come true http://www.enfoldsystems.com http://plone.org/about/team#dreamcatcher Remember, God could only create the world in 6 days because he didn't have

[Zope-CMF] Re: CVS: Products/DCWorkflow - Scripts.py:1.3.20.3

2005-06-14 Thread Sidnei da Silva
On Tue, Jun 14, 2005 at 05:26:16PM +0200, yuppie wrote: | Why is this fix just in the CMF-1_4-branch? Haven't looked at 1.5, I would expect it to be fixed there already, as it's the 'current' version no? -- Sidnei da Silva [EMAIL PROTECTED] http://awkly.org - dreamcatching :: making your dreams

Re: [Zope-CMF] Moving CMF into SVN

2005-07-09 Thread Sidnei da Silva
| small layout problem remains. Can't you just move stuff around after importing? Afaict, 'svn move' keeps history. -- Sidnei da Silva Enfold Systems, LLC. ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf

[Zope-CMF] Content Type Registry Improvement

2005-07-25 Thread Sidnei da Silva
= self.predicates[ predicate_id ] +pred = pred.__of__(self) if pred( name, typ, body ): return typeObjectName -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope-CMF maillist - Zope-CMF

Re: [Zope-CMF] Re: Content Type Registry Improvement

2005-07-25 Thread Sidnei da Silva
On Mon, Jul 25, 2005 at 09:26:15PM +0100, Jens Vagelpohl wrote: | | On 25 Jul 2005, at 21:06, Tres Seaver wrote: | Looks fine. Can you add it with a test? | | Before that: Move your sandbox to SVN. Don't check into CVS. Ok, will do. Is it worth backporting the fix to 1.4? -- Sidnei da Silva

Re: [Zope-CMF] CachingPolicyManager improvements

2005-09-02 Thread Sidnei da Silva
On Fri, Sep 02, 2005 at 04:31:26PM -0400, Geoff Davis wrote: | Hi all-- | | I have added some useful new functionality to CMFCore's | CachingPolicyManager: I am interested in all of this, and volunteer to backport it to CMF 1.4 if no-one objects me doing so. -- Sidnei da Silva Enfold Systems

Re: [Zope-CMF] Re: CachingPolicyManager improvements checked in to svn

2005-09-08 Thread Sidnei da Silva
in the try/except | ImportError statement. For the records, I had other tests failing for the same reason in PAS. It's common to have zope.interface but not five if you install twisted in Ubuntu it has a dependency on the python-zope-interface package or something. -- Sidnei da Silva Enfold

Re: [Zope-CMF] Small CMFCatalogAware refactoring

2005-09-12 Thread Sidnei da Silva
that should be touched is 'getToolByName' IMHO. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports

Re: [Zope-CMF] Small CMFCatalogAware refactoring

2005-09-12 Thread Sidnei da Silva
' and 'portal_catalog_tool' or something. Still, the place to add indirection would be 'getToolByName'. As Tres said above, let's not invent another component architecture. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope-CMF maillist - Zope-CMF

Re: [Zope-CMF] Re: [CMF-checkins] SVN: CMF/branches/1.4/CMFCore/ - Backport Jens V. changes to Geoff D.'s Caching Policy Manager branch

2005-09-12 Thread Sidnei da Silva
On Mon, Sep 12, 2005 at 01:40:35PM +0100, Jens Vagelpohl wrote: | | On 12 Sep 2005, at 13:46, Sidnei da Silva wrote: | | Log message for revision 38449: | | - Backport Jens V. changes to Geoff D.'s Caching Policy Manager | branch | | Sidnei, you're a bit overeager - I am still waiting

Re: [Zope-CMF] Small CMFCatalogAware refactoring

2005-09-12 Thread Sidnei da Silva
(IToolInterface, name=''), but there is a need for this now. Why can't we make it so then? | the _getWorkflowTool() hook was accepted by the way. Why is this different?? I wouldn't say it was accepted, just overlooked. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com

Re: [Zope-CMF] Re: [CMF-checkins] SVN: CMF/branches/1.4/CMFCore/ - Backport Jens V. changes to Geoff D.'s Caching Policy Manager branch

2005-09-12 Thread Sidnei da Silva
| waiting for sign-off from Geoff for that. That's what I thought. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org

Re: [Zope-CMF] Re: Small CMFCatalogAware refactoring

2005-09-12 Thread Sidnei da Silva
:: | | catalog = getUtility(IGenericTool, 'portal_catalog') | | which will permit us to do component-style indirections based on the | type of 'some_context'. And then I think the component architecture supports named adapters no? Maybe I'm just dreaming *wink*. -- Sidnei da Silva Enfold Systems, LLC

Re: [Zope-CMF] Re: Small CMFCatalogAware refactoring

2005-09-12 Thread Sidnei da Silva
= ICatalog(some_context) Which, in a backwards-compatible way could be implemented as: def getToolByName(context, name): iface = lookupToolInterface(name) return iface(context) And probably issuing a deprecation warning, though I'm not sure it's really worth deprecating that. -- Sidnei da Silva

[Zope-CMF] RestrictedPython, TALES Expressions and CMF

2005-10-10 Thread Sidnei da Silva
the same issue. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

Re: [Zope-CMF] Better DeprecationWarnings (was Re: SVN: CMF/trunk/CMFDefault/Portal.py - reverted Portal.py change of r39125 to fix BBB temporarily)

2005-10-19 Thread Sidnei da Silva
/WarningsTest.txt -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

Re: [Zope-CMF] Re: Proposal for hooking rendering

2005-11-30 Thread Sidnei da Silva
in the light of Paul's | proposal) as a plain ZopePageTemplate behaves too differently | from a FSPageTemplate (i.e. it is not Caching Policy Manager aware). But then again, neither is FSImage/FSFile and OFS.Image/OFS.File. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com

Re: [Zope-CMF] Re: Re: [Plone-developers] Re: Re: The components of Archetypes

2006-01-14 Thread Sidnei da Silva
a portal_type (I think the class that provides this is DynamicType or something). Other than that the *content type* doesn't need much boilerplate. What you need is to register the factory type on the portal_types tool, but that's not part of the *content type*. -- Sidnei da Silva Enfold Systems

Re: [Zope-CMF] Re: [z3-five] Re: RFC: backporting including python-package-product support to support Zope 2.8

2006-01-16 Thread Sidnei da Silva
one reason: People running python2.3 must switch to python2.4 for Zope 2.9. That's somewhat painful, at least on Windows. I don't recall if OS X comes with Python 2.4 by default. -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope

Re: [Zope-CMF] Re: [z3-five] Re: RFC: backporting including python-package-product support to support Zope 2.8

2006-01-16 Thread Sidnei da Silva
On Mon, Jan 16, 2006 at 01:12:46PM +0100, Philipp von Weitershausen wrote: | Sidnei da Silva wrote: | On Mon, Jan 16, 2006 at 12:26:09PM +0100, Philipp von Weitershausen wrote: | | Then again, Zope 2.9 is stable (people don't really trust a .0 | | release) and we could release Five 1.4 any time

RES: [Zope-CMF] CachingPolicyManager and Image/File content

2006-04-05 Thread Sidnei da Silva
Title: Re: [Zope-CMF] CachingPolicyManager and Image/File content The PolicyHTTPCacheManager is ZPL. I'm willing to donate it's code. -- Sidnei da Silva Enfold Systems, Inc. http://www.enfoldsystems.com De: [EMAIL PROTECTED] em nome de Jens VagelpohlEnviada: qua 5/4/2006 17:40Para

Re: [Zope-CMF] caching policy manager

2006-09-13 Thread Sidnei da Silva
a beast - it was much easier to just reuse it). As a workaround you can install the PolicyHTTPCacheManager product and associate your file objects with it. The PolicyHTTPCacheManager provides the ZCacheable mechanism, but when invoked defers to the Caching Policy Manager. -- Sidnei da Silva

[Zope-CMF] Problems with defaultView/defaultViewable and CMF

2006-10-03 Thread Sidnei da Silva
://article.gmane.org/gmane.comp.web.zope.z3base.five/182 I'm not exactly sure how to solve this at the moment. -- Sidnei da Silva Enfold Systems, Inc ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

Re: [Zope-CMF] Re: Zope 3 events from workflow

2006-12-27 Thread Sidnei da Silva
to a subscriber. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

Re: [Zope-CMF] Re: Zope 3 events from workflow

2006-12-27 Thread Sidnei da Silva
On 12/27/06, Martin Aspeli [EMAIL PROTECTED] wrote: Sidnei da Silva wrote: I think there was something else that needs handling in this event effort. There's an exception that is raised when an object is moved within a transition to signal the move. That should be converted to an event

Re: [Zope-CMF] Re: Zope 3 events from workflow

2006-12-27 Thread Sidnei da Silva
', etc. And the code that is currently in 'notifySuccess' would move to a subscriber. I guess that 'notifyCreated' could be replaced by a subscriber to 'IObjectCreatedEvent' or equivalent. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713

Re: [Zope-CMF] Re: Zope 3 events from workflow

2006-12-27 Thread Sidnei da Silva
transitions from DCWorkflow. WorkflowTool is not just about DCWorkflow. Where do those stand in the light of events? -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope

Re: [Zope-CMF] Re: Zope 3 events from workflow

2006-12-27 Thread Sidnei da Silva
. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

Re: [Zope-CMF] Re: Zope 3 events from workflow

2006-12-27 Thread Sidnei da Silva
in the patch I'm proposing, but of course it could be done later. The more I think about it, the more I wish you do it as soon as possible. It wouldn't take you long, since you have it all in your head by now. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856

Re: [Zope-CMF] Re: Zope 3 events from workflow

2006-12-27 Thread Sidnei da Silva
not passing the 'w' (the workflow definition). Or maybe passing 'wfs'. I'd still keep them as separate patches that could be reviewed/merged separately. Sounds good to me. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext

Re: [Zope-CMF] Re: tools-as-utilities, merging, releasing, etc

2007-03-01 Thread Sidnei da Silva
That BeforeTraverseEvent should be fired by ZPublisher/BaseRequest.py, after it looks up __before_publishing_traverse__ but before calling it I believe. Firing it from inside CMF doesn't make sense. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856

[Zope-CMF] Re: [Zope-dev] TypesTool speedup

2007-03-04 Thread Sidnei da Silva
Mutable default values are evil. I would get rid of that. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http

Re: [Zope-CMF] Re: [dev] removing Zope2 interfaces

2007-03-09 Thread Sidnei da Silva
On 3/9/07, yuppie [EMAIL PROTECTED] wrote: Sidnei da Silva wrote: One possible ill effect is persistent references to interfaces due to PAS. I've reported that a few days ago, but nobody seems to have noticed. Maybe I wasn't clear: I was talking about oldstyle interfaces using Zope2's

Re: [Zope-CMF] Re: [dev] removing Zope2 interfaces

2007-03-09 Thread Sidnei da Silva
and your remove those interfaces then stuff might break. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

Re: [Zope-CMF] Effective Date inconsistencies

2007-06-23 Thread Sidnei da Silva
. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org

Re: [Zope-CMF] Re: Move CMF collector to Launchpad (redux)

2007-10-26 Thread Sidnei da Silva
I'm +1 on the move. Reply-by-email, just to cite one feature, is way more important than full transcript in my scale. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214

Re: [Zope-CMF] Move CMF collector to Launchpad (redux)

2007-10-29 Thread Sidnei da Silva
And, you can add 'aliases' to bugs too, though I haven't actually used this feature myself. You can for example name issue '#2339' as the 'funky-shiny-issue' or whatever you want, I believe. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office

Re: [Zope-CMF] Buildout recipe for CMF?

2007-12-13 Thread Sidnei da Silva
a recipe that can do that, it's called 'plone.recipe.distros'. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http