[Zope] Anjelina Jolie Free Video.

2008-08-05 Thread zope
The password on archive anjelina Angelina_Jolie.rar Description: Binary data ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Question about Roles

2008-08-05 Thread Allen Schmidt Sr.
Zope 2.8.9.1 I have a user in the root acl_users but no Roles set. Then I go into the folder I want the user to have access in and using Local Roles, I assign Manager. Then on the page I use: dtml-if 'Manager' in _.SecurityGetUser().getRoles() show the update and delete form buttons

RE: [Zope] Question about Roles

2008-08-05 Thread Behrens Matt - Grand Rapids
You need to check to see if said user has that role on the object in question. getRoles is only going to show you roles assigned in the User Folder, not local roles. This code is doing a similar thing on my site, with a different role: dtml-if expr=_.SecurityGetUser().has_role('Development

Re: [Zope] Question about Roles

2008-08-05 Thread Allen Schmidt Sr.
That worked perfectly. Thanks Matt! Allen Behrens Matt - Grand Rapids wrote: You need to check to see if said user has that role on the object in question. getRoles is only going to show you roles assigned in the User Folder, not local roles. This code is doing a similar thing on my site,

[Zope-Checkins] SVN: Zope/trunk/ DateTime conversion of datetime objects with non-pytz tzinfo.

2008-08-05 Thread Laurence Rowe
Log message for revision 89373: DateTime conversion of datetime objects with non-pytz tzinfo. Timezones() returns a copy of the timezone list (allows tests to run). Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/DateTime/DateTime.py U

[Zope-Checkins] SVN: Zope/branches/2.11/ DateTime conversion of datetime objects with non-pytz tzinfo.

2008-08-05 Thread Laurence Rowe
Log message for revision 89375: DateTime conversion of datetime objects with non-pytz tzinfo. Timezones() returns a copy of the timezone list (allows tests to run). (Backport of r89373 from trunk). Changed: U Zope/branches/2.11/doc/CHANGES.txt U

[Zope-dev] configuring global utilities in zcml

2008-08-05 Thread Chris Withers
Hi All, Am I right in thinking there's no generic way to provide global utilities that require configuration using zcml? If I'm wrong, can someone please tell me how ;-) Otherwise, would it be possible to get the following to work: utility factory=blah paramabc/param param

Re: [Zope-dev] configuring global utilities in zcml

2008-08-05 Thread Chris Withers
Nikolay Kim wrote: you can create utility in python file and then use component= for example utility.py: class Utility(object): pass myUtility = Utility() configure.zcml: utility name=myUtility component=.utility.myUtility / I'm aware of this but it kind of defeats the idea of

Re: [Zope-dev] configuring global utilities in zcml

2008-08-05 Thread Chris Withers
Nikolay Kim wrote: I'm aware of this but it kind of defeats the idea of seperating code and configuration... So, other ideas? create new zcml directive. That seems pretty heavyweight :-/ Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope-dev] configuring global utilities in zcml

2008-08-05 Thread Robert Niederreiter
Hi, Am Dienstag, den 05.08.2008, 11:43 +0100 schrieb Chris Withers: Nikolay Kim wrote: I'm aware of this but it kind of defeats the idea of seperating code and configuration... So, other ideas? create new zcml directive. That seems pretty heavyweight :-/ disagree, that sounds

Re: [Zope-dev] configuring global utilities in zcml

2008-08-05 Thread Chris Withers
Robert Niederreiter wrote: Hi, Am Dienstag, den 05.08.2008, 11:43 +0100 schrieb Chris Withers: Nikolay Kim wrote: I'm aware of this but it kind of defeats the idea of seperating code and configuration... So, other ideas? create new zcml directive. That seems pretty heavyweight :-/

[Zope-dev] Zope Tests: 5 OK

2008-08-05 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Mon Aug 4 11:00:00 2008 UTC to Tue Aug 5 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Mon Aug 4 20:53:42 EDT 2008 URL:

[Zope-dev] Re: configuring global utilities in zcml

2008-08-05 Thread Philipp von Weitershausen
Chris Withers wrote: Nikolay Kim wrote: you can create utility in python file and then use component= for example utility.py: class Utility(object): pass myUtility = Utility() configure.zcml: utility name=myUtility component=.utility.myUtility / I'm aware of this but it kind of

Re: [Zope-dev] configuring global utilities in zcml

2008-08-05 Thread Nikolay Kim
I'm aware of this but it kind of defeats the idea of seperating code and configuration... So, other ideas? create new zcml directive. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] Re: configuring global utilities in zcml

2008-08-05 Thread Philipp von Weitershausen
Chris Withers wrote: Nikolay Kim wrote: I'm aware of this but it kind of defeats the idea of seperating code and configuration... So, other ideas? create new zcml directive. That seems pretty heavyweight :-/ It's not. It's in fact relatively easy to write a custom utility directive

[Zope-dev] Why several versions in controlled-packages.cfg?

2008-08-05 Thread Christophe Combelles
I'm wondering why there are several versions of packages in controlled-packages.cfg? Isn't the KGS supposed to point to a fixed set of unique versions ? I'm asking because I think it's completely impossible to test every combination of packages: Imagine the controlled-packages.cfg is

Re: [Zope-dev] Why several versions in controlled-packages.cfg?

2008-08-05 Thread Marius Gedminas
On Tue, Aug 05, 2008 at 04:05:07PM +0200, Christophe Combelles wrote: I'm wondering why there are several versions of packages in controlled-packages.cfg? Isn't the KGS supposed to point to a fixed set of unique versions ? I asked srichter on IRC about this, and my understanding is that *

[Zope-dev] zcml filtering

2008-08-05 Thread Wichert Akkerman
I have an interesting problem in the world of Zope 2 and zcml: CMFCore registers an handleDynamicTypeCopiedEvent subscriber which does something that I want to prevent at all costs, so I am trying to make sure it is not subscriber. That appears to be impossible! I can not unsubscribe it, since

[Zope-dev] zope.app.authentication and zope.app.container broken doctests

2008-08-05 Thread Marius Gedminas
Something seems to be wrong with zope.app.authentication 3.4.2 and zope.app.container 3.5.5 eggs: Test-module import failures: Module: zope.app.authentication.tests ValueError: line 13 of the docstring for principalfolder.txt has inconsistent leading whitespace: '\r' Module:

Re: [Zope-dev] zope.app.authentication and zope.app.container broken doctests

2008-08-05 Thread Chris Withers
Marius Gedminas wrote: Ideas? Eggs built on Windows? Missing svn:eol-style=native properties? Mixed \n and \r\n line endings? Probably mixed line endings. It's a shame doctest is so fragile to this... Chris -- Simplistix - Content Management, Zope Python Consulting -

[Zope-dev] Please no version numbers in setup.py [was: SVN: Zope2.buildout/tags/2.11.1/setup.py Pin / fix up dependencies based on comparison with monolith.]

2008-08-05 Thread Philipp von Weitershausen
Tres Seaver wrote: Log message for revision 89399: Pin / fix up dependencies based on comparison with monolith. Thanks for picking this up! I do, however, strongly object to pinning versions of dependencies in setup.py like this. What's the point of eggifying Zope 2 in the first place

[Zope-dev] two packages badly generated

2008-08-05 Thread Christophe Combelles
Marius Gedminas a écrit : Something seems to be wrong with zope.app.authentication 3.4.2 and zope.app.container 3.5.5 eggs: Test-module import failures: Module: zope.app.authentication.tests ValueError: line 13 of the docstring for principalfolder.txt has inconsistent leading

Re: [Zope-dev] Please no version numbers in setup.py [was: SVN: Zope2.buildout/tags/2.11.1/setup.py Pin / fix up dependencies based on comparison with monolith.]

2008-08-05 Thread Christophe Combelles
Philipp von Weitershausen a écrit : Tres Seaver wrote: Log message for revision 89399: Pin / fix up dependencies based on comparison with monolith. Thanks for picking this up! I do, however, strongly object to pinning versions of dependencies in setup.py like this. What's the point of

[Zope-dev] Re: zcml filtering

2008-08-05 Thread Martin Aspeli
Wichert Akkerman wrote: I have an interesting problem in the world of Zope 2 and zcml: CMFCore registers an handleDynamicTypeCopiedEvent subscriber which does something that I want to prevent at all costs, so I am trying to make sure it is not subscriber. That appears to be impossible! I can