update module
[dotfiles.git] / cal / .config / vdirsyncer / config
index 4797b92..8b36018 100644 (file)
 [general]
 # A folder where vdirsyncer can store some metadata about each pair.
 status_path = "~/.vdirsyncer/status/"
+#default_command = "sync"
 
 # CARDDAV
 [pair contacts]
 a = "contacts_local"
 b = "contacts_remote"
 collections = ["from b"]
+conflict_resolution = "b wins"
 
 [storage contacts_local]
 type = "filesystem"
@@ -24,8 +26,8 @@ fileext = ".vcf"
 
 [storage contacts_remote]
 type = "carddav"
-url = "https://cal.martlubbers.net/caldav.php/mart"
-#auth = digest
+url = "https://cal.martlubbers.net/dav.php/addressbooks"
+#auth = "digest"
 username = "mart"
 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]
 
@@ -34,6 +36,7 @@ password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]
 a = "calendar_local"
 b = "calendar_remote"
 collections = ["from b"]
+conflict_resolution = "b wins"
 
 [storage calendar_local]
 type = "filesystem"
@@ -42,11 +45,11 @@ fileext = ".ics"
 
 [storage calendar_remote]
 type = "caldav"
-url = "https://cal.martlubbers.net/caldav.php/mart"
+url = "https://cal.martlubbers.net/dav.php/calendars"
 #auth = digest
 username = "mart"
 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]
-#
+
 # Tasks
 [pair tasks]
 a = "tasks_local"
@@ -61,22 +64,7 @@ fileext = ".ics"
 
 [storage tasks_remote]
 type = "caldav"
-url = "https://cal.martlubbers.net/caldav.php/task"
+url = "https://cal.martlubbers.net/dav.php/calendars"
 #auth = digest
 username = "task"
 password.fetch = ["command", "pass", "show", "caldav_ygdrassil/mart"]
-
-# UNI
-[pair uni]
-a = "uni_local"
-b = "uni_remote"
-collections = null
-
-[storage uni_local]
-type = "filesystem"
-path = "~/.vdirsyncer/uni"
-fileext = ".ics"
-
-[storage uni_remote]
-type = "http"
-url = "http://persoonlijkrooster.ru.nl/ical?57b59e14&eu=czQxMDk1MDM=&t=9d96e939-2d1b-4b49-b376-93937bc08725"