[Zope-CMF] Re: Modifications using GS profiles

2007-04-09 Thread yuppie
Hi Tres! Tres Seaver wrote: yuppie wrote: But that code doesn't improve the non-purging mode. The changes Wichert proposed make sense with or without the 'upgrade steps' feature. If we had the upgrade machinery in place, we could scrap non-purging mode altogether -- its purp

[Zope-CMF] [dev] unresolved site manager related issues

2007-04-10 Thread yuppie
for editing the XML representation (as used in GenericSetup), but that depends on resolving issue 2. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.

[Zope-CMF] Re: Modifications using GS profiles

2007-04-10 Thread yuppie
Hi Tres! Tres Seaver wrote: yuppie wrote: Tres Seaver wrote: yuppie wrote: Tres Seaver wrote: If we had the upgrade machinery in place, we could scrap non-purging mode altogether -- its purpose is to allow for "controlled" application of changes to existing configuration wi

[Zope-CMF] Re: [dev] unresolved site manager related issues

2007-04-11 Thread yuppie
Godefroid Chapelle wrote: Jens Vagelpohl wrote: On 10 Apr 2007, at 10:30, yuppie wrote: c) improving five.lsm (Rocky) AFAICS this is an other attempt to resolve the same issue: http://mail.zope.org/pipermail/zope-cmf/2007-March/025708.html We have to decide which way to go. I prefer c) if it

[Zope-CMF] Re: [dev] unresolved site manager related issues

2007-04-11 Thread yuppie
Hi! Kapil Thangavelu wrote: On Tue, 10 Apr 2007 09:09:27 -0400, Jens Vagelpohl <[EMAIL PROTECTED]> wrote: On 10 Apr 2007, at 10:30, yuppie wrote: Currently non-five.lsm site managers don't work in CMF, see this thread: http://mail.zope.org/pipermail/zope-cmf/2007-March/

[Zope-CMF] Re: [dev] unresolved site manager related issues

2007-04-12 Thread yuppie
Hi! Philipp von Weitershausen wrote: yuppie wrote: Kapil's also right when he says that utilities by principle are context-less components. By principle all Zope 3 code might depend on setSite to work as expected. We just don't pass that 'site context' explicitly to

[Zope-CMF] Re: [dev] unresolved site manager related issues

2007-04-12 Thread yuppie
AdapterRegistry (_adapters, _subscribers, _provided) are looked up directly. Did anybody try to use customized lists and dictionaries for five.lsm that do the wrapping? Or can anybody tell me why that would be a bad idea? I guess performance might be a problem. Cheers, Yuppie

[Zope-CMF] [dev] five.localsitemanager

2007-06-07 Thread yuppie
ssful, I'm fine with reverting all the tools-as-utilities changes. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: [dev] five.localsitemanager

2007-06-13 Thread yuppie
he last weekend started the next day, so in my view it was "this weekend". By "next weekend" I did mean the weekend *after* "this weekend". Sorry. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail

[Zope-CMF] [dev] five.localsitemanager: proposal

2007-06-18 Thread yuppie
his week I have some time to work on the implementation. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: SVN: CMF/branches/2.1/C - changed the way skins are set up, using __before_publishing_traverse__ instead of __of__

2007-06-18 Thread yuppie
traversal and trigger the setup in __before_publishing_traverse__ don't need it. Please let me know if you think this checkin causes too much trouble and should be reverted. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org

[Zope-CMF] Re: SVN: CMF/branches/2.1/C - changed the way skins are set up, using __before_publishing_traverse__ instead of __of__

2007-06-21 Thread yuppie
Dieter Maurer wrote: yuppie wrote at 2007-6-18 11:29 +0200: ... Please let me know if you think this checkin causes too much trouble and should be reverted. We are using portals and their skins widely in scripts executed outside of Zope. Especially, they do not use the ZPublisher to traverse

[Zope-CMF] Re: state of GenericSetup trunk and branches

2007-06-21 Thread yuppie
ase is just not deprecated because GenericSetup still uses it in some places. But the goal was to get rid of it, not to add new files that depend on it. - Why is exporting metadata.xml not supported? - How are profile dependencies specified, where are they used?

[Zope-CMF] Re: five.localsitemanager may not do the trick

2007-06-21 Thread yuppie
the test pass: http://svn.zope.org/five.localsitemanager/trunk/src/five/localsitemanager/registry.py?rev=76442&view=auto Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zo

[Zope-CMF] Re: state of GenericSetup trunk and branches

2007-06-22 Thread yuppie
Hi Rob! Rob Miller wrote: yuppie wrote: - Why is it necessary to use version numbers from VERSION.txt? AFAICS it does not make much sense to keep profile version numbers in sync with product version numbers. New profiles should have an explicit version in metadata.xml, old profiles can

[Zope-CMF] Re: Minor problem with local_pt and non-ascii portal properties

2007-06-22 Thread yuppie
se a script and Products.CMFDefault.utils.decode. In CMF 2.1 *all* strings passed to a template have to be unicode. Maybe 'portal_title' defined in getMainGlobals works for you, at least it shows how to use 'decode'. HTH, Yuppie ___ Zope-CMF m

[Zope-CMF] Re: New factory stuff

2007-06-22 Thread yuppie
The only reason a namespace is used is to make sure identifiers are unique. If you use your own namespace, you don't have to care about utility names used by other products. HTH, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org htt

[Zope-CMF] Re: [dev] five.localsitemanager: proposal

2007-06-23 Thread yuppie
in the long run, modify all tools to make them work as utilities AFAICS, KSS will no longer need the monkey patch if it sets the LookupClass to FiveVerifyingAdapterLookup. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http:

[Zope-CMF] Re: [dev] five.localsitemanager: proposal

2007-06-24 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: - figure out if we can make acl_users an utility User folders, or their plugins, seem to have a tendency to rely on self.REQUEST so that is probably not going to work. :( MembershipTool depends on acl_users MemberDataTool, RegistrationTool

[Zope-CMF] Re: [dev] five.localsitemanager: proposal

2007-06-24 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: Wichert Akkerman wrote: Previously yuppie wrote: - figure out if we can make acl_users an utility User folders, or their plugins, seem to have a tendency to rely on self.REQUEST so that is probably not going to work. :( MembershipTool

[Zope-CMF] Re: [dev] five.localsitemanager: proposal

2007-06-25 Thread yuppie
the old five.lsm, but not with the five.lsm trunk and r76995 of CMF. Are you using a KSS version without monkey patch? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

[Zope-CMF] Re: [GS] ZODB error when importing an extension profile

2007-06-25 Thread yuppie
already in use. Looks like http://www.zope.org/Collectors/CMF/486 Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] [headsup] 2.1 branch and trunk unstable

2007-06-25 Thread yuppie
9 and later) unless you want to help testing those changes! If everything goes well, those changes will become permanent and migration code will be added. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/ma

[Zope-CMF] Re: [dev] five.localsitemanager: proposal

2007-06-25 Thread yuppie
Charlie Clark wrote: Am 23.06.2007 um 14:53 schrieb yuppie: There are 10 tools in CMF that are not ready for being used as utilities, they have to be used the old way until they are fixed: content_type_registry cookie_authentication portal_actions portal_calendar portal_catalog portal_skins

[Zope-CMF] Re: [dev] five.localsitemanager: proposal

2007-06-26 Thread yuppie
Hi! Hanno Schlichting wrote: yuppie wrote: Wichert Akkerman wrote: Previously yuppie wrote: MembershipTool depends on acl_users MemberDataTool, RegistrationTool, DiscussionTool and CachingPolicyManager depend on MembershipTool From what I can see in the Plone tests it won't be pos

[Zope-CMF] [dev] postonly and required Zope version

2007-06-28 Thread yuppie
7;ll change the dependency for CMF 2.1 and trunk to Zope 2.10.4 and clean up the postonly changes. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.o

[Zope-CMF] Re: Where is getProperty?

2007-06-29 Thread yuppie
Property should become part of the IPropertiesTool interface and implementation. It should not rely on acquisition. HTH, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: Where is getProperty?

2007-06-29 Thread yuppie
Charlie Clark wrote: Am 29.06.2007 um 10:37 schrieb yuppie: Looks like your utility isn't acquisition wrapped - getProperty is usually acquired from the site root. 1.) Your site seems to broken, there is currently no migration code that updates the lookup class if you have an old

[Zope-CMF] Re: Possible beta/rc ?

2007-07-03 Thread yuppie
sic GS feature. I'd like to see http://www.zope.org/Collectors/CMF/473 resolved *before* the next beta release. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://c

[Zope-CMF] Re: Possible beta/rc ?

2007-07-03 Thread yuppie
forward port the latest changes to CMF trunk. I have some ideas for a roadmap, but that'll be the subject of different mail within the next days. That roadmap could include some changes (like renamings, deprecation warnings) for CMF 2.1. Cheer

[Zope-CMF] Re: Possible beta/rc ?

2007-07-03 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: 1.) The thread mentioned above is about other issues than the components handler issue. AFAICS the BBQ sprint work still needs some polishing. What kind of polishing do you see still being needed? I didn't have a closer look at GS for a

[Zope-CMF] Re: SVN: CMF/trunk/CMF - fixed credentialsChanged (don't use self.REQUEST)

2007-07-03 Thread yuppie
usion and disaster. I replaced this TypeError by BBB code and a deprecation warning, so for now this is resolved. In general we might need a pattern like that if other optional arguments come before REQUEST and we want to make REQUEST required. I don't think changing

[Zope-CMF] [dev] tools-as-utilities roadmap

2007-07-04 Thread yuppie
er, everybody has to work with tools and utilities side by side for a long time. Might be confusing. Opinions? Questions? Other scenarios? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo

[Zope-CMF] Re: [dev] tools-as-utilities roadmap

2007-07-05 Thread yuppie
arguments where REQUEST is used. A bird in the hand is worth two in the bush. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug repo

[Zope-CMF] Re: [dev] tools-as-utilities roadmap

2007-07-05 Thread yuppie
Hi! Godefroid Chapelle wrote: Tres Seaver wrote: yuppie wrote: Godefroid Chapelle wrote: Scenario 1+2 : The methods that depend on REQUEST are moved to browser views as below instead of quickly fixed as in the scenario above. They can then be deprecated on the tool. Once a tool has

[Zope-CMF] Re: [dev] tools-as-utilities roadmap

2007-07-05 Thread yuppie
hods that need to be fixed or replaced before they can become part of an utility API. All tools listed here seem to work as utilities: http://svn.zope.org/CMF/trunk/CMFDefault/profiles/default/componentregistry.xml?rev=77358&view=auto HTH, Yuppie

[Zope-CMF] Re: Possible beta/rc ?

2007-07-05 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: 2.) The ability to create valid snapshots is a very basic GS feature. I'd like to see http://www.zope.org/Collectors/CMF/473 resolved *before* the next beta release. I fixed a couple of GenericSetup bugs recently which may have fixed thi

[Zope-CMF] Re: [dev] tools-as-utilities roadmap

2007-07-06 Thread yuppie
Hi Tres! Tres Seaver wrote: yuppie wrote: Or do you prefer to keep things as they are over a less clean switch to utilities? Yes. I'd rather get 2.1 out, even with tools-which-can't-be-utilitiies as they are, then delay. I'm not just talking about CMF 2.1. I'm f

[Zope-CMF] Re: Possible beta/rc ?

2007-07-06 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: Wichert Akkerman wrote: Previously yuppie wrote: 2.) The ability to create valid snapshots is a very basic GS feature. I'd like to see http://www.zope.org/Collectors/CMF/473 resolved *before* the next beta release. I fixed a coup

[Zope-CMF] Re: [dev] tools-as-utilities roadmap

2007-07-06 Thread yuppie
Hi! Wichert Akkerman wrote: Previously Tres Seaver wrote: yuppie wrote: Tres Seaver wrote: yuppie wrote: Or do you prefer to keep things as they are over a less clean switch to utilities? Yes. I'd rather get 2.1 out, even with tools-which-can't-be-utilitiies as they are, then

[Zope-CMF] Re: Plone needs a release this week

2007-07-12 Thread yuppie
ixed today by Wichert. +1 for a new 2.1 beta Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: GenericSetup extension profile import step mis-feature

2007-07-31 Thread yuppie
adding new code that checks if a step is available without actually running it. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: GenericSetup extension profile import step mis-feature

2007-07-31 Thread yuppie
Hi! Martin Aspeli wrote: yuppie-3 wrote: The proposed solution doesn't work: The ImportStepRegistry is not only used for imports - it is also used for creating new 'import_steps.xml' files for exports. Exported profiles are always base profiles, they have to specify *all*

[Zope-CMF] Re: Plone needs a release this week

2007-07-31 Thread yuppie
oolByName'; in the future, prefer 'zapi.getUtility(IActionsTool)'." Seems not all docs reflect the latest tools-as-utilities changes. I think the most important issues can be resolved before the weekend *if* some people are willing to help. Cheers, Yuppie

[Zope-CMF] Re: GenericSetup extension profile import step mis-feature

2007-07-31 Thread yuppie
jects in the site. As long as there are no conflicting export handlers that export the object's configuration twice, I can't see any export problems. If there are conflicts, it should be sufficient to resolve them on instance level by fixing

[Zope-CMF] Re: Plone needs a release this week

2007-07-31 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: - The exports created by the new components handler are still flawed, ISiteRoot and placeless components are not exported correctly. I'm quite sure I fixed that: I was able to export the components and import them again. Has that been b

[Zope-CMF] Re: GenericSetup extension profile import step mis-feature

2007-07-31 Thread yuppie
more complex than they already are. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: GenericSetup extension profile import step mis-feature

2007-07-31 Thread yuppie
session a few weeks ago to remove such a step manually from the registry. That worked, but having a method that you can call in an uninstall method that does this for you, would be better. One more reason for a non-persistent global registry. Yuppie _

[Zope-CMF] Re: Plone needs a release this week

2007-08-05 Thread yuppie
Hi! Jens Vagelpohl wrote: On 2 Aug 2007, at 13:55, Wichert Akkerman wrote: Previously yuppie wrote: 1.) Exporting the ISiteRoot utility, 'object' should be empty. But I get this instead: 2.) By placeless components I mean something like this: The import works fin

[Zope-CMF] Re: Plone needs a release this week

2007-08-06 Thread yuppie
Hi! Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5 Aug 2007, at 20:15, yuppie wrote: I'm supposed to do a CMF 2.1.0 release today, but the state of these issues is unclear. Wichert, did you look at it? There are no checkins into either CMF or GS as far as

[Zope-CMF] Re: Plone needs a release this week

2007-08-06 Thread yuppie
yuppie wrote: AFAICS the premature GenericSetup 1.3 release has the biggest issues: - There are also some usability issues (strange ordering; strange interface names including '_tools' and '_content'; Ordering and dotted names are fixed now. This makes it much easie

[Zope-CMF] Re: Plone needs a release this week

2007-08-07 Thread yuppie
Hi! Wichert Akkerman wrote: Previously yuppie wrote: Wichert Akkerman wrote: Previously yuppie wrote: - The exports created by the new components handler are still flawed, ISiteRoot and placeless components are not exported correctly. I'm quite sure I fixed that: I was able to expor

[Zope-CMF] Re: Plone needs a release this week

2007-08-07 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: Wichert Akkerman wrote: I get something else: if I import this: the export looks like this: That seems to be a similar but different bug. this is caused by the zope.component.registerUtility not storing the factory method but the

[Zope-CMF] Re: Plone needs a release this week

2007-08-07 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: The check for aq_base should be fine, but your example shows a second issue: type() is used to get the factory. That only works if the class is the factory. So there seems to be indeed a need to store somewhere the factory name :( I think we

[Zope-CMF] Re: Plone needs a release this week

2007-08-07 Thread yuppie
Hi! Wichert Akkerman wrote: Previously yuppie wrote: Wichert Akkerman wrote: Previously yuppie wrote: The check for aq_base should be fine, but your example shows a second issue: type() is used to get the factory. That only works if the class is the factory. So there seems to be indeed a

[Zope-CMF] Re: GenericSetup and removed products

2007-09-06 Thread yuppie
Wichert Akkerman wrote: * on GS trunk I want to implement zcml-based import and export step registration (I have a partial implementation but need to finish that) That means replacing the persistent local registries by a global registry, right? Cheers, Yuppie

[Zope-CMF] Re: GenericSetup and removed products

2007-09-06 Thread yuppie
Hi! Tres Seaver wrote: yuppie wrote: Wichert Akkerman wrote: * on GS trunk I want to implement zcml-based import and export step registration (I have a partial implementation but need to finish that) That means replacing the persistent local registries by a global registry, right? I&#

[Zope-CMF] Re: Design approach questions: unique content-ish items?

2007-09-17 Thread yuppie
site managers to sub-folders. That works fine, just the GenericSetup support is missing: http://www.zope.org/Collectors/CMF/500 Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinf

[Zope-CMF] eggification status?

2007-11-05 Thread yuppie
/ and Products.GenericSetup/tags/1.3.2/Products/GenericSetup into CMF/branches/2.1/ Products.CMFCore seems not to be used - changes still go into CMF/*/CMFCore Can we please have *one* location for each product? Cheers, Yuppie ___ Zope-CMF

[Zope-CMF] [dev] GenericSetup: import step version

2007-11-05 Thread yuppie
e import step version approach. Am I missing something? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: eggification status?

2007-11-09 Thread yuppie
in /CMF/tags/2.1.0/CMFCore "2.1.0"in /Products.CMFCore/tags/2.1.0 "2.1.0" Zope Foundation policy? 2.) /GenericSetup/trunk and /GenericSetup/branches/1.3 should be deleted, /CMF/trunk/CMFCore and /CMF/branches/2.1/CMFCore replaced by externa

[Zope-CMF] Re: eggification status?

2007-11-13 Thread yuppie
Wichert Akkerman wrote: A related question is: how do we want to eggify CMF? It seems to make sense to create one egg for the whole of CMF and a second egg for GenericSetup. Why not one egg for each CMF product? Can you please elaborate? Cheers, Yuppie

[Zope-CMF] Re: [dev] GenericSetup: profile version and metadata.xml

2007-12-05 Thread yuppie
Hi! Wichert Akkerman wrote: Previously yuppie wrote: Running the trunk unit tests triggers warnings like this one: "UserWarning: Version for profile Products.GenericSetup:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml."

[Zope-CMF] [dev] GenericSetup: profile version and metadata.xml

2007-12-05 Thread yuppie
le version is deprecated. But you now get always a deprecation warning if no metadata.xml exists in the profile. Is that intended? Is specifying a version now required? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zop

[Zope-CMF] Re: [dev] GenericSetup: profile version and metadata.xml

2007-12-05 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: Wichert Akkerman wrote: Previously yuppie wrote: Running the trunk unit tests triggers warnings like this one: "UserWarning: Version for profile Products.GenericSetup:default taken >from version.txt. This is deprecated behaviour

[Zope-CMF] Re: [dev] GenericSetup: profile version and metadata.xml

2007-12-18 Thread yuppie
Hi! Tres Seaver wrote: yuppie wrote: Previously yuppie wrote: Running the trunk unit tests triggers warnings like this one: "UserWarning: Version for profile Products.GenericSetup:default taken from version.txt. This is deprecated behaviour: please specify the version in metadat

[Zope-CMF] [dev] GenericSetup: using global steps

2007-12-19 Thread yuppie
a flag file for the 'various' step. I already started implementing this. If there are no objections, I'll soon check in my changes. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailma

[Zope-CMF] Re: [dev] GenericSetup: using global steps

2007-12-20 Thread yuppie
Hi! Wichert Akkerman wrote: Previously yuppie wrote: GenericSetup trunk has global step registries. I propose to use the new ZCML directive for registering all GenericSetup and CMF import and export steps globally. And to remove the import_steps.xml and export_steps.xml files from the

[Zope-CMF] Re: [dev] GenericSetup: using global steps

2007-12-22 Thread yuppie
yuppie wrote: GenericSetup trunk has global step registries. I propose to use the new ZCML directive for registering all GenericSetup and CMF import and export steps globally. And to remove the import_steps.xml and export_steps.xml files from the profiles shipped with CMF. This also requires

[Zope-CMF] [dev] event handlers in CMFCatalogAware

2007-12-26 Thread yuppie
call notifyModified() as reindexObject() does. If there are no objections, I'll backport the changes to the 2.1 branch. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] [dev] content factories and events - a proposal

2007-12-26 Thread yuppie
otifyWorkflowCreated() call for IObjectAddedEvent. indexObject() is already called. Any comments? Questions? Objections? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] Re: CMF 2.1.1 release

2007-12-27 Thread yuppie
efore this evening, I'll backport the changes mentioned here: http://mail.zope.org/pipermail/zope-cmf/2007-December/026999.html Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zop

[Zope-CMF] Re: Adapterizing CMFCore.WorkflowTool

2007-12-30 Thread yuppie
d adapters over multi-adapters. And deprecate getHistoryOf, setStatusOf and getStatusOf. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for b

[Zope-CMF] Re: Adapterizing CMFCore.WorkflowTool

2007-12-30 Thread yuppie
Laurence Rowe wrote: yuppie wrote: and adapterizing workflow status and history: http://plone.org/products/roadmap/221 +1 I just would prefer named adapters over multi-adapters. And deprecate getHistoryOf, setStatusOf and getStatusOf. The problem with using named adapters is that it

[Zope-CMF] Re: Adapterizing CMFCore.WorkflowTool

2008-01-08 Thread yuppie
Hi Laurence! Laurence Rowe wrote: yuppie wrote: Now I see why you didn't propose named adapters. But I'm still not happy with adapting (IContentish, basestring). Did you consider to add getId() to IWorkflowDefinition and to adapt (IContentish, IWorkflowDefinition)? Then I don

[Zope-CMF] Re: [dev] content factories and events - a proposal

2008-01-10 Thread yuppie
Hi! Wichert Akkerman wrote: Previously yuppie wrote: Here are my assertions: a) The right place for calling notifyWorkflowCreated() and indexObject() is the event handler for IObjectAddedEvent. _setObject() sends this event by default. b) Oldstyle factory methods are not responsible for

[Zope-CMF] Re: Required argument for registerDirectory ZCML directive

2008-01-21 Thread yuppie
cify one of them, but not both, which seems to be easy to do with invariants. Am I on the right track? :-) I guess you are. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://

[Zope-CMF] Re: Adapterizing CMFCore.WorkflowTool

2008-02-11 Thread yuppie
nd adapter lookups. I think the recommended pattern should be using the adapters directly, not the tool methods. Cheers Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.o

[Zope-CMF] Re: SVN: Products.GenericSetup/branches/1.3/Products/GenericSetup/ Merge 84270 from trunk: During object manager imports do not throw an

2008-02-27 Thread yuppie
eers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: What is the status of GS wiping catalog indexes on catalog.xml import?

2008-02-28 Thread yuppie
I'd prefer a IConfigurableIndex interface that also has a set method. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests

[Zope-CMF] Re: CMF Tests: 8 OK, 1 Failed

2008-02-28 Thread yuppie
) : CMF-2.1 Zope-2.11 Python-2.4.4 : Linux From: CMF Unit Tests Date: Wed Feb 27 21:37:14 EST 2008 URL: http://mail.zope.org/pipermail/cmf-tests/2008-February/008108.html I caused this failure. I thought yuppie fixed it yesterday. I fixed it in GS trunk, but forgot to backport the fix to the 1.3

[Zope-CMF] Re: What is the status of GS wiping catalog indexes on catalog.xml import?

2008-02-29 Thread yuppie
Andreas Jung wrote: --On 28. Februar 2008 09:38:31 +0100 yuppie wrote: I'd prefer a IConfigurableIndex interface that also has a set method. I added the IIndexConfiguration to the Zope trunk. I don't think that a set method is a good idea. Removing and re-adding is possibly the

[Zope-CMF] Re: Custom factories?

2008-03-03 Thread yuppie
for one class? There should not be a need for that. One meta type can be used for several portal types. I attached a custom factory for plain CMF documents that sets the initial text format to 'html'. Maybe that code helps you. Cheers, Yuppie -

[Zope-CMF] Re: Custom factories?

2008-03-04 Thread yuppie
Charlie Clark wrote: Am 03.03.2008 um 23:45 schrieb yuppie: Do you mean you use different meta types for one class? There should not be a need for that. One meta type can be used for several portal types. That's good to hear - how do I register different portal types? I've

[Zope-CMF] Re: GenericSetup 1.4 release

2008-03-07 Thread yuppie
Looks like five.localsitemanager is missing in your setup. Yuppie Jens Vagelpohl wrote: I'm running the tests on the current GS trunk and see a dozen errors like the traceback below. Right now my setup is Zope from the 2.10 branch after 2.10.4, maybe a few weeks old. I'm not using b

[Zope-CMF] [dev] GenericSetup and CMF dependencies

2008-04-20 Thread yuppie
the setuptools dependency. As soon as we have a decision, the relevant files should be updated. Can we get rid of the DEPENDENCIES.txt files and specify *all* dependencies in the setup.py files? Any feedback is welcome. Cheers, Yuppie __

[Zope-CMF] Re: [dev] GenericSetup and CMF dependencies

2008-04-21 Thread yuppie
Hi! Wichert Akkerman wrote: Previously yuppie wrote: Until recently, the Products themselves didn't use setuptools. Revision 85287 (http://svn.zope.org/?rev=85287&view=rev) changed that. It is no longer possible to run CMF without setuptools installed. Was that intended when setup

[Zope-CMF] Re: [dev] GenericSetup and CMF dependencies

2008-04-21 Thread yuppie
Hi Hanno! Hanno Schlichting wrote: yuppie wrote: I guess CMF 2.2 will be released before Zope2 or Python requires setuptools, so at least for now it is a GenericSetup/CMF dependency. http://svn.zope.org/CMF/trunk/ still exists and needs to be maintained (or deleted). Who ever added the

[Zope-CMF] [dev] newstyle content creation

2008-04-22 Thread yuppie
e CMF specific. Today I checked in a formlib based add view for File objects[3]. There is a new "Add File" action available if you use the "Experimental CMFDefault Browser Views" extension profile. Any feedback is welcome. Not sure if this makes Bug #161664[4] obsolete.

[Zope-CMF] Re: [dev] newstyle content creation

2008-04-22 Thread yuppie
Charlie Clark wrote: Am 22.04.2008 um 14:27 schrieb yuppie: Today I checked in a formlib based add view for File objects[3]. There is a new "Add File" action available if you use the "Experimental CMFDefault Browser Views" extension profile. Any feedback is welcome. No

[Zope-CMF] Re: [dev] GenericSetup and CMF dependencies

2008-04-22 Thread yuppie
Tres Seaver wrote: yuppie wrote: Hanno Schlichting wrote: yuppie wrote: I guess CMF 2.2 will be released before Zope2 or Python requires setuptools, so at least for now it is a GenericSetup/CMF dependency. http://svn.zope.org/CMF/trunk/ still exists and needs to be maintained (or deleted

[Zope-CMF] Re: [dev] newstyle content creation

2008-04-23 Thread yuppie
rting the forms should be easy The checked in add form borrows one pattern from z3c.form: It doesn't depend on IAdding, the view is registered for the container. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/m

[Zope-CMF] Re: [dev] newstyle content creation

2008-04-23 Thread yuppie
Charlie Clark wrote: Am 22.04.2008 um 17:24 schrieb yuppie: Yes. Missing is the integration in the CMFDefault add menu. For now the new 'add_file' action is used for showing the link to 'addFile.html'. I hope to have some time for this (and a new table-free version of

[Zope-CMF] Re: [dev] newstyle content creation

2008-04-23 Thread yuppie
Hi! Charlie Clark wrote: Am 23.04.2008 um 11:12 schrieb yuppie: Charlie Clark wrote: Am 22.04.2008 um 17:24 schrieb yuppie: Yes. Missing is the integration in the CMFDefault add menu. For now the new 'add_file' action is used for showing the link to 'addFile.html'.

[Zope-CMF] Re: [dev] newstyle content creation

2008-04-25 Thread yuppie
face? No. The view registrations don't provide enough information and I'd like to keep this configurable TTW. We can look up the addable types in the types tool as folder_factories and Plone do. But in that case we need a way to get the URL of the add view. Cheers, Y

[Zope-CMF] Re: [dev] newstyle content creation

2008-05-02 Thread yuppie
Hi Charlie! Charlie Clark wrote: Am 25.04.2008 um 09:23 schrieb yuppie: I simplified the code in ContentAddFormBase.create and moved it to the add view. 'finishCreate' no longer exists, your add view has to implement the complete 'create' method. Formlib raises an No

[Zope-CMF] Re: [dev] newstyle content creation

2008-05-13 Thread yuppie
Hi! Laurence Rowe wrote: yuppie wrote: The lookup is pretty much what I do at the moment. I can't think of an easy way of doing this apart from convention which is pretty much what you suggest with "addFile". I suppose the next thing would be to add support for the

[Zope-CMF] Re: Inconstancy with CA traversal

2008-06-25 Thread yuppie
ure views don't mask attributes: http://codespeak.net/pipermail/z3-five/2006q1/001186.html Skin methods are attributes of the portal root (see __getattr__ of SkinnableObjectManager), but not of sub folders. Views are looked up after attributes but before acquired attri

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread yuppie
se workflows.xml also has bind information that should remain there). All the information required for adding, moving or removing sub-objects is currently stored in the container's file. Additional code and complexity is necessary to extract tha

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread yuppie
Hi! Martin Aspeli wrote: yuppie wrote: Martin Aspeli wrote: The GS handlers for portal_types and portal_workflow both require a single file - types.xml and workflows.xml - that declares the objects, and a directory full of files - types/*.xml and workflows/*.xml - to initialise them

<    1   2   3   4   5   6   7   >