diff options
author | Thomas Citharel <tcit@tcit.fr> | 2023-03-21 18:11:56 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2023-05-16 11:38:57 +0200 |
commit | 13a3ebd4cc4ca172e37e61f5dc9d91e46ae56890 (patch) | |
tree | 8c1e24ef83de8eb8ad43a34482161668a321147b /build/stubs/psr_container.php | |
parent | 25dd264965905316672631db95707e9051d57d69 (diff) | |
download | nextcloud-server-13a3ebd4cc4ca172e37e61f5dc9d91e46ae56890.tar.gz nextcloud-server-13a3ebd4cc4ca172e37e61f5dc9d91e46ae56890.zip |
feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBook
This allows to just UPDATE the card row instead of deleting it and reinsert it. It's very similar to https://github.com/nextcloud/server/pull/30120 for calendars.
As we need the addressbookid exposed, this introduces OCA\DAV\CardDAV\Card that extends Sabre's.
I chose specifically NOT to auto-inject LoggerInterface in Addressbook like in #30120 because the chain of DI is huge just for ONE simple call and it would break an existing dirty call (OCA\Contacts calling OCA\DAV) of ContactsManager in Contacts: https://github.com/nextcloud/contacts/pull/1722 (in SocialApiService), but this is debatable.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'build/stubs/psr_container.php')
0 files changed, 0 insertions, 0 deletions