[Zope-Coders] Zope tests: 8 OK

2005-07-03 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Sat Jul 2 11:01:02 2005 UTC to Sun Jul 3 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Sat Jul 2 23:22:22 EDT

[Zope-dev] [Zope 2] Skipping beta releases?

2005-07-03 Thread Andreas Jung
Hi, the current release model of Zope 2 is based on doing at least one beta release for minor releases (Zope 2.7.X where X 0). I have the strong impression that beta releases are not adopted and tested by most people. They usually use the final version of a release. So most bugs are

Re: [z3-five] Re: [Zope-dev] 2.9 goals

2005-07-03 Thread Martijn Faassen
Andreas Jung wrote: --On 2. Juli 2005 20:52:54 +0200 Martijn Faassen [EMAIL PROTECTED] wrote: I wonder whether it's possible to expose zope 3's authentication system to Zope 2, though that may be too much of a mismatch between security systems. Wasn't that a major goal of Jim for Z

Re: [Zope-dev] [Zope 2] Skipping beta releases?

2005-07-03 Thread Chris McDonough
On Sun, 2005-07-03 at 09:13 +0200, Andreas Jung wrote: Alpha and beta releases are fine for major releases. Beta releases for a minor release can be made if there are some changes or fixes that must be tested by people. Any comments? +1 ... alphas/betas should be done at your discretion.

Re: [Zope-dev] [Zope 2] Skipping beta releases?

2005-07-03 Thread Jens Vagelpohl
On 3 Jul 2005, at 15:16, Chris McDonough wrote: On Sun, 2005-07-03 at 09:13 +0200, Andreas Jung wrote: Alpha and beta releases are fine for major releases. Beta releases for a minor release can be made if there are some changes or fixes that must be tested by people. Any comments? +1

Re: [Zope-dev] [Zope 2] Skipping beta releases?

2005-07-03 Thread Andreas Jung
--On 3. Juli 2005 15:32:29 +0100 Jens Vagelpohl [EMAIL PROTECTED] wrote: I personally would still continue doing betas for things like CMF, but then again the work needed to put together a release is a lot less. And I still live under the illusion that those betas see a modicum of testing

Re: [Zope-dev] Extending Zope's ZConfig Schema in a Product?

2005-07-03 Thread Stuart Bishop
Sidnei da Silva wrote: Right, seems that's my only choice for the time being. We currently do this in our 'start Z3' script before any of the Zope imports are done: # Disgusting hack to use our extended config file schema rather than the # Z3 one. TODO: Add command line options or other to

[Zope] [ANN] Zope 2.7.7 b1 released

2005-07-03 Thread Andreas Jung
Dear Zope Community, on behalf of Zope Corporation and all Zope 2 developers and contributors I am pleased to announce the release of Zope 2.7.7 b1. Zope 2.7.7 b1 can be downloaded from http://www.zope.org/Products/Zope/2.7.7b1 The release notes can be found at

[Zope] A function like a FTP Object

2005-07-03 Thread Garito
Hi all I would like to create a product with a function called struct.xml I would like if I could access it via FTP because I would like editor integration I open the file via FTP and I save it via FTP and PUT_factory mechamism Can I make struct.xml accesible via a FTP file? Thanks!!! --

[Zope] [ANN] TextIndexNG 3.0.4 released

2005-07-03 Thread Andreas Jung
I am pleased to announce the release of TextIndexNG V 3.0.4. TextIndexNG V 3 is a complete new implementation based on Zope 3 technologies and can be used both in Zope 2.8 or 2.7 (with Five) or in Zope 3. What's new? - multi-field indexing and query support - multi-lingual support -

Re: [Zope] A function like a FTP Object

2005-07-03 Thread Peter Bengtsson
Sure you can. Any object/method that is in Zope becomes available via FTP. Some example code:: class MyProduct(Folder): def struct_xml(self): return tag1/tag def PUT(self, REQUEST, RESPONSE): if not REQUEST.get('BODY'): get_transaction.abort()

Re: [Zope] A function like a FTP Object

2005-07-03 Thread Garito
Peter Bengtsson escribió: Sure you can. Any object/method that is in Zope becomes available via FTP. Some example code:: class MyProduct(Folder): def struct_xml(self): return tag1/tag def PUT(self, REQUEST, RESPONSE): if not REQUEST.get('BODY'):

[Zope] blacklisting referers and/or specific hosts

2005-07-03 Thread Tim Hicks
Hi, I have a zope site up and running which has recently had a *lots* of hits from a client (or clients) that show referers pointing at various gambling, meds, and loan sites. Requests only come in for the main page, not for the associated images, css, etc that should go with it. The

Re: [Zope] blacklisting referers and/or specific hosts

2005-07-03 Thread Jens Vagelpohl
On 3 Jul 2005, at 20:05, Tim Hicks wrote: So, I'm wondering if there's a way to blacklist those clients that I don't like based on host/ip and/or on referer. If there is a set of distinguishable IPs/hosts, then use a tool that was *made* for that purpose such as a firewalling/filtering

Re: [Zope] A function like a FTP Object

2005-07-03 Thread Peter Bengtsson
Hi! does this work on a folder? Sure it does. Did you understand any of my code? I subclassed it on the folder class. The struct.xml function is on a folder object and I would like struct.xml as an object contained by the folder one This is completely outside the zope management

Re: [Zope] strcoll_nocase gone after moving site?

2005-07-03 Thread Dieter Maurer
Daniel Dekany wrote at 2005-7-2 09:34 +0200: Friday, July 1, 2005, 8:11:22 PM, Dieter Maurer wrote: Daniel Dekany wrote at 2005-6-30 22:28 +0200: I have to move a Plone site to another server (from some FreeBSD to a new Trustix), while also switching from Zope 2.7.x5 to 2.7.6, and from Python

Re: [Zope] Starting a search from the correct folder

2005-07-03 Thread Dieter Maurer
Nikko Wolf wrote at 2005-7-1 15:40 -0600: Dieter Maurer wrote: You are aware that you will not get a list (but a tree) when you look down from some starting point? ... But Dieter, can you elaborate on what you mean? Isn't the result from objectValues() a tuple [which would be a list in

Re: [Zope] Starting a search from the correct folder

2005-07-03 Thread Dieter Maurer
John Poltorak wrote at 2005-7-2 15:52 +0100: On Fri, Jul 01, 2005 at 08:15:20PM +0200, Dieter Maurer wrote: John Poltorak wrote at 2005-6-30 22:27 +0100: ... If I want to generate a list of folders in say the 'groups' folder, how would I change the code above? You are aware that you will

Re: [Zope] Apache 2 + Zope can't gzip HTTP response body?

2005-07-03 Thread Daniel Dekany
Monday, July 4, 2005, 12:00:38 AM, Dieter Maurer wrote: Daniel Dekany wrote at 2005-7-2 20:56 +0200: Can I use HTTP Content-Encoding: gzip for Zope if I use Apache 2? (And should I use gzip content-encoding?) The mod_gzip doesn't work with Apache 2, but instead it has mod_deflate. But

Re: [Zope] blacklisting referers and/or specific hosts

2005-07-03 Thread David Pratt
Hi Tim. I think what Jens has to say is the best solution. I have also made my own thing with zope as well since I don't always have control of the firewall. I worked out a simple ip and country-ip solution. I made a simple interface for adding ips to a black list or selecting countries to

Re: [Zope] Apache 2 + Zope can't gzip HTTP response body?

2005-07-03 Thread Bakhtiar A Hamid
On 7/3/05, Daniel Dekany [EMAIL PROTECTED] wrote: Can I use HTTP Content-Encoding: gzip for Zope if I use Apache 2? (And should I use gzip content-encoding?) The mod_gzip doesn't work with Apache 2, but instead it has mod_deflate. But mod_deflate can't chose which responses to gzip based on

Re: [Zope-DB] Using psycopg directly in Zope Python script

2005-07-03 Thread Dieter Maurer
Jørgen Frøjk Kjærsgaard wrote at 2005-7-1 23:28 +0200: I need to be able to access a Postgresql database directly from Zope Python scripts (Z SQL Methods is not an option as the SQL code occurs in modules that must be re-usable in a non-Zope context). ... import psycopg dbcon =