16 Commits

Author SHA1 Message Date
Andrew McMillan
7e4364c803 If we get NULL for a new sync token reset so we sync everything. 2010-09-25 22:27:49 +12:00
Andrew McMillan
b80dd10c7b Add a configuration option to use the older 'sync-response' tag.
When the WebDAV sync draft first came out the responses were each
contained in a DAV::sync-response tag, but by -03 this has changed
to a DAV::response tag since the format of the tag contents now
match this existing tag structure.

Unfortunately some client software in the wild depends on this
being a DAV::sync-response so the config option is needed to
interoperate with this software.
2010-09-25 17:18:54 +12:00
Andrew McMillan
dd1d3903ff Make the sync report work with non-calendar resources. 2010-09-23 23:21:11 +12:00
Andrew McMillan
19de9d3b01 [sync-collection report] Fix to work with bound collections.
The sync-collection report was looking for $request->CollectionID()
but this is not set for bound collections and we have to use
DAVResource methods to retrieve it.
2010-09-11 22:48:36 +12:00
Andrew McMillan
2898fb2b23 In -03 the response is renamed to 'response' rather than 'sync-response' 2010-08-18 21:35:02 +12:00
Andrew McMillan
ff0bef2f8b Migrate sync-collection REPORT to AwlQuery. 2010-03-17 13:52:57 +13:00
Andrew McMillan
5384d175e9 Well, it seems webdav-sync needs to change to always report delete.
This will become part of the spec in the next revision.
2010-02-03 10:40:05 -08:00
Andrew McMillan
0b9cdd593b Another fix for the webdav-sync to collapse create/delete properly. 2010-02-03 09:57:20 -08:00
Andrew McMillan
5fac9850db We should be getting the sync_changes data last.
This is so we get dav_name correct for delete actions, which
will otherwise be null since there is no caldav_data or
calendar_item record for them any longer.
2010-02-03 09:04:40 -08:00
Andrew McMillan
8f87ef4ff9 Move DAVResource inclusion to REPORT wrapper. 2009-12-28 00:25:31 +13:00
Andrew McMillan
f8331aab2d Fix handling of DELETE followed by CREATE case. 2009-12-08 09:24:34 +13:00
Andrew McMillan
865a2e499c Various changes preparing to switch PROPFIND implementation. 2009-11-12 00:39:18 +13:00
Andrew McMillan
5bab699e14 Collapse changes in sync-collection response. 2009-10-15 23:13:39 +13:00
Andrew McMillan
24a8971080 Initial support for draft-daboo-webdav-sync-01 2009-10-13 21:29:40 +13:00
Andrew McMillan
3d883e975d Start of sync-collection report. 2009-10-11 15:01:27 -07:00
Andrew McMillan
0cda2cb469 [Unfinished] Starting to change permissions. 2009-10-11 14:58:35 -07:00