Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[buteo-sync-plugins-social] Fix Google Calendar synchronization issue…
…s. Contributes to JB#33080 This commit fixes several issues related to both downsync and upsync with Google Calendar service. a) sequence (revision) field is now enforced by Google server. This commit ensures that we parse it correctly. b) updatedMin must be no older than about 20 days if we request deleted events from Google, otherwise Google will respond with a 410 GONE error. This commit now handles this by triggering a clean sync in that case, and by ensuring that we store a better "last sync date" in the notebook metadata (previously, we just used the timestamp reported by Google - but then if a notebook wasn't modified for more than a month, we'd start spontaneously hitting this error). c) error reporting has been improved to work around the newline restriction in the journal. Full error information should now be visible in the log. Contributes to JB#33080
- Loading branch information
Chris Adams
committed
Feb 1, 2016
1 parent
2cdfab4
commit dd021f1
Showing
3 changed files
with
57 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters