Mosen
79acadd3a2
Fix unique constraint in query fetchDevicesDEP
2016-06-24 14:32:37 +10:00
Mosen
80aedab989
Converting request to mdm.Response was a bad idea. panic.
...
Update statement to reflect new composite key of udid and serial_number.
2016-06-23 17:33:14 +10:00
Mosen
3da3a3555e
Remove unused packages.
2016-06-23 14:09:10 +10:00
Mosen
5f73d44d8e
Cast request object to mdm.Response in connect endpoint.
...
use devices.Save in ackQueryResponses
Remove methods UpdateDeviceQueryResponseByUDID and UpdateDeviceCheckinByUDID
Add message to devices.Save switch block for updating Query Responses.
2016-06-23 14:08:34 +10:00
Mosen
a89efaa2c0
Ditch checkin middleware.
...
Add QueryResponses to Device struct.
Move checkin update to ackQueryResponses.
2016-06-23 13:55:39 +10:00
Mosen
bc3cded620
Add device name to result in devices list.
...
Fix default and not null constraints on device_name field.
2016-06-22 20:09:52 +10:00
Mosen
5c6daeda6e
Add device name field to Device struct.
2016-06-22 20:02:48 +10:00
Mosen
68e86c16b4
Devices endpoint reports field last_checkin for each device.
2016-06-22 19:25:00 +10:00
Mosen
4d744fef03
Go fmt
...
Add fields returned by the management devices endpoint.
2016-06-22 19:13:14 +10:00
Mosen
15b5ec5cef
Add service middleware for Connect service to record last_checkin each time a device contacts the MDM
...
Add method UpdateDeviceCheckinByUDID to device.Datastore which updates the current checkin timestamp for a given device.
Middleware set up in main.go
2016-06-22 19:10:38 +10:00
Mosen
621f5faf02
connect service Acknowledge updates information in devices table for QueryResponses
...
devices datastore updates QueryResponses into json column `last_query_response`, and some other main attributes into the devices table.
add migration to support column `last_query_response`.
2016-06-22 18:46:16 +10:00
Mosen
6178326b84
Support for devices with IOS <9, changed authenticate query from serial_number to udid.
2016-06-21 23:53:28 +10:00
Mosen
a09ddfca97
Remove unnecessary comments.
2016-06-18 15:21:37 +10:00
Mosen
0633aeafef
Remove migrate functions from device/datastore and workflow/datastore
...
Add migrations into main (very messy indeed)
Fix bizarre glide dependency disappearing.
2016-06-18 15:05:38 +10:00
Victor Vrantchan
6367ee2367
add dep endpoint
2016-05-17 23:42:22 -04:00
Victor Vrantchan
ce131abf52
add push endpoint
2016-05-17 17:37:52 -04:00
Victor Vrantchan
ce0f988b95
clean up checkin service
2016-05-17 12:12:50 -04:00
Victor Vrantchan
405fbdc68e
add save method
2016-05-17 10:39:21 -04:00
Victor Vrantchan
4b1d989357
return device by uuid
2016-05-17 08:47:23 -04:00
Victor Vrantchan
7137542840
filter results by UUID
2016-05-17 08:24:23 -04:00
Victor Vrantchan
e6abf1f3c4
update main
2016-05-16 18:25:00 -04:00
Victor Vrantchan
4103418f55
update device datastore
2016-05-16 15:40:41 -04:00
Victor Vrantchan
f9fb514ae4
add profiles to management service
2016-05-12 20:09:44 -04:00
Victor Vrantchan
188cd4237c
add management service with fetchDEP endpoint
2016-05-10 10:08:44 -04:00
Victor Vrantchan
4775794483
redo device datastore
2016-05-10 01:06:53 -04:00
Victor Vrantchan
e7feb9d1bc
add device svc
2016-05-09 12:35:26 -04:00
Victor Vrantchan
eca2db9b97
some more tests
2016-05-05 21:37:47 -04:00
Victor Vrantchan
92ca9751f2
assign workflows
2016-05-05 14:14:44 -04:00
Victor Vrantchan
2f9c4e3098
update docker pkg
2016-04-24 01:47:00 -04:00
Victor Vrantchan
3f112b8ce6
add profile enrollment
2016-04-24 01:38:40 -04:00
Victor Vrantchan
2f232c194a
first commit
2016-03-17 20:17:59 -04:00