Re: [Zope-CMF] [CMF 2.1] opaque items calls make performance issue

2009-08-11 Thread yuppie
an alternative adapter that just looks for talkback. That makes opaque item support configurable and we can disable it by default. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf

Re: [Zope-CMF] CMF Tests: 3 OK, 1 Unknown

2009-07-27 Thread yuppie
', but the last released version is 2.12.0b3. With 2.12.0b3 and Python 2.6 we would see one failure. I propose to wait for the next Zope release. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf

Re: [Zope-CMF] [dev] CMF 2.2 dependencies

2009-07-10 Thread yuppie
(icon_expr) Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Re: [Zope-CMF] [dev] CMF 2.2 dependencies

2009-07-06 Thread yuppie
Tres Seaver wrote: yuppie wrote: Possible solutions: --- 1.) Make Zope = 2.12 required for CMF 2.2 and change all imports. 2.) Make Zope 2.13 required for CMF 2.2. 3.) Add zope.app.component and zope.app.container to CMF dependencies. 4.) Re-add zope.app.component

Re: [Zope-CMF] SVN: Products.CMFCore/trunk/setup.py - made new testing dependency caused by r99878 explicit

2009-07-06 Thread yuppie
that change made things worse. +1 for removing that dependency in setup.py *and* the test Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports

Re: [Zope-CMF] GenericSetup 1.5 release plans?

2009-06-26 Thread yuppie
the components handler improvements, GenericSetup trunk still works with older five.localsitemanager versions and Zope 2.10/2.11. In that case I see two testing errors in test_components. Not sure how to resolve this. Cheers, Yuppie ___ Zope-CMF

Re: [Zope-CMF] GenericSetup 1.5 release plans?

2009-06-17 Thread yuppie
: https://bugs.launchpad.net/zope-cmf/+bug/388380 Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Re: [Zope-CMF] Extending FTI.isConstructionAllowed

2009-06-04 Thread yuppie
Hi Wichert! Wichert Akkerman wrote: Previously yuppie wrote: 2.) The distinction between allowType() and isConstructionAllowed() was clear in CMF 2.1: allowType() checked a cheap, not permission related CMF specific restriction. isConstructionAllowed() checked generic permission related

Re: [Zope-CMF] Extending FTI.isConstructionAllowed

2009-06-03 Thread yuppie
. But allowType() could become part of a more general precondition that could be checked by checkObject and a new checkPortalType (=CMF specific checkFactory) function. Plone could use its own precondition that checks registered ITypeConstructionFilter adapters. Cheers, Yuppie

Re: [Zope-CMF] Extending FTI.isConstructionAllowed

2009-06-02 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: A CMF specific precondition would look up type restrictions in the fti of the container. checkFactory and checkObject are quite similar to isConstructionAllowed. I think we should reimplement this based on zope.container before we start

Re: [Zope-CMF] Extending FTI.isConstructionAllowed

2009-05-29 Thread yuppie
at that code? If we switch to that pattern, we could use different preconditions for containers with different interfaces. Would that be sufficient for your use case? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman

Re: [Zope-CMF] Extending FTI.isConstructionAllowed

2009-05-29 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: Wichert Akkerman wrote: I have a use case where I need to put additional restrictions on object creation, in particular I need to restrict the maximum depth of items inside of a container of a specific type. The ideal place to put

Re: [Zope-CMF] SVN: Products.GenericSetup/trunk/Products/GenericSetup/browser/addWithPresettings.pt - don't rely on manage_page_header, manage_form_title and manage_page_footer (in Zope 2.12 they can'

2009-05-18 Thread yuppie
short: This is only the case if the context of the view is also a view. In all other cases they still work. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net

Re: [Zope-CMF] which CMF for zope2.12

2009-04-25 Thread yuppie
zope.component version? Maybe a different version is somewhere on your path? HTH, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports

Re: [Zope-CMF] Best use of source numbers in GS upgrade steps?

2009-04-17 Thread yuppie
Hi Maurits! Maurits van Rees wrote: yuppie, on 2009-04-16: I added several tests and cleaned up the behavior on the trunk: http://svn.zope.org/*checkout*/Products.GenericSetup/trunk/Products/GenericSetup/tests/upgrade.txt Please let me know if I did break useful behavior. Ah, that looks

Re: [Zope-CMF] Best use of source numbers in GS upgrade steps?

2009-04-17 Thread yuppie
and moves in a different direction. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Re: [Zope-CMF] IIndexableObjectWrapper

2009-04-05 Thread yuppie
indexing. Why is there a need to access the raw object? The wrapper should provide all the interfaces and attributes required for indexing. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf

Re: [Zope-CMF] IIndexableObjectWrapper

2009-04-05 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: Martin Aspeli wrote: Plone 3.3's IIndexableObjectWrapper implementation (in plone.indexer) has a method _getWrappedObject(), to return the object that was wrapped by the indexable object wrapper. It is (or rather, will be) used

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-18 Thread yuppie
it here. I agree it belongs somewhere else. Maybe a registerWrapper method. But can't we make the adapter lookup in catalog_object optional and wouldn't that make test setups simpler? Ok, I bit the bullet and did some work on the tests. Great! Cheers, Yuppie

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-18 Thread yuppie
Hi! Tres Seaver wrote: yuppie wrote: But can't we make the adapter lookup in catalog_object optional and wouldn't that make test setups simpler? Agreed. I had expected that the catalog would do a queryAdapter, and default to the existing wrapper class if not found. Well. I had

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-18 Thread yuppie
. And who catalogs content that doesn't implement IContentish? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature

[Zope-CMF] [dev] five.localsitemanager: 1.0 branch dependencies

2009-03-12 Thread yuppie
objections? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Re: [Zope-CMF] [dev] five.localsitemanager: 1.0 branch dependencies

2009-03-12 Thread yuppie
Tres Seaver wrote: Wichert Akkerman wrote: Previously yuppie wrote: setup.py says: install_requires=[ 'setuptools', 'zope.component 3.5dev', ], But CHANGES.txt says: * Rewrite PersistentComponents.registeredUtilities to not use internal methods

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-11 Thread yuppie
Hi Martin! Martin Aspeli wrote: yuppie wrote: Martin Aspeli wrote: yuppie wrote: AFAICS wrapping the object before looking up adapters is unnecessary. The catalog should do the lookup directly and the existing features provided by IndexableObjectWrapper should be reimplemented

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-11 Thread yuppie
? If the context of the object is sufficient, we don't need a multi-adapter. If we just need the catalog and its context, we still have a generic solution for Zope 2. If we need the portal, we have a CMF-specific solution. Cheers, Yuppie ___ Zope

Re: [Zope-CMF] SVN: Products.CMFCore/trunk/Products/CMFCore/tests/test_CatalogTool.py Clean out module-scope imports.

2009-03-11 Thread yuppie
Hi Tres! Tres Seaver wrote: yuppie wrote: Tres Seaver wrote: Log message for revision 97800: Clean out module-scope imports. [...] What was wrong with these imports? I don't like module-scope imports in unit tests: I want tests to *fail*, not be skipped, when something

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-10 Thread yuppie
. For technical reasons this collaboration is asymmetric. Plone is built on top of Zope and CMF, not the other way round. If you want to work really close with these communities, you have to be part of them and use their repository. Cheers, Yuppie

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-10 Thread yuppie
will write up a short proposal. AFAICS wrapping the object before looking up adapters is unnecessary. The catalog should do the lookup directly and the existing features provided by IndexableObjectWrapper should be reimplemented as adapters. Cheers, Yuppie

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-10 Thread yuppie
Hi Martin! Martin Aspeli wrote: yuppie wrote: For the CMF project it is essential to have full control over its own layer of the stack and to participate in the development of the Zope layer. Using packages from the Plone repository means either using them as a black box or joining

Re: [Zope-CMF] IndexableObjectWrapper

2009-03-10 Thread yuppie
Martin Aspeli wrote: yuppie wrote: AFAICS wrapping the object before looking up adapters is unnecessary. The catalog should do the lookup directly and the existing features provided by IndexableObjectWrapper should be reimplemented as adapters. Bear in mind that there is a difference

Re: [Zope-CMF] SVN: Products.CMFCore/trunk/Products/CMFCore/tests/test_CatalogTool.py Clean out module-scope imports.

2009-03-10 Thread yuppie
Products.CMFCore.tests.base.dummy import DummySite -from Products.CMFCore.tests.base.security import OmnipotentUser -from Products.CMFCore.tests.base.security import UserWithRoles from Products.CMFCore.tests.base.testcase import SecurityTest What was wrong with these imports? Cheers, Yuppie

Re: [Zope-CMF] GenericSetup Zope support

2009-03-05 Thread yuppie
to run GenericSetup on older versions I'd prefer your first solution (BBB import from Globals) because it makes sure modules are imported in the right order. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

Re: [Zope-CMF] GenericSetup Zope support

2009-03-05 Thread yuppie
Wichert Akkerman wrote: Previously yuppie wrote: If you really need to run GenericSetup on older versions I'd prefer your first solution (BBB import from Globals) because it makes sure modules are imported in the right order. I see no good reasons not to support existing Zope 2.10

Re: [Zope-CMF] [dev] CMF 2.2 plans?

2009-03-04 Thread yuppie
Hi! Hanno Schlichting wrote: yuppie wrote: That would mean that CMFDefault-the-example-application will depend on z3c.form. If we are going to split off the forms we need to split off all browser views and the profiles that use these views. Something like 'cmf.app' that includes all

Re: [Zope-CMF] [dev] CMF 2.2 plans?

2009-03-04 Thread yuppie
Hi! Charlie Clark wrote: Am 02.03.2009 um 19:27 schrieb yuppie: This is on my todo list, but I still have to write a proposal. Hmm, I don't recall the issue here. There wasn't much discussion about this. Some time ago Dieter asked for grouping support: http://mail.zope.org/pipermail

Re: [Zope-CMF] [dev] CMF 2.2 plans?

2009-03-02 Thread yuppie
detail, but from what I can tell, these things are al stable. Yuppie would know best, though. There are 2 issues I'd like to see resolved before a beta is released: 1.) look up add view actions in a different way --- The current implementation

Re: [Zope-CMF] [dev] CMF 2.2 plans?

2009-03-02 Thread yuppie
Hi! Tres Seaver wrote: yuppie wrote: 1.) look up add view actions in a different way --- The current implementation is not flexible enough. There is no way to sort or group these actions. This is on my todo list, but I still have to write

[Zope-CMF] [dev] .zexp imports and notifyWorkflowCreated

2009-02-18 Thread yuppie
keep existing states untouched? AFAICS the easiest way to fix this is changing WorkflowTool.notifyCreated, making sure it only calls notifyCreated for workflows without a state in the workflow history. Any objections or better ideas? Cheers, Yuppie

Re: [Zope-CMF] [dev] .zexp imports and notifyWorkflowCreated

2009-02-18 Thread yuppie
Hi! Tres Seaver wrote: yuppie wrote: Moving the notifyWorkflowCreated call from _finishConstruction to the IObjectAddedEvent subscriber changed the behavior of .zexp imports: The workflow state is now always reset to the initial state. AFAICT that's no useful behavior for imports

Re: [Zope-CMF] [Checkins] SVN: Products.CMFCalendar/trunk/setup.py - dependency cleanup

2009-02-16 Thread yuppie
direct dependencies on packages Zope2 also depends on should not be specified if Zope2 is specified as dependency. I thought that was consensus, but if you don't agree I'm fine with further discussions. Cheers, Yuppie ___ Zope-CMF maillist

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

2009-02-12 Thread yuppie
it cause any trouble if I would check in that change? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Re: [Zope-CMF] Charsets

2009-01-19 Thread yuppie
Charlie Clark wrote: Am 18.01.2009 um 23:00 schrieb yuppie: I agree that there shouldn't be implemented in a different way than for Zope 3. And if we can solve the problems by fixing form encoding I'm happy. Although I'd like to see UTF-8 always the first charset returned

Re: [Zope-CMF] Charsets

2009-01-19 Thread yuppie
Dieter Maurer wrote: yuppie wrote at 2009-1-19 11:32 +0100: Charlie Clark wrote: Am 18.01.2009 um 23:00 schrieb yuppie: I agree that there shouldn't be implemented in a different way than for Zope 3. And if we can solve the problems by fixing form encoding I'm happy. Although I'd like

Re: [Zope-CMF] Charsets

2009-01-18 Thread yuppie
to forms and use the portal's default_charset for this. I'd very much appreciate your comments on this. I can't see a need to implement this in a different way than Zope 3. So I propose to fix the encoding of forms sent to the browser. Cheers, Yuppie

Re: [Zope-CMF] GenericSetup 1.5

2008-12-23 Thread yuppie
yuppie wrote: Right now the versions are mostly ignored if a checker exist. I'd like to evaluate the versions first and use the checker as an additional restriction. Also, running a step with checker should not update the current version of the profile. These changes would allow to split

Re: [Zope-CMF] CMF add views and browser:page /

2008-12-12 Thread yuppie
for=.interfaces.IMyType Products.CMFDefault.interfaces.ICMFDefaultLayer provides=zope.publisher.interfaces.browser.IBrowserPage name=myview factory=.myview.MyView permission=zope2.View / Cheers, Yuppie ___ Zope

Re: [Zope-CMF] CMF add views and browser:page /

2008-12-12 Thread yuppie
was much closer to the directive Martin proposes. Since this registers an adapter that provides IBrowserPage, 'cmf:addpage' might be an alternative. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-CMF] CMF add views and browser:page /

2008-12-11 Thread yuppie
the additional code in the long run, I can live with it. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Re: [Zope-CMF] GenericSetup 1.5

2008-12-11 Thread yuppie
that this doesn't require a proposal and discussion first, I could try to implement this in time for your release. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net

Re: [Zope-CMF] CMF add views and browser:page /

2008-12-09 Thread yuppie
Hi Martin! Martin Aspeli wrote: yuppie wrote: How about a new cmf:addview / directive that mimics browser:page /, but registers the (context,request,fti) adapter? I could probably put that together if people think it's a good idea. CMF add views are different because they are looked up

Re: [Zope-CMF] Customising types with add views

2008-12-09 Thread yuppie
Martin Aspeli wrote: yuppie wrote: Martin Aspeli wrote: [...] Let's consider a type Alpha that has a custom add form registered as such a (context, request, fti) adapter with name Alpha. fti.factory is Alpha, and there's a corresponding IFactory utility (with name Alpha). Now, let's say

Re: [Zope-CMF] CMF add views and browser:page /

2008-12-08 Thread yuppie
instead of a new cmf:addview / directive. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Re: [Zope-CMF] Customising types with add views

2008-12-08 Thread yuppie
view adapter name and the factory utility name have to be the same. Would it make sense to decouple these, e.g. with a new add_view_name property? If people really have that problem we can decouple this later. For now I can't see a need. Cheers, Yuppie

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-01 Thread yuppie
Hi! Laurence Rowe wrote: yuppie wrote: David Glick wrote: Does anyone have an objection to me adding 'context' as an alias for 'object' in the expression context that is built when executing CMF action expressions (in getExprContext in CMFCore/Expression.py)? This would remove one

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-29 Thread yuppie
' *and* 'context' or switching from 'object' to 'context' will cause even more confusion. Please see this thread http://mail.zope.org/pipermail/zope-cmf/2005-March/021990.html with this result http://mail.zope.org/pipermail/zope-cmf/2005-March/021999.html Cheers, Yuppie

Re: [Zope-CMF] [dev] Should portal_setup be registered as utility?

2008-11-20 Thread yuppie
Dieter Maurer wrote: yuppie wrote at 2008-11-18 12:00 +0100: Dieter Maurer wrote: If they would, local utilities were much nearer to tools and the transition would be facilitated. They would be nearer to tools, but also more distant from zope 3 utilities. I doubt that would really be a win

[Zope-CMF] [dev] Should portal_setup be registered as utility?

2008-11-16 Thread yuppie
and not registered portal_setup tools? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

[Zope-CMF] [dev] five.localsitemanager: site manager names

2008-11-16 Thread yuppie
as Zope 3. A customized __repr__ method could still show the complete path, at least as long as the active site is set accordingly. Any thoughts? I prefer solution 2. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http

Re: [Zope-CMF] Missing Event Handler for CMFCatalogAware

2008-11-12 Thread yuppie
Charlie Clark wrote: Am 11.11.2008 um 16:52 schrieb yuppie: AFAICT PortalFolder inherits from CMFCatalogAware to make sure it has the same manage_afterAdd, manage_afterClone and manage_beforeDelete methods as other content classes. But these methods are gone, so I guess the dependency

Re: [Zope-CMF] Missing Event Handler for CMFCatalogAware

2008-11-11 Thread yuppie
be moved to adapters and event subscribers. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Re: [Zope-CMF] [dev] 'add' actions and views - a proposal

2008-09-24 Thread yuppie
Hi! Martin Aspeli wrote: yuppie wrote: Martin Aspeli wrote: Wichert Akkerman wrote: Why not a ++add++ traverser? Aren't traversed supposed to be used for that kind of thing? Or does a view gives us something here that a traverser doesn't? Namespace traversal adapters are similar

Re: [Zope-CMF] [dev] 'add' actions and views - a proposal

2008-09-21 Thread yuppie
Hi Martin! Martin Aspeli wrote: yuppie wrote: Proposed CMFDefault changes --- 1.) CMF add views adapt not only container and request, but also the type info object. This way the views can't be accessed directly and have self.fti available. This is quite

Re: [Zope-CMF] [dev] 'add' actions and views - a proposal

2008-09-21 Thread yuppie
the reason? Anyway. I like the idea to use a traverser. It's more explicit and if you want different URLs you can hide them behind aliases. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] [dev] 'add' actions and views - a proposal

2008-09-19 Thread yuppie
in the type info, a default add view URL is returned. If there are no objections, I'll make the proposed changes on the trunk. @ Jens: When exactly do you want to make the beta release? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

Re: [Zope-CMF] CMFActionIcons vs. new-style actions

2008-09-18 Thread yuppie
Hi Jens! Jens Vagelpohl wrote: This has now landed, in several chunks because it turned out to be more work and a larger change set than expected, on the CMF trunk. Silly me thinking most of my work was done when Yuppie thoughtfully added a icon URL expression property to the new-style

Re: [Zope-CMF] CMFActionIcons vs. new-style actions

2008-09-18 Thread yuppie
Hi Martin! Martin Aspeli wrote: yuppie-4 wrote: Wichert Akkerman wrote: Previously yuppie wrote: I personally prefer to move all type info Actions to the actions tool. I can't see a need to specify separate 'view', 'edit' or 'metadata' Actions for each content type. That just makes

[Zope-CMF] [dev] add view traversal

2008-09-14 Thread yuppie
like dexterity or cmf should be visible in URLs. Those are implementation details that should be transparent for users. Any feedback is welcome. Cheers, Yuppie [1] http://mail.zope.org/pipermail/zope-cmf/2008-July/027500.html [2] http://dev.plone.org/plone/browser/plone.app.imaging

Re: [Zope-CMF] Formlib based view of folder contents

2008-09-13 Thread yuppie
but not the sort options. Our preference would be to put the filter information in hidden variables. I don't think CMFDefault should rely on sessions. Using hidden variables sounds fine to me. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

Re: [Zope-CMF] [dev] more add menu changes

2008-09-12 Thread yuppie
Charlie Clark wrote: Am 07.08.2008 um 12:26 schrieb yuppie: Proposal 2: main_template - CMFDefault menus are implemented in main_template. I propose to add a new section for 'folder/add' actions. Hi yuppie, finally had a bit of time to look at this. First

Re: [Zope-CMF] CMF 2.2.0 beta

2008-09-12 Thread yuppie
a new proposal. It also would be nice if someone could 'merge' the DEPENDENCIES.txt files into the setup.py files. [3] Cheers, Yuppie [1] http://mail.zope.org/pipermail/zope-cmf/2008-August/027607.html [2] http://mail.zope.org/pipermail/zope-cmf/2008-August/027612.html [3] http

Re: [Zope-CMF] CMF 2.2.0 beta

2008-09-12 Thread yuppie
Jens Vagelpohl wrote: On Sep 12, 2008, at 10:58 , yuppie wrote: It also would be nice if someone could 'merge' the DEPENDENCIES.txt files into the setup.py files. [3] I alread did that two weeks ago. Great. But if all the information is now in setup.py, why didn't you remove

[Zope-CMF] [dev] more add menu changes

2008-08-07 Thread yuppie
- CMFDefault menus are implemented in main_template. I propose to add a new section for 'folder/add' actions. If there are no objections I'll make these changes on trunk. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http

[Zope-CMF] Re: [dev] more add menu changes

2008-08-07 Thread yuppie
Hi Martin! Martin Aspeli wrote: yuppie-4 wrote: Some parts are still missing: - add a traverser that allows to use pretty URLs and better portal type handling for add views (not part of this proposal) - don't show newstyle types in folder_factories - show add actions in the CMFDefault

[Zope-CMF] Re: Locales in CMFDefault

2008-08-06 Thread yuppie
for CMFDefault in a central place like PloneTranslations where lots of people can contribute? +1 if someone volunteers to 'own' that project Maybe https://translations.launchpad.net/zope-cmf would be a good place? Cheers, Yuppie ___ Zope-CMF maillist

[Zope-CMF] Re: discussion behaviour in CMFDefault

2008-08-05 Thread yuppie
. 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] type infos and 'add' actions - a proposal

2008-07-29 Thread yuppie
a 'portal_type' variable to the expression context because I don't know an easy way to do that. The action machinery expects that all callable attributes of all actions take the same expression context as argument. Cheers, Yuppie ___ Zope-CMF

[Zope-CMF] [dev] type infos and 'add' actions - a proposal

2008-07-21 Thread yuppie
, making them implement IAction as well. listActions of the types tool would include type infos if they provide IAction *and* have an url specified. As always, feedback is welcome. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Re: Add forms and menus

2008-07-15 Thread yuppie
, 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: Add forms and menus

2008-07-15 Thread yuppie
. Pushing this down the stack and making it the default pattern for Zope is much harder. 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

[Zope-CMF] Re: CMFCore.exportimport.properties import encoding

2008-07-15 Thread yuppie
is only available at portal.portal_properties.site_properties, so context.getProperty('default_charset') will fail. But, I guess, this is a Plone problem... Yes. This is a Plone issue. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Re: Add forms and menus

2008-07-14 Thread yuppie
. And z3c.form is *the* current Zope package for creating forms. 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: Add forms and menus

2008-07-14 Thread yuppie
to the query, a TALES expression for the URL wouldn't be overkill. 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

[Zope-CMF] Re: Add forms and menus

2008-07-14 Thread yuppie
Daniel Nouri wrote: I just relicensed and moved plone.z3cform to the Zope repository: http://svn.zope.org/plone.z3cform/trunk/ Great! Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] Re: Add forms and menus

2008-07-13 Thread yuppie
. I guess I'd rather have a flexible explicit URL than an implicit URL ruled by convention. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF

[Zope-CMF] Re: Add forms and menus

2008-07-12 Thread yuppie
Hi Martin! Martin Aspeli wrote: I see that Yuppie has been experimenting with add forms. From what I can tell, he's using a custom formlib base class and registering views as e.g. addFile.html. It also look as if he's registering that view as an action in portal_actions, in the 'folder

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

2008-06-30 Thread yuppie
Martin Aspeli wrote: yuppie wrote: I'm not happy with the current file format. But representing containers is a general problem and I want *one* generic solution that works for all use cases. I'm not sure most people think of portal_types as a container per se. Rather, they think I need

[Zope-CMF] Re: Catalog aware folders

2008-06-30 Thread yuppie
, just structure. SkinnedFolder does what you want. If you use CMF trunk, your code will not be sufficient. handleContentishEvent is registered for IContentish objects, not for default folders. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

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

2008-06-29 Thread yuppie
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 that information from per-item files. Cheers, Yuppie

[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

[Zope-CMF] Re: Inconstancy with CA traversal

2008-06-25 Thread yuppie
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 attributes. HTH, Yuppie

[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 NotImplementedError

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

2008-04-25 Thread yuppie
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, Yuppie ___ Zope-CMF maillist - Zope-CMF

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

2008-04-23 Thread yuppie
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/mailman/listinfo/zope

[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 main_template.pt

[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'. I hope to have some

[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. Not sure if this makes Bug

[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] 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=85287view=rev) changed that. It is no longer possible to run CMF without setuptools installed. Was that intended when setuptools

[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

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

2008-04-20 Thread yuppie
of the DEPENDENCIES.txt files and specify *all* dependencies in the setup.py files? Any feedback is welcome. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

  1   2   3   4   5   >