diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-12-15 17:49:24 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-12-17 16:50:35 +0100 |
commit | 0b3f0716fc8e278a5727885548bfa406004263dc (patch) | |
tree | b0413ceeaa79e69c9a61655baac3bab4278a507d /apps/files/appinfo | |
parent | be3d4fd303569a99554dbc6c62ce8992a45c51ad (diff) | |
download | nextcloud-server-0b3f0716fc8e278a5727885548bfa406004263dc.tar.gz nextcloud-server-0b3f0716fc8e278a5727885548bfa406004263dc.zip |
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
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/remote.php | 1 |
1 files changed, 1 insertions, 0 deletions
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 |