Commit Graph

80 Commits

Author SHA1 Message Date
Simon Ser
4a2a520522
carddav: add server support for REPORT addressbook-query 2020-01-19 12:02:18 +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
402593c5c6
carddav: define XML names as globals 2020-01-18 12:58:53 +01:00
Simon Ser
34b2ebf940
all: use variables for xml.Name values 2020-01-17 17:09:23 +01:00
Simon Ser
557972089c
carddav: add very basic server implementation 2020-01-17 16:59:29 +01:00
Simon Ser
13d70be046
carddav: rename Address to AddressObject 2020-01-17 16:20:05 +01:00
Simon Ser
cabf33219e
Add Client.SetBasicAuth 2020-01-15 23:45:37 +01:00
Simon Ser
42765234a8
internal: add Depth, Client.Propfind 2020-01-15 12:30:42 +01:00
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
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
064cd80a24
Start from scratch 2020-01-14 17:51:33 +01:00
Simon Ser
1be15ec875
carddav: improve error handling 2020-01-08 18:54:29 +01:00
Konstantin Chukhlomin
6f8124dbbf Removed extra logging from carddav 2019-11-16 15:06:28 +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
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
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