Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[buteo-sync-plugins-social] Update Contacts plugin to use Google Peop…
…le API. JB#50799 The Google Contacts API is deprecated and the service will cease to work in June 2021. Update the contacts plugin to use the newer People API instead. Main changes: - Use JSON instead of XML to format request and response data. - Make multi-part HTTP requests for batched upsync requests. - Upsync avatar changes separately from other contact data as per the People API requirements. - Always save both the remote url and local file path for an avatar instead of transforming the remote url to a local file after downloading. - If a downloaded avatar's file extension does not match its meta type (e.g. is png but has jpg extension) rename the file to match the type.
- Loading branch information
Showing
12 changed files
with
3,083 additions
and
2,531 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.