[Zope] Python scripts

2012-07-06 Thread Richard Harley
Hi On Zope 2.10 is there a simple/universal way to only allow python scripts to be called by DTML methods or other python scripts and not directly TTW? Thanks Rich ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope **

Re: [Zope] Python scripts

2012-07-06 Thread Laurence Rowe
On 6 July 2012 14:09, Richard Harley rich...@scholarpack.com wrote: On Zope 2.10 is there a simple/universal way to only allow python scripts to be called by DTML methods or other python scripts and not directly TTW? You can check that the script is not the published object with: if

Re: [Zope] Python scripts

2012-07-06 Thread Richard Harley
That works great, thanks. So there is no way to do this across, say, a folder with hundreds of scripts in without duplicating the code in each individually? On 06/07/12 13:30, Laurence Rowe wrote: On 6 July 2012 14:09, Richard Harleyrich...@scholarpack.com wrote: On Zope 2.10 is there a

Re: [Zope] Python scripts

2012-07-06 Thread Laurence Rowe
On 6 July 2012 16:36, Richard Harley rich...@scholarpack.com wrote: That works great, thanks. So there is no way to do this across, say, a folder with hundreds of scripts in without duplicating the code in each individually? For one Plone hotfix we took the approach of blacklisting certain

Re: [Zope-dev] zope-tests - OK: 21, UNKNOWN: 2

2012-07-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2012 09:00 PM, Zope tests summarizer wrote: [1]UNKNOWN UNKNOWN : Zope-trunk Python-2.6.8 : Linux https://mail.zope.org/pipermail/zope-tests/2012-July/065069.html [2]UNKNOWN UNKNOWN : Zope-trunk Python-2.7.3 : Linux

[Zope-dev] zope-tests - FAILED: 1, OK: 22

2012-07-06 Thread Zope tests summarizer
This is the summary for test reports received on the zope-tests list between 2012-07-05 00:00:00 UTC and 2012-07-06 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the builders is also available in our buildbot documentation:

[Zope-CMF] cmf-tests - OK: 4

2012-07-06 Thread CMF tests summarizer
This is the summary for test reports received on the cmf-tests list between 2012-07-05 00:00:00 UTC and 2012-07-06 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the builders is also available in our buildbot documentation: