Commit Graph

64 Commits

Author SHA1 Message Date
Matthew Irish 30daed5716
UI ensure trailing slash (#4828)
* add make targets to build the ui without minifying the source
* add polyfill for string.prototype.endswith and move to npm version of string.prototype.startswith
* replace the current history state with a / on the list secrets endpoint
* add test for list with id
2018-06-25 15:30:11 -05:00
Chris Hoffman 5344b7c5ae
adding option go_package to protos (#4687)
* adding option go_package to protos

* switching proto output dir to relative paths
2018-06-04 10:19:26 -04:00
Chris Hoffman 09f3a62be9
Add entity information request to system view (#4681)
* Add entity information request to system view

* fixing a few comments

* sharing types between plugin and logical

* sharing types between plugin and logical

* fixing output directory for proto

* removing extra replacement

* adding mount type lookup

* empty entities return nil instead of error

* adding some comments
2018-06-03 20:48:12 -04:00
Jeff Mitchell bee49b1150 Fix Travis again 2018-05-30 08:56:14 -04:00
Jeff Mitchell 3f5d254111 Try another way for building Travis independently 2018-05-30 08:52:50 -04:00
Jeff Mitchell 0e56c769e9 Add a note about updating plugins in Makefile 2018-05-29 21:09:57 -04:00
Matthew Irish 5fb2be2e2b
Ember cli update to 2.15 (#4526)
* update ember-cli to 2.15

* remove bower

* update ivy-codemirror

* update build and ci to not use bower or phantomjs
2018-05-08 10:43:20 -05:00
Calvin Leung Huang 9864965e9d
Add ui build tag to generate assetfs file (#4413) 2018-04-20 15:47:45 -04:00
Calvin Leung Huang 8df7add5f1 Adjustable test timeouts in Makefile (#4394) 2018-04-19 15:04:40 -04:00
Jeff Mitchell f8d8fa5e0a Add update-plugin make target 2018-04-10 02:32:41 -04:00
Jeff Mitchell 5ee942e276 Remove quickdev from Makefile 2018-04-09 17:36:09 -04:00
Jeff Mitchell 44ab14674e Add ui tag to bin target 2018-04-04 10:44:20 -04:00
Jeff Mitchell d7779fd349 Add dev-ui target 2018-04-03 13:54:33 -04:00
Jeff Mitchell 20816f4735 Add Makefile/Dockerfile UI bits 2018-04-03 10:46:45 -04:00
Jeff Mitchell b53f1be3ae Bump Go version check in Makefile 2018-03-30 11:55:03 -04:00
Josh Soref 73b1fde82f Spelling (#4119) 2018-03-20 14:54:10 -04:00
Jeff Mitchell 8ee8f4265d Change Go min version check 2018-02-22 20:53:25 -05:00
Jeff Mitchell 0f26cb9b8d Fix PKI tests by generating on-demand 2018-02-20 00:23:37 -05:00
Brian Kassouf 7050c1ca41
gRPC Backend Plugins (#3808)
* Add grpc plugins

* Add grpc plugins

* Translate wrap info to/from proto

* Add nil checks

* Fix nil marshaling errors

* Provide logging through the go-plugin logger

* handle errors in the messages

* Update the TLS config so bidirectional connections work

* Add connectivity checks

* Restart plugin and add timeouts where context is not availible

* Add the response wrap data into the grpc system implementation

* Add leaseoptions to pb.Auth

* Add an error translator

* Add tests for translating the proto objects

* Fix rename of function

* Add tracing to plugins for easier debugging

* Handle plugin crashes with the go-plugin context

* Add test for grpcStorage

* Add tests for backend and system

* Bump go-plugin for GRPCBroker

* Remove RegisterLicense

* Add casing translations for new proto messages

* Use doneCtx in grpcClient

* Use doneCtx in grpcClient

* s/shutdown/shut down/
2018-01-18 13:49:20 -08:00
Jeff Mitchell d1803098ae Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
Brian Kassouf afe53eb862
Database gRPC plugins (#3666)
* Start work on context aware backends

* Start work on moving the database plugins to gRPC in order to pass context

* Add context to builtin database plugins

* use byte slice instead of string

* Context all the things

* Move proto messages to the dbplugin package

* Add a grpc mechanism for running backend plugins

* Serve the GRPC plugin

* Add backwards compatibility to the database plugins

* Remove backend plugin changes

* Remove backend plugin changes

* Cleanup the transport implementations

* If grpc connection is in an unexpected state restart the plugin

* Fix tests

* Fix tests

* Remove context from the request object, replace it with context.TODO

* Add a test to verify netRPC plugins still work

* Remove unused mapstructure call

* Code review fixes

* Code review fixes

* Code review fixes
2017-12-14 14:03:11 -08:00
Jeff Mitchell 548629e8ef Port over some changes 2017-11-30 09:43:07 -05:00
Jeff Mitchell 46afada06d Only copy hooks if building from a git repo
Fixes #3498
2017-10-27 13:11:04 -04:00
Seth Vargo 5338999e35
Unset VAULT_DEV_* in tests
Vault picks these values and then tests fail, and it's sad
2017-10-24 09:28:05 -04:00
Jeff Mitchell a80791ce7e Update proto 2017-10-23 17:45:05 -04:00
Jeff Mitchell e73a71f7fc Sync makefile 2017-10-23 12:38:30 -04:00
Joel Thompson fb6cd052c5 Explicitly check go version in build (#3309)
* Explicitly check go version in build

Several GH issues have been opened by people trying to use an older
version of Go to build Vault (e.g., #3307 is the most recent). This adds
an explicit check to the build to hopefully make it more clear to users
in the future.

* Also add checking for go patch version

* Up minimum go version

And fix a comment

* Bump travis to go1.9.1
2017-10-19 16:30:19 -04:00
Vishal Nayak ce3c341838 Added spellcheck target to makefile (#3398)
* Added spellcheck target to makefile

* address review comments
2017-10-19 12:55:39 -04:00
Vishal Nayak f7ed6732a5 Porting identity store (#3419)
* porting identity to OSS

* changes that glue things together

* add testing bits

* wrapped entity id

* fix mount error

* some more changes to core

* fix storagepacker tests

* fix some more tests

* fix mount tests

* fix http mount tests

* audit changes for identity

* remove upgrade structs on the oss side

* added go-memdb to vendor
2017-10-11 10:21:20 -07:00
Vishal Nayak db0bda4a90 Fix build (#3288) 2017-09-05 09:02:17 -04:00
Jeff Mitchell 060c69c7b9 Add pre-push hook 2017-09-04 19:16:11 -04:00
Brian Kassouf a023ab5152 Fix MySQL legacy username regression (#3141)
* Fix the mysql legacy username length

* Remove boolean parameter

* Add a MySQL 5.6 container to test the legacy MySQL plugin against

* Add database plugins to the make file

* Fix credsutil test
2017-08-10 18:28:18 -07:00
Jeff Mitchell ba9bd5a2c7 Bump timeout in testrace to match that of test to stop Travis errorring. 2017-07-26 13:03:04 -04:00
Jeff Mitchell 9319307398 Add govendor to bootstrap 2017-06-01 10:18:48 -04:00
emily aa40d2cff6 add gofmt checks to Vault and format existing code (#2745) 2017-05-19 08:34:17 -04:00
Jeff Mitchell 4160950126 Bump test timeout 2017-03-15 14:38:34 -04:00
Jeff Mitchell 0c39b613c8 Port some replication bits to OSS (#2386) 2017-02-16 15:15:02 -05:00
Jeff Mitchell e61657d57c Add quickdev to Makefile 2017-02-05 20:30:40 -05:00
Jeff Mitchell 2fd5ab5f10 Update Makefile protoc commands 2017-01-06 15:11:51 -05:00
Jeff Mitchell 7c8fca48eb Add 'make proto' target 2016-10-20 12:39:19 -04:00
Jeff Mitchell bd4584c346 Make bootstrap use -u to ensure up-to-date versions of tools, as that's
what we build with.

Fixes #1890
2016-09-14 15:10:02 -04:00
Jeff Mitchell bdcfe05517 Clustering enhancements (#1747) 2016-08-19 11:03:53 -04:00
Jeff Mitchell ab2cdc04b5 Fix default makefile target and README 2016-08-10 15:38:17 -04:00
Jeff Mitchell 60975bf76e Revert "Remove a few assumptions regarding bash(1) being located in /bin." 2016-05-15 15:22:21 -04:00
Sean Chittenden f91114fef5
Remove a few assumptions regarding bash(1) being located in /bin.
Use sh(1) where appropriate.
2016-05-15 11:41:14 -07:00
Jeff Mitchell 965efae798 Add dev-dynamic makefile target 2016-05-09 23:17:38 -04:00
Jeff Mitchell 6141075082 Explicitly toggle cgo in makefile 2016-04-28 16:54:34 +00:00
Jeff Mitchell 1027b51d17 Built tag-ify sealtesting 2016-04-28 00:47:44 +00:00
Jeff Mitchell 0b8e3457d3 Move TestSeal funcs to sealtesting 2016-04-27 20:59:06 +00:00
vishalnayak fd8b023655 s/TF_ACC/VAULT_ACC 2016-04-05 15:24:59 -04:00