* Use socket API if available
* Make socket path configurable by env var
* Add local mode docs to README
* Change README wordings
* Add log when using local mode. Change error handling for local mode deploy.
* address requests in pluginctl and update mattermost-server
* check if MM_LOCALSOCKETPATH is present before logging
* update go.sum
* Use plugin orb for ci
* Add golangci-lint config and fix issues
* Simplify circleci config
* Drop unparam
* Drop maligned
* Ignore varcheck in server/manifest.go
* Allow make deploy using token
Introduce support for `MM_ADMIN_TOKEN` as an alternative to defining `MM_ADMIN_USERNAME` and `MM_ADMIN_PASSWORD.
* reverse README.md authentication schemes
* wrap errors
* Update build/deploy/main.go
Co-Authored-By: Ben Schumacher <ben.schumacher@mattermost.com>
* fix linting
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
* Cleanup .gitignore
* Document minimum server version
* Become golint compliant
* Use pre defined http method
* Update dependencies
* Add i18n-extract target
* Add golint target
* Run check-style against all go files
Co-Authored-By: Jesse Hallam <jesse.hallam@gmail.com>
* Move to go modules
* Move go.mod in root directory
* Update Readme
* Remove golang.org/x/tools from go.mod
* Remove go list from targets
* Set go version to 1.12
* Update Makefile
Co-Authored-By: hanzei <16541325+hanzei@users.noreply.github.com>
* Update dependencies
* Fix build
* MM-14575: Automatically serve static files for plugins
* Added sample public file
* Added HAS_PUBLIC to Makefile to test for public folder
* Added "static_files" config setting
* MM-14575: Removing static_files from plugin.json
* MM14575: Moving public folder to bundle root
* MM14575:Moving public directory to root
* define BUNDLE_NAME after including build/setup.mk (just for clarity, not correctness)
* separate plugin id from version with dash in bundle name to match Mattermost package
* fix various js/go idioms (some pre-existing!)
* fix error message
* warn upfront if go/dep/npm not available
* try to find dep in $GOPATH/bin if not installed globally
* only override variables if not externally defined, allowing manual override from command line
* split up Makefile into a buid/setup.mk for simplicity
I didn't actually find anything that made this Makefile not-linux
specific -- tested on Debian with the standard make installed.