[Zope-dev] Patch that makes the 'MS-Author-Via' header configurable in zope.conf
Hi all, two weeks ago, I submitted a patch against Zope-2.9.1 that makes the 'MS-Author-Via' header configurable in zope.conf ( http://www.zope.org/Collectors/Zope/1441 ) but I did not hear a single comment about it, so I'm guessing nobody noticed it. As the original collector entry referred to Zope 2.7.2, should I submit it in its own collector entry for it to be taken into account? The patch : http://www.zope.org/Collectors/Zope/1441/diff-Zope-2.9.1-Zope-2.9.1-patch-webdav-msoffice.txt/view It is documented as following : Set this directive to 'on' to enable WebDAV compatibility for Microsoft software. Microsoft implementation of WebDAV uses the non-standard 'MS-Author-Via' header to determine if it should use WebDAV. This is disabled by default since it makes a lot of standards-compliant things unhappy AND it tricks Microsoft Office into trying to edit Office files stored in Zope via WebDAV even when the user isn't allowed to edit them and is only trying to download them. Check this collector entry for more information: http://www.zope.org/Collectors/Zope/1441 Regards, Patrick. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Windows setup
Hi, Zope 2.7 uses Innosetup. Check http://cvs.zope.org/Packages/WinBuilders/README.txt?rev=1.9&content-type=text/vnd.viewcvs-markup for more information. Regards, Patrick. 2005/4/13, Manuel Markwort <[EMAIL PROTECTED]>: > For my product i want to write my own Installshield setup. To make life > easier I want to include the Windows setup of Zope 2.7.1 but I can't > find the setup sources in cvs. I need this to manipulate the original > Zope setup, as well. > > Thanks for advises, > > -- > Manuel Markwort (mailto:[EMAIL PROTECTED]) > Software-Development > > RATIO Entwicklungen GmbH > Admiralitaetstrasse 59 > D-20459 Hamburg > > Phone: +49-40-369007-73 > Fax: +49-40-369007-75 > > ___ > Zope-Dev maillist - Zope-Dev@zope.org > http://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] zope /tmp file usage
I did not understand why people was replying the same answer as I did. That's simple: I did not reply to the mailing list ;) -- Forwarded message -- From: Patrick DECAT <[EMAIL PROTECTED]> Date: Thu, 31 Mar 2005 11:50:56 +0200 Subject: Re: [Zope-dev] zope /tmp file usage To: Pavel Zaitsev <[EMAIL PROTECTED]> Hi Pavel, when files are uploaded with WebDAV, they are part of an HTTP PUT request. If the file is larger than LARGE_FILE_THRESHOLD, a temporary file is created by the zhttp_collector in HTTPServer.py class zhttp_collector: def __init__(self, handler, request, size): from ZServer import LARGE_FILE_THRESHOLD self.handler = handler self.request = request if size > LARGE_FILE_THRESHOLD: # write large upload data to a file from tempfile import TemporaryFile self.data = TemporaryFile('w+b') else: self.data = StringIO() request.channel.set_terminator(size) request.collector=self Regards, Patrick. On Thu, 31 Mar 2005 01:52:11 -0500, Pavel Zaitsev <[EMAIL PROTECTED]> wrote: > Hi, > I am wondering what code in Zope 2.7.5-final potentially may use /tmp > directory for temprorary files. > I am using zope over webdav and sometimes webdav tries to create a tmp > file, of some sort and some parts of > the system lock up. There are xml parsers,mime decoders all of which do > have binary code bits, so I asking for expert > advice, if someone knows of what circuimstances zope would use /tmp > directory to create a file... > your help will be greatly appreciated. > Pavel > > ___ > Zope-Dev maillist - Zope-Dev@zope.org > http://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Fwd: [Zope-dev] zope /tmp file usage
I did not understand why people why replying the same answer as I did: that simple I did not reply to the mailing list ;) -- Forwarded message -- From: Patrick DECAT <[EMAIL PROTECTED]> Date: Thu, 31 Mar 2005 11:50:56 +0200 Subject: Re: [Zope-dev] zope /tmp file usage To: Pavel Zaitsev <[EMAIL PROTECTED]> Hi Pavel, when files are uploaded with WebDAV, they are part of an HTTP PUT request. If the file is larger than LARGE_FILE_THRESHOLD, a temporary file is created by the zhttp_collector in HTTPServer.py class zhttp_collector: def __init__(self, handler, request, size): from ZServer import LARGE_FILE_THRESHOLD self.handler = handler self.request = request if size > LARGE_FILE_THRESHOLD: # write large upload data to a file from tempfile import TemporaryFile self.data = TemporaryFile('w+b') else: self.data = StringIO() request.channel.set_terminator(size) request.collector=self Regards, Patrick. On Thu, 31 Mar 2005 01:52:11 -0500, Pavel Zaitsev <[EMAIL PROTECTED]> wrote: > Hi, > I am wondering what code in Zope 2.7.5-final potentially may use /tmp > directory for temprorary files. > I am using zope over webdav and sometimes webdav tries to create a tmp > file, of some sort and some parts of > the system lock up. There are xml parsers,mime decoders all of which do > have binary code bits, so I asking for expert > advice, if someone knows of what circuimstances zope would use /tmp > directory to create a file... > your help will be greatly appreciated. > Pavel > > ___ > Zope-Dev maillist - Zope-Dev@zope.org > http://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Patch: Enable Unicode in ParsedXML
Hi Clemens, On Thu, 24 Mar 2005 12:42:04 +0100, Clemens Robbenhaar <[EMAIL PROTECTED]> wrote: > > First, thanks for the patch! You're welcome. > Second, ParsedXML is not a core Zope product (normally you should have > to install it separately). zope-dev is not exactly the right list to > post for add-on products most of the time. Indeed, but as I've located this product the Zope CVS (http://cvs.zope.org/Products/ParsedXML/), I thought it could > Ususally there is a README.txt in such a separate product containing > contact information for patches, etc. I admit I forgot to check the README.txt for this information. > I just checked the ParsedXML README and the information there is quite > out of date and contains a couple of stale links ... I will bug Martijn > Faassen as he is the current maintainer ;-) Thanks. I also thought about bugging him directly, but I eventually decided to post in this mailing list as I noticed he is subscribed to it. > And, no, the zope core collector is no good place for it. Ok. > Cheers, > Clemens Best regards, Patrick. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Patch: Enable Unicode in ParsedXML
Perhaps I should have submitted it to the Zope Issue Collector? On Thu, 24 Mar 2005 12:27:57 +0100, Patrick DECAT <[EMAIL PROTECTED]> wrote: > Hi, > > this is my first post to this list so I'm not sure this is proper way > to submit a patch. If it is not, please direct me to the correct > place. > > This patch enables Unicode characters in qualified names for XML > documents stored with the ParsedXML product. > > Best regards, > Patrick. > > [EMAIL PROTECTED] /cygdrive/c/Program > Files/Zope-2.7.2-0/Zope-Instance/Products/ParsedXML/DOM > $ diff -c Core.py.orig Core.py > *** Core.py.origTue Apr 27 16:06:20 2004 > --- Core.py Thu Mar 24 12:14:26 2005 > *** > *** 70,76 > return None > return 1 # Indicates "passed". > else: > ! _ok_qualified_name = sre.compile('[a-zA-Z_:][\w\.\-_:]*\Z').match > del sre > > _TupleType = type(()) > --- 70,76 > return None > return 1 # Indicates "passed". > else: > ! _ok_qualified_name = > sre.compile('[a-zA-Z_:][\w\.\-_:]*\Z',sre.UNICODE).match > del sre > > _TupleType = type(()) > ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Patch: Enable Unicode in ParsedXML
Hi, this is my first post to this list so I'm not sure this is proper way to submit a patch. If it is not, please direct me to the correct place. This patch enables Unicode characters in qualified names for XML documents stored with the ParsedXML product. Best regards, Patrick. [EMAIL PROTECTED] /cygdrive/c/Program Files/Zope-2.7.2-0/Zope-Instance/Products/ParsedXML/DOM $ diff -c Core.py.orig Core.py *** Core.py.origTue Apr 27 16:06:20 2004 --- Core.py Thu Mar 24 12:14:26 2005 *** *** 70,76 return None return 1 # Indicates "passed". else: ! _ok_qualified_name = sre.compile('[a-zA-Z_:][\w\.\-_:]*\Z').match del sre _TupleType = type(()) --- 70,76 return None return 1 # Indicates "passed". else: ! _ok_qualified_name = sre.compile('[a-zA-Z_:][\w\.\-_:]*\Z',sre.UNICODE).match del sre _TupleType = type(()) ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )