8 Commits

Author SHA1 Message Date
Victor Vrantchan
20689679ae move pubsub inmem to subpackage (#210)
Split types from implementation to support multiple pubsub types in the near future.
2017-06-14 01:23:58 -04:00
Victor Vrantchan
804276eeb2 reload dep.Client when new token is added (#184)
on initial startup the DEP Client is not configured. Previously a user had to restart the server to get things running after adding the OAuth token. With this change, a new DEP client is created in all relevant services whenever the token is updated.
2017-05-29 22:45:41 -04:00
Jesse Peterson
495dd8bdf9 Issue DEP Sync Event on receiving devices from the DEP sync API (#177) 2017-05-28 10:17:16 -07:00
Victor Vrantchan
e902ba69bc save DEP cursor during fetch/sync ops (#159)
Closes #158
2017-05-21 15:06:09 -04:00
Victor Vrantchan
2132963c8a update the ticker that triggers DEP sync events (#123)
the new time is every 30 minutes
2017-03-24 12:13:19 -04:00
Victor Vrantchan
acc377c578 preserve cursor during DEP fetch (#109)
For #88

load/save DEP cursor boltdb storage. Call sync once cursor is exhausted.
The sync response handling is still a TODO.
2017-03-22 20:44:04 -04:00
Victor Vrantchan
2839a40aca rewrite imports 2017-03-19 16:44:52 -04:00
Victor Vrantchan
ac46c3c56b add depsync package 2017-03-18 15:06:58 -04:00