aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/caldav/config.sample
diff options
context:
space:
mode:
authorSatvik Sharma <satvik.sharma2@gmail.com>2017-10-25 11:52:22 +1100
committerLukas Fleischer <lfleischer@calcurse.org>2017-11-05 20:14:30 +0100
commitb96e175192f8711f07beca6e27f8d9fb42b12227 (patch)
tree3fd098239682fa9cda73b4dc2388671006b02427 /contrib/caldav/config.sample
parent2fa15118987d0afe012a5e408dc262e73e26d185 (diff)
downloadcalcurse-b96e175192f8711f07beca6e27f8d9fb42b12227.tar.gz
calcurse-b96e175192f8711f07beca6e27f8d9fb42b12227.zip
calcurse-caldav: Add SyncFilter config option
The SyncFilter option filters the types of items synced from/to a CalDAV server by making use of the --filter-type command line argument. Signed-off-by: Satvik Sharma <satvik.sharma2@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib/caldav/config.sample')
-rw-r--r--contrib/caldav/config.sample10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/caldav/config.sample b/contrib/caldav/config.sample
index 76c3ce3..8cbc4be 100644
--- a/contrib/caldav/config.sample
+++ b/contrib/caldav/config.sample
@@ -18,6 +18,16 @@ Path = /path/to/calendar/on/the/server/
# Enable this if you want to skip SSL certificate checks.
InsecureSSL = No
+# This option allows you to filter the types of tasks synced. To this end, the
+# value of this option should be a comma-separated list of item types, where
+# each item type is either "event", "apt", "recur-event", "recur-apt", "todo",
+# "recur" or "cal". Note that the comma-separated list must not contain any
+# spaces. Refer to the documentation of the --filter-type command line argument
+# of calcurse for more details. Set this option to "cal" if the configured
+# CalDAV server doesn't support tasks, such as is the case with Google
+# Calendar.
+SyncFilter = cal,todo
+
# Disable this option to actually enable synchronization. If it is enabled,
# nothing is actually written to the server or to the local data files. If you
# combine DryRun = Yes with Verbose = Yes, you get a log of what would have