Re: [Zope] Zope Debugger lets WingDbg fail to connect toclient
sdeibel wrote: Sorry to hear that, maybe you could recommend zdb to people in the meantime ;-) That won't help people debugging wxPython, of course... ;-) Silly people, they should be developing for a browser instead 0.5 wink I should have said in CMF -- with the addition of FSObject it looked like things were heading towards a cleaner state of affairs. This is just a general impression based on looking at successive versions of this code a few times a year, so I could be misunderstanding the motivation for the changes. Hmmm, yeah, but FS-based objects aren't the only things people need to debug... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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/mailman/listinfo/zope-dev )
[Zope] change objects id
How can I change an objects id from a python script? Sorry if it's sth obvious, can't figute it out... ___ 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/mailman/listinfo/zope-dev )
Re: [Zope] change objects id
--On 27. März 2006 16:46:47 +0300 George [EMAIL PROTECTED] wrote: How can I change an objects id from a python script? Sorry if it's sth obvious, can't figute it out... you mean renaming an object inside an object container? look at manage_renameObjects(old_ids, new_ids). -aj --- - Andreas JungZOPYX Ltd. Co KG- - E-mail: [EMAIL PROTECTED] Web: www.zopyx.com, www.zopyx.de - --- pgp8yWaMw9G9J.pgp Description: PGP signature ___ 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/mailman/listinfo/zope-dev )
Re: [Zope] change objects id
Thx for the prompt responses! manage_renameObject was exactly what I needed!On 3/27/06, Patrick Decat [EMAIL PROTECTED] wrote:container.manage_renameObject(old_id, new_id)On 3/27/06, George [EMAIL PROTECTED] wrote: How can I change an objects id from a python script? Sorry if it's sth obvious, can't figute it out... ___ 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-announcehttp://mail.zope.org/mailman/listinfo/zope-dev ) ___ 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/mailman/listinfo/zope-dev )
Re: [Zope] change objects id
container.manage_renameObject(old_id, new_id) On 3/27/06, George [EMAIL PROTECTED] wrote: How can I change an objects id from a python script? Sorry if it's sth obvious, can't figute it out... ___ 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/mailman/listinfo/zope-dev ) ___ 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/mailman/listinfo/zope-dev )
[Zope] Permission denied running Zope 2.8.5 configure
Hello, list. I am attempting to install the following components under FreeBSD 4.11: - Python 2.3.5 - Zope 2.8.5 - Plone 2.1.2 under a directory structure like: /usr/local/zope /software-home /python /zope /plone /... /instance-home /www.climatelaw.org /www.example.org /... Python 2.3.5 is installed in /usr/local/zope/software-home/python/ and appears to be working correctly. This server is also already successfully running Zope 2.6.1 under Python 2.1. When attempting to configure Zope 2.8.5, however, I receive the following error from configure: [EMAIL PROTECTED]:www.climatelaw.org]$ /usr/local/zope/software-home/zope/configure --prefix=/usr/local/zope/instance-home/www.climatelaw.org/ --with-python=/usr/local/zope/software-home/python/ Using Python interpreter at /usr/local/zope/software-home/python/ Configuring Zope installation /usr/local/zope/software-home/zope/configure: /usr/local/zope/software-home/python/: permission denied I am installing as user zope, which owns both the directory, subdirectories and files within /usr/local/zope: [EMAIL PROTECTED]:local]$ ls -ld zope drwxrwxr-x 5 zope zope 512 Mar 23 12:22 zope The python interpreter also is also owned by user zope and permissions are set as 755: lrwxr-xr-x 1 zope zope 12 Mar 14 13:02 python - Python-2.3.5 I've searched the archives of this list and not found this particular permission problem described. I am at a loss as to what exactly is denying permission to what, much less how to correct the problem. I would prefer not to have to configure and install Zope as root. Any help very appreciated. Glenn E-LAW U.S. Information Technology Manager Environmental Law Alliance Worldwide http://www.elaw.org smime.p7s Description: S/MIME Cryptographic Signature ___ 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/mailman/listinfo/zope-dev )
Re: [Zope] Permission denied running Zope 2.8.5 configure
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When attempting to configure Zope 2.8.5, however, I receive the following error from configure: [EMAIL PROTECTED]:www.climatelaw.org]$ /usr/local/zope/software-home/zope/configure --prefix=/usr/local/zope/instance-home/www.climatelaw.org/ --with-python=/usr/local/zope/software-home/python/ Using Python interpreter at /usr/local/zope/software-home/python/ Configuring Zope installation /usr/local/zope/software-home/zope/configure: /usr/local/zope/software-home/python/: permission denied What is that slash doing at the end of /usr/local/zope/software-home/ python/? That directive is supposed to point to the Python binary, not some folder. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEKFTxRAx5nvEhZLIRAhKCAKC4NPpKrK9UJLKKpCWqPZXfvmexXACglP7d IyboJ2Ez5CXU+zpFeFi8nuA= =ixmT -END PGP SIGNATURE- ___ 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/mailman/listinfo/zope-dev )
[Zope] How to do this trick..
Hi,I'm wondering how I can do this little trick (sp_info is a globaly devide var, it's a dictionary obj): option tal:repeat=group groups/existing/high tal:content=group tal:attributes=onmouseover string:doTooltip(event, '${sp_info/${group}/common_name}') > /option So based on my the value of 'group' from my repeat, I want to use the value to look up another value in a different dictionary. It works if I do this: (event, '${sp_info/whatever/common_name}') but does not like me using the embedded ${group}. Thanks,Jason.-- Jason C. Leach PGP Key: 0x62DDDF75 Keyserver: gpg.mit.edu ___ 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/mailman/listinfo/zope-dev )
Re: [Zope] How to do this trick..
tal:repeat repeat=group groups/existing/high option tal:define=js_arg python:sp_info[group]; tal:content=group tal:attributes=onmouseover string:doTooltip(event, '${js_arg}/common_name}') onmouseout=hideTip() /option /tal:repeat The tal:repeat tags are to make sure the order of TAL operations works properly with the tal:define being done *after* the tal:repeat. Hope this helps. Ross ___ 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/mailman/listinfo/zope-dev )
Re: [Zope] How to do this trick..
Jason C. Leach wrote: I'm wondering how I can do this little trick (sp_info is a globaly devide var, it's a dictionary obj): option tal:repeat=group groups/existing/high tal:content=group tal:attributes=onmouseover string:doTooltip(event, '${sp_info/${group}/common_name}') onmouseout=hideTip() /option So based on my the value of 'group' from my repeat, I want to use the value to look up another value in a different dictionary. It works if I do this: (event, '${sp_info/whatever/common_name}') but does not like me using the embedded ${group}. The ${var} syntax is only for inserting a value in a string expression. Path expressions only take known names. If you want to look up a value based on a variable, you must use Python. Look at the first half of this: http://plone.org/documentation/how-to/addContentProgrammatically --jcc -- Building Websites with Plone http://plonebook.packtpub.com ___ 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/mailman/listinfo/zope-dev )
[Zope] kupu drawers
Hi! I try to create a image library for the image drawer but when I click on the drawer button an error is raise: this.shared.xmldata.setProperty is not a function I supouse that the error is raised because the xml is incorrect but I can't see where Can you help me? This is the XML: ?xml version=1.0 ? libraries library id=Galeria urihttp://yanged:9180/EspaciosYanged/Huete/huete.cc/Carpeta Imagenes/Ver/Galeria/uri titleGaleria de fotos/title srchttp://yanged:9180/EspaciosYanged/Huete/huete.cc/Carpeta Imagenes/Ver/Galeria/src iconhttp://yanged:9180/EspaciosYanged/Huete/huete.cc/Imagenes/CarpetaImagenes.png/icon /librarylibrary id=Imagenes urihttp://yanged:9180/EspaciosYanged/Huete/huete.cc/Carpeta Imagenes/Ver/Imagenes/uri titleImagenes de la web/title srchttp://yanged:9180/EspaciosYanged/Huete/huete.cc/Carpeta Imagenes/Ver/Imagenes/src iconhttp://yanged:9180/EspaciosYanged/Huete/huete.cc/Imagenes/CarpetaImagenes.png/icon /library /libraries Thanks a lot! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ 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/mailman/listinfo/zope-dev )
[Zope] OWASP Top Ten Most Critical Web Application Security Vulnerabilities
The Web Development Group at our office is currently trying to compose a white paper addressing the steps Zope, Plone and Python take to ensure secure web applications, as well as additional steps developers should take to keep it that way. Current documentation existing on the web does not seem to specifically address the concerns many of our customers express. We often find ourselves spending more time defending the technology and its security than we spend on development itself. We decided it is time to write a paper to put all concerns and questions to rest. The goal we are aiming for is to dig deeper than the current documentation and work on explaining the intricate details of what makes each of these technologies secure from attacks and security weaknesses. As a starting point, we are looking at the top ten critical web application security vulnerabilities put out by The Open Web Application Security Project (http://www.owasp.org/documentation/topten.html). We are far from being the experts on this subject matter, even though we try to get a bit closer every day. Any help from the mastermind developers themselves would be greatly appreciated and only add to the validity of the white paper. Once the paper is complete, we are willing to publish it for the communities to use for their own purposes. Please provide any input or suggestions you have. The more people help, the better the resulting paper will become. Stacy Ladnier Software Engineer/Web Developer Anteon Corporation ___ 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/mailman/listinfo/zope-dev )
[Zope] Re: How to do this trick..
Jason C. Leach wrote: Hi, I'm wondering how I can do this little trick (sp_info is a globaly devide var, it's a dictionary obj): option tal:repeat=group groups/existing/high tal:content=group tal:attributes=onmouseover string:doTooltip(event, '${sp_info/${group}/common_name}') onmouseout=hideTip() /option So based on my the value of 'group' from my repeat, I want to use the value to look up another value in a different dictionary. It works if I do this: (event, '${sp_info/whatever/common_name}') but does not like me using the embedded ${group}. You can insert the value of a dynamically named variable using the '?' specifier:: tal:attributes=onmouseover string:doTooltip(event, '${sp_info/?group/common_name}') should do the trick. This only works inside path expressions. Hth, Michael -- http://zope.org/Members/d2m http://planetzope.org ___ 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/mailman/listinfo/zope-dev )
[Zope] Keyerror removing ZStylesheet
I've shot my self in the foot removing ZStylesheet from my app. When ever I try and view it, i get a key error. I've tried reloading ZStylesheet and various imports and exports but its sticking with me. Is there any easy way of fixing this sort of thing? --john ___ 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/mailman/listinfo/zope-dev )
[Zope] ZStylesheet, Whoops, hold that problem!
I've just realised it was a bit of TAL that ZSS had put in there. sorry about that-- ___ 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/mailman/listinfo/zope-dev )
[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/ Move registration of traversing adapters out to its own file, along with the inclusion
Log message for revision 66229: Move registration of traversing adapters out to its own file, along with the inclusion of zope.app.traversing. Move the inclusion of zope.app.event out to event.zcml. Changed: U Products.Five/branches/philikon-local-components/configure.zcml U Products.Five/branches/philikon-local-components/event.zcml A Products.Five/branches/philikon-local-components/traversing.zcml -=- Modified: Products.Five/branches/philikon-local-components/configure.zcml === --- Products.Five/branches/philikon-local-components/configure.zcml 2006-03-27 07:55:33 UTC (rev 66228) +++ Products.Five/branches/philikon-local-components/configure.zcml 2006-03-27 10:39:33 UTC (rev 66229) @@ -6,6 +6,7 @@ include file=i18n.zcml / include file=event.zcml/ include file=deprecated.zcml/ + include file=traversing.zcml/ include package=.component / include package=.site / include package=.browser / @@ -14,28 +15,6 @@ include package=.skin / include package=.utilities / - include package=zope.app.event / - include package=zope.app.traversing / - - !-- do 'traditional' traversing by default; needed by ZPT -- - adapter - for=* - factory=.traversable.FiveTraversable - provides=zope.app.traversing.interfaces.ITraversable - / - - adapter - for=* - factory=zope.app.traversing.adapters.Traverser - provides=zope.app.traversing.interfaces.ITraverser - / - - adapter - for=* - factory=.viewable.BrowserDefault - provides=.interfaces.IBrowserDefault - / - !-- this is really lying, but it's to please checkContainer -- five:implements class=OFS.ObjectManager.ObjectManager interface=zope.app.container.interfaces.IContainer / Modified: Products.Five/branches/philikon-local-components/event.zcml === --- Products.Five/branches/philikon-local-components/event.zcml 2006-03-27 07:55:33 UTC (rev 66228) +++ Products.Five/branches/philikon-local-components/event.zcml 2006-03-27 10:39:33 UTC (rev 66229) @@ -1,5 +1,8 @@ configure xmlns=http://namespaces.zope.org/zope; + !-- Enable object event dispatcher -- + include package=zope.app.event / + !-- Adapter giving sublocations for ObjectManagers, used by dispatchToSublocations -- Added: Products.Five/branches/philikon-local-components/traversing.zcml === --- Products.Five/branches/philikon-local-components/traversing.zcml 2006-03-27 07:55:33 UTC (rev 66228) +++ Products.Five/branches/philikon-local-components/traversing.zcml 2006-03-27 10:39:33 UTC (rev 66229) @@ -0,0 +1,29 @@ +configure xmlns=http://namespaces.zope.org/zope; + xmlns:five=http://namespaces.zope.org/five; + + !-- define default namespace adapters, etc. -- + include package=zope.app.traversing / + + !-- use ITraverser/ITraversable duo for both publishing traversal + and object graph traversal; this should change in the future, + publishing traversal should use IPublishTraverse -- + + adapter + for=* + factory=.traversable.FiveTraversable + provides=zope.app.traversing.interfaces.ITraversable + / + + adapter + for=* + factory=zope.app.traversing.adapters.Traverser + provides=zope.app.traversing.interfaces.ITraverser + / + + adapter + for=* + factory=.viewable.BrowserDefault + provides=.interfaces.IBrowserDefault + / + +/configure Property changes on: Products.Five/branches/philikon-local-components/traversing.zcml ___ Name: svn:eol-style + native ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/site/ Convert some uses of ISiteManager to IComponentLookup.
Log message for revision 66230: Convert some uses of ISiteManager to IComponentLookup. Get rid of some deprecated stuff that is to go away for Five 1.5. Changed: U Products.Five/branches/philikon-local-components/site/interfaces.py U Products.Five/branches/philikon-local-components/site/tests/test_localsite.py U Products.Five/branches/philikon-local-components/site/utility.py -=- Modified: Products.Five/branches/philikon-local-components/site/interfaces.py === --- Products.Five/branches/philikon-local-components/site/interfaces.py 2006-03-27 10:39:33 UTC (rev 66229) +++ Products.Five/branches/philikon-local-components/site/interfaces.py 2006-03-27 10:40:29 UTC (rev 66230) @@ -16,7 +16,7 @@ $Id: interfaces.py 18584 2005-10-14 17:13:27Z regebro $ from zope.interface import Interface, Attribute -from zope.component.interfaces import ISiteManager +from zope.component.interfaces import IComponentLookup class IRegisterUtilitySimply(Interface): Register utilities simply @@ -76,7 +76,7 @@ returned. -class IFiveSiteManager(ISiteManager, IRegisterUtilitySimply): +class IFiveSiteManager(IComponentLookup, IRegisterUtilitySimply): Five site manager For the sake of forward-portability, registering utilities can be @@ -84,12 +84,3 @@ utility service (this corresponds to Zope 3.1's understanding of site managers). An implementation of this interface will probably delegate the work to an IFiveUtilityService component, though. - - -# BBB 2005/11/01 -- gone in Five 1.5. -IFiveUtilityService = IFiveUtilityRegistry -import zope.deprecation -zope.deprecation.deprecated( -'IFiveUtilityService', 'IFiveUtilityService' has been renamed to -'IFiveUtilityRegistry' and will disappear in Five 1.5. -) Modified: Products.Five/branches/philikon-local-components/site/tests/test_localsite.py === --- Products.Five/branches/philikon-local-components/site/tests/test_localsite.py 2006-03-27 10:39:33 UTC (rev 66229) +++ Products.Five/branches/philikon-local-components/site/tests/test_localsite.py 2006-03-27 10:40:29 UTC (rev 66230) @@ -26,7 +26,7 @@ import zope.interface from zope.component import getGlobalSiteManager, getSiteManager from zope.component.interfaces import ComponentLookupError -from zope.component.interfaces import ISiteManager +from zope.component.interfaces import IComponentLookup from zope.app.component.hooks import setSite, getSite, setHooks from zope.app.component.interfaces import IPossibleSite, ISite from zope.app.traversing.interfaces import IContainmentRoot @@ -39,7 +39,7 @@ from Products.Five import zcml class SiteManager(Implicit): -zope.interface.implements(ISiteManager) +zope.interface.implements(IComponentLookup) class Folder(ObjectManager): @@ -57,7 +57,7 @@ return getGlobalSiteManager() class SiteManagerStub(object): -zope.interface.implements(ISiteManager) +zope.interface.implements(IComponentLookup) class SiteManagerTest(PlacelessSetup, unittest.TestCase): Modified: Products.Five/branches/philikon-local-components/site/utility.py === --- Products.Five/branches/philikon-local-components/site/utility.py 2006-03-27 10:39:33 UTC (rev 66229) +++ Products.Five/branches/philikon-local-components/site/utility.py 2006-03-27 10:40:29 UTC (rev 66230) @@ -116,11 +116,3 @@ %s with the name '%s' % (interface.getName(), name)) utilities._setObject(id, utility) - -# BBB 2005/11/01 -- gone in Five 1.5. -SimpleLocalUtilityService = SimpleLocalUtilityRegistry -import zope.deprecation -zope.deprecation.deprecated( -'SimpleLocalUtilityService', 'SimpleLocalUtilityService' has been renamed to -'SimpleLocalUtilityRegistry' and will disappear in Five 1.5. -) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/browser/pagetemplatefile.py Remove unnecessary rebind magic.
Log message for revision 66231: Remove unnecessary rebind magic. Tighten the screws on a test whether 'view' is None or not. Changed: U Products.Five/branches/philikon-local-components/browser/pagetemplatefile.py -=- Modified: Products.Five/branches/philikon-local-components/browser/pagetemplatefile.py === --- Products.Five/branches/philikon-local-components/browser/pagetemplatefile.py 2006-03-27 10:40:29 UTC (rev 66230) +++ Products.Five/branches/philikon-local-components/browser/pagetemplatefile.py 2006-03-27 10:41:13 UTC (rev 66231) @@ -63,7 +63,7 @@ pt_render = rebindFunction(PageTemplateFile.pt_render, getEngine=getEngine) -def _pt_getContext(self): +def pt_getContext(self): try: root = self.getPhysicalRoot() view = self._getContext() @@ -87,11 +87,8 @@ 'request': request, 'modules': ModuleImporter, } -if view: +if view is not None: c['view'] = view c['views'] = ViewMapper(here, request) return c - -pt_getContext = rebindFunction(_pt_getContext, - SecureModuleImporter=ModuleImporter) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/component/ template - zpt
Log message for revision 66232: template - zpt Changed: U Products.Five/branches/philikon-local-components/component/configure.zcml D Products.Five/branches/philikon-local-components/component/customizetemplate.pt A Products.Five/branches/philikon-local-components/component/customizezpt.pt D Products.Five/branches/philikon-local-components/component/templateviews.pt U Products.Five/branches/philikon-local-components/component/zpt.txt A Products.Five/branches/philikon-local-components/component/zptviews.pt -=- Modified: Products.Five/branches/philikon-local-components/component/configure.zcml === --- Products.Five/branches/philikon-local-components/component/configure.zcml 2006-03-27 10:41:13 UTC (rev 66231) +++ Products.Five/branches/philikon-local-components/component/configure.zcml 2006-03-27 11:09:49 UTC (rev 66232) @@ -28,15 +28,15 @@ permission=five.ManageSite browser:page - name=templateviews.html - template=templateviews.pt + name=zptviews.html + template=zptviews.pt / browser:page - name=customizetemplate.html - template=customizetemplate.pt + name=customizezpt.html + template=customizezpt.pt / browser:page - name=customizetemplate + name=customizezpt attribute=customizeTemplate / Deleted: Products.Five/branches/philikon-local-components/component/customizetemplate.pt === --- Products.Five/branches/philikon-local-components/component/customizetemplate.pt 2006-03-27 10:41:13 UTC (rev 66231) +++ Products.Five/branches/philikon-local-components/component/customizetemplate.pt 2006-03-27 11:09:49 UTC (rev 66232) @@ -1,26 +0,0 @@ -html metal:use-macro=context/@@standard_macros/view - i18n:domain=zope - body - div metal:fill-slot=body - - p i18n:translate=This is the source of the - code tal:content=request/form/viewnameviewname/code:/p - - pre style=background-color: #cc; border: 1px solid black; padding: 5px; - tal:content=python:view.templateFromViewname(request.form['viewname']).read() -template source - /pre - - form action=@@customizetemplate method=post -enctype=multipart/form-data - -input type=hidden name=viewname value=theviewname - tal:attributes=value request/form/viewname / -input type=submit name= value=Customize / - - /form - - /div - /body - -/html Copied: Products.Five/branches/philikon-local-components/component/customizezpt.pt (from rev 65825, Products.Five/branches/philikon-local-components/component/customizetemplate.pt) === --- Products.Five/branches/philikon-local-components/component/customizetemplate.pt 2006-03-05 16:32:34 UTC (rev 65825) +++ Products.Five/branches/philikon-local-components/component/customizezpt.pt 2006-03-27 11:09:49 UTC (rev 66232) @@ -0,0 +1,26 @@ +html metal:use-macro=context/@@standard_macros/view + i18n:domain=zope + body + div metal:fill-slot=body + + p i18n:translate=This is the source of the + code tal:content=request/form/viewnameviewname/code:/p + + pre style=background-color: #cc; border: 1px solid black; padding: 5px; + tal:content=python:view.templateFromViewname(request.form['viewname']).read() +template source + /pre + + form action=@@customizezpt method=post +enctype=multipart/form-data + +input type=hidden name=viewname value=theviewname + tal:attributes=value request/form/viewname / +input type=submit name= value=Customize / + + /form + + /div + /body + +/html Deleted: Products.Five/branches/philikon-local-components/component/templateviews.pt === --- Products.Five/branches/philikon-local-components/component/templateviews.pt 2006-03-27 10:41:13 UTC (rev 66231) +++ Products.Five/branches/philikon-local-components/component/templateviews.pt 2006-03-27 11:09:49 UTC (rev 66232) @@ -1,33 +0,0 @@ -html metal:use-macro=context/@@standard_macros/view - i18n:domain=zope - body - div metal:fill-slot=body - - p i18n:translate=Template-based (global) browser views available - for this component:/p - - table -tr - th/th - thName of View/th - thRegistration Info/th -/tr -tr tal:repeat=info view/templateViewRegInfo - tdimg src=misc_/PageTemplates/zpt.gif - tal:attributes=src string:${context/@@absolute_url}/misc_/PageTemplates/zpt.gif //td - td -a href= - tal:attributes=href string:@@customizetemplate.html?viewname=${info/viewname} - tal:content=info/viewname -/a - /td - tdcode tal:content=info/zptfilezptfile/codebr / - code tal:content=info/forfor/codebr / - code
[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/ Link in released tag of ZODB 3.6.1.
Log message for revision 66235: Link in released tag of ZODB 3.6.1. Changed: _U Zope/branches/2.9/lib/python/ -=- Property changes on: Zope/branches/2.9/lib/python ___ Name: svn:externals - ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1 BTrees -r 66124 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/BTrees persistent -r 66124 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/persistent ThreadedAsync -r 66124 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ThreadedAsync transaction-r 66124 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/transaction ZEO-r 66124 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZEO ZODB -r 66124 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZODB ZopeUndo -r 66124 svn://svn.zope.org/repos/main/ZODB/branches/3.6/src/ZopeUndo zdaemon-r 40792 svn://svn.zope.org/repos/main/zdaemon/trunk/src/zdaemon pytz svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/pytz zodbcode svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/zodbcode ClientCookie svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/ClientCookie mechanize svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/mechanize + ZConfigsvn://svn.zope.org/repos/main/ZConfig/tags/ZConfig-2.3.1 BTrees svn://svn.zope.org/repos/main/ZODB/tags/3.6.1/src/BTrees persistent svn://svn.zope.org/repos/main/ZODB/tags/3.6.1/src/persistent ThreadedAsync svn://svn.zope.org/repos/main/ZODB/tags/3.6.1/src/ThreadedAsync transactionsvn://svn.zope.org/repos/main/ZODB/tags/3.6.1/src/transaction ZEOsvn://svn.zope.org/repos/main/ZODB/tags/3.6.1/src/ZEO ZODB svn://svn.zope.org/repos/main/ZODB/tags/3.6.1/src/ZODB ZopeUndo svn://svn.zope.org/repos/main/ZODB/tags/3.6.1/src/ZopeUndo zdaemon-r 40792 svn://svn.zope.org/repos/main/zdaemon/trunk/src/zdaemon pytz svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/pytz zodbcode svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/zodbcode ClientCookie svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/ClientCookie mechanize svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/mechanize ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: zdaemon/trunk/ Add some release management artifacts.
Log message for revision 66236: Add some release management artifacts. Changed: A zdaemon/trunk/CHANGES.txt A zdaemon/trunk/README.txt -=- Added: zdaemon/trunk/CHANGES.txt === --- zdaemon/trunk/CHANGES.txt 2006-03-27 12:10:42 UTC (rev 66235) +++ zdaemon/trunk/CHANGES.txt 2006-03-27 13:27:34 UTC (rev 66236) @@ -0,0 +1,36 @@ +zdaemon Changelog += + +After zdaemon 1.1 +- + + - Updated test 'testRunIgnoresParentSignals': + + o Use 'mkdtemp' to create a temporary directory to hold the test socket +rather than creating the test socket in the test directory. +Hopefully this will be more robust. Sometimes the test directory +has a path so long that the test socket can't be created. + + o Changed management of 'donothing.sh'. This script is now created by +the test in the temporarary directory with the necessary +permissions. This is to avoids possible mangling of permissions +leading to spurious test failures. It also avoids management of a +file in the source tree, which is a bonus. + + - Rearranged source tree to conform to more usual zpkg-based layout: + + o Python package lives under 'src'. + + o Dependencies added to 'src' as 'svn:externals'. + + o Unit tests can now be run from a checkout. + + - Made umask-based test failures due to running as root emit a more + forceful warning. + +zdaemon 1.1 (2005/06/09) + + + - SVN tag: svn+ssh://svn.zope.org/repos/main/zdaemon/tags/zdaemon-1.1 + + - Tagged to make better 'svn:externals' linkage possible. Property changes on: zdaemon/trunk/CHANGES.txt ___ Name: svn:eol-style + native Added: zdaemon/trunk/README.txt === --- zdaemon/trunk/README.txt2006-03-27 12:10:42 UTC (rev 66235) +++ zdaemon/trunk/README.txt2006-03-27 13:27:34 UTC (rev 66236) @@ -0,0 +1,11 @@ +zdaemon Package REZDME +== + +Overview + + +'zdaemon' is a Python package which provides APIs for managing spplications +run as daemons. Its principal use to date has been to manage the application +server and storage server daemons for Zope / ZEO, although it is not limited +to running Python-based applications (for instance, it has been used to +manage the 'spread' daemon). Property changes on: zdaemon/trunk/README.txt ___ Name: svn:eol-style + native ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: zdaemon/branches/tseaver-eggification/ Make zdaemon distributable as an egg.
Log message for revision 66237: Make zdaemon distributable as an egg. Changed: A zdaemon/branches/tseaver-eggification/ A zdaemon/branches/tseaver-eggification/INSTALL.txt A zdaemon/branches/tseaver-eggification/develop.py A zdaemon/branches/tseaver-eggification/setup.cfg.in A zdaemon/branches/tseaver-eggification/setup.py _U zdaemon/branches/tseaver-eggification/src/ D zdaemon/branches/tseaver-eggification/src/zope/ U zdaemon/branches/tseaver-eggification/test.py -=- Copied: zdaemon/branches/tseaver-eggification (from rev 66236, zdaemon/trunk) Property changes on: zdaemon/branches/tseaver-eggification ___ Name: svn:ignore + *so *.pyc build Name: svn:externals + workspace svn://svn.zope.org/repos/main/projectsupport/trunk/src/workspace Added: zdaemon/branches/tseaver-eggification/INSTALL.txt === --- zdaemon/trunk/INSTALL.txt 2006-03-27 13:27:34 UTC (rev 66236) +++ zdaemon/branches/tseaver-eggification/INSTALL.txt 2006-03-27 13:39:05 UTC (rev 66237) @@ -0,0 +1,83 @@ +Installing This Package +=== + +Prerequisites +- + +The installation steps below assume that you have the cool new 'setuptools' +package installed in your Python. Here is where to get it: + + $ wget http://peak.telecommunity.com/dist/ez_setup.py + $ /path/to/your/python ez_setup.py # req. write access to 'site-packages' + + + - Docs for EasyInstall: +http://peak.telecommunity.com/DevCenter/EasyInstall + + - Docs for setuptools: +http://peak.telecommunity.com/DevCenter/setuptools + + - Docs for eggs: +http://peak.telecommunity.com/DevCenter/PythonEggs + + +Installing a Development Checkout +- + +Check out the package from subversion: + + $ svn co svn+ssh://svn.zope.org/repos/main/zdaemon/trunk \ +src/zdaemon + $ cd src/zdaemon + +Install it as a devlopment egg (which also installs its hard +dependencies): + + $ /path/to/your/python setup.py devel + +The installation of dependency eggs uses the 'setup.cfg' file in +the checkout. You can supply '--find-links' on the command line to +point it at a non-standard package repository. + + +Running the Tests +- + +To test the package, you will also need the 'zope.testing' package, which +can't (yet) be automatically installed. Eventually, you should be able to +type: + + $ /path/to/your/python setup.py test + +and have it install the testing dependencies. Today, the workaround +is to install it manually: + + $ /path/to/easy_install --find-links= zope-testing + +You can then run the tests (finally) from the checkout directory: + + $ /path/to/your/python test.py +Running: + . +Ran 13 tests with 0 failures and 0 errors in 0.094 seconds. + + +Installing a Source Distribution + + +You can also install it from a source distribution: + + $ /path/to/easy_install --find-links= -eb src zdaemon + $ cd src/zdaemon + $ /path/to/your/python setup.py devel + + +Installing a Binary Egg +--- + +Install the package as a binary egg (which also installs its hard +dependencies): + + $ /path/to/easy_install --find-links= zdaemon + + Property changes on: zdaemon/branches/tseaver-eggification/INSTALL.txt ___ Name: svn:eol-style + native Added: zdaemon/branches/tseaver-eggification/develop.py === --- zdaemon/trunk/develop.py2006-03-27 13:27:34 UTC (rev 66236) +++ zdaemon/branches/tseaver-eggification/develop.py2006-03-27 13:39:05 UTC (rev 66237) @@ -0,0 +1,21 @@ +## +# +# Copyright (c) 2004 Zope Corporation and Contributors. +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED AS IS AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +## +Workspace configuration wrapper script + +$Id$ + + +import workspace.develop + +workspace.develop.main() Property changes on: zdaemon/branches/tseaver-eggification/develop.py ___ Name: svn:keywords + Id Name: svn:eol-style + native Added: zdaemon/branches/tseaver-eggification/setup.cfg.in === --- zdaemon/trunk/setup.cfg.in 2006-03-27 13:27:34 UTC (rev 66236) +++
[Zope-Checkins] SVN: zdaemon/branches/tseaver-eggification/CHANGES.txt Changelog.
Log message for revision 66238: Changelog. Changed: U zdaemon/branches/tseaver-eggification/CHANGES.txt -=- Modified: zdaemon/branches/tseaver-eggification/CHANGES.txt === --- zdaemon/branches/tseaver-eggification/CHANGES.txt 2006-03-27 13:39:05 UTC (rev 66237) +++ zdaemon/branches/tseaver-eggification/CHANGES.txt 2006-03-27 13:41:43 UTC (rev 66238) @@ -4,6 +4,8 @@ After zdaemon 1.1 - + - Added support for distributing 'zdaemon' as a Python egg. + - Updated test 'testRunIgnoresParentSignals': o Use 'mkdtemp' to create a temporary directory to hold the test socket ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: zdaemon/branches/tseaver-eggification/ Adjust svn:ignore for new world order.
Log message for revision 66241: Adjust svn:ignore for new world order. Changed: _U zdaemon/branches/tseaver-eggification/ -=- Property changes on: zdaemon/branches/tseaver-eggification ___ Name: svn:ignore - *so *.pyc build + bin build dist lib setup.cfg ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-dev] RE: pywin32 - Can not install signal handlers
Hi Chris, Sorry, do you mean the box where the Zope 2.9.1 distro was built or the one where I was installing it? The latter. If the latter, how dowe fix Zope so it doesn't get tripped up by other pywin32 distros on the same box? If this is the problem, it will probably only happen when using runzope.bat - running as a service probably works fine. In that case, the problem is the order that Windows uses to search for DLLs. The short answer is that things should work if: * the CWD of the process is the Python directory (ie, the directory with the Python executables and the pywin32 system DLLs). This will be true when starting as a service. * that directory is on your PATH before the Windows SYSTEM32 directory (which is where pywin32 sticks its copy of these files, for various reasons) In the case of runzope.bat, this just means having the CWD of the shell be the Python dir, and specifying the path to runzope.bat. A better solution moving forward may be to have runzope.bat explicitly CD to that directory before doing its thing... Cheers, Mark ___ 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: pywin32 - Can not install signal handlers
Mark Hammond wrote: If this is the problem, it will probably only happen when using runzope.bat - running as a service probably works fine. Ah, okay, yeah, I only use runzope... In that case, the problem is the order that Windows uses to search for DLLs. The short answer is that things should work if: * the CWD of the process is the Python directory (ie, the directory with the Python executables and the pywin32 system DLLs). This will be true when starting as a service. Right, so this would have to be the shipped-with-zope-python-build-that-includes-pywin32? * that directory is on your PATH before the Windows SYSTEM32 directory (which is where pywin32 sticks its copy of these files, for various reasons) Do both this and the above have to be true, or will things work if either of them are true? In the case of runzope.bat, this just means having the CWD of the shell be the Python dir, and specifying the path to runzope.bat. A better solution moving forward may be to have runzope.bat explicitly CD to that directory before doing its thing... Yeah, that's cool, but how are you _supposed_ to exit zope when using runzope.bat? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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: pywin32 - Can not install signal handlers
* that directory is on your PATH before the Windows SYSTEM32 directory (which is where pywin32 sticks its copy of these files, for various reasons) Do both this and the above have to be true, or will things work if either of them are true? Either one has the end result of locating the pywin32 system DLLs in Zope's Python directory before the copies in system32. In the case of runzope.bat, this just means having the CWD of the shell be the Python dir, and specifying the path to runzope.bat. A better solution moving forward may be to have runzope.bat explicitly CD to that directory before doing its thing... Yeah, that's cool, but how are you _supposed_ to exit zope when using runzope.bat? I'm not quite with you there. My suggestion was that we change skel/bin/runzope.bat.in so that it has a 'CD' command (actually 'CD /D') before the final %PYTHON% line. Either with or without this modification, you exit runzope.bat by pressing Ctrl+C. Mark ___ 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: [Zope2.8.7] with Five 1.0 or Five 1.2
Andreas Jung wrote: Zope 2.8 ships/shipped with Five 1.0 which is very old and no longer actively maintained. Most ppl doing currently development with Zope 2.8 are using Five 1.2. Should we upgrade the Five version in Zope 2.8 to Five 1.2 to make their lives a bit easier? There is possibly a compatiblity problem involved and it is against the general rule for major upgrades of a package or product for a minor Zope release..I have no opinion on this issue...I just had this thought I would be in favour of such a move, because as a Five developer I'm biased (so my vote doesn't really count, either). Either way, this would let us officially drop support for Five 1.0.x which we've neglected anyhow when it came to bugfixes, because it's just so unmaintainable. Plus, as Andreas mentions, most people are using Five 1.2 anyways because it provides the same featureset as the Five version shipping with Zope 2.9; that way people can make products that both on Zope 2.8 and 2.9. However, there are implications of this change. To give people an idea of what they're bargaining for, here are the changelog entries for the two most important changes between Five 1.0 and 1.2: * Zope 3-style i18n support has been provided. Apart from being able to register translations through ZCML, Five now lets Zope 2 ZPTs automatically use Zope 3 translation domains. Fallback to an old-style translation service (e.g. Localizer or PTS) is supported. This also includes the detection of preferred languages. See ``doc/i18n.txt`` for more information. * Event support: When ``five:containerEvents/`` is specified, Five makes the standard Zope 2 containers send events instead of using manage_afterAdd, manage_beforeDelete and manage_afterClone. These methods are still called for a class declared ``five:deprecatedManageAddDelete class=.../``, and are called in compatibility mode with a deprecation warning for classes that don't use this directive. These are two *features* that Five would introduce to the Zope 2 core (it did so for Zope 2.9 in fact because Five 1.3 is part of that). People should be aware of that and consider this in their vote. If we indeed decide to include Five 1.2 in Zope 2.8, we will have to fix it up a little so that it fits in nicely into the Zope 2 tree. I'll be happy to do that work. Philipp ___ 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] Re: [Zope2.8.7] with Five 1.0 or Five 1.2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Mar 2006, at 11:55, Philipp von Weitershausen wrote: Andreas Jung wrote: Zope 2.8 ships/shipped with Five 1.0 which is very old and no longer actively maintained. Most ppl doing currently development with Zope 2.8 are using Five 1.2. Should we upgrade the Five version in Zope 2.8 to Five 1.2 to make their lives a bit easier? There is possibly a compatiblity problem involved and it is against the general rule for major upgrades of a package or product for a minor Zope release..I have no opinion on this issue...I just had this thought I would be in favour of such a move, because as a Five developer I'm biased (so my vote doesn't really count, either) +1 Currently, CMF 1.6 depends on Zope = 2.8.5 and Five 1.2. I'd much rather simplify that requirement to Zope = 2.8.7... jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEJ8dMRAx5nvEhZLIRAgW7AKCoPb05oTOduDKnAZ3R4Pm314BBkgCdFXvz l3TnPwcR73rMabR69gUzvIE= =pdXe -END PGP SIGNATURE- ___ 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: Wishlist Item
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Andreas Jung wrote: CMF or not - if one need such a functionality one can download CMF or a related product. If such functionality should belong into the core than it should be implemented in a reusable way and frameworks like CMF should be build on top of it. So -1 for the request. Indeed, I'm -1 on FileSystemSite, but it'd be _great_ to see the DirectoryView stuff move from the CMF into the core. I don't get what you mean: FilesystemSite *is* a separate packaging of the DirectoryView /FS{DTMLMethod/PythonScript/PageTemplate/SQLMethod} stuff, without any CMF dependencies. It forked from an old version of CMF some time back but has not kept up with the changes in CMF. Thus it is not compatible right now. For eg. [Default] vs.[default] in the .metadata files and many more minor annoyances :) -- Thank you and Cheers, Suresh V. CTO, ParTecs, Bangalore http://www.partecs.com Plone-Zope-Python Consulting ___ 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] [Zope2.8.7] with Five 1.0 or Five 1.2
+1 On 27. Mär 2006, at 07:35, Andreas Jung wrote: Zope 2.8 ships/shipped with Five 1.0 which is very old and no longer actively maintained. Most ppl doing currently development with Zope 2.8 are using Five 1.2. Should we upgrade the Five version in Zope 2.8 to Five 1.2 to make their lives a bit easier? -- Anything that happens, happens. --Douglas Adams ___ 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 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] Patch that makes the 'MS-Author-Via' header configurable in zope.conf
--On 27. März 2006 16:16:11 +0200 Patrick Decat [EMAIL PROTECTED] wrote: 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. We notice everything :-) but obviously none of us has had interest or time to look into that issue. -aj pgpOjazpcnlJu.pgp Description: PGP signature ___ 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 that makes the 'MS-Author-Via' header configurable in zope.conf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Decat wrote: 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? Patrick, Your patch looks pretty good, and that issue is probably the right place for it. We might change the name of the configuration directive / module-scope variable to 'microsoft-author-via-dav' / 'microsoft_author_via_dav', just for clarity. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEKAUO+gerLs4ltQ4RAngeAKCi3CoubC68Tb0igQ2bpR6e2c2uDgCgkrdH HllJsUWOwdpONvJ+pWvondo= =tZdz -END PGP SIGNATURE- ___ 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] Re: Wishlist Item
OK, sorry about raising an issue that I was not around to comment on. First, there seems to be a good deal of confusion on what FileSystemSite or the DirectoryView portions of CMF are. They are simply a way to have Zope2 programmatic content stored directly on the filesystem, including dtml, page templates, python scripts and zsql methods, among others. FileSystemSite does not allow filesystem access in the usual sense, access is read-only; objects cannot be created on the filesystem through ZMI. Arbitrary filetypes cannot be easily stored on the filesystem at all (In fact I have no interest in that, I can always store such files in Apache-space.) This, or the CMF version, or something like it should be included because it is a large step up from pure TTW development in that it makes using conventional OS-level tools easier, including revision control systems and editors. It also gets the job done without all the effort of zope2 python based products. While products are important, and indeed, at this point the zope3 way, they don't scale down very well; and for one-off, will never meet the external world, systems; they represent a lot of wasted motion. FilesSystemSite and DirectoryView represent a middle way between pure TTW and pure file-system development. This is an idea that has come up at least three times, Ape was partially inspired by it, the CMF suite has such components, and it was thought to be worthwhile to pull out of CMF. CMF is a lot of overhead to pull in just to get DirectoryView, and exactly what to install to get DirectoryView and as little else as possible installed is not documented. In fact, neither is very well documented. I don't care whether DirectoryView, or FileSystemSite, or yet another implementation is blessed. However, the idea of permitting all programmatic content to be stored directly on the filesystem has merit and has been developed multiple times. It is an option that belongs in zope2 core. Note: if one is chosen, I will write a draft of a chapter for the Zope Book for the blessed implementation. jim penny [EMAIL PROTECTED] wrote on 03/26/2006 09:56:01 AM: Tino Wildenhain wrote: Maybe its just me but I personally dont like direct filesystem access in the core - if someone wants it, (s)he can pick from the 3rd party products - maybe there can be a list of recommended (active maintained) products? Direct access products should also carry some easily understandable warnings. I can understand that point of view for products that allow writing to the filesystem, but, conceptually, what's the difference between read-only filesystem access and a standard filesystem product? None, I think, but then I may have misunderstood the purpose of FileSystemSite, and friends. Tim ___ 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] Re: [Zope2.8.7] with Five 1.0 or Five 1.2
On Mon, 2006-27-03 at 07:35 +0200, Andreas Jung wrote: Zope 2.8 ships/shipped with Five 1.0 which is very old and no longer actively maintained. Most ppl doing currently development with Zope 2.8 are using Five 1.2. Should we upgrade the Five version in Zope 2.8 to Five 1.2 to make their lives a bit easier? There is possibly a compatiblity problem involved and it is against the general rule for major upgrades of a package or product for a minor Zope release..I have no opinion on this issue...I just had this thought +1 -- Rocky Burt AdaptiveWave - Content Management as a Service http://www.adaptivewave.com Content Management Made Simple ___ 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: [Zope2.8.7] with Five 1.0 or Five 1.2
Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Mar 2006, at 11:55, Philipp von Weitershausen wrote: Andreas Jung wrote: Zope 2.8 ships/shipped with Five 1.0 which is very old and no longer actively maintained. Most ppl doing currently development with Zope 2.8 are using Five 1.2. Should we upgrade the Five version in Zope 2.8 to Five 1.2 to make their lives a bit easier? There is possibly a compatiblity problem involved and it is against the general rule for major upgrades of a package or product for a minor Zope release..I have no opinion on this issue...I just had this thought I would be in favour of such a move, because as a Five developer I'm biased (so my vote doesn't really count, either) +1 Currently, CMF 1.6 depends on Zope = 2.8.5 and Five 1.2. I'd much rather simplify that requirement to Zope = 2.8.7.. +1 here as well. Plone 2.5 depends on CMF 1.6 and thus has the same dependency issue. even worse, it supports both Zope 2.8 and Zope 2.9, so in some cases (Zope 2.8 setups) installing an additional version of Five is necessary, but in other cases (Z2.9) installing that version of Five will break everything. -r ___ 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: [Zope2.8.7] with Five 1.0 or Five 1.2
Andreas Jung lists at zopyx.com writes: ... Should we upgrade the Five version in Zope 2.8 to Five 1.2 to make their lives a bit easier? +1 on a 2.8.7 with a viable Five. Alec Mitchell ___ 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] Re: Wishlist Item
[EMAIL PROTECTED] wrote at 2006-3-27 11:10 -0500: ... CMF is a lot of overhead Overhead of what kind? to pull in just to get DirectoryView, and exactly what to install to get DirectoryView and as little else as possible installed is not documented. You install Products/CMFCore and register your top level DirectoryView folders with registerDirectory (in some code executed during startup, e.g. in the initialization code of one of your products). That's it. -- Dieter ___ 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] [Zope2.8.7] with Five 1.0 or Five 1.2
-1... Five 1.2 has quite a few differences from Five 1.0 that would stop products written for Five 1.0 from working properly. I've not gone to 2.9 on a few projects for this reason (sticking with 2.8). 2.9 is where the new version belongs, IMO. - C On Mar 27, 2006, at 12:35 AM, Andreas Jung wrote: Hi, Zope 2.8 ships/shipped with Five 1.0 which is very old and no longer actively maintained. Most ppl doing currently development with Zope 2.8 are using Five 1.2. Should we upgrade the Five version in Zope 2.8 to Five 1.2 to make their lives a bit easier? There is possibly a compatiblity problem involved and it is against the general rule for major upgrades of a package or product for a minor Zope release..I have no opinion on this issue...I just had this thought Andreas P.S. Zope 2.8.7 will be delayed so far for some days (until next weekend or so)___ 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] TCP CLOSE_WAIT leaks
Dieter Maurer wrote: I've been noticing a situation for some time that my 2.8.5 Z2 is running out of threads. When doing an lsof on it, I see a large number of TCP handles in CLOSE_WAIT state. It seems something's not properly clearing down the connection to release the thread. I doubt that this is the case. The IO, including the closing of the connection, is handled by the ZServer thread. This is a single thread. You would immediately observe should it block (Zope would be irresponsive). This *is* exactly the behaviour I'm observing. When the connection is closed, the Zope worker thread has already been released. By the way, their number is fixed (and usually small). Unfortunately, the server is out of threads and I can't use DeadlockDebugger to see what exactly Z2 thinks each thread is doing. As these threads have not completed, there's no access log entry, and the other socket terminal has obviously closed, meaning I can't chase the issue down from the other end either. I've upgraded a lot of software, and this issue is present on 2.8.6 as well. I'm confident this issue is with Zope (or more likely, a badly behaving product) - it manifests with httpd-2.0.54, and httpd-2.2.0-5.1.2 (both forked and worker implementations). Any ideas on how to track it down?? Alan ___ 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] Re: Wishlist Item
Tres Seaver wrote: I don't get what you mean: FilesystemSite *is* a separate packaging of the DirectoryView /FS{DTMLMethod/PythonScript/PageTemplate/SQLMethod} stuff, without any CMF dependencies. Yes, exactly, there are several of them. Usually forked off from CMF's DirectoryView at some point and none of which with the bugfixes that DirectoryView has since enjoyed. Rather than having several people struggling to support forked code bases, I'm advocating refactoring DirectoryView from CMF into the Zope Core, then CMF can use that and everyone else has the benefit of DirectoryView-without-CMF without trying to decide which forked package to use or whether to just swallow the whole of CMF... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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: [Zope2.8.7] with Five 1.0 or Five 1.2
Chris McDonough wrote: -1... Five 1.2 has quite a few differences from Five 1.0 that would stop products written for Five 1.0 from working properly. I've not gone to 2.9 on a few projects for this reason (sticking with 2.8). 2.9 is where the new version belongs, IMO. Out of curiosity, what are the incompatibilities between Five 1.0 and 1.2/1.3 that hinder you from upgrading? ___ 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: [ZWeb] V3 Updated
Tom Von Lahndorff wrote: Its not. Its a lot easier to find answers to my questions though at the Apple's support discussion boards, when I have an Apple issue, rather than searching Google because I'm searching through very specific content, not the web in general and therefore get more accurate results and a faster resolution. Hmmm, well, in the case of Zope, I honestly think you get better results if you _do_ use Google because you're not only limiting your search to Zope.org, which isn't usually the best source for information... Why should it be on zope.org? Um, because it's useful information about Zope, which is sort of what Zope.org is about? Well, I don't know if that _is_ what zope.org is about anymore. It's been so poor for so long that people have found or created other resources and those aren't going to go away even if zope.org did suddenly become magically better ;-) The Web Site for the Zope Community (...who are currently discussing Zope at various other places on the web). Thanks for visiting. :) Well, point taken, but I really think zope.org should be a gateway to those existing resources. If, at a later stage, those resources want to migrate back to zope.org, then great, but until then, lets leave them be... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web
Re: [ZWeb] V3 Updated
Tom Von Lahndorff wrote: Damn. This really is very good. Would there be any problem with just replacing the main_template and Products page on Zope.rog with this design? I already proposed to setup his design as an alternative skin in zope.org for *testing* with the current content to Tom - he did not comment on that. Sounds good to me, what do I need to do? I'm happy to edit/create ZPT as necessary. I think Michael already answered this below ;-) Nevertheless, even if we could use it as suggested, we'd need to make some changes (right column should be removed or replaced on non-Frontpage pages), styles should be defined along the current stylesheet, ... The tying in with existing styles will likely be the suckiest part. If you manage that, I think we all owe you beer! *grinz* Do you have the access rights you need to create a new zope.org skin? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web
Re: [ZWeb] V3 Updated
Chris Withers wrote: Tom Von Lahndorff wrote: Damn. This really is very good. Would there be any problem with just replacing the main_template and Products page on Zope.rog with this design? I already proposed to setup his design as an alternative skin in zope.org for *testing* with the current content to Tom - he did not comment on that. Sounds good to me, what do I need to do? I'm happy to edit/create ZPT as necessary. I think Michael already answered this below ;-) Nevertheless, even if we could use it as suggested, we'd need to make some changes (right column should be removed or replaced on non-Frontpage pages), styles should be defined along the current stylesheet, ... The tying in with existing styles will likely be the suckiest part. If you manage that, I think we all owe you beer! *grinz* Do you have the access rights you need to create a new zope.org skin? Almost all work is adjusting the stylesheets... I'd suggest we meet in IRC (#zope-web) and discuss next steps needed. Michael -- http://zope.org/Members/d2m http://planetzope.org ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web
Re: [ZWeb] V3 Updated
On Mon, 2006-03-27 at 08:26 +0100, Chris Withers wrote: Tom Von Lahndorff wrote: Why should it be on zope.org? Um, because it's useful information about Zope, which is sort of what Zope.org is about? Well, I don't know if that _is_ what zope.org is about anymore. It's been so poor for so long that people have found or created other resources and those aren't going to go away even if zope.org did suddenly become magically better ;-) Zope.org shouldn't have any designs to do such. Good projects which have stepped up should be rewarded and encouraged. The Web Site for the Zope Community (...who are currently discussing Zope at various other places on the web). Thanks for visiting. :) Well, point taken, but I really think zope.org should be a gateway to those existing resources. If, at a later stage, those resources want to migrate back to zope.org, then great, but until then, lets leave them be... I agree, they should be positioned on zope.org as prominent resources. Zope.org should be about what's in svn.zope.org and the technology. Excellent docs, good introductory information (i.e. marketing speak) and downloads for those products in svn.zope.org All, IMNSHO, Andrew cheers, Chris ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web