summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Florian Forster [Fri, 12 Jan 2018 09:53:45 +0000 (10:53 +0100)]
Package gfit: API fixes.
* Add calculation of DataStreamID().
* Don't treat http.StatusConflict as an error when creating DataSources.
Florian Forster [Thu, 11 Jan 2018 20:45:43 +0000 (21:45 +0100)]
Write step count summary to Google Fit.
Florian Forster [Thu, 11 Jan 2018 12:19:56 +0000 (13:19 +0100)]
Package gfit: Implement initial client code for Google Fit.
Florian Forster [Thu, 11 Jan 2018 11:56:30 +0000 (12:56 +0100)]
Package app: Wrap oauth2.TokenSource to ensure datastore is always updated.
Florian Forster [Thu, 11 Jan 2018 07:39:16 +0000 (08:39 +0100)]
Package fitbit: Update RefreshToken in Datastore after refreshing OAuth token.
Florian Forster [Wed, 10 Jan 2018 21:06:55 +0000 (22:06 +0100)]
Package fitbit: Fix activity summary URL.
Florian Forster [Wed, 10 Jan 2018 21:03:15 +0000 (22:03 +0100)]
Small cleanup.
Florian Forster [Wed, 10 Jan 2018 21:02:50 +0000 (22:02 +0100)]
Package app: Add email address to User object.
Florian Forster [Wed, 10 Jan 2018 20:48:25 +0000 (21:48 +0100)]
Move more logic into the "fitbit" and (new) "app" packages.
Florian Forster [Wed, 10 Jan 2018 19:15:43 +0000 (20:15 +0100)]
More trial-and-error fixes.
* datastore.Key.Encode is too long for a subscriber ID, which appears
limited to 50 characters / bytes.
* Use UUID as subscriber ID.
* Rename fitbitNotification to fitbitSubscription.
* Implement parsing of the "activity summary" in a separate package.
Florian Forster [Wed, 10 Jan 2018 13:53:14 +0000 (14:53 +0100)]
Improve user visible status.
Florian Forster [Wed, 10 Jan 2018 13:52:33 +0000 (14:52 +0100)]
Check status code when calling the subscription API.
Florian Forster [Wed, 10 Jan 2018 13:52:15 +0000 (14:52 +0100)]
Remove query string when redirecting user.
Florian Forster [Wed, 10 Jan 2018 10:33:54 +0000 (11:33 +0100)]
Initial commit.