Simon Ser
|
7d0d522fa7
|
internal: prevent empty endpoint path from resulting in "." sub-paths
|
2020-02-12 20:04:31 +01:00 |
|
Simon Ser
|
30eac28d2b
|
internal: read response body on error
|
2020-02-12 19:46:05 +01:00 |
|
Simon Ser
|
a892cc58df
|
internal: only handle relative paths in Client.ResolveHref
Don't prepend the endpoint path in front of absolute paths.
|
2020-02-12 17:13:12 +01:00 |
|
Simon Ser
|
0b2d0a706c
|
internal: accomodate for trailign slashes in Multistatus.Get
|
2020-02-12 17:12:21 +01:00 |
|
Simon Ser
|
7f285fdf83
|
internal: fix Client.PropfindFlat when endpoint has a non-empty path
|
2020-02-12 16:40:30 +01:00 |
|
Simon Ser
|
9afa59dc22
|
internal: fix trailing slash getting removed in Client.ResolveHref
|
2020-02-12 16:40:03 +01:00 |
|
Simon Ser
|
57df6bf316
|
caldav: add filter XML definition
|
2020-02-05 17:07:35 +01:00 |
|
Simon Ser
|
f9d728aaeb
|
carddav: add Client.HasSupport
|
2020-02-05 16:08:15 +01:00 |
|
Simon Ser
|
3ea3818dd8
|
internal: fix Status text marshaling
|
2020-02-03 21:54:55 +01:00 |
|
Simon Ser
|
69d8cf54ff
|
internal: fix ETag.String returning unquoted string
|
2020-02-03 21:52:15 +01:00 |
|
Simon Ser
|
25678476db
|
internal: add ETag
|
2020-02-03 21:48:31 +01:00 |
|
Simon Ser
|
ca51e9427a
|
caldav: add Client.QueryCalendar
|
2020-02-03 17:26:55 +01:00 |
|
Simon Ser
|
dd1527b97e
|
carddav: allow created address book objects to have a different path
Closes: https://github.com/emersion/go-webdav/issues/32
|
2020-01-30 15:20:10 +01:00 |
|
Simon Ser
|
8937358ac1
|
Allow servers to return DAV capabilities in OPTIONS
|
2020-01-29 18:03:47 +01:00 |
|
Simon Ser
|
6de76c94b8
|
internal: check for HTTP errors in Client.Do
Closes: https://github.com/emersion/go-webdav/issues/19
|
2020-01-22 13:22:45 +01:00 |
|
Simon Ser
|
6d229f4e8a
|
webdav: add COPY support to server
|
2020-01-22 13:00:42 +01:00 |
|
Simon Ser
|
f04c1c9421
|
webdav: add support for ETag to client & server
|
2020-01-22 12:03:58 +01:00 |
|
Simon Ser
|
3268102d5a
|
webdav: add MOVE support to server
|
2020-01-22 11:43:36 +01:00 |
|
Simon Ser
|
6eeeccb96e
|
all: encode hrefs, replace hrefs with path in public API
Closes: https://github.com/emersion/go-webdav/issues/14
Closes: https://github.com/emersion/go-webdav/issues/16
|
2020-01-22 11:07:30 +01:00 |
|
Simon Ser
|
489be203a1
|
webdav: add Client.MoveAll
|
2020-01-22 10:15:44 +01:00 |
|
Simon Ser
|
d30d4d2932
|
internal: add helpers for the Overwrite header
|
2020-01-22 10:09:51 +01:00 |
|
Simon Ser
|
c0a91b0085
|
internal: move Depth to internal.go
|
2020-01-22 10:06:00 +01:00 |
|
Simon Ser
|
90fe8dedf7
|
internal: add PROPPATCH support to server
|
2020-01-21 23:18:27 +01:00 |
|
Simon Ser
|
e9e1f102de
|
webdav: add MKCOL support to server
|
2020-01-21 22:05:59 +01:00 |
|
Simon Ser
|
41b68829e8
|
webdav: add DELETE support to server
|
2020-01-21 21:46:01 +01:00 |
|
Simon Ser
|
7d6de88179
|
webdav: add support for PUT to server
|
2020-01-21 21:19:44 +01:00 |
|
Simon Ser
|
63cdea07be
|
internal: allow Response.DecodeProp to decode multiple values
|
2020-01-21 18:41:25 +01:00 |
|
Simon Ser
|
3e41eefd12
|
internal: properly encode path in Client.NewRequest
|
2020-01-20 13:40:26 +01:00 |
|
Simon Ser
|
3a61646ab4
|
carddav: add current-user-principal to server
|
2020-01-20 10:56:25 +01:00 |
|
Simon Ser
|
d8ce7d353d
|
internal: check for response error in Multistatus.Get
|
2020-01-19 15:41:08 +01:00 |
|
Simon Ser
|
6e0ea58de1
|
carddav: populate AddressBook.{Name,MaxResourceSize} in client
|
2020-01-19 15:29:51 +01:00 |
|
Simon Ser
|
edfc2804b5
|
carddav: add displayname and addressbook-description to server
|
2020-01-19 14:53:58 +01:00 |
|
Simon Ser
|
b311299ac0
|
internal: add Prop.Get, Prop.Decode
|
2020-01-19 12:01:55 +01:00 |
|
Simon Ser
|
f3f1c8b58a
|
internal: introduce DecodeXMLRequest, ServeXML and ServeMultistatus
|
2020-01-19 11:12:45 +01:00 |
|
Simon Ser
|
60e5d57cda
|
carddav: implement REPORT addressbook-multiget
|
2020-01-19 11:05:56 +01:00 |
|
Simon Ser
|
bf666bb2fb
|
Ensure resourcetype is always defined
|
2020-01-17 17:09:44 +01:00 |
|
Simon Ser
|
34b2ebf940
|
all: use variables for xml.Name values
|
2020-01-17 17:09:23 +01:00 |
|
Simon Ser
|
883dafaf41
|
internal: fix Error element definition
|
2020-01-17 14:47:10 +01:00 |
|
Simon Ser
|
7cb302246b
|
internal: add NewPropfindResponse helper
|
2020-01-17 14:40:29 +01:00 |
|
Simon Ser
|
e2da5769f5
|
Improve OPTIONS handling
|
2020-01-17 11:41:44 +01:00 |
|
Simon Ser
|
326c4b9b6f
|
internal: add Handler
|
2020-01-17 11:30:42 +01:00 |
|
Simon Ser
|
3beeb23f7c
|
internal: drop unused field in Client
|
2020-01-16 18:08:26 +01:00 |
|
Simon Ser
|
cabf33219e
|
Add Client.SetBasicAuth
|
2020-01-15 23:45:37 +01:00 |
|
Simon Ser
|
4c4624e225
|
webdav: add support for allprop and propname in PROPFIND
|
2020-01-15 23:03:09 +01:00 |
|
Simon Ser
|
ae0541654a
|
inetrnal: rename Date to Time, make it a Text{Marshaler,Unmarshaler}
|
2020-01-15 19:32:59 +01:00 |
|
Simon Ser
|
3d37e49ca0
|
internal: make Status a Text{Marshaler,Unmarshaler}
|
2020-01-15 19:23:09 +01:00 |
|
Simon Ser
|
040c38f1b6
|
webdav: add support for more props
|
2020-01-15 19:08:38 +01:00 |
|
Simon Ser
|
ae93da82c1
|
webdav: add minimal server implementation
|
2020-01-15 18:21:27 +01:00 |
|
Simon Ser
|
42765234a8
|
internal: add Depth, Client.Propfind
|
2020-01-15 12:30:42 +01:00 |
|
Simon Ser
|
5fe39bbc13
|
internal: remove xml.Name arg from Response.DecodeProp
The xml.Name is now retrieved from the interface{} argument via
reflection.
|
2020-01-15 11:44:27 +01:00 |
|