[Zope-CMF] Re: .metadata files, latin-1 vs. unicode, and encoding errors

2006-09-04 Thread Florent Guillaume
aillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]

[Zope-CMF] Re: Abusing GenericSetup during traditional installs

2006-08-10 Thread Florent Guillaume
y own code. Side effects should be more visible. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/ma

[Zope-CMF] Re: [dev] RFC: rethinking GenericSetup extension profiles

2006-07-30 Thread Florent Guillaume
_ Zope-CMF maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]

[Zope-CMF] CMF tests failing in zope 2.10

2006-06-29 Thread Florent Guillaume
n/zope/traversing/adapters.py", line 161, in traversePathElement raise TraversalError('No traversable adapter found', obj) TraversalError: ('No traversable adapter found', {'state_variable': 'state', 'state_info': [...], ...}) Does anyone have an i

[Zope-CMF] Re: CMF 2.1

2006-06-17 Thread Florent Guillaume
ot;CMF customers". There's no sense following a strict time-based policy that is currently out of sync with what the "customers" want/need. jens -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]

[Zope-CMF] Re: [dev] GenericSetup: registerProfile directive

2006-06-11 Thread Florent Guillaume
hipped with CMF 1.6.1 final to the current GenericSetup trunk. The registerProfile ZCML directive is a pure addition and no existing functionality has been changed as far as I can see. Furthermore, all tests run fine, whatever that means ;) Cool, thanks, that will be useful. Flornet -- Florent G

[Zope-CMF] Re: SVN: CMF/branches/1.6/ Avoid deprecation warnings with Zope 2.10.

2006-06-09 Thread Florent Guillaume
n Zope 2.8. 1.6 is a "stepping-stone" for projects which needed the new GenericSetup features, but couldn't move all the way to CMF 2.0; making it less noisy under 2.10 has to give precedence to preserving BBB. Sure, I keep that in mind. Florent -- Florent Guillaume, Nuxeo

[Zope-CMF] Re: zLOG -> logging

2006-06-08 Thread Florent Guillaume
yuppie wrote: Florent Guillaume wrote: Is it ok if I change CMF 1.6 (currently in beta) to use the logging module instead of zLOG? zLOG spouts lots of warnings under Zope 2.10 and this sucks. +1 if you forward port the fixes ;) (see http://www.zope.org/Collectors/CMF/439) Done. Florent

[Zope-CMF] Re: zLOG -> logging

2006-06-07 Thread Florent Guillaume
sent the result mainly because of the BLATHER/TRACE/DEBUG-to-debug impedance mismatch) Well you're better off patching zLOG then, to make it not send the warning :) Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com

[Zope-CMF] Re: zLOG -> logging

2006-06-07 Thread Florent Guillaume
table" platform for them. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-CMF] zLOG -> logging

2006-06-07 Thread Florent Guillaume
Is it ok if I change CMF 1.6 (currently in beta) to use the logging module instead of zLOG? zLOG spouts lots of warnings under Zope 2.10 and this sucks. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTE

[Zope-CMF] Re: [RFC] [Patch] GenericSetup and encodings

2006-06-07 Thread Florent Guillaume
nto account everywhere, although it should. CPS 4 will be purely unicode, and won't need all that shit. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]

[Zope-CMF] Re: Products-less python package support for CMF 1.6

2006-06-04 Thread Florent Guillaume
intenance release to CMF 1.6.1 if nothing breaks with it. CPS 4, scheduled for September, will use CMF 2.0 (and Zope 2.10). Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] _

[Zope-CMF] Re: [dev] DCWorkflow: notifyBefore, notifySuccess and notifyException

2006-06-04 Thread Florent Guillaume
itions, is there? No there isn't yet, but that's the next logical step in event conversion in CMF. Would you like to work on that? It should be quite simple. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxe

[Zope-CMF] Re: SVN: CMF/branches/1.6/ - preparing CMF 1.6.1-beta

2006-06-03 Thread Florent Guillaume
ailman/listinfo/zope-cvs Or are these checkins messages now going somewhere else? Thanks, Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope

[Zope-CMF] Re: monkey patching CMFCore.utils isn't working?!?

2006-06-02 Thread Florent Guillaume
it in real life: >>> def f(a): ... print a+1 >>> def g(b): ... print b+2 >>> f(0) 1 >>> f.func_code = g.func_code >>> f(0) 2 Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com

[Zope-CMF] Re: SVN: CMF/trunk/CMF - fixed the i18n domain

2006-06-02 Thread Florent Guillaume
On 2 Jun 2006, at 09:00, yuppie wrote: Florent Guillaume wrote: Sorry to beat a dead horse, but can't we have "cmf" as a domain everywhere and be done with it? There's really no point in separating cmf_default from cmf_somethingelse. The point is to use CMFCalendar

[Zope-CMF] Re: SVN: CMF/trunk/CMF - fixed the i18n domain

2006-06-01 Thread Florent Guillaume
espaces.zope.org/five"; -i18n_domain="cmf" -> +i18n_domain="cmf_default"> -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] __

[Zope-CMF] Re: [dev] removing ZClass support?

2006-06-01 Thread Florent Guillaume
d say rip them out and don't bother with deprecation warnings. Seeing that we, core CMF developers, haven't really supported them for ages, continuing the illusion that they're maintained is useless. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D

[Zope-CMF] Re: [dev] tseaver-catalog_events branch

2006-05-07 Thread Florent Guillaume
ly experiment to "show the way", I'm pretty sure Tres's work obsoletes it. Florent Would it make sense to prevent this branch from being left behind more as "normal" development continues by merging it into the trunk and continuing the remaining polishing there? -

[Zope-CMF] Re: CMF roadmap update

2006-04-25 Thread Florent Guillaume
UID management. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://c

[Zope-CMF] Re: trouble applying extension profiles

2006-04-03 Thread Florent Guillaume
#x27;t use the content.py I/O export methods. The XML/NodeAdapterBase is enough for us. But I'm curious as to why there are two import/export frameworks, the config one (NodeAdapterBase) and the content one (FileSystemExporter). Couldn't they be merged? Or at least some adapters reus

[Zope-CMF] Re: GenericSetup: purging steps on new base profile

2006-03-29 Thread Florent Guillaume
yuppie wrote: Hi Rob! Rob Miller wrote: i'm picking up a thread from january that sort of petered out... yuppie wrote: Tres Seaver wrote: Florent Guillaume wrote: Because the "current base profile id" is not stored, there's no way to do detect the change to a di

[Zope-CMF] Re: [dev] five_template slots

2006-03-24 Thread Florent Guillaume
4.) Change the browser view templates to use 'main' instead of 'body' (that no longer maps to 'main'). Any feedback is welcome. If there are no objections I'd like to make the proposed changes on Saturday, before the 2.0-beta2 release. Cheers, Yu

[Zope-CMF] GenericSetup tags

2006-02-28 Thread Florent Guillaume
A few versions of CMF have been tagged, but the tags still have an svn:external pointing to GenericSetup trunk. That's bad as it means the tag checkout will change over time. GenericSetup should be tagged too, and the CMF tags point to it. (I favor the first solution.) Florent -- Fl

[Zope-CMF] Re: CMF roadmap

2006-02-16 Thread Florent Guillaume
*like* something to happen, but this was a question directed at the people who *do* make it happen. If we're not sticking to some kind of schedule but wait till all wish lists are considered we won't get anywhere I am afraid. I'd love to help but I won't have much bandwid

[Zope-CMF] Re: SVN: CMF/trunk/CMFDefault/RegistrationTool.py oops! this fallbacks are broken and I guess we don't need them anyway

2006-02-15 Thread Florent Guillaume
27;UseMailHost' permissions). -method = getattr(self, 'member_registered_mail', - getattr(self, 'registered_notify_template')) +method = getattr(self, 'member_registered_mail') kw = {'member': member, 'pas

[Zope-CMF] Re: CMF roadmap

2006-02-15 Thread Florent Guillaume
to events, so are still flagged using five:deprecatedManageAddDelete. As mentioned, Tres has a branch where he works on this. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] _

[Zope-CMF] Re: What's the story for using Z3 content types as first-class citizens in CMF?

2006-02-13 Thread Florent Guillaume
stTypeInfo return also non-persistent TI objects corresponding to those registered through ZCML. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist -

[Zope-CMF] Re: RFC: PAS and the (non?) future of members

2006-02-03 Thread Florent Guillaume
s" but that's another story). Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listin

[Zope-CMF] Re: GenericSetup: purging steps on new base profile

2006-02-01 Thread Florent Guillaume
On 1 Feb 2006, at 20:45, yuppie wrote: Tres Seaver wrote: Florent Guillaume wrote: Jens Vagelpohl wrote: On 1 Feb 2006, at 17:30, Florent Guillaume wrote: When you select a new base profile in the Properties tab, the toolset and import/export steps are not reset but simply updated. This

[Zope-CMF] Re: GenericSetup: purging steps on new base profile

2006-02-01 Thread Florent Guillaume
Jens Vagelpohl wrote: On 1 Feb 2006, at 17:30, Florent Guillaume wrote: When you select a new base profile in the Properties tab, the toolset and import/export steps are not reset but simply updated. This means you can get steps unrelated to your profile that linger. I'd like to c

[Zope-CMF] GenericSetup: purging steps on new base profile

2006-02-01 Thread Florent Guillaume
ofile is selected. Comments? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-CMF] Re: SVN: CookieCrumbler

2006-01-31 Thread Florent Guillaume
eTraverse.unregisterBeforeTraverse(event.newParent, handle) I think you want event.oldParent here. Florent + class ResponseCleanup: def __init__(self, resp): self.resp = resp -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +

[Zope-CMF] Re: missing checkin messages

2006-01-31 Thread Florent Guillaume
On 31 Jan 2006, at 14:10, yuppie wrote: Florent Guillaume wrote: Some checkin messages are missing from the checkins list. For instance r41445 by Yuppie is not there. This makes it hard to follow developments... This is a GenericSetup checkin and can be found on zope-cvs

[Zope-CMF] missing checkin messages

2006-01-31 Thread Florent Guillaume
Some checkin messages are missing from the checkins list. For instance r41445 by Yuppie is not there. This makes it hard to follow developments... Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTE

[Zope-CMF] GenericSetup and backup files

2006-01-30 Thread Florent Guillaume
If you modify an xml profile on the filesystem and one of the '~' backup files made by your editor contains invalid XML, on import you get: ExpatError: not well-formed (invalid token) Is it ok if modify context.listDirectory to skip files ending in '~'? Florent -- Flor

[Zope-CMF] Re: GenericSetup doc

2006-01-27 Thread Florent Guillaume
database documents and modify the portal_type of the former PressReleases, and maybe adjust some attributes. That's what upgrade steps are for in CPS. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 5

[Zope-CMF] Re: Forcing a workflow state

2006-01-24 Thread Florent Guillaume
als, obviously. Calling portal_workflow.setStatusOf(...) should be enough. You'll have to pass a status dict containing at least {wf.state_var: state_id}, you should also set the other variables your application expects. Then update the security mappings by calling wf.updateRoleMappingsFor(ob). Florent -- F

[Zope-CMF] GenericSetup doc

2006-01-24 Thread Florent Guillaume
Here is some doc I wrote about GenericSetup: http://blogs.nuxeo.com/sections/blogs/florent_guillaume/2006_01_24_genericsetup-for-cps-cmf Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTE

[Zope-CMF] Re: [dev] status of events support?

2006-01-21 Thread Florent Guillaume
t modification events in 2.0; we won't get around to changing the infrastructure pieces to be based on those events before a 2.0 release. I'll provide some help there if needed. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director

[Zope-CMF] Re: [Zope-CVS] SVN: GenericSetup/trunk/ Ignore _svn directories in addition to .svn (for Windows).

2006-01-20 Thread Florent Guillaume
On 20 Jan 2006, at 11:42, Encolpe Degoute wrote: Florent Guillaume a écrit : | Log message for revision 41380: | Ignore _svn directories in addition to .svn (for Windows). Hi, Can you also add _darcs for ZWiki repository ? Is that on windows? What about unix? Is it '.darcs'

[Zope-CMF] Re: purging of actions in CMF 1.6

2006-01-19 Thread Florent Guillaume
Rob Miller wrote: Florent Guillaume wrote: It seems that an extension profile can't add actions to an action provide in CMF 1.6. Or, rather, if you do it all previous actions are erased. The actions exportimport code has: def _initProviders(self,

[Zope-CMF] purging of actions in CMF 1.6

2006-01-19 Thread Florent Guillaume
n't purged correctly. Can someone shed light on what the code tries to do? Can I use "newstyle" action profiles in CMF 1.6? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___

[Zope-CMF] Re: DeprecationWarnings for container events

2006-01-18 Thread Florent Guillaume
have code in hand which makes the catalog and workflow tools subscribers, so that we could rip out the 'manage_afterAdd' and 'manage_beforeDelete' from the content base class? No I haven't done that yet even in CPS (for lack of time, not because of difficulty). Florent -

[Zope-CMF] Re: GenericSetup list property purge

2006-01-17 Thread Florent Guillaume
On 17 Jan 2006, at 10:28, yuppie wrote: Florent Guillaume wrote: Florent Guillaume wrote: I recently introduced the fact that in extension profiles list properties aren't purged by default. But really this introduces problems, as if you simply import an extension profile twice you&#

[Zope-CMF] Re: GenericSetup zcml registration of profiles

2006-01-16 Thread Florent Guillaume
Rocky Burt wrote: Tres Seaver wrote: Florent Guillaume wrote: I propose to add a new directive "registerProfile" in GenericSetup so that profile registration can be done through zcml. What namespace should I use? How about 'http://namespaces.zope.org/genericsetup'?

[Zope-CMF] Re: GenericSetup list property purge

2006-01-16 Thread Florent Guillaume
Florent Guillaume wrote: I recently introduced the fact that in extension profiles list properties aren't purged by default. But really this introduces problems, as if you simply import an extension profile twice you'll get all you lists doubled. So I think I'll use the op

[Zope-CMF] Re: RFC: backporting including python-package-product support to support Zope 2.8

2006-01-16 Thread Florent Guillaume
from outside Products (so that they will still receive the same initialization features and an entry in the Control_Panel, etc.). Rocky how does your effort relate to Basket by the way? ISTR that Basket aims at answering a similar use case. Florent -- Florent Guillaume, Nuxeo (Paris, France)

[Zope-CMF] GenericSetup list property purge

2006-01-16 Thread Florent Guillaume
to what was the case before: purge by default for lists even in extension profiles, except if purge="False" is present on the property. Opinions? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http:/

[Zope-CMF] GenericSetup zcml registration of profiles

2006-01-15 Thread Florent Guillaume
I propose to add a new directive "registerProfile" in GenericSetup so that profile registration can be done through zcml. What namespace should I use? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [E

[Zope-CMF] membership tool folderish?

2006-01-13 Thread Florent Guillaume
Why is the membership tool folderish? What's potentially stored in it? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists

[Zope-CMF] Re: CMF 2.0 Release Status

2006-01-12 Thread Florent Guillaume
s later or tomorrow. -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-CMF] Re: Bug when removing state in DCWorkflow

2006-01-05 Thread Florent Guillaume
Alexander Limi wrote: Florent Guillaume: That's been the intent of the code all along: when you query the workflow tool and ask it for the state of an object, this is passed along to DCWorkflow, and if the object doesn't have a state anymore the initial state is returned. Howe

[Zope-CMF] Re: Bug when removing state in DCWorkflow

2006-01-05 Thread Florent Guillaume
ueries and recatalogs all the objects, so they still have an old review_state in the catalog. "Update security settings" is for a different use case, I'm not sure it should be retrofitted into doing this. Florent -- Florent Guillaume, Nuxeo (Paris, France

[Zope-CMF] Re: GenericSetup: allowed_container_types

2006-01-05 Thread Florent Guillaume
document these update directives somewhere. Originally all update directives were mentioned in CMFSetup/ PROFILES.txt. GenericSetup/PROFILES.txt no longer has a complete list because most update directives are CMF specific. I also agree, I need to point my developers to a doc somewhere with

[Zope-CMF] Re: GenericSetup: allowed_container_types

2006-01-04 Thread Florent Guillaume
On 4 Jan 2006, at 20:17, Florent Guillaume wrote: On 13 Dec 2005, at 13:50, yuppie wrote: Florent Guillaume wrote: On 13 Dec 2005, at 12:50, yuppie wrote: I'd propose to implement an update mode for list properties and to add an update file for each allowed container. Something

[Zope-CMF] Re: GenericSetup: allowed_container_types

2006-01-04 Thread Florent Guillaume
On 13 Dec 2005, at 13:50, yuppie wrote: Florent Guillaume wrote: On 13 Dec 2005, at 12:50, yuppie wrote: I'd propose to implement an update mode for list properties and to add an update file for each allowed container. Something like that: (Didn't have a look at t

[Zope-CMF] Re: Bug when removing state in DCWorkflow

2006-01-04 Thread Florent Guillaume
fferent ways of filtering displayed content. Can you configurm that the bug applies to pure CMF? Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF ma

[Zope-CMF] GenericSetup failures on Mac OS X

2006-01-02 Thread Florent Guillaume
-1,1 +1,0 @@ \n-GHIJKL' . Failure in test test_compare_removed_file_no_missing_as_empty (Products.GenericSetup.tests.test_differ.ConfigDiffTests) Traceback (most recent call last): File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/ ZopeTestCase/profiler.py", line 98, in _

[Zope-CMF] Re: GenericSetup improvements

2005-12-29 Thread Florent Guillaume
Hi Yuppie! On 29 Dec 2005, at 21:20, yuppie wrote: Florent Guillaume wrote: On 27 Dec 2005, at 10:51, yuppie wrote: Florent Guillaume wrote: Also I'd like to change things like: node = property(_exportNode, _importNode) into: def __exportNode(self): return self._expor

[Zope-CMF] Re: GenericSetup improvements

2005-12-29 Thread Florent Guillaume
On 27 Dec 2005, at 10:51, yuppie wrote: Florent Guillaume wrote: Here's a few things I'd like to change in GenericSetup's management of properties (PropertyManagerHelper): - not export read-only properties, - not purge read-only properties, +1 (these are bugs that need to b

[Zope-CMF] GenericSetup improvements

2005-12-26 Thread Florent Guillaume
elf): return self._exportNode() def __importNode(self, *args) self._importNode(*args) node = property(__exportNode, __importNode) To allow proper subclass overriding and avoid the dead chicken of having to redefine the node property each time. Opinions? Florent -- Flor

[Zope-CMF] GenericSetup and unicode

2005-12-24 Thread Florent Guillaume
hat expected? For now I convert to utf-8 instead of unicode, but it feels like the writer should take care of that, no? Or is that a minidom restriction? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___

[Zope-CMF] Re: CMF 1.6 change broke Plone compatibility

2005-12-21 Thread Florent Guillaume
ng CPS work with CMF 1.6 branch and Zope 2.9 branch. I've had a few fixes to make already, today most things should work. A few more may come when I test deeper. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nux

[Zope-CMF] Re: CMF 1.6 change broke Plone compatibility

2005-12-21 Thread Florent Guillaume
ctly or through ZCML), - five:registerClass the class (this makes it available in Products.meta_types and for IFAwareObjectManager, which the portal_types ZMI add menu uses), - register an IAdding for it, usually coded in browser/. Using the base class provided by CMFCore it's only a few li

[Zope-CMF] Re: CMF GenericSetup log levels

2005-12-15 Thread Florent Guillaume
le. There are many profiles. And at different times the same person may want to read information at a more detailed level than usual. Just INFO and DEBUG is not enough. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 5

[Zope-CMF] Re: GenericSetup pretty XML

2005-12-14 Thread Florent Guillaume
On 14 Dec 2005, at 10:51, yuppie wrote: Florent Guillaume wrote: Can I fix the "pretty" xml exporter to use standard identing? (2 spaces for tags, 4 for attributes) AFAICS nothing is broken and we don't have a policy for that. So I would not call it a 'fix'. 2

[Zope-CMF] GenericSetup pretty XML

2005-12-13 Thread Florent Guillaume
Can I fix the "pretty" xml exporter to use standard identing? (2 spaces for tags, 4 for attributes) Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] __

[Zope-CMF] CMF GenericSetup log levels

2005-12-13 Thread Florent Guillaume
I don't want to start another flamewar, but can I bump down the log levels of CMF's exportimports a bit ? INFO is too much. DEBUG or BLATHER ? I can add a blather method in GenericSetup.context.Logger. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33

[Zope-CMF] Setup tool tabs

2005-12-13 Thread Florent Guillaume
I'd like to make the Properties tab go first, before Contents, in the setup_tool. Opinions ? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF

[Zope-CMF] Re: GenericSetup TI listing

2005-12-13 Thread Florent Guillaume
On 13 Dec 2005, at 11:01, yuppie wrote: Florent Guillaume wrote: Also, why is the meta_type information duplicated in typesinfo.xml and types/foo.xml? The adapter for the container is responsible for creating empty sub- objects. So in this case the TypesToolXMLAdapter needs to know the

[Zope-CMF] Re: GenericSetup: allowed_container_types

2005-12-13 Thread Florent Guillaume
On 13 Dec 2005, at 12:50, yuppie wrote: Florent Guillaume wrote: When importing an type information from an extension profile, I'm finding the need to have it specify in which containers' allowed_content_types it should be added. I'd like to add a pseudo- property allowed_

[Zope-CMF] GenericSetup: allowed_container_types

2005-12-13 Thread Florent Guillaume
specially. It could even be added to CMF's TI as a real property. What do you think? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope

[Zope-CMF] GenericSetup TI listing

2005-12-12 Thread Florent Guillaume
CMFCore.browser.typeinfo.FactoryTypeInformationAddView.getProfileInfos p arses all the profiles types/*.xml files to check their meta_type. Why not check simply typesinfo.xml ? Also, why is the meta_type information duplicated in typesinfo.xml and types/foo.xml? Florent -- Florent

[Zope-CMF] Re: GenericSetup development: progress report

2005-12-12 Thread Florent Guillaume
r settings using the setup tool. Any kind of questions and feedback are welcome. Cheers, Yuppie ___ Zope-CMF maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests -- Florent Guilla

[Zope-CMF] Re: CookieCrumbler redirects to login page

2005-12-01 Thread Florent Guillaume
that was denied? Can we fix CookieCrumbler to put a portal_status_message and put the full message in the error_log? Log the user through the ZMI, and deactivate the cookie crumbler (by removing it, or giving it an invalid page in its properties) Florent -- Florent Guillaume, Nuxeo (Paris

[Zope-CMF] Re: problems w/ 'File' type in CMF 1.6

2005-11-28 Thread Florent Guillaume
making sure the id is stored in the id attribute (and not __name__ anymore) using _setId explicitely. I also keep a backward compat id() method for old instances. I'll remove the old comment that threw you off. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&am

[Zope-CMF] Re: SVN: CMF/trunk/ - converted types tool setup handlers to new style

2005-11-24 Thread Florent Guillaume
sonal convention that I enclose "English" strings in "" and all the rest in '', it's useful because it isolates them, English can have single quotes in it, and non-english very rarely has single quotes in it) Or even better: self._logger.info("%r ty

[Zope-CMF] Re: CMF 1.6 update

2005-11-22 Thread Florent Guillaume
this is done and all of the CMFTopic tests are now passing. -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org ht

Re: [Zope-CMF] Re: reindexing optimizations

2005-11-21 Thread Florent Guillaume
hances the performances on large scaled projects. (especially the ones with several k documents indexed...) -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist -

[Zope-CMF] Re: Zope 2 security and SimpleItem

2005-11-20 Thread Florent Guillaume
Florent Guillaume wrote: Florent Guillaume wrote: I'm in the process of refactoring OFS to use new-style security declarations (about time ;)), and I stumbled on something which may or may not be a bug, I don't know, I'd like some else's opinion: The class SimpleIte

Re: [Zope-CMF] CMF 1.5.5 beta phase

2005-11-20 Thread Florent Guillaume
y-patch the super() into place from my framework and start using events without waiting for Plone or CMF 2.0. Let's wait a bit and see how 1.6 goes. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] __

[Zope-CMF] Re: CMF 1.6 update

2005-11-19 Thread Florent Guillaume
i'll be picking this work up again on monday evening, california time. -r ___ Zope-CMF maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests -- Flor

[Zope-CMF] Re: reindexing optimizations

2005-11-19 Thread Florent Guillaume
res Zope 2.8/ZODB 3.4 of course.) Some of the framework should pushed into Zope itself. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@li

[Zope-CMF] GenericSetup & uninstalling

2005-11-18 Thread Florent Guillaume
Is "uninstalling" part of the use cases that GenericSetup tries to handle? How would one go about registering what has to be done to remove an extension profile for instance? Has anybody worked in that direction? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&

[Zope-CMF] Re: Test broken on 1.6 branch

2005-11-18 Thread Florent Guillaume
width I meant to spend on the 1.6 branch alredy. Thanks. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.

[Zope-CMF] Test broken on 1.6 branch

2005-11-18 Thread Florent Guillaume
Dammit, the tests are totally broken on the 1.6 branch. Don't people ever run the tests? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist

[Zope-CMF] GenericSetup feature?

2005-11-17 Thread Florent Guillaume
a and metadata. Then I'll also want a separate "workflow" export that dumps the workflow state and workflow history. Etc. Is there any provision in GenericSetup to have multiple node exporters for the same interface? Named adapters, or multiadapters on the export context ?

[Zope-CMF] Re: CMF 1.6

2005-11-16 Thread Florent Guillaume
Florent Guillaume wrote: I'd like to have some clarifications from the Plone team about what they expect to do w.r.t. events in CMF 1.6. I see two possibilities: 1. you guys are prepared to do the work needed for Plone products to use super() in manage_afterAdd & co, in which c

[Zope-CMF] CMF 1.6

2005-11-16 Thread Florent Guillaume
into CMF 1.6 2. you feel that's too dangerous and, as Plone intends to use CMF 1.6, I'll merge for CMF 2.0 only. Be aware that if 2. is chosen, you won't be able to use Zope 3 events at all with CMF 1.6. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&am

[Zope-CMF] Re: GenericSetup-based installation backport mostly complete

2005-11-16 Thread Florent Guillaume
mail. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] CMFSetup and tools that cache data

2005-11-16 Thread Florent Guillaume
content in the site, if a catalog is fully recreated? In CPS I have the problem for other kinds of tools too (portal_trees, which caches tree navigation information, and has config to decide what to keep or not). Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33

[Zope-CMF] CMF 2.0 sandboxes

2005-11-16 Thread Florent Guillaume
In what environement do people playing with CMF 2.0 (trunk) work ? Because when used with Zope 2 trunk, there are many failing unit tests. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTE

[Zope-CMF] Re: [dev] GenericSetup: more refactoring - a small proposal

2005-11-16 Thread Florent Guillaume
s) is adding the new tab to 'manage_options'. Everything else could be a shared view. Anyway I've put this proposal on hold. No need to find a consensus now. So that I'm clear, I'm not against your proposal,as long as there's still a way to simply I/O individual

[Zope-CMF] Old backward compat in TypesTool

2005-11-16 Thread Florent Guillaume
tent types, which makes PortalFolder.allowedContentTypes have quadratic behavior in the number of types defined and slows it down a lot. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com [E

[Zope-CMF] CMF events

2005-11-15 Thread Florent Guillaume
ctive events? How to do that? > (RTFM manual pointers welcome; maybe I just need to > read Philipp's chapter on sites and local utilies again > but as of now I don't see how you get this together with > the TTW generation of arbirary many CMF and/or Plone > sites in one Zope

[Zope-CMF] Re: backporting GenericSetup to CMF-1.5

2005-11-15 Thread Florent Guillaume
sounds like too big of a chunk for the given timeframe... Indeed and that's why the transition phase allows to keep using manage_afterAdd, provided a minimum level of cooperation from the frameworks. The minimum level of cooperations is to use super() properly. Florent -- Florent Gui

[Zope-CMF] Re: [dev] GenericSetup: more refactoring - a small proposal

2005-11-15 Thread Florent Guillaume
via WebDAV. I was able to reconfigure portal_catalog by uploading a modified XML file. But I'm stuck with 2 issues: 1.) tool IDs don't have an '.xml' suffix 2.) tools like portal_workflow and portal_types that are represented by a directory of XML files are hard to bootstrap

[Zope-CMF] Re: backporting GenericSetup to CMF-1.5

2005-11-15 Thread Florent Guillaume
Rob Miller wrote: Florent Guillaume wrote: To repost an earlier mail: The patch I propose to include is: http://mail.zope.org/pipermail/cmf-checkins/2005-November/007137.html Could some Plone folks please test that switching to CMF/branches/efge-1.5-five-compatible instead of CMF/branches

  1   2   3   >