Victor Vrantchan
df2c83cdf0
use CircleCI workflows to create build matrix. ( #234 )
...
Updates the CircleCI config to use the Workflows feature, which allows
testing multiple Go versions.
2017-10-04 11:58:39 -04:00
Victor Vrantchan
e3652d14e3
use current platform when building with make ( #233 )
2017-10-04 11:43:23 -04:00
Victor Vrantchan
fe191eb7cc
Added micromdm/go4 as a dependency. ( #229 )
...
Improves http debug logging by also logging the sent response.
Converts regular http logs to key-value format.
Changes the http server options to httputil.ListenAndServe, which is antended to be a standard
ListenAndServe method for all micromdm project.
Adds environment variables as configuration options for sensitive values.
Closes #196
2017-09-11 17:14:12 +03:00
Victor Vrantchan
07adb497bb
add Makefile ( #228 )
2017-09-10 21:40:57 +03: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
Jesse Peterson
23a363f170
Add com.apple.mdm.per-user-connections to ServerCapabilities ( #222 )
2017-07-18 13:04:51 -07:00
Jesse Peterson
7d902cb588
Re-implement enrollment and OTA profile customization ( #214 )
2017-07-12 17:09:36 -04:00
Ben Isaacs
52e0fe3ac1
administrato ( #219 )
2017-06-29 17:55:05 -04:00
Jesse Peterson
db014d3a0e
Allow signed profiles to be uploaded by checking for PKCS7 ( #218 )
...
* Allow signed profiles to be uploaded by checking for PKCS7
* Remove comment
2017-06-25 20:17:44 -07: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
70e2166bf8
dep -update primarily for upstream pkcs7 for micromdm/micromdm#211 ( #213 )
2017-06-13 22:31:36 -04:00
Victor Vrantchan
f6e7b0093b
get latest deps and DeleteUser command
2017-06-09 05:56:10 +00:00
Victor Vrantchan
3863829b8e
reset used io.Reader for pkg upload ( #209 )
v1.1.0
2017-06-05 14:48:36 -07:00
Victor Vrantchan
48babc1fb0
import upstream mdm lib changes
2017-06-05 00:39:43 -07:00
Victor Vrantchan
c41fba09cd
update changelog for release ( #207 )
2017-06-05 00:37:09 -07:00
Victor Vrantchan
d352d6cc95
add package and manifest file uploads ( #204 )
...
Add support to manage package imports and generating/editing appmanifest files.
Closes #93
2017-06-05 00:27:14 -07:00
Jesse Peterson
40ccbefc17
Implement Profile and Blueprint removal APIs and mdmctl UI ( #206 )
2017-06-03 21:51:22 -07:00
Jesse Peterson
1d06957af9
Build package instead of go source files. Fixes issue where build constraints were not being honored. ( #205 )
2017-06-02 10:48:00 -07:00
Victor Vrantchan
c30f2806cc
mdmctl: support generating appmanifest ( #199 )
...
generate an appmanifest. validates and optionally signs packages.
For #93
Closes #203
2017-06-02 00:09:13 -04:00
Victor Vrantchan
744414dec5
update lockfile for latest dependencies ( #201 )
2017-06-01 22:38:50 -04:00
Jesse Peterson
42c074e678
Update README and CONTRIBUTING docs ( #200 )
2017-05-31 11:14:57 -07:00
Victor Vrantchan
7150bf083b
create appmanifest package ( #192 )
...
create appmanifest package for managing AppManifests
2017-05-30 22:11:46 -04:00
Victor Vrantchan
a0d1498b1b
Fix nil panic on command request API ( #198 )
...
Fixes issues introduced by
micromdm/mdm#15
micromdm/mdm#16
and solved in
micromdm/mdm#17
The micromdm/mdm library changed the structure of the mdm.CommandRequest field, causing the decode method to panic. Fixed and added test.
2017-05-30 08:08:48 -04:00
Jesse Peterson
bff40d2479
Use opts in get (list) client ( #194 )
2017-05-30 06:35:01 -04:00
Jesse Peterson
3bceb796c7
Adjust profiles and blueprints CLIs for get/apply commands to have consistent argument names and usage conventions ( #193 )
2017-05-30 06:34:19 -04:00
Jesse Peterson
b3a600c5bc
Make DEP profile CLI like profiles and blueprints ( #195 )
2017-05-30 06:32:06 -04:00
Jesse Peterson
b1a26b7761
Update anchor flag text ( #197 )
2017-05-30 06:28:19 -04:00
Jesse Peterson
38b3a65e48
Use crypto.ParseCertificate instead of duplciated code ( #191 )
2017-05-29 20:14:51 -07:00
Victor Vrantchan
804276eeb2
reload dep.Client when new token is added ( #184 )
...
on initial startup the DEP Client is not configured. Previously a user had to restart the server to get things running after adding the OAuth token. With this change, a new DEP client is created in all relevant services whenever the token is updated.
2017-05-29 22:45:41 -04:00
Jesse Peterson
8a67b37557
Add anchor certificate to DEP profile template ( #181 )
...
* Add anchor certificate to DEP profile template
* Add -use-server-cert flag to generate certificate from server TLS certificate
* Update CHANGELOG
* Support adding certificate chains (rather than just individual certs) to DEP anchor certs
* Resolves #107
2017-05-29 19:43:43 -07:00
Victor Vrantchan
c4855b20f1
handle converting zero value for time/unix epoch ( #185 )
2017-05-29 22:43:32 -04:00
Victor Vrantchan
225153cdc5
helper to print mdmctl config ( #187 )
2017-05-29 22:43:20 -04:00
Victor Vrantchan
891b1a2870
use - for stdin ( #190 )
2017-05-29 22:43:08 -04:00
Victor Vrantchan
b96c506dce
support writing file to stdout ( #186 )
2017-05-29 21:17:53 -04:00
Victor Vrantchan
ee632df3d8
upstream changes from micromdm/mdm ( #183 )
2017-05-29 17:21:29 -04:00
Jesse Peterson
174f3928ad
Removed DEP hardcode functinoality ( #182 )
2017-05-29 16:39:21 -04:00
Ankur Goel
c06bee78bf
Remove profile integration ( #180 )
...
RemoveProfile event and structure
2017-05-28 17:51:40 -04:00
Jesse Peterson
495dd8bdf9
Issue DEP Sync Event on receiving devices from the DEP sync API ( #177 )
2017-05-28 10:17:16 -07:00
Jesse Peterson
533343affa
Return pointer to depProfileResponse. Fixes type check for errorer. ( #179 )
2017-05-28 10:16:33 -07:00
Victor Vrantchan
5b18fa6a2f
update generate blueprint command to print to stdout ( #173 )
...
For #162
* add applyAt
2017-05-28 12:56:24 -04:00
Jesse Peterson
0a5bd31694
Put push and command APIs behind API authentication middleware ( #171 )
...
* Put push and command APIs behind API authentication middleware
* Updated CHANGELOG
Resolves #157 .
2017-05-27 22:21:52 -07:00
Victor Vrantchan
d0c7aed23a
update Gopkg files to the latest version of dep ( #172 )
...
See https://github.com/golang/dep/pull/644
2017-05-27 23:59:24 -04:00
Victor Vrantchan
e0efa31d28
implement mdmctl dep commands ( #161 )
...
adds subcommands for endpoints implemented in #160
mdmctl get dep-devices
mdmctl get dep-account
mdmctl get dep-profiles
mdmctl apply dep-profiles
Closes #154
2017-05-27 23:22:32 -04:00
Victor Vrantchan
c63d0fc152
create server endpoints for the DEP list/apply services ( #160 )
...
creates get endpoints for
DEP device details
DEP account info
DEP fetch profile
and apply endpoint for defining a DEP profile
2017-05-27 23:01:37 -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
8b36409f20
Don't update LastCheckin timestamp for non-Checkin events (like DEP) ( #164 )
2017-05-24 11:18:02 -07:00
Jesse Peterson
7b2e5b4ecd
Add static SCEP challenge to avoid SCEP prompt at manual enrollment ( #166 )
2017-05-24 11:12:41 -07:00
Jesse Peterson
6497a144ef
Add viewport meta tag to aid in iOS page rendering ( #165 )
2017-05-24 11:08:39 -07:00
Jesse Peterson
c08c8e9035
Check that -server-url begins with an https:// ( #168 )
2017-05-24 11:02:54 -07: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