Add private CardDAV synchronization and contact revision recovery
This commit is contained in:
1 parent
433169c7e7
commit
19e12f96a8
32 files changed
+1855
-47
No files matched your search
@@ -77,10 +77,12 @@ func TestDAVLogTarget(t *testing.T) {
|
||||
for path, want := range map[string]string{
|
||||
"/_/api/v1/caldav": "home", "/_/api/v1/caldav/": "home",
|
||||
"/_/api/v1/caldav/tasks/": "task_home", "/_/api/v1/caldav/tasks/default": "task_collection",
|
||||
"/_/api/v1/caldav/tasks/default/private.ics": "task_resource",
|
||||
"/_/api/v1/caldav/private/": "calendar_collection",
|
||||
"/.well-known/caldav": "well_known",
|
||||
"/_/api/v1/caldav-credentials": "", "/health": "",
|
||||
"/_/api/v1/caldav/tasks/default/private.ics": "task_resource",
|
||||
"/_/api/v1/caldav/private/": "calendar_collection",
|
||||
"/.well-known/caldav": "well_known",
|
||||
"/.well-known/carddav": "carddav_discovery",
|
||||
"/_/api/v1/carddav/private-owner/private.vcf": "carddav",
|
||||
"/_/api/v1/caldav-credentials": "", "/health": "",
|
||||
} {
|
||||
if got := davLogTarget(path); got != want {
|
||||
t.Errorf("%s: %q != %q", path, got, want)
|
||||
|
||||
Reference in new issue
Block a user