[Zope] Re: Zope's Webdav port for RESTful web service

2005-11-28 Thread Sascha Welter
(Sun, Nov 27, 2005 at 12:00:08PM -0500) [EMAIL PROTECTED] wrote/schrieb/egrapse: Am Samstag, den 26.11.2005, 21:17 -0400 schrieb David Pratt: Hi. I am looking at how to implement a RESTful web service in Zope2. Could you expand a bit on whatever a RESTful web service is? Hi Tino, I

[Zope] how to auto refresh the browser with dtml

2005-11-28 Thread Allen Huang
how do I do an auto-refresh to my browser with dtml? anyone have any ideas? Yahoo! Music Unlimited - Access over 1 million songs. Try it free.___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] how to auto refresh the browser with dtml

2005-11-28 Thread Jens Vagelpohl
On 28 Nov 2005, at 09:53, Allen Huang wrote: how do I do an auto-refresh to my browser with dtml? anyone have any ideas? Please don't confuse server-side code (like DTML) with browser-side code (like Javascript and HTML). DTML cannot refresh your browser. Use Javascript or HTML. jens

Re: [Zope] how to auto refresh the browser with dtml

2005-11-28 Thread Tino Wildenhain
Allen Huang schrieb: how do I do an auto-refresh to my browser with dtml? anyone have any ideas? _when_ do you want to refresh? dtml-call expr=REQUEST.RESPONSE.setHeader('Refresh','10') or something like that should work. See rfc2616 for headers and zope-book for API of RESPONSE object.

Re: [Zope] DateTime mess

2005-11-28 Thread Chris Withers
Andreas Jung wrote: I agree that is should be replaced but I also mentioned that we tried to achieve that already some years ago and we gave upso talking about deprecation really makes sense when someone puts a replacement module on the table. I know that the DateTime module is a piece

Re: [Zope] DateTime mess

2005-11-28 Thread Philipp von Weitershausen
Chris Withers wrote: Andreas Jung wrote: I agree that is should be replaced but I also mentioned that we tried to achieve that already some years ago and we gave upso talking about deprecation really makes sense when someone puts a replacement module on the table. I know that the

Re: [Zope] DateTime mess

2005-11-28 Thread Andrew Milton
+---[ Philipp von Weitershausen ]-- | 2. If we find it's possible, we rid the current DateTime implementation | and recreate the DateTime class by subclassing datetime.datetime. For | backwards compatability, we make sure that old pickles can be revived | and that the old

Re: [Zope] DateTime mess

2005-11-28 Thread Philipp von Weitershausen
Andrew Milton wrote: +---[ Philipp von Weitershausen ]-- | 2. If we find it's possible, we rid the current DateTime implementation | and recreate the DateTime class by subclassing datetime.datetime. For | backwards compatability, we make sure that old pickles can be

Re: [Zope] DateTime mess

2005-11-28 Thread Lennart Regebro
On 11/28/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Datetimes are dull values, they should just pickle nicely. They do. A module with extra utilities + timezone support would be nice. 1. Create some extensive tests about how DateTime currently works. I'm currently working on this

[Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Gerhard Schmidt
Hi, I'm a little bit puzzled why there are growing Number of Mails telling that the support for FastCGI will disappear in the future. Why is this. I am running multiple sites that are hybrides of apache/php and zope. It's very easy to set up such a config with mod fastcgi and Apache. It works

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Andreas Jung
--On 28. November 2005 13:28:19 +0100 Gerhard Schmidt [EMAIL PROTECTED] wrote: Hi, I'm a little bit puzzled why there are growing Number of Mails telling that the support for FastCGI will disappear in the future. Why is this. I am running multiple sites that are hybrides of apache/php and

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Jens Vagelpohl
On 28 Nov 2005, at 12:28, Gerhard Schmidt wrote: I know there is a way to do just the same with mod_proxy, but mod_proxy does open new connection for every request while fastcgi uses the same connection for all requests. The is no problem on low load. But with growing load, this can

Re: [Zope] DateTime mess

2005-11-28 Thread Philipp von Weitershausen
Lennart Regebro wrote: Datetimes are dull values, they should just pickle nicely. They do. Yes, that's my point. That's why we don't need added persistency. A module with extra utilities + timezone support would be nice. pytz provides some extensive timezone support. Not sure what the extra

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Gerhard Schmidt
On Mon, Nov 28, 2005 at 12:43:44PM +, Jens Vagelpohl wrote: On 28 Nov 2005, at 12:28, Gerhard Schmidt wrote: I know there is a way to do just the same with mod_proxy, but mod_proxy does open new connection for every request while fastcgi uses the same connection for all requests. The is

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Jens Vagelpohl
On 28 Nov 2005, at 13:05, Gerhard Schmidt wrote: On Mon, Nov 28, 2005 at 12:43:44PM +, Jens Vagelpohl wrote: On 28 Nov 2005, at 12:28, Gerhard Schmidt wrote: I know there is a way to do just the same with mod_proxy, but mod_proxy does open new connection for every request while fastcgi

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Gerhard Schmidt
On Mon, Nov 28, 2005 at 01:07:49PM +, Jens Vagelpohl wrote: On 28 Nov 2005, at 13:05, Gerhard Schmidt wrote: On Mon, Nov 28, 2005 at 12:43:44PM +, Jens Vagelpohl wrote: On 28 Nov 2005, at 12:28, Gerhard Schmidt wrote: I know there is a way to do just the same with mod_proxy, but

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Jens Vagelpohl
On 28 Nov 2005, at 13:25, Gerhard Schmidt wrote: It's a matter of resources, plain and simple. No one has stepped forward to support it, so it atrophied. If you think it's a great thing to keep, volunteer. I would if I had the time and the knowlege. But I don't see a Problem with the Code

[Zope] Re: Zope's Webdav port for RESTful web service

2005-11-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Pratt wrote: Hi Tino. Here are a couple of links that describe it. Boils down to using regular GET, POST, PUT, and DELETE over HTTP using specific URI's to invoke actions - sort of like XMLRPC over HTTP. It occurred to me that perhaps

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Sascha Welter
(Mon, Nov 28, 2005 at 08:28:56AM -0500) [EMAIL PROTECTED] wrote/schrieb/egrapse: From: Gerhard Schmidt [EMAIL PROTECTED] I'm a little bit puzzled why there are growing Number of Mails telling that the support for FastCGI will disappear in the future. Why is this. I am running multiple sites

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Andreas Jung
Bitte schick das auf die Liste. Ich habe keine Lust solche Diskussionen privat zu führen. Danke, Andreas --On 28. November 2005 14:05:22 +0100 Gerhard Schmidt [EMAIL PROTECTED] wrote: On Mon, Nov 28, 2005 at 12:43:44PM +, Jens Vagelpohl wrote: On 28 Nov 2005, at 12:28, Gerhard

Re: [Zope] Re: Zope's Webdav port for RESTful web service

2005-11-28 Thread David Pratt
Hi. Thanks Tres and Sascha for replies. Sascha, I think this is right way to go and will make a product to do this and put the templates into skins. As far as URL's, I was hoping to do something like: http://mydomain.com/folder_to_resource/resource_id but I guess it will be enough to append

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Andreas Jung
--On 28. November 2005 13:28:20 + Jens Vagelpohl [EMAIL PROTECTED] wrote: On 28 Nov 2005, at 13:25, Gerhard Schmidt wrote: It's a matter of resources, plain and simple. No one has stepped forward to support it, so it atrophied. If you think it's a great thing to keep, volunteer. I

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Jens Vagelpohl
On 28 Nov 2005, at 14:23, Andreas Jung wrote: I agree. There should be one supported way to achive a goal. In the past we had at least three methods to run Zope (fortunately we kicked PCGI support in the past). My suggestion is to deprecate FCGI officially in the docs and through a

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Gerhard Schmidt
On Mon, Nov 28, 2005 at 03:23:04PM +0100, Andreas Jung wrote: --On 28. November 2005 13:28:20 + Jens Vagelpohl [EMAIL PROTECTED] wrote: On 28 Nov 2005, at 13:25, Gerhard Schmidt wrote: It's a matter of resources, plain and simple. No one has stepped forward to support it, so it

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Jens Vagelpohl
On 28 Nov 2005, at 14:52, Gerhard Schmidt wrote: Sure I object. Why should perfectly working code be removed. There is no alternativ for heavy loaded sites which need integration of apache and zope. mod_proxy is no alternativ because it raises the load even further. Sorry, I have to call

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Andreas Jung
--On 28. November 2005 15:52:25 +0100 Gerhard Schmidt [EMAIL PROTECTED] wrote: Sure I object. Why should perfectly working code be removed. There is no alternativ for heavy loaded sites which need integration of apache and zope. mod_proxy is no alternativ because it raises the load even

Re: [Zope] Re: Zope's Webdav port for RESTful web service

2005-11-28 Thread Paul Winkler
Yeah, if POST and GET are desired to have semantic differences, your code will have to explicitly check request['REQUEST_METHOD']. On 11/28/05, Tres Seaver [EMAIL PROTECTED] wrote: The trickiest thing about REST from Zope's point of view is that its proponents seem to think POST (which is a

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Paul Winkler
On Mon, Nov 28, 2005 at 04:29:22PM +0100, Gerhard Schmidt wrote: I don't have exakt numbers. We started with pcgi and had heavy problems under load. They disapeared with the fastCGI module coming wird zope 2.6 i gues. I ve tried mod_proxy back than but had many problems. I can not test on

[Zope] ZMI

2005-11-28 Thread Mark Smith
I have had to reinstall Plone and Zope on my computer. I now find that when I try to log into ZMI and http://localhost:8080/manage comes up, it tells me that I am not authorised to view this resource. I am using the correct user name and password. I would be gratefu if anyone could suggest

[Zope] Zope Foundation draft docs available for review/comment

2005-11-28 Thread Rob Page
Hello everyone: We have published a draft set of formation documents for the Zope Foundation. A zip file of the complete set of docs is available online at: o http://tinyurl.com/7crf8 The next steps in the process are: o Community review, comment, incorporate feedback cycle(s) (one or

Re: [Zope] Re: Zope's Webdav port for RESTful web service

2005-11-28 Thread Brad Clements
On 28 Nov 2005 at 8:26, Tres Seaver wrote: requests onto *any* publishable method, which means that you have to try hard to abide by the RESTriction. Zope also supports using PUT for resource creation, which the REST folks don't seem to get. I'm not sure what part REST folks don't seem to

Re: [Zope] xform in zope 2.8

2005-11-28 Thread Dieter Maurer
Tim Nash wrote at 2005-11-27 16:16 -0800: ... Does anybody know how to monkey patch 2.8.0 so zope can process an xform? I found the xmlFix patch but a fellow zope user pointed out that 2.8.1 breaks the monkey patch because of the zope.app.publication.HTTPPublicationRequestFactory object.

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-28 Thread Dieter Maurer
Paul Winkler wrote at 2005-11-27 21:17 -0500: ... I've seen the same symptoms a number of times recently with zope 2.7.x. In our case, it seems to be related to ZEO. Zope seems to have lost its connection to ZEO but doesn't realize it somehow. My theory is that the symptom starts when all worker

Re: [Zope] ZMI

2005-11-28 Thread José Henrique
Look at the SECURITY.txt file in your ZOPE/doc folder. There you can find instructions to solve your problem. José Henrique.2005/11/28, Mark Smith [EMAIL PROTECTED]: I have had to reinstall Plone and Zope on my computer.I now find that whenI try to log into ZMI and http://localhost:8080/manage

Re: [Zope] ZMI

2005-11-28 Thread Rakotomandimby Mihamina
On Mon, 2005-11-28 at 17:08 +, Mark Smith wrote: I am using the correct user name and password. I would be gratefu if anyone could suggest how to resolve this problem. Reinitialize the zope admin password? or just create a zope admin user with: # /path/to/zopectl adduser a_name

[Zope] Zope Version

2005-11-28 Thread Asad Habib
How do I determine which version of Plone/Zope I am using? Is there a version file somewhere in the Zope hierarchy? I can't seem to find one. Any help would be appreciated. Thanks. - Asad ___ Zope maillist - Zope@zope.org

RE: [Zope] Zope Version

2005-11-28 Thread Doyon, Jean-Francois
Just look in the Management Interface, in the Control Panel ... J.F. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Asad Habib Sent: November 28, 2005 3:54 PM To: zope@zope.org Subject: [Zope] Zope Version How do I determine which version of Plone/Zope

Re: [Zope] Zope 2.8.4 strange behavior

2005-11-28 Thread Paul Winkler
On Mon, Nov 28, 2005 at 08:19:23PM +0100, Dieter Maurer wrote: Paul Winkler wrote at 2005-11-27 21:17 -0500: ... I've seen the same symptoms a number of times recently with zope 2.7.x. In our case, it seems to be related to ZEO. Zope seems to have lost its connection to ZEO but doesn't

RE: [Zope] Zope Version

2005-11-28 Thread Asad Habib
Hi. I looked in there already but it does not state the version. This is what it says: Zope Version (unreleased version, python 2.3.3, darwin) - Asad On Mon, 28 Nov 2005, Doyon, Jean-Francois wrote: Just look in the Management Interface, in the Control Panel ... J.F. -Original

RE: [Zope] Zope Version

2005-11-28 Thread Doyon, Jean-Francois
Ah yes, some earlier zope 2.7 versions had that problem ... And at some point, python 2.3.4 and then 2.3.5 became the recommended python versions. So you're probably somewhere between 2.7 and 2.7.3 ... 2.7.4 prefers python 2.3.4. You can always do a grep -r 2.7 * from the root of your Zope

Re: [Zope] Zope Version

2005-11-28 Thread Paul Winkler
You can also look near the top of doc/CHANGES.txt in your zope software tree. -PW On Mon, Nov 28, 2005 at 04:08:03PM -0500, Doyon, Jean-Francois wrote: Ah yes, some earlier zope 2.7 versions had that problem ... And at some point, python 2.3.4 and then 2.3.5 became the recommended python

[Zope] Re: ASP404 on Win2003

2005-11-28 Thread Brian Sullivan
On 11/24/05, Brian Sullivan [EMAIL PROTECTED] wrote: I have for a while successfully used the ASP404 script ( http://www.zope.org/Members/hiperlogica/ASP404) front ending part of a zope server using IIS on Win2000. Recently I changed the front end server to Win2003. I have been attempting to

Re: [Zope] Zope Version

2005-11-28 Thread Andreas Jung
look at doc/CHANGES.txt --On 28. November 2005 15:54:23 -0500 Asad Habib [EMAIL PROTECTED] wrote: How do I determine which version of Plone/Zope I am using? Is there a version file somewhere in the Zope hierarchy? I can't seem to find one. Any help would be appreciated. Thanks. - Asad

Re: [Zope] why will FastCGI not be supported in the Future.

2005-11-28 Thread Gerhard Schmidt
On Mon, Nov 28, 2005 at 11:06:35AM -0500, Paul Winkler wrote: On Mon, Nov 28, 2005 at 04:29:22PM +0100, Gerhard Schmidt wrote: I don't have exakt numbers. We started with pcgi and had heavy problems under load. They disapeared with the fastCGI module coming wird zope 2.6 i gues. I ve tried

[Zope-Checkins] SVN: Zope/trunk/lib/python/DateTime/interfaces.py some minor reshifting

2005-11-28 Thread Philipp von Weitershausen
Log message for revision 40388: some minor reshifting Changed: U Zope/trunk/lib/python/DateTime/interfaces.py -=- Modified: Zope/trunk/lib/python/DateTime/interfaces.py === --- Zope/trunk/lib/python/DateTime/interfaces.py

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/OFS/ Use ObjectCopiedEvent with an 'original' parameter.

2005-11-28 Thread Florent Guillaume
Log message for revision 40389: Use ObjectCopiedEvent with an 'original' parameter. Changed: U Zope/branches/2.9/lib/python/OFS/CopySupport.py U Zope/branches/2.9/lib/python/OFS/ObjectManager.py U Zope/branches/2.9/lib/python/OFS/OrderSupport.py -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/ Merged 40389 from 2.9 branch:

2005-11-28 Thread Florent Guillaume
Log message for revision 40390: Merged 40389 from 2.9 branch: Use ObjectCopiedEvent with an 'original' parameter. Changed: U Zope/trunk/lib/python/OFS/CopySupport.py U Zope/trunk/lib/python/OFS/ObjectManager.py U Zope/trunk/lib/python/OFS/OrderSupport.py -=- Modified:

[Zope-dev] Re: DateTime mess

2005-11-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp von Weitershausen wrote: Andrew Milton wrote: -1 for any scheme that involves diddling the ZODB to 'fix' pickles, because you just know you're going to corrupt someone's ZODB, and that's just noone's idea of fun. There are sensible

[Zope-dev] Re: removing test.py from path

2005-11-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tarek Ziadé wrote: Tarek Ziadé wrote: Hello, Benji recently changed test.py in Z3 in order to avoid collision name with the standard python 'test' module. I bumped into the same problem running tests under Z 2.8. I would like to add this

Re: [Zope-dev] Re: removing test.py from path

2005-11-28 Thread Jens Vagelpohl
On 28 Nov 2005, at 13:35, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tarek Ziadé wrote: Tarek Ziadé wrote: Hello, Benji recently changed test.py in Z3 in order to avoid collision name with the standard python 'test' module. I bumped into the same problem running

Re: [Zope-dev] RE: RFC: Reunite Zope 2 and Zope 3 inthe sourcecoderepository

2005-11-28 Thread Rocky Burt
Yes, I know that this is possible. But are you really proposing to start a project like this? Or do you mean Five is going or should go in this direction? It (or Zope 2 development in general, which is becoming indistinguishable from Five) is going in this direction. Just an outsider's

[Zope-dev] Folderish or SimpleItem object types for structural content

2005-11-28 Thread Martijn Jacobs
Hello guys! I have a simple question about the design of hierarchical zope product structures in Zope 2. For example, you have categories, within categories you have sub-categories, within sub-categories you have sub-sub categories, within that you have content items, within content items

[Zope-dev] Python2.4 Security Audit ETA???

2005-11-28 Thread Alan Milligan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Aeons ago someone promised that said Zope security audit of Python 2.4 was scheduled for October. I've not yet seen any happy announcements that Zope is now 2.4 compliant, and do want to highlight the importance of achieving this goal.

Re: [Zope-dev] Python2.4 Security Audit ETA???

2005-11-28 Thread Tino Wildenhain
Am Dienstag, den 29.11.2005, 17:16 +1100 schrieb Alan Milligan: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, ... With the major distro's, Python is entrenched in their installer and gui processes and *all* packaging is focused around a single python (2.4 for everyone excepting our

Re: [Zope-dev] Python2.4 Security Audit ETA???

2005-11-28 Thread Andreas Jung
--On 29. November 2005 17:16:55 +1100 Alan Milligan [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Aeons ago someone promised that said Zope security audit of Python 2.4 was scheduled for October. I've not yet seen any happy announcements that Zope is now 2.4