diff options
author | Georg Ehrke <developer@georgehrke.com> | 2016-06-21 15:25:44 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-06-21 15:25:44 +0200 |
commit | 1452b74de7f5a3b3afae546b757d2a3889857a61 (patch) | |
tree | 0eba5164f1af53876cdeac866e273ab7a40393a4 /apps/dav/appinfo | |
parent | f2f1eab7f4ade9abb77f70c6a5c3244b5c6153f4 (diff) | |
download | nextcloud-server-1452b74de7f5a3b3afae546b757d2a3889857a61.tar.gz nextcloud-server-1452b74de7f5a3b3afae546b757d2a3889857a61.zip |
Contacts API: replace raw image data with url (#25081)
* add uri to AddressBookImpl array
* Introduce ImageExportPlugin for CardDav
* add plugin to v1 routes
* replace binary contact photo with link
* update tests
* Adding unit tests
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r-- | apps/dav/appinfo/v1/carddav.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php index 88582d64ee5..fc7aff4a63c 100644 --- a/apps/dav/appinfo/v1/carddav.php +++ b/apps/dav/appinfo/v1/carddav.php @@ -75,6 +75,7 @@ if ($debugging) { } $server->addPlugin(new \Sabre\CardDAV\VCFExportPlugin()); +$server->addPlugin(new \OCA\DAV\CardDAV\ImageExportPlugin(\OC::$server->getLogger())); $server->addPlugin(new ExceptionLoggerPlugin('carddav', \OC::$server->getLogger())); // And off we go! |