7 Commits

Author SHA1 Message Date
Victor Vrantchan
382b3d0cec user checkins (#283)
Enables managing a local user on macOS. 
Network users are not tested/unsupported at this time. Shared iPad probably isn't either. 
When a new managed user is created, the existing managed users from the device are deleted. This is because there can only be one managed user per macOS device so the old users are deleted. 

This change enables targeting a user id instead of a device by using the UserID field (the users GUID) in push notifications and MDM commands. 

Closes #274
Closes #247
Closes #248
Closes #208
2017-10-30 08:45:15 -04:00
Niklas Bölter
4f86fe5679 Power Nap leads to infinite loop (#225)
* Fix: do not send new command after NotNow

* Fixed NotNow infinite loop by adding new queue
2017-09-04 05:54:55 +03:00
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
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