[Zope-CMF] Re: CMFSetup comments

2005-04-03 Thread yuppie
Hi Florent! Florent Guillaume wrote: On 3 Apr 2005, at 17:27, yuppie wrote: Florent Guillaume wrote: - all in all it's quite nice, Well. It works for some use cases, but there is yet a lot to be done. Though its maturity is still alpha, it already contains a lot of cruft. Yes, I think I'll

[Zope-CMF] [dev] failing tests and other unit test issues

2005-04-04 Thread yuppie
/testcase.py.diff?r1=1.11r2=1.12 If not, I'll use that pattern for other files and the 1.5 branch as well. 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

[Zope-CMF] Re: [dev] failing tests and other unit test issues

2005-04-04 Thread yuppie
-deprecated API. These deprecation warnings produce *a lot of* noise. All I want is to reduce that noise. 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

[Zope-CMF] Re: [dev] failing tests and other unit test issues

2005-04-04 Thread yuppie
Hi Florent! Florent Guillaume wrote: yuppie [EMAIL PROTECTED] wrote: 3.) Zope 2.8 warnings 'Zope2' is not available in Zope 2.7 and 'Zope' is deprecated in Zope 2.8. Same with 'transaction' and 'get_transaction'. Has anybody a better idea to resolve it than this way: [...] I was thinking

[Zope-CMF] Re: [dev] failing tests and other unit test issues

2005-04-04 Thread yuppie
CMFCore.test.base.utils straight? Good question ;) All I know is that - CMF uses that pattern in all test files - 'Products.CMFCore.foo' seems to work with any testing setup - with my setup 'CMFCore.foo' doesn't work if I run tests outside test.py Cheers, Yuppie ___ Zope

[Zope-CMF] Re: CMFSetup configurators

2005-04-04 Thread yuppie
configurators. Not import configurators and export configurators. But if you want to split them all, I have no objections. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

[Zope-CMF] Re: CMFSetup comments

2005-04-05 Thread yuppie
yuppie wrote: To get rid of the intermediate [0], use 'properties': {KEY: 'props', CONVERTER: self._convertToUnique}, 'entry-local-roles': {KEY: 'elrs', DEFAULT: ((),), CONVERTER: self._convertToUnique

[Zope-CMF] Re: [Performance] listFilteredActionsFor unnecessarily expensive

2005-04-06 Thread yuppie
the Actions in an XML file. Conflicts between Actions have to be resolved on set-up time, not when listFilteredActionsFor() is called. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] Re: CMF 1.5.1 release schedule

2005-04-11 Thread yuppie
as the other packages and we still have to change it in fundamental ways. Though these changes might not always be fully backwards compatible, I believe we should keep merging them into the CMF-1_5-branch. Cheers, Yuppie ___ Zope-CMF maillist - Zope

[Zope-CMF] Re: CMF 1.5.1 release schedule

2005-04-12 Thread yuppie
registered in a property of CMFDefault's PropertyTool. It does feel wrong that you have to register OpaqueItem attributes to make them work correctly. I'd rather like to see a solution similar to that for Zope 3 annotations: Storing all opaque items in one attribute. Cheers, Yuppie

[Zope-CMF] Re: test failures

2005-04-22 Thread yuppie
cents. 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-checkins] CVS: Products/CMFCore - DirectoryView.py:1.47.2.7

2005-05-23 Thread yuppie
*why* you hate it? warnings.warn is used in many places, so if there is a good reason not to use it other code should be changed as well. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf

[Zope-CMF] [dev] basic Five support - a small proposal

2005-05-24 Thread yuppie
steps can be done without breaking Zope 2.7 compatibility. I'd like to start with this on the HEAD and backport it to the 1.5 branch as soon as it is mature enough. Any comments? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Re: custom WebDAV upload handling

2005-06-08 Thread yuppie
invokeFactory, a method that obviously does more than we want? AFAICS this was the easiest way to implement PUT_factory. TypesTool or TypeInfos don't provide a better method. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org

[Zope-CMF] Re: CMFSetup types import/export

2005-06-10 Thread yuppie
be no need to write new handlers for customized typeinfo classes. 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: CMFSetup types import/export

2005-06-10 Thread yuppie
Florent Guillaume wrote: On 10 Jun 2005, at 17:02, yuppie wrote: utils.ConfiguratorBase has some methods for generic property support. The typeinfo handlers could use that code in a similar way as the site properties handlers or the handlers for the newstyle Actions on HEAD

[Zope-CMF] Re: Problem in TypesTool with CMF1.5.1 and Zope2.8

2005-06-13 Thread yuppie
for me using latest CMF-1_5-branch and Zope 2.8.0 final. 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 1.5.2

2005-06-13 Thread yuppie
propose to wait one or two weeks with the 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: Adding context to FactoryTypeInformation.queryMethodID

2005-06-14 Thread yuppie
that are 100% backwards compatible. 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: Adding context to FactoryTypeInformation.queryMethodID

2005-06-14 Thread yuppie
Christian Heimes wrote: yuppie wrote: I'm not sure I understand what you propose: - Just changing queryMethodID signature and calls? - Or also adding the TemplateMixin stuff to CMFCore? - Or also adding an UI for that to CMFDefault? I'm proposing at least the first point in your list

[Zope-CMF] Re: CVS: Products/DCWorkflow - Scripts.py:1.3.20.3

2005-06-14 Thread yuppie
= Folder.manage_main.__of__(self) +return m(self, client, REQUEST, **kw) Globals.InitializeClass(Scripts) Why is this fix just in the CMF-1_4-branch? Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman

[Zope-CMF] Re: CVS: CMF/CMFSetup - typeinfo.py:1.26

2005-06-14 Thread yuppie
-release version of) CMF 1.6. 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: CVS: Products/DCWorkflow - Scripts.py:1.3.20.3

2005-06-14 Thread yuppie
Sidnei da Silva wrote: On Tue, Jun 14, 2005 at 05:26:16PM +0200, yuppie wrote: | Why is this fix just in the CMF-1_4-branch? Haven't looked at 1.5, I would expect it to be fixed there already, as it's the 'current' version no? Not all CMF 1.4 bugs are fixed in CMF 1.5. Scripts.manage_main

[Zope-CMF] Re: CMF-head and Zope 2.8

2005-06-15 Thread yuppie
for its absence. The CMF 1.5 branch will thus be the EOL for sites which chose to continue running Zope 2.7.x. +1 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: CVS: Products/CMFCore/tests - test_CMFCatalogAware.py:1.4.2.2

2005-06-15 Thread yuppie
= DummyOldBrain foo = self.site.foo Why are they just disabled, not removed? 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: CMFDefault: getHomeFolder robustnes

2005-06-16 Thread yuppie
. The HEAD is still very similar to CMF 1.5, but raises errors if you use deprecated code. 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

[Zope-CMF] Re: CMFSetup profile changing

2005-06-18 Thread yuppie
and would love to hear your plans and to discuss them. Unfortunately I can't make this work part of one of my customer projects, so I can't spend as much time on CMFSetup development as I would like to. Cheers, Yuppie ___ Zope-CMF maillist

[Zope-CMF] Re: Adding context to FactoryTypeInformation.queryMethodID

2005-06-18 Thread yuppie
Christian Heimes wrote: yuppie wrote: But AFAICS it doesn't make much sense for the CMF to duplicate a feature that Zope 2.8/Five provides already. You are right but we can't use new Zope 2.8 features at the moment. It would delay Plone 2.1 and introduce new dependencies. I was just

[Zope-CMF] Re: Another small plone related change

2005-06-18 Thread yuppie
' means 'old ActionInformation' and is deprecated since CMF 1.3. But DCWorkflow still depends on it, so there are no deprecation warnings. I guess you have to modify getExprContext *and* getOAI for Plone. Cheers, Yuppie ___ Zope-CMF maillist

[Zope-CMF] Re: Another small plone related change

2005-06-20 Thread yuppie
Hi Christian! I'm fine with the proposed change, but I would prefer to have _getOAI and _getExprContext in *one* place: ActionProviderBase. Cheers, Yuppie [I quote the complete mail because it didn't make it to the list:] Christian Heimes wrote: yuppie wrote: Please make

[Zope-CMF] Re: Conflict between PortalFolder and CMFBTreeFolder

2005-06-20 Thread yuppie
. Cheers, Yuppie BTW: I'm not at all happy with the fact that Zope 2.8 ships with CMFBTreeFolder. That circular dependency is a pain to maintain. Maybe we should move CMFBTreeFolder to a CMF product. ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Re: Conflict between PortalFolder and CMFBTreeFolder

2005-06-20 Thread yuppie
Hi Christian! Christian Heimes wrote: yuppie wrote: First of all CMF 1.5.2 has to be backwards compatible to CMF 1.5.0 and 1.5.1, so reverting that change is no option. That is understandable from your point of view but I don't agree with the desicion. This is not a decision, I'm

[Zope-CMF] Re: Another small plone related change

2005-06-20 Thread yuppie
I believe 'context' is redundant and this should also work: def _getOAI(self, object): return getOAI(self, object) def _getExprContext(self, object): return getExprContext(self, object) Would you mind if I change it that way? Cheers, Yuppie

[Zope-CMF] Re: Conflict between PortalFolder and CMFBTreeFolder

2005-06-20 Thread yuppie
Hi Christian! Christian Heimes wrote: yuppie wrote: That's not fair. You are free to ignore CMF development for years, but you can't make other people pay for that. Upgrading from 1.5.x to the latest 1.5 version has to work without *any* trouble. I'm sorry but I'm a little bit nervous. I

[Zope-CMF] Re: PortalObject, PortalFolder, SkinnedFolder and __call__

2005-06-21 Thread yuppie
and wasn't fixed when method aliases were introduced. Like other folders a skinned folder should never be used as method, so __call__ should never be invoked. That code exists just for backwards compatibility and is completely removed on HEAD. Cheers, Yuppie

[Zope-CMF] Re: Lazy Keys in ActionInfo unresolved

2005-06-23 Thread yuppie
ActionInfo objects. A fix for the copy method is on the CMF-1_5-branch. Hope that fixes your issue as well. 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: [DCWorkflow] condition on transition action

2005-06-24 Thread yuppie
. And in that context your proposal is a move in the wrong direction. 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: index_html no longer working for CMF folders with Plone 2.1 + CMF 1.5

2005-06-26 Thread yuppie
.) If you set the '(Default)' alias to index_html, index_html is called. If you don't set it or set it to '(Default)', __browser_default__, index_html or __call__ is called depending on the class. HTH, Yuppie ___ Zope-CMF maillist - Zope

[Zope-CMF] Re: [DCWorkflow] condition on transition action

2005-06-26 Thread yuppie
Encolpe Degoute wrote: yuppie a écrit : | I think it's worth the effort to migrate DCWorkflow Actions to the | CMFCore Actions machinery for CMF 1.6. And in that context your | proposal is a move in the wrong direction. Now that actions machinery has been refactored in CMF 1.5, I would use

[Zope-CMF] Re: Moving to CMF 1.5.2

2005-06-28 Thread yuppie
/Zope/1822 If the old behavior is not restored in Zope 2.8.1 we have to adjust CMF. Besides that, I'm a bit confused by the fact that Florent didn't backport his latest CMFSetup changes to the CMF-1_5-branch. Cheers, Yuppie ___ Zope-CMF

[Zope-CMF] Re: Moving to CMF 1.5.2

2005-06-30 Thread yuppie
Hi Tres! Tres Seaver wrote: yuppie wrote: 1.) catalog migration is broken http://www.zope.org/Collectors/CMF/357 http://www.zope.org/Collectors/Zope/1823 A copy 'n' paste of the latest manage_convertIndexes code to CatalogTool should fix this. Fine. Looks like there are still

[Zope-CMF] Re: CMFSetup: non-ascii text

2005-07-01 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: Moving CMF into SVN

2005-07-10 Thread yuppie
that already? HTH, Yuppie Here is the comment I refer to: # For a while, we treated each top-level subdir of the CVS # repository as a project root and interpolated the appropriate # genealogy (trunk|tag|branch) in according to the official # recommended layout. For example

[Zope-CMF] Re: CMFSetup and workflows

2005-07-11 Thread yuppie
. CMFDefault DefaultWorkflow? Why shouldn't they be listed? 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: CMFSetup and workflows

2005-07-11 Thread yuppie
Encolpe Degoute wrote: That's seems a good idea, but I dont where worklists will be import in few weeks. That sounds like you're working on a big worklists refactoring. If that's the case, sending a small proposal to the list would be nice. Cheers, Yuppie

[Zope-CMF] Re: CMFSetup and workflows

2005-07-11 Thread yuppie
Hi! Anahide Tchertchian wrote: yuppie wrote: - turn import methods in CMFSetup/workflow.py into configurator class methods so that they're easier to override when subclassing (_extract*Nodes and _initDCWorkflow* methods) Sounds fine if you don't want to do the big refactoring. Yes I'd

[Zope-CMF] Re: RFC: CMF 2.0 Roadmap

2005-07-13 Thread yuppie
by that. 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] [dev] Site factory - a small proposal

2005-07-14 Thread yuppie
'Configured CMF Site' If there are no objections, I'll change this on HEAD. 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] [dev] CMFSetup backwards compatibility policy

2005-07-14 Thread yuppie
like to remove the BBB code in typeinfo.py. Any comments? 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: New CMFDefault type profiles altering ATCT types

2005-07-14 Thread yuppie
these customizations should check the meta_type of the FTI they are altering before making potentially undesirable changes? Could you please describe what you are exactly doing? When and why does Plone import the CMFDefault profile? Cheers, Yuppie ___ Zope

[Zope-CMF] Re: [ATTN]: CMF and related packages moved to svn.zope.org

2005-07-17 Thread yuppie
sense in a new repository. I guess they should be removed from CMF trunk. (The real products are in CMF_Extras) Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org

[Zope-CMF] Re: Plone participation in the CMF list

2005-08-02 Thread yuppie
on an external product, but maybe CMFTestCase could become part of CMF? Just my 2 cents. 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] [dev] i18n improvements - a proposal

2005-08-09 Thread yuppie
and enable the i18n machinery by default. I'd like to work at least on the first 3 items for CMF 1.6. AFAICS this should not break anything on Zope 2.8.0. But maybe we should anyway make Zope 2.8.1 the required platform for CMF 1.6. Any comments? Cheers, Yuppie

[Zope-CMF] Re: [dev] i18n improvements - a proposal

2005-08-10 Thread yuppie
Raphael Ritz wrote: yuppie wrote: Just one minor question out of curiosity: i18nextract.py is quite zope3 specific, but with some modifications it seems to work quite well for CMF. I'd like to add a modified i18nextract.py to the root of the CMF repository. How about making the original

[Zope-CMF] Re: [dev] i18n improvements - a proposal

2005-08-11 Thread yuppie
Hi Dieter! Dieter Maurer wrote: yuppie wrote at 2005-8-9 19:11 +0200: ... 2.) Using different domains for different products: While 'cmf_default' should be used by the core products (CMFCore, CMFDefault, CMFTopic, CMFSetup) I'd like to use 'cmf_calendar' for CMFCalendar. Can we give

[Zope-CMF] Re: [dev] i18n improvements - a proposal

2005-08-11 Thread yuppie
product is an example of creating a CMF Product. In history it showed how to use an External Method to install an add-on product and CMF 1.5 shows how to use an extension profile for that task. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Re: [dev] i18n improvements - a proposal

2005-08-12 Thread yuppie
against it. Can you nevertheless have a small message catalog for CMFCore terms and another one for CMFDefault? I'm afraid not. At least not now. But with a small script you should be able to extract a CMFCore message catalog yourself. Cheers, Yuppie

[Zope-CMF] Re: GenericSetup split off from CMFSetup

2005-08-15 Thread yuppie
feature (import from tarballs) to GenericSetup; if the CMF community can't see a way to use GenericSetup, I will look at porting that feature back to CMFSetup (it shouldn't be too hard). Great. How ever the dependencies are resolved - this should become part of the CMF. Cheers, Yuppie

[Zope-CMF] Re: CMFSetup

2005-09-01 Thread yuppie
idea. 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: CachingPolicyManager improvements

2005-09-06 Thread yuppie
Dieter Maurer wrote: yuppie wrote at 2005-9-5 14:06 +0200: ... PortalTestCase is in the wrong layer. It makes assumptions about the way CMF works. Changes to the CMF might break PortalTestCase and create a dependency on a new Zope release. (We saw that problem already

[Zope-CMF] [dev] CMF trunk dependencies

2005-09-06 Thread yuppie
. - PluginIndexes, ZCTextIndex and ZCatalog have some new interfaces that are useful to write portal_catalog setup adapters. - The recently added i18n MessageIDs are ignored in Zope 2.8.0. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Re: CachingPolicyManager improvements checked in to svn

2005-09-08 Thread yuppie
. I can't reproduce any problems with test_z3interfaces. 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: CachingPolicyManager improvements checked in to svn

2005-09-08 Thread yuppie
Jens Vagelpohl wrote: On 8 Sep 2005, at 11:08, yuppie wrote: PS Those of you who raised concerns about ZopeTestCase causing test problems in Zope 2.7 might want to take a look at why test_z3interfaces is broken when you run the tests with zopectl test. 1.) Why those of you who raised

[Zope-CMF] Re: CachingPolicyManager improvements checked in to svn

2005-09-08 Thread yuppie
Hi Geoff! Geoff Davis wrote: On Thu, 08 Sep 2005 12:08:23 +0200, yuppie wrote: - Tests are easier to find and maintain if they are located in test_module_name.py. Most CMF tests follow that pattern. Yes, I put the tests relating to new CachingPolicyManager functionality

[Zope-CMF] Re: CachingPolicyManager improvements checked in to svn

2005-09-08 Thread yuppie
. I'll change those tests. 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: CachingPolicyManager improvements checked in to svn

2005-09-09 Thread yuppie
Hi Geoff! Geoff Davis wrote: On Thu, 08 Sep 2005 19:24:51 +0200, yuppie wrote: Knock! Knock! Anybody there? I told you twice that I'm concerned about using PortalTestCase: http://mail.zope.org/pipermail/zope-cmf/2005-September/022891.html Would be nice to get some feedback. Obviously you

[Zope-CMF] Re: CachingPolicyManager improvements

2005-09-09 Thread yuppie
the _refreshSkinData change in CMF 1.5 are made in CMF, tests are broken until there is a new Zope version with a new PortalTestCase that reflects these changes. CMF would depend on that new Zope version. On 5. Sep 2005, at 14:06, yuppie wrote: PortalTestCase is in the wrong layer. It makes assumptions

[Zope-CMF] Re: CachingPolicyManager improvements

2005-09-09 Thread yuppie
. Maybe I should make PortalTestCase truly abstract to emphasize the point. NotImplementedError anyone? :-) What ever helps to convince Sidnei and Geoff not to check in tests that use PortalTestCase directly ;) Cheers, Yuppie ___ Zope-CMF maillist

[Zope-CMF] Re: CachingPolicyManager improvements checked in to svn

2005-09-11 Thread yuppie
for everything And a big applause for Geoff and Jens! Their joined effort made CachingPolicyManager and the CMF a better piece of software. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] Re: Schedule query: CMF 2.0 Roadmap chat

2005-09-11 Thread yuppie
, 9/12, 15:00-16:00 UTC I'll send out an announcement later today with details, assuming nobody has a serious objections. No objections here. I'll be there. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman

[Zope-CMF] Re: CMFSetup vs. factory_type_information

2005-09-11 Thread yuppie
on the oldstyle FTI data. 3.) It might be easier to discuss this in the context of Tres' CMFSetup and roadmap proposals. Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] Re: Small CMFCatalogAware refactoring

2005-09-12 Thread yuppie
'getToolByName' hookable so that it can return a different 'portal_catalog' based on whatever constraints you need to distinguish which catalog to use, and then ensure 'getToolByName' is used all around where a catalog is needed. +1 Yuppie ___ Zope-CMF

[Zope-CMF] Re: CMFSetup

2005-09-12 Thread yuppie
for Tres' CMFSetup proposal. I don't plan a CMF 1.5 backport. The attached XML is a snapshot of the default configuration. The roundtrip (im- and export) works but needs more testing and polishing. Cheers, Yuppie ?xml version=1.0? object name=portal_catalog meta_type=CMF Catalog

[Zope-CMF] Re: proposal for cmf:indexable directive

2005-09-13 Thread yuppie
be the right layer to implement this? 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: proposal for cmf:indexable directive

2005-09-13 Thread yuppie
Lennart Regebro wrote: On 9/13/05, yuppie [EMAIL PROTECTED] wrote: Is this in any way CMF-specific? Wouldn't a feature like that be useful in pure Zope as well? Why do you think the CMF would be the right layer to implement this? Welll, what is gonna implement it? There is no standard

[Zope-CMF] Re: proposal for cmf:indexable directive

2005-09-13 Thread yuppie
Lennart Regebro wrote: On 9/13/05, yuppie [EMAIL PROTECTED] wrote: The proposal addresses a general cataloging issue. Can't see why content used in CMF has to be configured with a special cmf ZCML directive. What namespace to use seems to me to be a minor issue. Namespaces represent

[Zope-CMF] Re: RFC: GenericSetup Architecture Proposal

2005-09-13 Thread yuppie
/022877.html proposes to use im- and export adapters for content objects. Can't we do the same for config objects, registering the SetupHandlers as adapters? And get rid of the special SetupHandler registries completely? Cheers, Yuppie

[Zope-CMF] [dev] encoding of tool settings / CMFSetup

2005-09-15 Thread yuppie
are anyway utf-8 encoded, so there would not be any need to convert strings from one encoding to an other. (At the moment a hardcoded ascii encoding is passed around everywhere.) Cheers, Yuppie ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Re: [dev] encoding of tool settings / CMFSetup

2005-09-15 Thread yuppie
examples the handlers should be able to get the encoding information from their context if they want to support special encodings. So there is at least no need to support encodings in the framework. Right? Cheers, Yuppie ___ Zope-CMF

[Zope-CMF] Re: RFC: GenericSetup Architecture Proposal

2005-09-20 Thread yuppie
Hi Tres! Tres Seaver wrote: yuppie wrote: At the first glance that makes export_steps.xml and import_steps.xml obsolete. But there is the MetaProfile that has to be shipped with a BaselineProfile and that is maintained in the tool. Why do we still need MetaProfiles? Can't we just walk

[Zope-CMF] [dev] Topic changes: problems with revision 38002

2005-09-21 Thread yuppie
dependency on CMFDefault's SkinnedFolder. Not sure how to resolve this. 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: Trunk hosed?

2005-10-11 Thread yuppie
code from the 1.5 branch, but need passing tests first. Are you using the latest Zope-2_8-branch revision? I recently made a change that depends on Zope changes. Hope svn up resolves the issue. Sorry for not giving a heads up. Cheers, Yuppie

[Zope-CMF] Re: CMF and Five views: hooking up POST

2005-10-16 Thread yuppie
sense to me: What is your goal? Why do you need to 'hook up' POST if your edit view works already? When should your POST method be called and what does that POST method? Are you working on something special or just on a normal edit view? Cheers, Yuppie

[Zope-CMF] Re: [CMF-checkins] SVN: CMF/branches/1.5/C CMFSetup: added support for configuring content type registry.

2005-10-16 Thread yuppie
on top of the CMF have to ship with a GenericSetup profile for CMF 2.0. 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: CMF and Five views: hooking up POST

2005-10-16 Thread yuppie
Hi Jens! Jens Vagelpohl wrote: On 16 Oct 2005, at 16:21, yuppie wrote: Jens Vagelpohl wrote: Doing some more work on Five views for CMF right now. I have the edit view hooked up and working find for my sample content type. The view class given to me by Tres defines a POST method, but I

[Zope-CMF] Re: CMF and Five views: hooking up POST

2005-10-17 Thread yuppie
for displaying results, not for triggering controllers. 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] [dev] CMFSetup/GenericSetup: moving code around - a small proposal

2005-10-17 Thread yuppie
to 'exportimport'. 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 and Five views: hooking up POST

2005-10-17 Thread yuppie
Hi Lennart! Lennart Regebro wrote: On 10/17/05, yuppie y.2005--E2EsyBC0hj3+aS/[EMAIL PROTECTED] wrote: I know that pattern, but I don't like it. [...] The code on the goldegg-folder_contents branch processes the input in the __call__ method of the view class. The template is only invoked

[Zope-CMF] Re: CMF and Five views: hooking up POST

2005-10-17 Thread yuppie
Hi Tres! Tres Seaver wrote: Lennart Regebro wrote: On 10/17/05, yuppie y.2005--E2EsyBC0hj3+aS/[EMAIL PROTECTED] wrote: I know that pattern, but I don't like it. [...] The code on the goldegg-folder_contents branch processes the input in the __call__ method of the view class. The template

[Zope-CMF] Re: View classes / testing

2005-10-18 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: Five views / redirects

2005-10-18 Thread yuppie
Victor Safronovich wrote: Hello Chris Withers, Tuesday, October 18, 2005, 4:24:29 PM, you wrote: CW yuppie wrote: def __call__(self): if self.isTuesday(): return ZopeTwoPageTemplateFile('tuesday.pt').__of__(self)() return self.index() CW Surely the following

[Zope-CMF] Re: [CMF-checkins] SVN: CMF/branches/1.5/C CMFSetup: added support for configuring content type registry.

2005-10-19 Thread yuppie
on PortalGenerator because the new setup machinery is completely different. PortalGenerator, manage_addCMFSite and oldstyle configuration data (fti data, workflows - actions are already removed) will soon be removed completely from the trunk. Cheers, Yuppie

[Zope-CMF] Re: Better DeprecationWarnings

2005-10-19 Thread yuppie
because on the trunk the factory was moved to CMFDefault. 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: getActionById replacement

2005-10-20 Thread yuppie
for. But please note: The whole PloneGenerator class is nasty code and I'm in the process of removing its base class PortalGenerator from the CMF trunk. PloneGenerator will no longer work with the trunk / CMF 2.0. Cheers, Yuppie ___ Zope

[Zope-CMF] [headsup] removing old setup machinery on CMF trunk

2005-10-20 Thread yuppie
Hi all! If there are no objections, I'll merge tomorrow the yuppie-setup_cleanup branch into the trunk. This will break the setup code of all third-party products that haven't yet switched to GenericSetup/CMFSetup. 1.) factory_type_information data is replaced by XML files in the types

[Zope-CMF] Re: getActionById replacement

2005-10-20 Thread yuppie
Hi Chris! Chris Withers wrote: yuppie wrote: getActionInfo()[\'url\'] ...will net you a TypeError explaining that getActionInfo takes a argument that isn't supplied. Looking at the docs, an action_chain, but I have no idea what one of them is... 'action_chain' is a sequence of 'action

[Zope-CMF] Re: getActionById replacement

2005-10-21 Thread yuppie
the deprecation warnings to STFU you have to reimplement getActionByID. If you want to do things right, you don't need a replacement for getActionByID. What are the plenty more apparently legit uses of getActionByID? Cheers, Yuppie ___ Zope-CMF

[Zope-CMF] Re: getActionById replacement

2005-10-21 Thread yuppie
does it look like? queryMethodID might be useful for your use case... 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: getActionById replacement

2005-10-21 Thread yuppie
Chris Withers wrote: yuppie wrote: I wonder why ti.queryMethodID('view') is None. Is that the case for all your type infos? Looks like it. Does ti._aliases exist? If yes, what does it look like? Yep, often just maps 'edit':'base_edit', and here queryMethodID (annoying capitalisation

[Zope-CMF] Re: getActionById replacement

2005-10-21 Thread yuppie
Hi Chris! Chris Withers wrote: yuppie wrote: Well. getActionByID did make sense before type actions became normal actions in CMF 1.4. Since than getActionByID is an ugly backwards compatibility hack that tries to guess the called method from an expression string that defines a context

  1   2   3   4   5   6   >