[Zope-dev] Re: Improvements for Zope2's security

2006-09-19 Thread Christian Heimes
Lennart Regebro schrieb: You have many good points in your list of troubles. Many of them are resolved by using security declarations through ZCML instead. It would be interesting to here your views on this. In general I preferre old and well tested security code over new security related

[Zope-dev] Improvements for Zope2's security

2006-09-18 Thread Christian Heimes
Hey guys! In the past few months I fiddled around with Zope2's security and access control code. I analysied my own code and code from other developers to search for common errors. Also I tried to think of ways to make the security system easier and more verbose on coding errors I have not yet

[Zope-dev] Re: 2.8.0b1 issues with plone 2.0.5

2005-04-25 Thread Christian Heimes
Tim Hicks wrote: Apologies if this is already known about... I just installed 2.8.0b1 (using python 2.3.5), fired it up, then tried to add a 'plone site' (2.0.5). The plone site actually did get added, but here's what I got as well: For the notes: Latest versions of Plone 2.1 and CMF 1.4 are

[Zope-dev] Re: BTreeFolder2 for Zope 2.8?

2005-04-23 Thread Christian Heimes
Andreas Jung wrote: Any objections to move BTreeFolder2 into the Zope core for Zope 2.8? BTF is widely used in the Zope, CMF Plone world and it would not hurt to ship it with Zope. +1 Christian ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] Re: ZPT: defer expression fix

2005-04-08 Thread Christian Heimes
Evan Simpson wrote: Christian Heimes wrote: That's an interessting use case. Do you want me to keep the code and make up a new expression? I'm thinking about lazy:. If you have a particular use for defer: that would justify the split, please go ahead. I have no particular interest in keeping

[Zope-dev] Re: ZPT: defer expression fix

2005-04-08 Thread Christian Heimes
Tres Seaver wrote: I'd be glad to help with that, Christian. I've added a doc string to the DeferExpr module. Do you want me to write more docs is it enough to be added to the ZPT guide? Also I need a little help for the unit tests. How can I emulate tal:content or similar inside an expression

[Zope-dev] Re: ZPT: defer expression fix

2005-04-02 Thread Christian Heimes
Dieter Maurer wrote: Maybe, the feature could get documented as well... An undocumented feature is only half valuable... +1 Is there anybody out there who can help me with the docs? I need someone to translate my english into real and nice english and someone with the permissions to update the

[Zope-dev] Re: post publishing hook

2005-04-01 Thread Christian Heimes
Florent Guillaume wrote: I really could use a post publishing hook. Standard use case: delay indexing at the end of the request to only do it once per object even if the object has been modified 4 times. Using a post publishing hook for this use case isn't a good idea - IMO. The Publisher has

[Zope-dev] Re: ZPT: defer expression fix

2005-03-29 Thread Christian Heimes
Florent Guillaume wrote: I had trouble finding your branch because you put it in Zope/tiran-zpt-pydefer instead of Zope/branches/tiran-zpt-pydefer. Could you move it ? Ups, done :) Christian ___ Zope-Dev maillist - Zope-Dev@zope.org

[Zope-dev] ZPT: defer expression fix

2005-03-28 Thread Christian Heimes
PageTemplates have an undocumented features called defer:. It's a kind of lazy initialization of variables. I've fixed to issues in my tiran-zpt-pydefer branch (svn): * DeferWrappers weren't working inside a python expression because PythonExpr didn't know about them * DeferWrapper didn't

[Zope-dev] Re: QueueCatalog Tool Inadvertantly Triggers Indexing

2005-02-19 Thread Christian Heimes
Ken Wasetis wrote: Is this a bug, or am I misusing or misunderstanding the tool's design? ATFile is making use of a special hook of TextIndexNG2 from Andreas Jung. The hook is called txng_get. It might (!) have to do something with the hook. That's the only thing that is special about ATFile in

[Zope-dev] Re: Renamed the Zope package to Zope2 and including Zope 3 packages in Zope 2.8

2005-02-01 Thread Christian Heimes
Jim Fulton wrote: Originally, I had intended not to include any Zope 3 packages until Zope 2.9, however, Zope 2.8 has been delayed long enough that I think it makes sense to include some parts of Zope 3 sooner. I also want to use some of the Zope 3 persistent code support, which depends on

[Zope-dev] Re: Placeless Translation Service

2004-06-02 Thread Christian Heimes
Milos Prudek wrote: where can I discuss Placeless Translation Service development? The original author Lalo Martins does not respond to emails - current PTS bears a fork suffix - who's in charge now? Gotcha :) Come to plone-dev or #plone on irc.freenode.net Christian

[Zope-dev] Re: zLOG is dead

2004-04-20 Thread Christian Heimes
Fred Drake wrote: zLOG is dead The zLOG package used for logging throughout ZODB, ZEO, and Zope 2 has been declared obsolete. All logging for Zope products will use the logging package from Python's standard library. The zLOG package still exists in Zope 2 and the

[Zope-dev] Re: class methods in Persistent objects

2004-04-16 Thread Christian Heimes
Syver Enstad wrote: Is it possible to have class methods on ZODB Persistent objects? I am using 3.2 so that means I am using ExtensionClass. I guess that moving to 3.3 would mean being able to use class methods? What is the expected time that the 3.3 release will be ready for production use? I

[Zope-dev] Re: PlacelessTranslationService syntax

2004-04-13 Thread Christian Heimes
Milos Prudek wrote: What's the correct ZPT syntax for PlacelessTranslationService? PTS is just a translation service for ZPT. It doesn't add any functionality to ZPT. I tried this: b i18n:translate= i18n:domain=ibc i18n:target=string:czGood morning/b This gets rendered into: bGood morning/b

[Zope-dev] Re: Proposal: Move to subversion for source code control of the Zope and ZODB projects

2004-04-11 Thread Christian Heimes
Jim Fulton wrote: I propose to move from CVS to subversion for the Zope and ZODB projects; http://dev.zope.org/Zope3/MovingSCMToSubversion Initially, I propose to move just the repository heads. Maintenamce branches (e.g. Zope 2.6 and Zope 2.7) will remain in CVS. Finally ... :) +1 Christian

[Zope-dev] External Editor and Archetypes 1.3

2004-04-05 Thread Christian Heimes
Hi! I tested the External Editor integration with the last version of AT Document from my AT Content Types. When saving the changes I'm getting this exception: Traceback (innermost last): Module ZPublisher.Publish, line 100, in publish Module ZPublisher.mapply, line 88, in mapply Module

[Zope-dev] Next bug: base_edit and webdav lock

2004-04-05 Thread Christian Heimes
The base_edit template of archetypes doesn't take care of webdav looks. It's possible to save a file while it's looked. Christian ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] InvalidObjectReference: Attempt to store an object from a foreign database connection

2004-03-29 Thread Christian Heimes
There is a problem regarding plone, cmf and the quickinstaller tool. I'm getting an InvalidObjectReference error after reinstalling a product with the quickinstaller a second time or several times. It looks like the error happens only after I visited the plone ui at least once but that could

Re: [Zope-dev] InvalidObjectReference: Attempt to store an object from a foreign database connection

2004-03-29 Thread Christian Heimes
Dieter Maurer wrote: Andreas Jung announced that he was able to work around a similar problem in PloneCollectorNG. He changed a class to be *not* persistent and that resovled his problem. Christian ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-07 Thread Christian Heimes
Chris McDonough wrote: FWIW, this often happens when self isn't ultimately wrapped in a RequestContainer (as it always should be when dealing with TTW code or code that depends on REQUEST). The string is likely something like Special Object Used To Force Acqusition, which is the string that

[Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-06 Thread Christian Heimes
Christian Heimes wrote: [...] And the next one: Python2.3.3/Zope2.70rc2/Plone2rc5. Exception Type AttributeError Exception Value 'str' object has no attribute 'RESPONSE' [...] Module Products.CMFPhoto.Photo, line 510, in clearCache AttributeError: 'str' object has no attribute 'RESPONSE

[Zope-dev] Re: Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-05 Thread Christian Heimes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: ~ Looks like RESPONSE is None. | | I do not see how this can happen... aol / but a CMFPhoto user reported a bug like this to me today. According to his traceback self.REQUEST had now attribute RESPONSE. That's really strange. :(

[Zope-dev] Re: New-style ExtensionClasses (Zope 2.8) -- MRO issue

2003-11-24 Thread Christian Heimes
Sidnei da Silva wrote: I'm going to fix those (after my english class) and then try something harder ;) Here is more stuff: import mrohell base = mrohell.step1() mrohell.step2(base, mroonly=True) Couldn't get mro for Products.Archetypes.BaseBTreeFolder.BaseBTreeFolder Couldn't get mro for