[Zope-CMF] Re: Removing default from browser:skin layers?

2005-11-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp von Weitershausen wrote: > > Tres Seaver wrote: > >>The error I am seeing is early, during product initialization, before >>any tests are actually running: >> >> File >>"/home/tseaver/projects/Zope-CVS/Zope-SVN-trunk/lib/python/zope/configur

Re: [Zope-CMF] reindexing optimizations

2005-11-21 Thread Alec Mitchell
On Monday 21 November 2005 06:30 am, Chris Withers wrote: > > *) And calls CMFCatalogAware.reindexObjectSecurity() > > which reindexes the object only on the security index, and doesn't touch > > metadata. > > Does reindexObjectSecurity do anything other than just the reindex the >

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Florent Guillaume
On 21 Nov 2005, at 16:00, Julien Anguenot wrote: yup you're right. We do define this already. All the subscribers can run 'async' or 'sync' . Check the base interface for those subscribers there : http://svn.nuxeo.org/trac/pub/file/CPSCore/trunk/interfaces.py http://svn.nuxeo.org/trac/pub/file

[Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Raphael Ritz
Chris Withers wrote: Hi Alec, Alec Mitchell wrote: So, Sidnei has been plugging away at the "AT reindexes things an obscene number of times" issue today, and appears to have fixed many of the AT triggered indexing redundancies. Where is this work being done? I'd be very interested to trac

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Julien Anguenot wrote: >> >> If you want a flush, following what I think I understood you mean ;), we >> use the transaction.commit() in the tests when needed. > > Okay, but then how do you undo the changes made by that commit?

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Chris Withers
Julien Anguenot wrote: If you want a flush, following what I think I understood you mean ;), we use the transaction.commit() in the tests when needed. Okay, but then how do you undo the changes made by that commit? Also, how would you go about overriding this late-indexing behaviour if you r

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Julien Anguenot wrote: >> >> yup you're right. We do define this already. All the subscribers can run >> 'async' or 'sync' . Check the base interface for those subscribers >> there : >> >> http://svn.nuxeo.org/trac/pub/file/CPSCo

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Guillaume wrote: > As Julien said it's not very hard to implement, it's just that there are > application changes to consider. Still, there's agreement that CMF > should move in that direction, I can provide patches taken from the CPS > impleme

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Chris Withers
Julien Anguenot wrote: yup you're right. We do define this already. All the subscribers can run 'async' or 'sync' . Check the base interface for those subscribers there : http://svn.nuxeo.org/trac/pub/file/CPSCore/trunk/interfaces.py http://svn.nuxeo.org/trac/pub/file/CPSCore/trunk/BaseManager.

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Florent Guillaume wrote: >> As Julien said it's not very hard to implement, it's just that there >> are application changes to consider. Still, there's agreement that CMF >> should move in that direction, I can provide patches ta

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Chris Withers
Florent Guillaume wrote: That's certainly a good hack. There are several ways to do it, either with a thread-local variable, or in the request, or by walking the stack's locals to check for a __dont_index__ attribute... You'd have to bench, but a thread-local variable is probably the fastest. Y

Re: [Zope-CMF] reindexing optimizations

2005-11-21 Thread Chris Withers
Hi Alec, Alec Mitchell wrote: So, Sidnei has been plugging away at the "AT reindexes things an obscene number of times" issue today, and appears to have fixed many of the AT triggered indexing redundancies. Where is this work being done? I'd be very interested to track it... *) TypesTool.c

[Zope-CMF] Re: CMFSetup, getting started

2005-11-21 Thread Raphael Ritz
Rocky Burt wrote: [..] ps. Raphael, it would be phenomenal if your MySite tutorial could be extended to cover something like this. I hear you ;-) Sure that's something I've been thinking about myself for a while now but as long as the API evolves and as long as there isn't a best practice y

Re: [Zope-CMF] Importing "subscribers" from a csv file

2005-11-21 Thread Jens Vagelpohl
On 21 Nov 2005, at 10:15, Rui Gamito wrote: Is there a way to import email addresses (newsletter subscribers) from a csv file? I've never tried to import anything other than zexp files, but I've been told it was possible, and effortless, using the usual import/export... Well, it's not work

[Zope-CMF] Importing "subscribers" from a csv file

2005-11-21 Thread Rui Gamito
Hi all. Is there a way to import email addresses (newsletter subscribers) from a csv file? I've never tried to import anything other than zexp files, but I've been told it was possible, and effortless, using the usual import/export... Well, it's not working and I get a "Invalid export header" err

[Zope-CMF] CMF Collector: Open Issues

2005-11-21 Thread tseaver
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/CMF). Assigned and Open efge - "CMFSetup: provide non-ascii im- and exports", [Accepted] http://www.zope.org/Collectors/CMF/292 jens - "Discussion replies removal",