Commit Graph

195 Commits

Author SHA1 Message Date
Simon Ser
2b841a9234
carddav: add support for <addressbook-multiget> 2020-01-15 12:09: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
Simon Ser
25ab0b2076
internal: add EncodeProp
This allows to simplify carddav.QueryAddressBook's request marshaling.
2020-01-15 11:17:38 +01:00
Simon Ser
45cd1977d4
Add go.sum 2020-01-15 11:17:07 +01:00
Simon Ser
ee5864490e
internal: make sure rawXMLValueReader is an xml.TokenReader 2020-01-15 11:16:30 +01:00
Simon Ser
44f7f84ef5
internal: add EncodeRawXMLElement 2020-01-15 11:14:34 +01:00
Simon Ser
56c162197b
carddav: add Client.QueryAddressBook 2020-01-14 23:44:21 +01:00
Simon Ser
9dfabd89c8
carddav: add Client.FindAddressBooks 2020-01-14 23:13:23 +01:00
Simon Ser
3d05533a31
carddav: add very basic Client 2020-01-14 22:19:54 +01:00
Simon Ser
931602e55d
internal: add Client.PropfindFlat 2020-01-14 21:43:09 +01:00
Simon Ser
94d597c1f5
internal: remove unnecessary call to Encoder.Flush 2020-01-14 21:38:25 +01:00
Simon Ser
a4580254eb
internal: check response status in Response.DecodeProp 2020-01-14 21:35:24 +01:00
Simon Ser
388377dfca
internal: remove unnecessary namespaces in structs 2020-01-14 21:32:43 +01:00
Simon Ser
5748fec4d0
internal: add helpers to parse multistatus 2020-01-14 21:29:54 +01:00
Simon Ser
93f95c7fd2
internal: add <responsedescription> 2020-01-14 20:27:08 +01:00
Simon Ser
87a88d6723
Generate PROPFIND request body
Instead of a hardcoded string, generate it with encoding/xml.
2020-01-14 20:00:54 +01:00
Simon Ser
6f9ff62747
internal: add RawXMLValue.Decode 2020-01-14 18:53:29 +01:00
Simon Ser
3beb076950
webdav: add very basic Client 2020-01-14 18:51:17 +01:00
Simon Ser
055a297f6e
internal: add RawXMLValue to defer XML encoding/decoding 2020-01-14 17:54:03 +01:00
Simon Ser
064cd80a24
Start from scratch 2020-01-14 17:51:33 +01:00
Simon Ser
e36c7881da
webdav: fix propfind decode errors 2020-01-08 19:20:00 +01:00
Simon Ser
1be15ec875
carddav: improve error handling 2020-01-08 18:54:29 +01:00
Simon Ser
cb215c7037
Rename webdav.go to server.go 2019-12-17 17:39:19 +01:00
Simon Ser
da3ea58163
Add go.mod 2019-12-17 17:24:38 +01:00
Konstantin Chukhlomin
6f8124dbbf Removed extra logging from carddav 2019-11-16 15:06:28 +01:00
emersion
4ef680e9a3
Merge pull request #5 from shurcooL/patch-1
carddav: Remove duplicate package comment
2018-05-09 20:03:21 +01:00
Dmitri Shuralyov
0ad8fa5233
carddav: Remove duplicate package comment
The package comment is already present in carddav.go file.
Having it in both places makes godoc show the documentation text twice.
2018-05-09 14:39:53 -04:00
emersion
f8d9f83cbc
carddav: add AddressObject.Remove 2017-09-14 11:51:57 +02:00
emersion
579a25f989
carddav: cache file contents when opening it 2017-09-14 11:08:16 +02:00
emersion
d2d201e6ad
carddav: remove .vcf extension 2017-09-13 20:09:18 +02:00
emersion
2a7d999100
carddav: PUT support 2017-09-13 19:02:12 +02:00
emersion
64f8396654
Add godoc badge to README 2017-09-12 21:17:05 +02:00
emersion
fdd2e85cfe
carddav: go fmt 2017-09-11 19:10:53 +02:00
emersion
0581850864
carddav: add support for REPORT addressbook-multiget, fixes #2 2017-09-11 19:10:12 +02:00
emersion
777948e9c1
Expose MultistatusWriter 2017-09-11 16:27:50 +02:00
emersion
9131ab3eec
webdav: remove outdated comments 2017-09-10 12:43:28 +02:00
emersion
2807ec1dd2
webdav: remove DAV: prefix hack 2017-09-10 12:35:04 +02:00
emersion
fd5d1f32d2
Add ref to RFC in package doc 2017-09-10 10:39:55 +02:00
emersion
1152b72a07
carddav: add AddressBook.Info 2017-09-09 16:45:31 +02:00
emersion
8d4a1ede86
Use AddressObject.Stat if supported 2017-09-09 16:37:49 +02:00
emersion
7d69432517
carddav: add Stat to AddressObject interface 2017-09-04 12:06:06 +02:00
emersion
163fa1656d
carddav: first commit 2017-09-03 20:11:36 +02:00
emersion
a7025fac8f
Allow nil LockSystem 2017-09-02 14:00:17 +02:00
emersion
c79a50adf2
Imported from golang.org/x/net/webdav, removed encoding/xml fork 2017-08-26 15:14:38 +02:00
emersion
d0fe0f28b6 Initial commit 2017-08-26 14:46:44 +02:00