nextcloud/apps/dav/tests/unit
Morris Jobke aab646a9d0
Update system addressbook card only when there was a change based on a cached etag
Due to our old and new hook system the card dav backend listens to old and new hooks. This triggers this code multiple times and always causes an update. With this change we cache the etag during a request and only trigger the update if the etag has changed. This does not catches all not needed updates, but it does not need another round trip to the database and still covers most cases where multiple attributes are updated during one single request.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-09 11:43:58 +02:00
..
AppInfo Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Avatars Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
BackgroundJob Update license headers for 19 2020-04-29 11:57:22 +02:00
CalDAV Use the new method everywhere 2020-07-03 10:59:43 +02:00
CardDAV Update system addressbook card only when there was a change based on a cached etag 2020-07-09 11:43:58 +02:00
Command Update license headers for 19 2020-04-29 11:57:22 +02:00
Comments Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Connector Update share type constant usage 2020-06-24 16:49:16 +02:00
Controller Update license headers for 19 2020-04-29 11:57:22 +02:00
DAV Update license headers for 19 2020-04-29 11:57:22 +02:00
Direct Update license headers 2019-12-05 15:38:45 +01:00
Files Fix tests 2020-06-24 18:13:37 +02:00
Migration Update license headers for 19 2020-04-29 11:57:22 +02:00
Provisioning/Apple Update license headers for 19 2020-04-29 11:57:22 +02:00
Settings Update license headers 2019-12-05 15:38:45 +01:00
SystemTag Add visibility to all constants 2020-04-10 16:54:27 +02:00
Upload Update license headers for 19 2020-04-29 11:57:22 +02:00
CapabilitiesTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ServerTest.php Remove unused imports 2020-03-25 22:08:08 +01:00
bootstrap.php Update license headers 2019-12-05 15:38:45 +01:00
phpunit.xml Adding AvatarHomeTest 2017-03-29 00:04:29 +02:00