filesystem: also allow dot (.) in file names
filesystem: allow @ in file names
Update dependencies
Tokidoki is a (WIP) carddav and caldav server.
Tokidoki relies on go-webdav for the protocol implementation. It provides the storage backend and authentication, both of which are easily pluggable.
It currently provides:
Authentication:
pam
build tag)Storage:
go build ./cmd/tokidoki/
go build -tags pam ./cmd/tokidoki/
Here are some examples to get you started:
Using the IMAP authentication backend and the filesystem storage backend (directory must exist), listening on port 8080 on all interfaces, with debug logs enabled:
./tokidoki -addr ":8080" -auth.url imaps://imap.example.com:993 -storage.url file:///path/to/storage -log.debug
Using the PAM authentication backend and TLS:
./tokidoki -addr ":8080" -auth.url pam:// -storage.url file:///path/to/storage -cert cert.pem -key key.pem
Regular logs are sent to stderr, HTTP logs are sent to stdout. Structured
logging can be enabled for the regular logs with -log.json
.
Tokidoki does not yet support all CalDAV/CardDAV features, but tries to support the subset to make most major clients work.
The following clients are considered "supported":
Currently, by default only a single address book and calendar per user are supported, as users cannot create new ones. If additional resources are created manually on the server, tokidoki will however serve them just fine.
Tokidoki supports calendar and address book auto-discovery via
/.well-known/caldav
and /.well-known/carddav
respectively, as defined in
RFC 6764, section 6. Hence, most clients should be able to discover
resources by just pointing them at the server root.
See the tokidoki project page for up-to-date information. Patches can be submitted to the tokidoki-devel mailing list. For general discussion, please use the tokidoki-discuss mailing list.