Item13591: add support for IsHidden property

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: WebDAVContrib
Branches: Item13591 master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
The IsHidden property on a resource is used by various vendors to flag hidden files (in the sense of dot files under unix). Adding a ="IsHidden" property to the response will provide a hit to those file browsers to hide certain directories, such as those that don't have an attachment in them.

  • Dophin (kde) does not request it as it uses the dot prefix to a filename instead following good ol' unix habbits
  • Libre-Office does request {http://ucb.openoffice.org/dav/props/}IsHidden and a couple more

So it seems sensible to test for /^{.*}IsHidden$/i. This will actually fix an issue where {HideEmptyAttachmentDirs} is set however those resource still being displayed (not hidden).

-- MichaelDaum - 31 Jul 2015

I'd like to see a comment in the code please:
# ishidden handling is based on the usage in namespace http://ucb.openoffice.org/dav/props/, but is assumed to be used consistently in all other namespaces
Apart from that, I'm fine with it.

-- CrawfordCurrie - 31 Jul 2015
 
Topic revision: r3 - 04 Aug 2015, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy