Mike Arpaia
d7f07bb022
Move the server type to it's own package ( #458 )
2018-07-13 21:40:13 +00:00
Jesse Peterson
8f5838ceea
Allow setting curl options in environment variable ( #455 )
2018-07-12 11:35:42 +00:00
Victor Vrantchan
9f60f7baca
pin to aes_fix branch ( #454 )
...
Resolves https://github.com/micromdm/micromdm/issues/453
This is a temporary fix until the proper CBC variant for content encryption is implemented in pkcs7
v1.3.1
2018-07-10 21:52:40 -04:00
Victor Vrantchan
8ab19a93e8
add support for InstallEnterpriseApplication command ( #452 )
2018-07-09 22:48:10 -04:00
Scott Knight
6dcd89ac49
Cleanup blueprint indexing ( #447 )
...
Saving a blueprint was creating multiple records in the
blueprint index bucket. One was the index that gets used
for lookup which is a key of the blueprint Name and the value
being the blueprint UUID and the other record had a key and
value of blueprint UUID. The second with a key of UUID is not
needed since the key in the main blueprint bucket is already UUID
2018-07-05 16:28:26 -04:00
Scott Knight
1593d130e7
Update to the latest pkcs7 sha256 changes ( #451 )
2018-07-05 16:28:04 -04:00
Victor Vrantchan
bbabd751b7
add device_information and security_info commands with curl API ( #448 )
2018-06-22 22:25:06 -04:00
Scott Knight
0b953e5d69
Create a custom http.Client for apns communication ( #446 )
...
In order to set custom transport options on the http.Client used
by the push service we need to create our own instance. This
allows us to configure the IdleConnTimeout and prevent connections
from being killed and pushes not being sent. 90 seconds is used
here since it's the same as the DefaultTransport provided by Go.
2018-06-22 17:40:12 -04:00
Scott Knight
529860bf15
Allow removal of device records ( #444 )
...
The new remove devices command takes a UDID or list of UDIDs
as input and calls the devices delete endpoint. Since serial number
isn't strictly required by the spec it seemed to make more sense
to keep the remove working with only UDIDs. The get devices command
with a serial number filter can always be used to look up a UDID
from a serial number.
2018-06-21 11:43:16 -04:00
Scott Knight
f13953790b
Create pushinfo Worker separate from DB implementation ( #445 )
2018-06-21 11:34:19 -04:00
Scott Knight
05344403a5
Add software update command examples ( #442 )
...
Add support for the OSUpdateStatus command
Add example Software Update API commands
2018-06-21 08:07:56 -04:00
Jesse Peterson
24efe18538
Use micromdm/scep master (for newer pkcs7 lib) ( #440 )
...
Resolves #436 .
2018-06-15 14:35:45 -07:00
Clayton Burlison
08aa5151dc
fix: Smallest typo in the world ( #439 )
2018-06-14 11:17:50 -04:00
Mike Arpaia
6dd045e5b8
Remove superfluous whitespace from markdown files ( #438 )
2018-06-13 23:33:53 -04:00
Jesse Peterson
2696fee2e7
Fix code-never-reached situation ( #434 )
2018-06-13 21:44:37 -04:00
Jesse Peterson
8bdc5e3ffe
Don't hide error ( #435 )
2018-06-13 21:43:35 -04:00
Mike Arpaia
288d60dde9
Update base container to Alpine 3.7 ( #437 )
2018-06-13 21:42:24 -04:00
Jesse Peterson
25a07b82b5
Update changelog ( #432 )
2018-06-11 11:00:36 -07:00
Jesse Peterson
037a0b999f
Fix bug in #430 ( #433 )
2018-06-11 11:00:18 -07:00
Scott Knight
136567a7a5
Ensure enrollment message is published for newly enrolled devices ( #431 )
2018-06-11 07:52:28 -07:00
Victor Vrantchan
41bb645688
dependency update
...
Update everything to latest and cleans up unused dependencies.
v1.3.0
2018-06-10 06:46:16 -07:00
Jesse Peterson
b857046412
Use constant time ( #430 )
2018-06-09 11:09:28 -07:00
Victor Vrantchan
ee3f43d4c6
create user worker separate from DB implementation. ( #426 )
2018-05-30 09:18:04 -07:00
Victor Vrantchan
1ccf1c8ca1
decouple device updates from db CRUD ( #427 )
...
Move the code for polling topics and updating device records into an independent worker.
Cleans up the code and makes it possible to swap the db backend.
2018-05-30 09:14:41 -07:00
Victor Vrantchan
35051e7d9b
Add a more complete webhook worker. ( #424 )
...
Adds a webhook worker which is scaffolded to support multiple event types.
Supports Checkin And Acknowledge events from the start.
2018-05-30 09:14:19 -07:00
Victor Vrantchan
1916f2a2f5
add logging to device block service ( #425 )
2018-05-29 07:41:57 -04:00
Victor Vrantchan
dcd0ec4a41
reorganize MDM service into a single package. ( #423 )
2018-05-27 17:47:21 -04:00
Scott Knight
be837649b3
Do not allow mdmctl config set without args ( #421 )
2018-05-27 13:08:14 -04:00
Scott Knight
4283b5a76e
Prevent multiple device records with the same UDID ( #422 )
2018-05-27 10:16:30 -04:00
Jesse Peterson
6507d2edd2
Switch for hosting homepage ( #420 )
2018-05-15 04:49:59 -07:00
Victor Vrantchan
b6bb81f569
reduce unnecessary boilerplate
2018-05-12 19:36:24 -04:00
Victor Vrantchan
3eca74879a
update circle-ci to go 1.10 ( #419 )
2018-05-12 19:28:56 -04:00
Victor Vrantchan
70d26149ae
only register HTTP routes once ( #418 )
...
Simplified the registration of HTTP routes.
Moved basic auth middleware to use the provided go-kit library.
2018-05-12 19:17:40 -04:00
Jesse Peterson
887754922c
apns command switches are deprecated, warn user ( #412 )
2018-05-12 14:27:52 -07:00
Jesse Peterson
6cda0a214b
Guard aginst tls=false and supplying cert&key ( #414 )
2018-05-12 14:21:21 -07:00
Victor Vrantchan
c1c1cfb175
refactor command service to use one method per file ( #416 )
...
Updated the command service to have the same structure as all the other services within platform/...
2018-05-12 17:04:05 -04:00
Jesse Peterson
a6681610e3
ChangeLog updates ( #413 )
2018-05-12 16:18:32 -04:00
Victor Vrantchan
3114badbb7
remove no longer used proto types. ( #415 )
2018-05-12 16:13:17 -04:00
Victor Vrantchan
6da097ec78
move MDM types to micromdm/micromdm ( #341 )
...
Previously the github.com/micromdm/mdm library was used, but the code there was a bit naive and had a few issues as it grew to support the full library of MDM Commands.
All the request types have been moved to `package mdm`.
2018-05-12 15:54:04 -04:00
Jesse Peterson
10d6d99f9b
DEP auto-assignment (v2) ( #405 )
...
Support DEP auto-assignment in MicroMDM.
Resolves #227 .
Resolves #178 .
2018-05-11 13:52:06 -07:00
Jesse Peterson
b53f9b5c5e
Rename LastCheckin to LastSeen ( #409 )
...
Rename LastCheckin variable to LastSeen. Change protobuf names as well.
2018-05-09 15:02:45 -07:00
Brett Demetris
8118bf6333
correct header and format for json decoding of error ( #411 )
2018-05-09 09:53:56 -07:00
Jesse Peterson
a56ff7d295
Update ChangeLog with curated list of recent changes & add commit links ( #407 )
...
Update ChangeLog with curated list of recent changes. Also reference direct change links using tags (a la autopkg ChangeLog)
2018-05-08 07:36:07 -07:00
Brett Demetris
9d15fff516
search a serial out of all serials ( #363 )
...
* search a serial out of all serials
* clean up usage
* roll back development code, cleanup
* pull changes to mdmctl and decode url params
* wire up List to accept opts with debugging
* implement forEach without filtering opt
* implement filtering for multiple inbound serials
* drop gorilla/schema in favor of json body
* address comments
* tighten up return
* remove device.Store ref and make use of httputil pkg
2018-05-07 10:22:54 -07:00
Jesse Peterson
e32d2bea1b
Add explicit DEP sync now ( #404 )
...
Fixes #175 .
2018-05-05 11:57:50 -07:00
Jesse Peterson
1c7c9f0098
Structured logging for depsync ( #403 )
2018-05-05 11:51:33 -07:00
Jesse Peterson
5661b62021
Implement mdmcert.download support in mdmctl ( #401 )
2018-05-02 22:05:32 -07:00
Jesse Peterson
3cb96ac30c
Reject UserAuthentication attempts per MDM spec ( #379 )
2018-05-02 12:58:40 -07:00
Jesse Peterson
0f0df96176
Only allow saving Blueprints with unique names ( #382 )
...
Fixes #380 .
2018-05-02 12:36:48 -07:00
Brett Demetris
27786e12a1
must start server with api-key ( #396 )
...
log if no api key is specified
2018-04-19 21:14:50 -04:00