12 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
Victor Vrantchan
c8464f8e6b eliminate dead code (#282) 2017-10-29 18:25:09 -04:00
Victor Vrantchan
a100e7570d add logging middleware to push service (#262) 2017-10-24 21:33:11 -04:00
Victor Vrantchan
dfc8cca3d8 mdmctl can upload/replace push certificate (#238)
Closes #236
2017-10-15 21:08:48 -04: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
Victor Vrantchan
40ea5ab0ee use context.TODO instead of nil context (#169)
according to the library docs, a nil context should never be passed
context.TODO() returns an empty context value instead: https://golang.org/pkg/context/
2017-05-26 18:13:01 -04:00
Jesse Peterson
316053b065 Better error message for APNs certificate expiry (#152)
* Better error message for APNs certificate expiry
2017-05-21 22:18:30 -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
6065d1f2c9 Ignore UserID for PushInfo TokenUpdate events 2017-03-20 08:35:28 -04:00
Victor Vrantchan
2839a40aca rewrite imports 2017-03-19 16:44:52 -04:00
Victor Vrantchan
e6fa0b464f update to go-kit 0.4.0 2017-03-17 19:10:32 +00:00
Victor Vrantchan
28219fcec2 first commit in new package 2017-02-07 09:08:28 -05:00