A Go library for WebDAV, CalDAV and CardDAV
Go to file
Conrad Hoffmann 5b5b542f2f caldav: fix match on open time ranges
Matches on open time ranges (i.e. no end date) were not properly
handled, as `end` is simply the zero time, which confuses the
`.Before()` and `.After()` logic employed here.

This commit fixes that by adding the appropriate `.IsZero()` checks and
also adds a test case.

The current behavior unfortunately broke compatibility with DAVx5, which
by default queries only events less than 90 days ago (by using an open
time range).
2024-02-01 14:36:51 +01:00
.github/ISSUE_TEMPLATE Add GitHub issue template 2023-01-04 11:00:51 +01:00
caldav caldav: fix match on open time ranges 2024-02-01 14:36:51 +01:00
carddav caldav: add DiscoverContextURL 2023-12-27 23:16:49 +01:00
cmd/webdav-server cmd/webdav-server: new command 2020-01-22 13:17:52 +01:00
internal internal/server: handle PROPFIND without body 2024-01-08 14:58:24 +01:00
.build.yml ci: add .build.yml 2020-04-02 16:50:41 +02:00
.gitignore Initial commit 2017-08-26 14:46:44 +02:00
client.go webdav: introduce MoveOptions 2024-01-18 13:28:50 +01:00
elements.go webdav: move ConditionalMatch to webdav.go 2024-01-18 13:37:21 +01:00
fs_local.go webdav: introduce MoveOptions 2024-01-18 13:28:50 +01:00
go.mod Upgrade dependencies 2023-09-10 14:52:02 +09:00
go.sum Upgrade dependencies 2023-09-10 14:52:02 +09:00
LICENSE Start from scratch 2020-01-14 17:51:33 +01:00
README.md readme: switch back to pkg.go.dev for docs 2023-08-15 08:29:01 +02:00
server.go webdav: introduce MoveOptions 2024-01-18 13:28:50 +01:00
webdav.go webdav: move ConditionalMatch to webdav.go 2024-01-18 13:37:21 +01:00

go-webdav

Go Reference builds.sr.ht status

A Go library for WebDAV, CalDAV and CardDAV.

License

MIT