4 Commits

Author SHA1 Message Date
Jesse Peterson
90ab393742 Avoid 500 response for empty command queue (#135)
* Avoid 500 response for empty command queue
2017-03-31 10:55:39 -07:00
Jesse Peterson
511c58b9e8 Send APNS push to UDID after Commands being queued. (#122)
* Send APNS push to UDID after Commands being queued. In support of #100. Create a new protobuf & message type for post-queued commands. The push service listens for these and pushes to the devices as appropriate.

* Break out subscriber as method on Push

* Refactor event passing to use a struct

* Error on nil argument
2017-03-24 13:20:59 -07:00
Jesse Peterson
6d1a49c1ef Fix panic where popFirst() can return nil (but we were immediately using it) 2017-03-22 00:23:37 -04:00
Victor Vrantchan
d46cd2e21c Add command queue for device commands.
Closes #92
2017-03-21 11:14:39 -04:00