Item13591: add support for IsHidden
property
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
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