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
@@ -35,6 +35,12 @@ func SetDAVAuthOutcome(r *http.Request, outcome string) {
|
||||
}
|
||||
|
||||
func davLogTarget(path string) string {
|
||||
if path == "/.well-known/carddav" {
|
||||
return "carddav_discovery"
|
||||
}
|
||||
if path == "/_/api/v1/carddav" || strings.HasPrefix(path, "/_/api/v1/carddav/") {
|
||||
return "carddav"
|
||||
}
|
||||
const root = "/_/api/v1/caldav"
|
||||
p := strings.TrimSuffix(path, "/")
|
||||
switch p {
|
||||
|
||||
Reference in new issue
Block a user