[Zope-CMF] Problem with Filesystem Directory View's support of .metadata on folders?

2005-07-14 Thread sureshvv

Jens Vagelpohl wrote:


On Apr 13, 2005, at 18:45, sureshvv wrote:


Is there a reason for this? Would you be interested in a patch?



It does. Look at CMF CVS HEAD.


I looked at the code in DirectoryView.py and it appears that the setting of 
properties will work only for sub-directories but not for the top level 
directory that is added.


Also security does not appear to be handled.

Can someone please verify this?

Thanks,

Suresh


___
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] CMF Collector: Open Issues

2005-07-14 Thread tseaver
The following supporters have open issues assigned to them in this collector
(http://www.zope.org/Collectors/CMF).

Assigned and Open


  efge

- CMFSetup: provide non-ascii im- and exports,
  [Accepted] http://www.zope.org/Collectors/CMF/292

- CMFSetup doesn't correctly detect DCWorkflow on export,
  [Accepted] http://www.zope.org/Collectors/CMF/298


  gregweb

- CMFUid.UniqueIdGeneratorTool's counter may return double unique ids,
  [Accepted] http://www.zope.org/Collectors/CMF/306


  jens

- Confusing date criteria in CMFTopic,
  [Accepted] http://www.zope.org/Collectors/CMF/339

- FSPropertiesObject.py cannot handle multiline input for lines, text 
attributes,
  [Accepted] http://www.zope.org/Collectors/CMF/271


  mj

- CMFSetup doesn't correctly detect DCWorkflow on export,
  [Accepted] http://www.zope.org/Collectors/CMF/298


Pending / Deferred Issues

- Debuggable scripts,
  [Deferred] http://www.zope.org/Collectors/CMF/194

- CMFCalendar weekday locale issue,
  [Pending] http://www.zope.org/Collectors/CMF/237

- CMFCalendar: Events ending on midnight,
  [Pending] http://www.zope.org/Collectors/CMF/246

- Wrong cache association for FSObject,
  [Pending] http://www.zope.org/Collectors/CMF/255

- CMFSetup: Windows exports contain CR/LF, LF and even CR newlines,
  [Pending] http://www.zope.org/Collectors/CMF/266

- PortalCatalog.ZopeFindAndApply should probably also search in 
opaqueItems,
  [Pending] http://www.zope.org/Collectors/CMF/296

- WorkflowTool should recurse into opaqueItems,
  [Pending] http://www.zope.org/Collectors/CMF/297

- add External Methods to workflow script handling,
  [Pending] http://www.zope.org/Collectors/CMF/329

- Can't invalidate skin items in a RAMCacheManager,
  [Pending] http://www.zope.org/Collectors/CMF/343

- DefaultWorkflow actions fo not include an id,
  [Pending] http://www.zope.org/Collectors/CMF/361

- reconfig_form page fails,
  [Pending] http://www.zope.org/Collectors/CMF/364


Pending / Deferred Features

- Favorite.py: queries and anchors in remote_url,
  [Pending] http://www.zope.org/Collectors/CMF/26

- Allow flexible date editing in Event.py (CMFCalendar),
  [Pending] http://www.zope.org/Collectors/CMF/40

- Topic should be catalogued,
  [Pending] http://www.zope.org/Collectors/CMF/53

- DefaultDublinCore should have Creator property,
  [Pending] http://www.zope.org/Collectors/CMF/61

- Make changeFromProperties accept sequences too,
  [Pending] http://www.zope.org/Collectors/CMF/99

- path criteria on Topic should honor VHM,
  [Pending] http://www.zope.org/Collectors/CMF/111

- Document.py: universal newlines,
  [Pending] http://www.zope.org/Collectors/CMF/174

- Permissions in PortalFolder: invokeFactory(),
  [Pending] http://www.zope.org/Collectors/CMF/175

- Add condition for transition's action like other action,
  [Pending] http://www.zope.org/Collectors/CMF/207

- Major action enhancement,
  [Pending] http://www.zope.org/Collectors/CMF/232

- portal_type is undefined in initialization code,
  [Pending] http://www.zope.org/Collectors/CMF/248

- Action._listsActions() should be more safe,
  [Pending] http://www.zope.org/Collectors/CMF/253

- FSZSQLMethod.py,
  [Pending] http://www.zope.org/Collectors/CMF/273

- Expose Document text_format metadata,
  [Pending] http://www.zope.org/Collectors/CMF/285

- customization of type of homefolder on creation,
  [Pending] http://www.zope.org/Collectors/CMF/288

- Allow contentFilter to use review_state,
  [Pending] http://www.zope.org/Collectors/CMF/294

- CMFTopic Does Not Cache,
  [Pending] http://www.zope.org/Collectors/CMF/295

- Wishlist: a flag that tags the selected action.,
  [Pending] http://www.zope.org/Collectors/CMF/301

- CMFDefault should make use of allowCreate(),
  [Pending] http://www.zope.org/Collectors/CMF/340



___
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 Alec Mitchell
On Thursday 14 July 2005 11:27 am, yuppie wrote:
 Hi Alec!

 Alec Mitchell wrote:
  I recently noticed that the recent addition of default type profiles to
  CMFDefault (e.g. CMFDefault/profiles/default/types/Topic.xml), has the
  very unwelcome side-effect of adding extra unwanted actions to the ATCT
  types in plone 2.1.  Perhaps 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?

Actually, the problem was in ATCT, though it appears to have only become 
visible because of the new profiles.  The profiles are imported in 
PloneGenerator, which inherits CMFDefault.Portal.PortalGenerator and calls 
setup.  Sorry for the false alarm. :)

Alec
___
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] Action Name as TAL Expression

2005-07-14 Thread Pete Mawhinney
Hi There;

We are constructing a Nav bar that includes a link to Members. Ideally
once a member logs in this label would change to their given name (as per
Amazon). 

We are thinking about tackling this in one of the 2 ways described below. It
seems to us this might be a useful feature so we have a couple of questions
for the list. Is anyone aware of this creating a problem for backwards
compatibility? Is this worth submitting as a feature request? Perhaps it is
already covered by functionality we have not discovered.

Cheers

Pete

-Original Message-
From: Tom Dossis [mailto:[EMAIL PROTECTED] 
Sent: Friday, 15 July 2005 9:43 AM
To: Pete Mawhinney
Subject: Action Name TAL Expression

Hi Pete,

A CMF action name is currently a simple string.

It would be a nice and relatively simple enhancement to have it support 
TAL expressions.  Note: This would need to be backward compatible, so we 
need to identify when/how to interpret the name as a tal expression.

A couple of schemes of the top of my head...

preceed tal expressions with a tag/market ie. tal:
or
evaluate an expression enclosed in backquotes (as in the bourne shell).


Name  Rendered
  
Home  Home

tal:here/portal_url/getPortalObject/title_or_id
   My Portal

I am `user/title_or_id`   I am John Brown



___
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