X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=cal%2F.config%2Fvdirsyncer%2Fconfig;h=8b360183bcd3b0c7fa2699de5c42f49d5bc3ff01;hb=e38962f60009b78cc13bffef3dde449eb1945541;hp=4797b929e5aa34b4e2bf0c9a0a568c81ba6525fe;hpb=32f3d9eaf09be0979bac350364fc0c01bd29fe24;p=dotfiles.git diff --git a/cal/.config/vdirsyncer/config b/cal/.config/vdirsyncer/config index 4797b92..8b36018 100644 --- a/cal/.config/vdirsyncer/config +++ b/cal/.config/vdirsyncer/config @@ -10,12 +10,14 @@ [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"