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
@@ -63,7 +63,7 @@ func (s *Server) withStandbyReadOnly(next http.Handler) http.Handler {
|
||||
// V1 standby does not serve organizer or DAV endpoints: their current
|
||||
// read paths repair file-backed indexes and update credential metadata.
|
||||
// They become available after promotion; no false successful sync responses.
|
||||
for _, prefix := range []string{"/v/plan", "/v/calendar", "/v/event", "/v/tasks", "/_/api/v1/calendar", "/_/api/v1/caldav", "/_/api/v1/task", "/_/api/v1/extension/", "/.well-known/caldav"} {
|
||||
for _, prefix := range []string{"/v/plan", "/v/calendar", "/v/event", "/v/tasks", "/_/api/v1/calendar", "/_/api/v1/caldav", "/_/api/v1/carddav", "/_/api/v1/task", "/_/api/v1/extension/", "/.well-known/caldav", "/.well-known/carddav"} {
|
||||
if strings.HasPrefix(r.URL.Path, prefix) {
|
||||
fail("organizer/DAV read service requires DR promotion in this version")
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user