8 Commits

Author SHA1 Message Date
Andrew McMillan
b8f4a26515 Patch for caldav sync from Pierre-Arnaud Poudret. 2010-11-06 22:38:24 +13:00
Andrew McMillan
c5c97ad5d2 [sync-remote] More attempts to handle Google.
It seems that on PUT Google might truncate the filename, so it will
send us back a Location header we need to follow before we can
getr the ETag.  And there might be one more hoop to jump through
to complete this process.

This would be better handled if we locally use the VEVENT UID as
the invariant property between local and remote, rather than the
'filename' part of the path, but we'd still face the issue of
having to follow the Location: header to get the ETag for the
event we just PUT to the remote server.
2010-09-17 14:08:40 +12:00
Andrew McMillan
be02f3cd1f [sync-remote-caldav] Handle case where remote server renames on PUT
Some servers rename the event when we PUT it, so in this case we
rename our local copy to match.
2010-09-14 14:00:00 +12:00
Andrew McMillan
a1a0eb2aa2 Print stage of processing for diagnostic reasons. 2010-08-18 21:38:34 +12:00
Andrew McMillan
1862d5fa42 Improved sync to cope slightly better if remote data already present.
This is not a complete fix - it depends on the filename part of the
URI being invariant between the two servers.  It should really
compare the UID of the two events...
2010-04-26 23:28:03 +12:00
Andrew McMillan
92e106653b Fix include path for new always.php location. 2010-03-24 12:55:08 +13:00
Andrew McMillan
7ae6678106 Add usage() function. 2010-03-22 17:23:36 +13:00
Andrew McMillan
701e96e1b2 Some updates to the caldav client library and an example script. 2010-03-11 23:40:47 +13:00