41 Commits

Author SHA1 Message Date
John Tantalo
b59e0c43d6 Merge pull request #12 from ppetru/refresh
Refresh & save Fitbit credentials when they expire
2016-05-31 11:02:19 -04:00
Petru Paler
6537a8b66a Merge branch 'refresh' of https://github.com/ppetru/fitsync into refresh 2016-05-31 10:28:40 +02:00
Petru Paler
b25899ae84 Refactor credential update flow to further minimize changes. 2016-05-31 10:27:54 +02:00
Petru Paler
ebf339b967 Refactor fitbit credential update code. 2016-05-31 10:27:54 +02:00
Petru Paler
1723795899 Remove some debuggings prints. 2016-05-31 10:27:54 +02:00
Petru Paler
70b68111fe Save Fitbit refresh token when it changes. 2016-05-31 10:27:54 +02:00
Petru Paler
6704e42388 Refactor credential update flow to further minimize changes. 2016-05-31 08:22:24 +02:00
Petru Paler
8c35895457 Refactor fitbit credential update code. 2016-05-31 08:10:49 +02:00
Petru Paler
bdd47d0369 Remove some debuggings prints. 2016-05-31 08:10:38 +02:00
Petru Paler
dd7ba23d9a Save Fitbit refresh token when it changes. 2016-05-30 21:49:27 +02:00
John Tantalo
8274dc5c98 Merge pull request #11 from ppetru/master
Switch to oauth2 for fitbit
2016-05-19 09:25:31 -04:00
Petru Paler
77c5ce0c4e Indentation fixes (how did those tabs get in there?) 2016-05-19 15:19:55 +02:00
Petru Paler
4777f02f4e Update required packages. 2016-05-19 09:25:19 +02:00
Petru Paler
24ce7bdf68 Update documentation for OAuth2. 2016-05-19 09:11:00 +02:00
Petru Paler
c3e5dd4d19 Switch to OAuth2 for Fitbit. 2016-05-19 09:06:41 +02:00
Petru Paler
877aee0bb5 git-ignore vim swap files. 2016-05-19 07:34:48 +02:00
John Tantalo
b841803251 Merge pull request #5 from nealey/master
Better command-line argument parsing
2015-11-12 11:51:44 -05:00
Neale Pickett
659cf5676f Have cron.sh use patch command, clean it up a bit 2015-11-12 09:32:48 -07:00
Neale Pickett
d0ac42e57c Resolve more merge conflicts 2015-11-11 10:58:44 -07:00
John Tantalo
dd3c60ad2f Merge pull request #7 from lanrat/master
Added script for Cron
2015-11-05 16:02:16 -05:00
Ian Foster
45414f404a Added script for Cron 2015-11-05 11:24:46 -08:00
Neale Pickett
ee9d229d15 Merge upstream (removes a newline I added) 2015-11-04 13:07:09 -07:00
John Tantalo
61c0a9b83a Merge pull request #6 from lanrat/master
make scripts executable
2015-11-04 14:14:47 -05:00
Ian Foster
35e4e30462 make scripts executable 2015-11-04 11:09:12 -08:00
Neale Pickett
4f02093bc9 Fix timezone problems 2015-10-20 13:12:44 -06:00
Neale Pickett
6d2102ab8b Better command-line argument parsing 2015-10-19 20:09:44 -06:00
John Tantalo
67bbc37794 Merge pull request #4 from kisuo/master
'point' error patches for fitsync.
2015-09-04 08:26:29 -04:00
Gieseo Park
e73a6ab03d 1) Patched 'point' error when there is 0 data in Google fit. 2) Updated messages to include more precise information. 2015-09-03 17:45:39 -05:00
Gieseo Park
b1449da4ee Added Google client id creation guide for preventing [return_uri] error. This happens if client id is made with Web type. 2015-09-03 17:45:20 -05:00
John Tantalo
d9a2946099 Merge pull request #1 from cva/create_datasource
Execute googleclient commands in datastore existence check
2015-07-20 09:42:04 -04:00
Chris Anderson
09e7191fef Execute googleclient commands in datastore creation check 2015-07-19 21:34:34 -05:00
John Tantalo
575d9f275b compute point difference with sets 2014-12-28 09:23:16 -08:00
John Tantalo
74b3b6d73b print count added and deleted 2014-12-27 11:24:01 -08:00
John Tantalo
a2a316a582 nice format for printing weight data 2014-12-27 11:15:13 -08:00
John Tantalo
9913c2c70a print bad command 2014-12-27 11:05:30 -08:00
John Tantalo
ad5b507702 added setup script and instructions for fitbit credentials 2014-12-20 13:18:17 -08:00
John Tantalo
73ee185654 added google credentials setup to readme 2014-12-20 13:05:49 -08:00
John Tantalo
791ffeea6a added environment setup and commands to readme 2014-12-20 12:54:00 -08:00
John Tantalo
cd0570c60f format whitespace 2014-12-20 12:33:14 -08:00
John Tantalo
781b625aa5 copy weight data from fitbit to google 2014-12-15 08:10:06 -08:00
John Tantalo
6155242532 Initial commit 2014-12-14 19:04:58 -08:00