From 0b3f0716fc8e278a5727885548bfa406004263dc Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 15 Dec 2014 17:49:24 +0100 Subject: Returns and update tags through WebDAV PROPFIND and PROPPATCH Added oc:tags and oc:favorites in PROPFIND response. It is possible to update them with PROPPATCH. These properties are optional which means they need to be requested explicitly --- apps/files/appinfo/remote.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files/appinfo') diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index 26bef966f79..c622f083958 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -53,6 +53,7 @@ $server->subscribeEvent('beforeMethod', function () use ($server, $objectTree) { $rootDir = new OC_Connector_Sabre_Directory($view, $rootInfo); $objectTree->init($rootDir, $view, $mountManager); + $server->addPlugin(new \OC\Connector\Sabre\TagsPlugin($objectTree, \OC::$server->getTagManager())); $server->addPlugin(new OC_Connector_Sabre_QuotaPlugin($view)); }, 30); // priority 30: after auth (10) and acl(20), before lock(50) and handling the request -- cgit v1.2.3