summaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)Author
2016-01-25calcurse-caldav: Print XML dump in debug mode onlyLukas Fleischer
In die_atnode(), we currently print a full dump of the XML node if verbose mode is enabled. Change this behavior such that a dump is only created in debug mode. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-25contrib/caldav/README: Minor improvementsLukas Fleischer
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-25calcurse-caldav: Fix comment on certificate checksLukas Fleischer
Clarify that ssl._create_unverified_context() was added in Python 3.4.3. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-25calcurse-caldav: Support custom HTTP headersLukas Fleischer
Add support for specifying additional HTTP headers, such as the User-Agent, in the configuration file. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-25calcurse-caldav: Fix late retrieval of ETagLukas Fleischer
Fixes another regression introduced in badbd71 (calcurse-caldav: Add a debug mode, 2016-01-23). Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-25calcurse-caldav: Fix --init=keep-localLukas Fleischer
Fixes a regression introduced in badbd71 (calcurse-caldav: Add a debug mode, 2016-01-23). Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-25calcurse-caldav: Fix duplicate Content-Type prefixLukas Fleischer
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-25calcurse-caldav: Fix MIME type in requestsLukas Fleischer
Specify application/xml in the Content-Type of requests except for PUT, where we actually submit calendar data. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-24calcurse-caldav: Show debug output before checking statusLukas Fleischer
Make sure we print the headers and the body of a HTTP response in debug mode, even if the HTTP status code indicates failure. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-24calcurse-caldav: Add XML declaration to requestsLukas Fleischer
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-23calcurse-caldav: Prefix error messages with "error:"Lukas Fleischer
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-23calcurse-caldav: Check response statusLukas Fleischer
Bail out if the HTTP status code of any of the replies starts with a digit other than 2. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-23calcurse-caldav: Include command/path in the debug outputLukas Fleischer
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-23calcurse-caldav: Ensure path always starts/ends with a slashLukas Fleischer
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-23calcurse-caldav: Add a debug modeLukas Fleischer
Dump all communication with the server to stdout if --debug is specified. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-23calcurse-caldav: Fix parsing of the Verbose config optionLukas Fleischer
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-23calcurse-caldav: Make InsecureSSL optionalLukas Fleischer
2016-01-23calcurse-caldav: Add a workaround for Python <3.4Lukas Fleischer
Python versions prior to 3.4 do not check certificates by default and thus do not support ssl._create_unverified_context(). Add a workaround. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-22Add a script to synchronize with CalDAV serversLukas Fleischer
Introduce calcurse-caldav, a Python script that can be used to synchronize calcurse instances with CalDAV servers. The script was tested with an instance of the Radicale CalDAV server but it is still alpha software. Make backups before giving it a try! Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
2016-01-07Add an example post-save hookLukas Fleischer
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>