20 Commits

Author SHA1 Message Date
Victor Vrantchan
7d75f581ec Added users sessions (#696)
Added login/logout pages and respective database methods for handling users sessions.
2020-08-08 17:15:34 -04:00
Victor Vrantchan
4dfecb7113 add version package
Added version info to binary.
Added the go version dependency to read executable info.
Original version package from 654e10aaab/version
2020-07-06 07:16:17 -04:00
Victor Vrantchan
a53efd9c37 add cmd/micromdm
Added initial structure for package main.
2020-07-05 18:26:42 -04:00
Victor Vrantchan
8763577922 add initial structure
The main change here is initializing micromdm.io as the module. That
allows micromdm to decouple from GitHub in the long run. It also means
I'll have to set up Go vanity URLs and move or modify the website
directory.

Other changes:
- WIP logging package
- Package id with ulid
- Tools repo
2020-06-27 22:57:10 -04:00
Victor Vrantchan
9c82771e0e init v2dev 2020-06-22 13:01:31 -04:00
tperfitt
e03e73c542 Add local-only flag and tweak makefile to support notarization.
Co-authored-by: tperfitt <tperfitt@twocanoes.com>
2020-03-13 10:46:22 -04:00
Vinrobot
577e4c9538 Add multi-stage docker build (#587) 2019-05-31 08:47:28 -04:00
Victor Vrantchan
17bce22e95 add postgres device store (#531) 2018-10-13 21:05:19 -04:00
Victor Vrantchan
ef127f9aad move the dep library into the core repo (#504)
The dep library was initially a self contained project, but doesn't have a community of users.
Keeping it in the main repo should reduce the maintenance burden and simplify dependency management for the project.
2018-09-08 18:39:31 +00:00
Jesse Peterson
06121223b0 Remove go build -i per https://github.com/golang/go/issues/27285 (#502) 2018-09-07 13:09:03 +00:00
Victor Vrantchan
87c7ced066 support Go 1.11, disallow older versions. (#499)
Updates for Go versions with module support, deprecating the need for GOPATH, and removing dep as a tool for managing dependencies.
2018-09-07 01:03:51 +00:00
Victor Vrantchan
3eca74879a update circle-ci to go 1.10 (#419) 2018-05-12 19:28:56 -04:00
Lars Preben Sørsdahl
40d5c9cd34 Default value for DOCKER_IMAGE_NAME if not already set (#390) 2018-03-26 12:32:56 -04:00
Victor Vrantchan
1169794f71 move main into cmd subdirectory (#333)
Moved all the go files from the top level directory into the cmd/ package.
Updated Makefile so that all the commands still work.

The common pattern in Go programs, and one we adapted with the addition with the mdmdctl binary is that binaries live in cmd/binary-name/binary-name.go while libraries live in folders at the top level.
2017-11-23 13:45:53 -05:00
Clayton Burlison
4325c60b0a Update Makefile (#332)
Fix typo
2017-11-21 14:28:09 -08:00
Robin van Boven
eabc568319 Created a Dockerfile (#316) 2017-11-09 11:17:43 -05:00
Victor Vrantchan
b72bdad58a update makefile to include linux build of mdmctl (#281)
Closes #277
2017-10-29 12:41:47 -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