Re: [Zope] Upgrade Five for Zope 2.9.7?

2008-01-23 Thread Martijn Pieters
, the installation page (http://codespeak.net/z3/five/INSTALL.html) and INSTALL.txt file for Five do not actually explain how to install it. Just download and put it in your Products directory (where you put Reflecto too) and Zope will prefer that version over the one shipped with it. -- Martijn

Re: [Zope-dev] Re: Additional locales for zope.i18n.locales.data?

2007-11-28 Thread Martijn Pieters
work to fix up the loader; I'll probably create a branch to work on this some... Has anyone looked at Babel (http://babel.edgewall.org/)? It includes a python interface to CLDR, which if usable would let us off the hook of maintaining such an interface ourselves. -- Martijn Pieters

Re: [Zope] Bus error

2007-11-26 Thread Martijn Pieters
need the Products directory and the Data.fs and zope.conf files from your Zope instance to reproduce the setup. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope-dev] zope.publisher returns 200 Ok instead of 200 OK

2007-11-13 Thread Martijn Pieters
/112109 -- Martijn Pieters ___ 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

Re: [Zope] error: (10060, 'Operation timed out')

2007-11-12 Thread Martijn Pieters
host from that machine. This is not a Zope problem but a connectivity problem; the smtblib module cannot connect to your SMTP server and times out instead. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] bounties

2007-11-11 Thread Martijn Pieters
They announced the bounties on appropriate lists, like the zope-dev list, for example: http://permalink.gmane.org/gmane.comp.web.zope.devel/9349 -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

[Zope-dev] Interface.__identifier__

2007-11-01 Thread Martijn Pieters
declaration. Should it be added there to lift this attribute above implementation detail status? It can then also be used in zope.component.interface where it could replace the various usages of __module__ + '.' + __name__. -- Martijn Pieters ___ Zope-Dev

Re: [Zope] Zope database file grows when no one is modifying it

2007-10-19 Thread Martijn Pieters
. You may have code that writes to the ZODB on access, not just when someone edits content explicitly. Check the undo log in the ZMI and/or enable trace logging to trace such code. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] How to use Zope2 products in Zope3 ?

2007-10-09 Thread Martijn Pieters
please..? I am afraid that you are correct. Zope 3 does not support Zope 2 products. Instead, Zope 2 is using more and more Zope 3 tech and products get rewritten over time, gradually. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http

Re: [Zope] Re: How to know what are zope doing now?

2007-09-25 Thread Martijn Pieters
On 9/25/07, Garito [EMAIL PROTECTED] wrote: Yes, I installed Zope with an Ubuntu package Google's your friend: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/123755 install python-profiler. -- Martijn Pieters ___ Zope maillist

Re: [Zope] Two ZEO instances running on same server?

2007-09-18 Thread Martijn Pieters
times in both ZEO server instances, I suspect that you have both your Zope clusters write to one Data.fs only. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] cannot access POST content in Zope

2007-08-17 Thread Martijn Pieters
. A properly encoded POST request (multipart/form-data) would be much preferable and easier to deal with than patching Zope ;). -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope-dev] Moving the Zope 2 bugtracker to Launchpad

2007-08-12 Thread Martijn Pieters
in their emails though; today Christian Thuene cleaned up the Z3 bugtracker and I couldn't tell from any of the many bug emails if any related to bugs I cared about. I'll have to file a LP feature-request, I guess. -- Martijn Pieters ___ Zope-Dev maillist - Zope

Re: [Zope] Re: _p_resolveConflict not called on conflict

2007-08-10 Thread Martijn Pieters
propagating conflicts between clients, that *would* be nuts ;-) But it's the only option the ClientStorage has, as it has no clue about conflicts. Only the ZEO server holds enough context for that, AFAICT. -- Martijn Pieters ___ Zope maillist - Zope

Re: [Zope] Re: _p_resolveConflict not called on conflict

2007-08-09 Thread Martijn Pieters
support. It therefore doesn't know anything about conflict resolution. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

Re: [Zope] Re: _p_resolveConflict not called on conflict

2007-08-09 Thread Martijn Pieters
conflict resolution would be less efficient still, as in most cases there is no conflict resolution available. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Martijn Pieters
On 8/7/07, Joachim Schmitz [EMAIL PROTECTED] wrote: but _p_resolveConflict is not invoked. what do I do wrong ? Is ZEO involved? If so, does your ZEO instance have the Product installed (with all it's dependencies), so the ZEO server can access the resolve method? -- Martijn Pieters

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Martijn Pieters
else would it happen? -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] _p_resolveConflict not called on conflict

2007-08-07 Thread Martijn Pieters
On 8/7/07, Joachim Schmitz [EMAIL PROTECTED] wrote: Yes ZEO is involved, but where do I specify a Products-directory in etc/zeo.conf ? You can't, AFAICT. ZEO servers only support one Products directory in their INSTANCE_HOME, it appears. -- Martijn Pieters

Re: [Zope] using smart folder to pick certain number of news articles to display in the home page

2007-06-30 Thread Martijn Pieters
some python coding. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

Re: [Zope] Uncaptured python exception

2007-05-31 Thread Martijn Pieters
that the browser disconnected before the request was completely sent. In other words, the user used the Stop button. Nothing to worry about. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] windos and linux

2007-05-27 Thread Martijn Pieters
but no gif is present.also no errors in the log Use open(dir, 'rb').read() instead, opening the file in binary mode. Windows treats textfiles and binary files differently, thus mangling your GIF file if opened in text mode. -- Martijn Pieters ___ Zope

Re: [Zope] Zope 2, local python script security

2007-05-24 Thread Martijn Pieters
that you want to know if there is any way Authenticated could get at the source anyway. The answer to that question is: no, unless users have additional permissions they cannot see the sourcecode of DTML and Python scripts. -- Martijn Pieters ___ Zope maillist

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py Remove stray a (Vi leftover)

2007-05-04 Thread Martijn Pieters
Log message for revision 75292: Remove stray a (Vi leftover) Changed: U Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py -=- Modified: Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py === ---

[Zope-Checkins] SVN: Zope/branches/2.9/ Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For

2007-05-04 Thread Martijn Pieters
Log message for revision 75431: Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/branches/2.10/doc/CHANGES.txt Merge changelog from 2.9 branch for all fixes I merged from 2.9 to 2.10

2007-05-04 Thread Martijn Pieters
Log message for revision 75432: Merge changelog from 2.9 branch for all fixes I merged from 2.9 to 2.10 Changed: U Zope/branches/2.10/doc/CHANGES.txt -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === ---

[Zope-Checkins] SVN: Zope/branches/2.10/ Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For

2007-05-04 Thread Martijn Pieters
Log message for revision 75433: Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/ Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For

2007-05-04 Thread Martijn Pieters
Log message for revision 75435: Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For Changed: U Zope/trunk/lib/python/ZPublisher/HTTPRequest.py U Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/dtml/browseIndex.dtml Fix DateIndex date display; unpack stored integers into something meaningful. This fixes Collector #2316.

2007-04-27 Thread Martijn Pieters
Log message for revision 74848: Fix DateIndex date display; unpack stored integers into something meaningful. This fixes Collector #2316. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/dtml/browseIndex.dtml -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt Record fix for 2316

2007-04-27 Thread Martijn Pieters
Log message for revision 74851: Record fix for 2316 Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2007-04-27 08:37:14 UTC (rev 74850)

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/dtml/browseIndex.dtml Fix DateIndex date display; unpack stored integers into something meaningful. This fixes Collector #231

2007-04-27 Thread Martijn Pieters
Log message for revision 74849: Fix DateIndex date display; unpack stored integers into something meaningful. This fixes Collector #2316. Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/dtml/browseIndex.dtml -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod. To aid debugging, generate the facade with the same name as the original callable

2007-04-24 Thread Martijn Pieters
Log message for revision 74715: To aid debugging, generate the facade with the same name as the original callable Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py U Zope/trunk/lib/python/AccessControl/requestmethod.txt -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod. Fix potential bug in requestmethod where you cannot specify None for a keyword argument where None is not the default

2007-04-20 Thread Martijn Pieters
Log message for revision 74259: Fix potential bug in requestmethod where you cannot specify None for a keyword argument where None is not the default Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py U Zope/trunk/lib/python/AccessControl/requestmethod.txt -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/AccessControl/requestmethod. Merge default value fix from trunk

2007-04-20 Thread Martijn Pieters
Log message for revision 74261: Merge default value fix from trunk Changed: U Zope/branches/2.9/lib/python/AccessControl/requestmethod.py U Zope/branches/2.9/lib/python/AccessControl/requestmethod.txt -=- Modified: Zope/branches/2.9/lib/python/AccessControl/requestmethod.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/AccessControl/requestmethod. Merge default value fix from trunk

2007-04-20 Thread Martijn Pieters
Log message for revision 74260: Merge default value fix from trunk Changed: U Zope/branches/2.10/lib/python/AccessControl/requestmethod.py U Zope/branches/2.10/lib/python/AccessControl/requestmethod.txt -=- Modified: Zope/branches/2.10/lib/python/AccessControl/requestmethod.py

Re: [Zope] Changing links base address

2007-04-13 Thread Martijn Pieters
sets the servername to. So if you use Apache rewrite rules with the VirtualHostMonster, you only have to change the rewrite rule and all absolute URLs will be correct. -- Martijn Pieters ___ Zope maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod.py Thanks to _facade, the request argument is always present in *args

2007-04-04 Thread Martijn Pieters
Log message for revision 73997: Thanks to _facade, the request argument is always present in *args Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py -=- Modified: Zope/trunk/lib/python/AccessControl/requestmethod.py

Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread Martijn Pieters
On 4/4/07, michael nt milne [EMAIL PROTECTED] wrote: Module Products.Five.traversable, line 115, in __bobo_traverse__ AttributeError: previous Have you tried a more recent Zope 2.9 release? -- Martijn Pieters ___ Zope maillist - Zope@zope.org

Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread Martijn Pieters
includes a newer version of Five as well. We run plenty of Plone 2.5 sites on Zope 2.9 without any problems. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread Martijn Pieters
but not the new one. Any ideas? Did you compile the Zope C extensions? ./configure; make -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread Martijn Pieters
, am not familiar (yet) with what the unified installer does, as I install Python, Zope and Plone from source. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod. Extend the requestmethod decorator factory to allow multiple request methods

2007-04-03 Thread Martijn Pieters
Log message for revision 73992: Extend the requestmethod decorator factory to allow multiple request methods Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py U Zope/trunk/lib/python/AccessControl/requestmethod.txt -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/dtml/owner.dtml Fix #2303: make take ownership form use POST

2007-03-30 Thread Martijn Pieters
Log message for revision 73946: Fix #2303: make take ownership form use POST Changed: U Zope/trunk/lib/python/AccessControl/dtml/owner.dtml -=- Modified: Zope/trunk/lib/python/AccessControl/dtml/owner.dtml === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/AccessControl/dtml/owner.dtml Fix #2303: make take ownership form use POST

2007-03-30 Thread Martijn Pieters
Log message for revision 73947: Fix #2303: make take ownership form use POST Changed: U Zope/branches/2.10/lib/python/AccessControl/dtml/owner.dtml -=- Modified: Zope/branches/2.10/lib/python/AccessControl/dtml/owner.dtml ===

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/AccessControl/dtml/owner.dtml Fix #2303: make take ownership form use POST

2007-03-30 Thread Martijn Pieters
Log message for revision 73949: Fix #2303: make take ownership form use POST Changed: U Zope/branches/Zope-2_8-branch/lib/python/AccessControl/dtml/owner.dtml -=- Modified: Zope/branches/Zope-2_8-branch/lib/python/AccessControl/dtml/owner.dtml

[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt Hmm, this never made it in. No matter, just set the SVN record straigt for future releases

2007-03-27 Thread Martijn Pieters
Log message for revision 73720: Hmm, this never made it in. No matter, just set the SVN record straigt for future releases Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === ---

[Zope-Checkins] SVN: Zope/branches/2.9/ Collector #2300: delimit *all* headers with CRLF; accumulated_headers and appendHeader use \n for delimeters and never get corrected on output

2007-03-27 Thread Martijn Pieters
Log message for revision 73721: Collector #2300: delimit *all* headers with CRLF; accumulated_headers and appendHeader use \n for delimeters and never get corrected on output Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/ZServer/HTTPResponse.py U

[Zope-Checkins] SVN: Zope/trunk/ Mark ZCatalog catalog brains with an interface

2007-03-27 Thread Martijn Pieters
Log message for revision 73762: Mark ZCatalog catalog brains with an interface Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Products/ZCatalog/CatalogBrains.py U Zope/trunk/lib/python/Products/ZCatalog/interfaces.py -=- Modified: Zope/trunk/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/Five/browser/ Fix Collector #2264: browser:view should set __name__

2007-03-27 Thread Martijn Pieters
Log message for revision 73766: Fix Collector #2264: browser:view should set __name__ Changed: U Zope/trunk/lib/python/Products/Five/browser/metaconfigure.py U Zope/trunk/lib/python/Products/Five/browser/tests/pages.txt U Zope/trunk/lib/python/Products/Five/browser/tests/pages.zcml

[Zope-Checkins] SVN: Products.Five/branches/1.3/browser/ Merge Collector #2264 fix from Zope trunk: browser:view should set __name__

2007-03-27 Thread Martijn Pieters
Log message for revision 73768: Merge Collector #2264 fix from Zope trunk: browser:view should set __name__ Changed: U Products.Five/branches/1.3/browser/metaconfigure.py U Products.Five/branches/1.3/browser/tests/pages.txt U Products.Five/branches/1.3/browser/tests/pages.zcml -=-

[Zope-dev] Re: Views on catalog results

2007-03-27 Thread Martijn Pieters
On 3/12/07, Martijn Pieters [EMAIL PROTECTED] wrote: - Create an ICatalogResult interface and use a five:implements directive to configure ZCatalog.CatalogBrains.AbstractCatalogBrain as implementing it. [...] I'd like to add this to Zope trunk, with Traversable a base class

[Zope-Checkins] SVN: Zope/trunk/lib/python/App/ApplicationManager.py Add missing REQUEST parameter

2007-03-26 Thread Martijn Pieters
Log message for revision 73642: Add missing REQUEST parameter Changed: U Zope/trunk/lib/python/App/ApplicationManager.py -=- Modified: Zope/trunk/lib/python/App/ApplicationManager.py === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/App/ApplicationManager.py Add missing REQUEST parameter

2007-03-26 Thread Martijn Pieters
Log message for revision 73643: Add missing REQUEST parameter Changed: U Zope/branches/2.10/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/2.10/lib/python/App/ApplicationManager.py === ---

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/App/ApplicationManager.py Add missing REQUEST parameter

2007-03-26 Thread Martijn Pieters
Log message for revision 73644: Add missing REQUEST parameter Changed: U Zope/branches/2.9/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/2.9/lib/python/App/ApplicationManager.py === ---

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py Add missing REQUEST parameter

2007-03-26 Thread Martijn Pieters
Log message for revision 73645: Add missing REQUEST parameter Changed: U Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py ===

Re: [Zope-dev] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem

2007-03-26 Thread Martijn Pieters
with zopectl start. -- Martijn Pieters ___ 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

Re: [Zope-dev] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem

2007-03-26 Thread Martijn Pieters
On 3/26/07, Martijn Pieters [EMAIL PROTECTED] wrote: Tres Seaver added the decorators to the Control_Panel and must've missed the REQUEST parameter on manage_restart, which only comes into effect when running the zope process with zopectl start. Fixed on the trunk, and the 2.8, 2.9 and 2.10

Re: [Zope-dev] Retracting Zope 2.9.7, Zope 2.10.3 releases because of a zopectl start problem

2007-03-26 Thread Martijn Pieters
On 3/26/07, Andreas Jung [EMAIL PROTECTED] wrote: The penalty for this bug: two bottles of wine. You know where to send the bill. ;) The workaround is to add REQUEST as optional parameter to manage_restart()? No, it's 'svn up' now, as I fixed it already. :) -- Martijn Pieters

Re: [Zope] Some __bobo_traverse__ help

2007-03-26 Thread Martijn Pieters
On 3/26/07, Dieter Maurer [EMAIL PROTECTED] wrote: Martijn is a Five expert and told you things that may happen when Five is heavily used. Not as much as the other one though. ;) I (Martijn Pieters) attempted to help out, Martijn Faassen is the Five expert. I do not think that your problem

[Zope] Re: [Zope-Annce] Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released

2007-03-26 Thread Martijn Pieters
setting. This was one of those rare cases of bad luck, as the developer in question was not aware of the fact that this one special-cased method was not covered by a unit or functional test. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http

Re: [Zope] Re: Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released

2007-03-26 Thread Martijn Pieters
(methodName) That's how the postonly decorator is applied in 2.8 and in the Hotfix, and the REQUEST parameter is still required. I fixed this in the 2.8 branch as well last night. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] context.user at ImplPython.py

2007-03-23 Thread Martijn Pieters
a callable from your traverser (so return the __call__, don't call it yourself). The publisher will call it for you after the user has been authenticated. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Corrupted ZPT Locks Me Out Of Folder

2007-03-23 Thread Martijn Pieters
expat.ParserCreate(encoding, ' ') In other words, reinstall expat and your ZPT page will reappear. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] context.user at ImplPython.py

2007-03-23 Thread Martijn Pieters
Wrapper().__of__(self) else: return getattr(self, name) This way the security policies can still look up the security context. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] context.user at ImplPython.py

2007-03-23 Thread Martijn Pieters
by the publisher, so *it* needs to implement __call__, but index_html and __str__ may also do. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] context.user at ImplPython.py

2007-03-23 Thread Martijn Pieters
with the contents of Zope books here, so I can't directly recommend anything here either. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/ Fix two snafus:

2007-03-21 Thread Martijn Pieters
Log message for revision 73418: Fix two snafus: - Python 2.3 doesn't support the @decorator syntax - Owner.py methods weren't protected Also, python 2.3's doctest module doesn't have any unittest integration, just remove the test_requestmethod.py glue. Changed: U

Re: [Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-21 Thread Martijn Pieters
On 3/21/07, Stefan H. Holek [EMAIL PROTECTED] wrote: Python 2.3 does not support the @decorator syntax. My bad, I'll fix. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-21 Thread Martijn Pieters
-in replacement for the doctest module (in fact, it's the one from Python 2.4). You probably want to use that instead of deleting the test case ;). W00t! Didn't know about that one, thanks! Test re-instated. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev

[Zope-Annce] Hotfix for cross-site scripting vulnerability

2007-03-20 Thread Martijn Pieters
/ Hotfix-20070320/README.txt, for installation instructions. - -- Martijn Pieters -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFF/54F3xaj2GOvgP0RAt2tAJ9YjecowrNAEx08+6GdxNP4sk4aagCfaODt aeZE9vqYxwF3ICjrHVcAFNE= =DnMj -END PGP SIGNATURE

[Zope-Checkins] SVN: Zope/trunk/ - Add a request method decorator to AccessControl, creating decorators that limit a method to one request method only.

2007-03-20 Thread Martijn Pieters
Log message for revision 73386: - Add a request method decorator to AccessControl, creating decorators that limit a method to one request method only. - Protect various security-setting-mutators with a POST-only decorator. Changed: U Zope/trunk/doc/CHANGES.txt U

[Zope-Checkins] SVN: Zope/branches/2.10/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-20 Thread Martijn Pieters
Log message for revision 73388: - Backport a postonly decorator from Zope trunk's requestmethod decorator factory. - Protect various security-setting-mutators with this decorator. Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/AccessControl/Owned.py U

[Zope-Checkins] SVN: Zope/branches/2.9/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-20 Thread Martijn Pieters
Log message for revision 73389: - Backport a postonly decorator from Zope trunk's requestmethod decorator factory. - Protect various security-setting-mutators with this decorator. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/AccessControl/Owned.py U

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-20 Thread Martijn Pieters
Log message for revision 73390: - Backport a postonly decorator from Zope trunk's requestmethod decorator factory. - Protect various security-setting-mutators with this decorator. Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U

[Zope-Checkins] SVN: Zope/hotfixes/ Import POST-only hotfix

2007-03-20 Thread Martijn Pieters
Log message for revision 73391: Import POST-only hotfix Changed: A Zope/hotfixes/README.txt A Zope/hotfixes/__init__.py A Zope/hotfixes/tests/ A Zope/hotfixes/tests/__init__.py A Zope/hotfixes/tests/test_hotfix.py A Zope/hotfixes/version.txt -=- Added:

[Zope-Checkins] SVN: Zope/hotfixes/ Undo botched import

2007-03-20 Thread Martijn Pieters
Log message for revision 73392: Undo botched import Changed: D Zope/hotfixes/README.txt D Zope/hotfixes/__init__.py D Zope/hotfixes/tests/ D Zope/hotfixes/version.txt -=- Deleted: Zope/hotfixes/README.txt === ---

[Zope-Checkins] SVN: Zope/hotfixes/Hotfix_20070320/ Undo botched import

2007-03-20 Thread Martijn Pieters
Log message for revision 73393: Undo botched import Changed: A Zope/hotfixes/Hotfix_20070320/ A Zope/hotfixes/Hotfix_20070320/README.txt A Zope/hotfixes/Hotfix_20070320/__init__.py A Zope/hotfixes/Hotfix_20070320/tests/ A Zope/hotfixes/Hotfix_20070320/tests/__init__.py A

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod.py Add backward compatible postonly decorator

2007-03-20 Thread Martijn Pieters
Log message for revision 73395: Add backward compatible postonly decorator Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py -=- Modified: Zope/trunk/lib/python/AccessControl/requestmethod.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod.py Add comment about postonly status

2007-03-20 Thread Martijn Pieters
Log message for revision 73396: Add comment about postonly status Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py -=- Modified: Zope/trunk/lib/python/AccessControl/requestmethod.py === ---

[Zope-dev] Cannot run zopectl fg on Zope trunk

2007-03-17 Thread Martijn Pieters
' -- Martijn Pieters ___ 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

Re: [Zope-dev] Cannot run zopectl fg on Zope trunk

2007-03-17 Thread Martijn Pieters
. -- Martijn Pieters ___ 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-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/ Add a 'method' key to the HTTPRequest.other, containing the uppercased REQUEST_METHOD. This makes HTTPRequest a little bit more compatible with Z

2007-03-16 Thread Martijn Pieters
Log message for revision 73217: Add a 'method' key to the HTTPRequest.other, containing the uppercased REQUEST_METHOD. This makes HTTPRequest a little bit more compatible with Zope3 IHTTPRequest. Changed: U Zope/trunk/lib/python/ZPublisher/HTTPRequest.py U

Re: [Zope] build a safe proxy

2007-03-16 Thread Martijn Pieters
to create the compiled expression, together with a expression context (a global namespace for the expressions to access) -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope-dev] Re: [Zope3-dev] Google Summer of Code

2007-03-14 Thread Martijn Pieters
this one also useful: http://primates.ximian.com/~federico/docs/summer-of-code-mentoring-howto/index.html That's the correct link! Corrected on the Wiki. :) Thanks! -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org

Re: [Zope-dev] Re: [Zope3-dev] Google Summer of Code

2007-03-13 Thread Martijn Pieters
How-To: http://plone.org/products/plone/releases/SoC-2007 I added it to the Wiki page. It should be mandatory reading for any potential mentor! -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-dev] Views on catalog results

2007-03-12 Thread Martijn Pieters
guards (no meaningful context to look up on) and guard expressions need to be written taking into account that the context is either a real content object or a catalog result. These limitations were not a problem for the workflows involved. -- Martijn Pieters

Re: [Zope] Calling a Variable

2007-03-09 Thread Martijn Pieters
underdocumented, but it is not a recent addition.. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Calling a Variable

2007-03-08 Thread Martijn Pieters
tal:content=here/?foo/span The above example will look up 'bar' and render it as the content of the span. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope-dev] Re: [Zope3-dev] Google Summer of Code

2007-03-06 Thread Martijn Pieters
On 3/5/07, Martijn Pieters [EMAIL PROTECTED] wrote: On 3/5/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Great. I've added you to http://wiki.zope.org/zope3/SummerOfCode2007. If you happen to have any project suggestions, feel free to add them to the list. I've added myself

Re: [Zope-dev] Re: [Zope3-dev] Google Summer of Code

2007-03-05 Thread Martijn Pieters
On 3/5/07, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Great. I've added you to http://wiki.zope.org/zope3/SummerOfCode2007. If you happen to have any project suggestions, feel free to add them to the list. I've added myself to the mentors list as well. -- Martijn Pieters

Re: [Zope] Zope modules

2007-03-05 Thread Martijn Pieters
with the base product. Do we need to install a different version? Or add some modules, if so, from where? Perl scripts died a painless death a long time ago. Versions were removed in 2.8, mostly because the implementation was seriously broken. -- Martijn Pieters

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/ Fix for #2288: do not quote + and @ characters when forming BaseRequest and HTTPRequest URL variables

2007-03-04 Thread Martijn Pieters
Log message for revision 72971: Fix for #2288: do not quote + and @ characters when forming BaseRequest and HTTPRequest URL variables Changed: U Zope/trunk/lib/python/ZPublisher/BaseRequest.py U Zope/trunk/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/branches/2.10/ Merge fix for #2288: do not quote + and @ characters when forming BaseRequest and HTTPRequest URL variables

2007-03-04 Thread Martijn Pieters
Log message for revision 72972: Merge fix for #2288: do not quote + and @ characters when forming BaseRequest and HTTPRequest URL variables Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/ZPublisher/BaseRequest.py U

[Zope-Checkins] SVN: Zope/branches/2.9/ Backport fix for 2288, together with part of the 2.10 tests for z3 views

2007-03-04 Thread Martijn Pieters
Log message for revision 72974: Backport fix for 2288, together with part of the 2.10 tests for z3 views Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/ZPublisher/BaseRequest.py U Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py U

Re: [Zope] Are ZEXP files safe?

2007-03-02 Thread Martijn Pieters
with ZEXP import? You heard correctly; pickles can contain arbitrary python classes and code and no security checks are done when importing ZEXP files. This means a user can completely control your server with a correctly crafted upload. -- Martijn Pieters

Re: [Zope] Suggestion for an opensource barchart/piechart graphic package in python

2007-02-17 Thread Martijn Pieters
at pychart: http://home.gna.org/pychart/. There is a How-To on using this package in Plone, it shouldn't be hard to extract from the given examples how to use pychart in your own project: http://plone.org/documentation/how-to/add-charts -- Martijn Pieters

Re: [Zope] SecureMailHost Error

2007-02-11 Thread Martijn Pieters
Google to fix their SMTP server. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] documentation about the :method

2007-02-08 Thread Martijn Pieters
receives a form for server/path/, and modifies the request to go to server/path/foo instead. If 'bar:method' was pressed, the request ends up at server/path/bar instead. HTH, -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] documentation about the :method

2007-02-08 Thread Martijn Pieters
On 2/8/07, Manuel Spuhler [EMAIL PROTECTED] wrote: quoted from http://www.plope.com/Books/2_7Edition/ScriptingZope.stx Heh, I completely missed the fact that :method has been renamed to :action. Thanks for the correction! -- Martijn Pieters ___ Zope

Re: [Zope] zope, webdav, ical, vcalendar, etc.

2007-02-03 Thread Martijn Pieters
and templates. Use the regular HTTP port for WebDAV access if you require templates and scripts to be rendered; Zope supports WebDAV access on the regular HTTP port out of the box. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http

<    1   2   3   4   5   6   >