Re: [Zope-dev] [RFClet]: What about the request method and the client side trojan?

2002-04-15 Thread Toby Dickenson
On Friday 12 Apr 2002 7:19 pm, Jeffrey P Shell wrote: that your proposal isn't up there (or the catalog is up to its old charms ;) No, its not up there. But now, does this mean I have to go through and tag every method that might cause a state change? Or might not? You wont ever *have* to

[Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Ivo van der Wijk
Hi All, I would like to do some bookkeeping *after* an object has been published, i.e. imagine a request is done for: /a/b/c/d 'b' is the (folderish) object that does the accounting, 'd' is the object to be published. I would like 'b' to examine the RESPONSE after publishing. I know there's a

Re: [Zope-dev] Speaking of 2.6...

2002-04-15 Thread Ivo van der Wijk
On Tue, Apr 09, 2002 at 01:47:49PM -0400, Brian Lloyd wrote: ...I sent out a note a while ago now trying to scare up some ideas on how to vet the current list of 2.6 proposals and get to a final plan. I didn't get much (any?) response :( I am, as the author of the dtml-set tag, of course

Re: [Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Casey Duncan
The request object has a hold area which keeps objects alive as long as the request lives. Although I have not tried it, you might be able to add an object to this hold area using __bobo_traverse__ defined on B. This object's class would need to have a destructor method (__del__) defined so

Re: [Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Toby Dickenson
On Mon, 15 Apr 2002 15:05:32 +0200, Ivo van der Wijk [EMAIL PROTECTED] wrote: I would like to do some bookkeeping *after* an object has been published, The transation object lets you register methods to be called on transaction commit, abort, etc. Toby Dickenson [EMAIL PROTECTED]

[Zope-dev] ZEO Server Crashed

2002-04-15 Thread Alex Kelly
We have been running our web site with Zope 2.4.2 and ZEO (I'm unsure of the version, can't seem to find it anywhere) for about 5 months. We are running it on Solaris 8 w/ Python 2.1.2. The other day we had a major crash and this was left in the ZEO_Server.log: 2002-04-09T16:36:49 ERROR(200)

Re: [Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Ivo van der Wijk
On Mon, Apr 15, 2002 at 09:39:47AM -0600, Casey Duncan wrote: The request object has a hold area which keeps objects alive as long as the request lives. Although I have not tried it, you might be able to add an object to this hold area using __bobo_traverse__ defined on B. This object's

Re: [Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Shane Hathaway
Ivo van der Wijk wrote: Hi All, I would like to do some bookkeeping *after* an object has been published, i.e. imagine a request is done for: /a/b/c/d 'b' is the (folderish) object that does the accounting, 'd' is the object to be published. I would like 'b' to examine the RESPONSE

Re: [Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Chris Withers
Shane Hathaway wrote: a __del__() method that calls your application logic. In fact, this is the mechanism Zope uses to make sure the database connection gets closed. (see ZODB/ZApplication.py.) Ewww... ;-) Chris - Someone got some deodorant for ZApplication? ...sure *gets can

Re: [Zope-dev] __after_publishing_traverse__

2002-04-15 Thread Casey Duncan
Ivo van der Wijk wrote: [snip] This indeed does work. The only difference is that I'm installing the hook in __before_publishing_traverse__, so I don't have to do any traversal myself. I find it a scary solution though (though not as scary as monkeypatching __del__), so I'm not 100% sure

[Zope-dev] Separate staging and development areas for a product

2002-04-15 Thread Ted Skolnick
Hi, I have a Zope product in development. I want to setup a staging area for stable releases and I am not sure how to go about it. I could install another Zope in a different directory, but it seems like I should be able to do it with the Zope instance I've got. Any thoughts, or pointers? My

[Zope-dev] Overriding HTTPResponse.unauthorized()

2002-04-15 Thread Matt Behrens
I've got some rather funky auth requirements where I need to stop Zope from challenging Basic authentication when Unauthorized is raised. I seem to be able to do this if I monkey-patch HTTPResponse.unauthorized(), but what I'd really like is to be able to hook into it to make a user

Re: [Zope-dev] Overriding HTTPResponse.unauthorized()

2002-04-15 Thread Shane Hathaway
Matt Behrens wrote: I've got some rather funky auth requirements where I need to stop Zope from challenging Basic authentication when Unauthorized is raised. I seem to be able to do this if I monkey-patch HTTPResponse.unauthorized(), but what I'd really like is to be able to hook into

[Zope-dev] External methods in Extensions folder under Product

2002-04-15 Thread Ted Skolnick
Hi, I currently have my external methods under the Extensions folder within the Zope installation (i.e. /usr/local/Zope/Extensions ). I read that I could place them in Extensions folders within specific installed products. I'd much prefer that, but can't seem to get it working. What I did: I

[Zope-dev] Future of ZPatterns

2002-04-15 Thread Marcello Parra Martins
Hello, I'm new to Zope. I'm studing 'Zope Web Application Develepment and Content Management' book. Many of the examples of the book uses ZPatterns. I saw in past messages that ZPatterns will not be supported in Zope3. Is this true ?? If I create a product based on it, will it be a lost

[Zope-dev] ZEO 1.0 final release

2002-04-15 Thread Jeremy Hylton
I am happy to announce that ZEO 1.0 final was released today. Zope Enterprise Objects (ZEO) provides the ability for multiple processes to use a single Zope Object Database. ZEO turns the Zope object system in a distributed architecture, allowing multiple processors, machines, and networks to

Re: [Zope-dev] Future of ZPatterns

2002-04-15 Thread Steve Spicklemire
Hi Marcello, Wow.. sounds like a neat book. ;-) Seriously, Phil Eby has suggested that there will be some sort of migration helpers to move from ZPatterns to TransWarp (www.eby-sarna.com): http://www.eby-sarna.com/mailman/listinfo/transwarp http://cvs.eby-sarna.com/TransWarp/ Also..

Re: [Zope-dev] Separate staging and development areas for a product

2002-04-15 Thread Steve Spicklemire
I think it's worth having a completely separate Zope. Otherwise there's no way to separate development and staging versions of filesystem based products. You might be interested in ZSyncer, or ZCVSFolder for synchronization. -steve On Monday, April 15, 2002, at 12:12 PM, Ted Skolnick wrote: