nextcloud/apps/dav/tests/unit/CardDAV
Thomas Citharel 13a3ebd4cc
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>
2023-05-16 11:38:57 +02:00
..
Activity chore(dav): Add void return type to test methods 2023-01-20 08:38:43 +01:00
Sharing chore(dav): Add void return type to test methods 2023-01-20 08:38:43 +01:00
AddressBookImplTest.php chore(dav): Add void return type to test methods 2023-01-20 08:38:43 +01:00
AddressBookTest.php feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBook 2023-05-16 11:38:57 +02:00
BirthdayServiceTest.php dav: fix birthday calendar event generation for leap days 2023-02-06 19:11:46 +01:00
CardDavBackendTest.php chore(dav): Add void return type to test methods 2023-01-20 08:38:43 +01:00
ContactsManagerTest.php chore(dav): Add void return type to test methods 2023-01-20 08:38:43 +01:00
ConverterTest.php feat(users): Store and load a user's manager 2023-05-12 13:56:48 +02:00
ImageExportPluginTest.php chore(dav): Add void return type to test methods 2023-01-20 08:38:43 +01:00
SyncServiceTest.php fix(dav): Run system address book create-if-not-exists in transaction 2023-05-12 14:15:02 +02:00
SystemAddressBookTest.php fix(carddav): expose system address book 2023-05-11 18:59:30 +02:00