23 Commits

Author SHA1 Message Date
Florian Schlichting
e245b8d1fb support for bulk addressbook import (thanks Jorge Lpez Prez) - fixes #74 2017-01-06 16:06:11 +01:00
Florian Schlichting
eb7f2edc0c eliminate trailing whitespace, expand tabs 2016-12-30 08:52:44 +01:00
Milan Medlik
66dd28addc transform date from iOS to standart format 2015-12-28 00:58:33 +01:00
ClemensN
5fd88ce1cb Fixed grouped Properties naming (e.g. Addresses: item1.ADR instead of just ADR) that caused item1.ADR to be written to DB(address_address_adr) because it doesn't match ADR, fix works ofr every grouped Property (yet there is only ADR...)
Added VCard Property ORG as nondefault (because it takes more then one Value)
Fixed false handling of Properties that can have more than one value (e.g. ORG) where values are seperated by semicolons
2015-11-13 21:52:22 +01:00
Ján Máté
19fbfb0343 fix for debian bug #740827 - ensure that the timestamp inserted into the INSERT query is valid 2014-09-22 22:46:20 +02:00
“Paul
c03b882728 Call log_caldav_action for VCARD PUT requests. 2014-06-23 20:37:32 +02:00
Christoph Anton Mitterer
c092a6153e make debug files pathnames more FHS compliant
* Changed the pathnames of the debug files to be a bit more FHS compliant.
2013-09-02 14:40:46 +12:00
Christoph Anton Mitterer
8e60bb3124 set line endings of most text files to LF
* Changed the end-of-line encodings of all non-Windows-related and non-autogenerated text files to use UNIX LF (lots of them had mixed LF/CRLF).

Conflicts:
	inc/caldav-PUT-functions.php
2013-09-02 14:37:23 +12:00
Andrew McMillan
169b78efa6 Add log_caldav_action() hook on addressbook writes. 2012-04-30 13:27:34 +12:00
Andrew McMillan
200b3a08dd Refactor checking of If-*-Match headers into a single place.
This also exposes and fixes a bug in PUT vcard where If-None-Match: "*"
was not being correctly processed.
2012-04-04 16:20:41 +12:00
Andrew McMillan
6e02c08c44 Basic support for RFC5995 - Using POST to add collection members. 2012-03-22 14:10:43 +13:00
Andrew McMillan
209ff04495 Write UID and REV property if they are missing.
Also allow for TYPE to be multiple for EMAIL/ADR/TEL when parsing.
2012-01-13 17:33:39 +13:00
Andrew McMillan
3e1e8ef031 Correct error text. 2011-10-06 11:05:58 +02:00
Andrew McMillan
805a91f3ef Fix deprecated calls. 2011-09-14 23:02:53 +12:00
Andrew McMillan
f305cdf4cb A few more places we need to ensure the collection is uncached.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:55:55 +13:00
Andrew McMillan
9fdaef2bd1 Use the commit() method rather than a commit statement. 2010-11-21 00:51:20 +13:00
Andrew McMillan
014df24621 Tweak message to use existing translation strings. 2010-09-24 12:41:04 +12:00
Andrew McMillan
d8d42ab383 Convert error responses to use CalDAVRequest::PreconditionFailed() 2010-09-24 12:35:50 +12:00
Andrew McMillan
a0ca0e27c7 Whoops: we weren't sending an ETag on PUT for non-Calendar resources. 2010-09-12 13:13:27 +12:00
Andrew McMillan
50fca47f06 Correct return code on PUT modified. 2010-06-23 22:36:14 +12:00
Andrew McMillan
5a708c5462 When we PUT a vcard set the caldav_type to VCARD. 2010-06-23 14:21:55 +12:00
Andrew McMillan
a5e6e9113c Handle VCARD on PUT. 2010-05-19 23:53:36 +12:00
Andrew McMillan
8a5ba6a07e A (still broken) start on parsing VCARD on PUT. 2010-05-12 22:17:10 +12:00