Commit Graph

5846 Commits

Author SHA1 Message Date
James Phillips 36725cef11 Tweaks ACL replication struct name. 2017-04-25 16:32:09 -07:00
James Phillips 138abeb5f7 Tweaks ACL replication status struct name. 2017-04-25 16:31:20 -07:00
James Phillips 5732350c04 Merge pull request #2958 from hashicorp/pr/2957
ui: Add favicon.png for Chrome
2017-04-25 13:55:21 -07:00
James Phillips 59c4128deb
Updates compiled static assets. 2017-04-25 13:54:03 -07:00
Brian Shumate f97051e269
ui: Add favicon.png for Chrome
- This completes all favicon related additions and
  completely resolves error in Chrome
2017-04-25 16:11:19 -04:00
Brian Shumate b5eadeb942 ui: Update index to fix #2945 (#2956) 2017-04-25 10:00:19 -07:00
Frank Schroeder bfae30f52b
Update CHANGELOG 2017-04-25 09:30:24 -07:00
Frank Schroeder 3403cd4372 golint: Fix existing comments
This needs more work.
2017-04-25 09:26:13 -07:00
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
Frank Schroeder d7e23857ad golint: No stutter 2017-04-25 09:26:13 -07:00
Frank Schroeder cf3ec1cf5c golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
Frank Schroeder 5a3961f31f golint: Replace a += 1 with a++ 2017-04-25 09:26:13 -07:00
Frank Schroeder 6688a510e1 golint: Consistent receiver name
Ensure the receiver name is consistent
2017-04-25 09:26:13 -07:00
Frank Schroeder 5f34d766b8 golint: Use fmt.Errorf(...)
Replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...)

    gofmt -w -r 'errors.New(fmt.Sprintf(a, b)) -> fmt.Errorf(a, b)' *.go
2017-04-25 09:26:13 -07:00
Frank Schroeder 8bb7792799 golint: Drop the unused value from range
for i, _ := range foo -> for i := range foo
2017-04-25 09:26:13 -07:00
Brian Shumate 2fc6541fd3 ui: Add and update favicons (#2948)
ui: Add and update favicons

* Add most popular device/size favicon combinations
* Update existing favicons
* Change permissions to 0644 on static assets

Fixes #2945
2017-04-25 09:23:34 -07:00
Frank Schröder 074299e6e9 Bump travis.yml to Go 1.8.1 (#2955) 2017-04-25 08:21:44 -07:00
Kristiyan Nikolov 5ae2829e17 Docs: fix typo (#2951) 2017-04-25 07:08:46 -07:00
Ivan Bogdanov 1ebd6402fd API: Add ACLReplication 2017-04-25 00:39:50 +03:00
Ruslan Sennov f17656c39f link to vertx-consul-client (#2937)
Signed-off-by: Ruslan Sennov <ruslan.sennov@gmail.com>
2017-04-21 00:43:15 -07:00
Frank Schröder 6dd2804d09 Issue #2905: Add check-not-exists to TXN endpoint
This patch adds support for asserting that a given
key does not exist in the KV store.

Fixes #2905
2017-04-20 17:50:52 -07:00
Frank Schroeder eddb1af603 Remove duplicate constants
This patch removes duplicate internal copies of constants in the structs
package which are also defined in the api package. The api.KVOp type
with all its values for the TXN endpoint and the api.HealthXXX constants
are now used throughout the codebase.

This resulted in some circular dependencies in the testutil package
which have been resolved by copying code and constants and moving the
WaitForLeader function into a separate testrpc package.
2017-04-20 09:54:49 -07:00
Frank Schroeder ee5b06a231 Use fmt.Fprint/Fprintf/Fprintln
Used the following rewrite rules:

gofmt -w -r 'resp.Write([]byte(fmt.Sprintf(a, b, c, d))) -> fmt.Fprintf(resp, a, b, c, d)' *.go
gofmt -w -r 'resp.Write([]byte(fmt.Sprintf(a, b, c))) -> fmt.Fprintf(resp, a, b, c)' *.go
gofmt -w -r 'resp.Write([]byte(fmt.Sprintf(a, b))) -> fmt.Fprintf(resp, a, b)'  *.go
gofmt -w -r 'resp.Write([]byte(fmt.Sprintf(a))) -> fmt.Fprint(resp, a)' *.go
gofmt -w -r 'resp.Write([]byte(a + "\n")) -> fmt.Fprintln(resp, a)' *.go
gofmt -w -r 'resp.Write([]byte(a)) -> fmt.Fprint(resp, a)' *.go
2017-04-20 09:02:59 -07:00
James Phillips 8234f3acc6 Update CHANGELOG.md 2017-04-19 15:28:51 -07:00
Kyle Havlovitz e04e86069c Update CHANGELOG.md 2017-04-19 15:03:02 -07:00
Kyle Havlovitz f25cac4c8f Show raft protocol in list-peers command (#2929) 2017-04-19 15:01:40 -07:00
James Phillips 7332d663fb Merge pull request #2928 from hashicorp/docs/nicj/autopilot
Updated autopilot guide to correct synax issue with example config
2017-04-19 10:14:01 -07:00
Nic Jackson 8c9b635765
Updated autopilot guide to correct synax issue with example config 2017-04-19 17:15:12 +01:00
Kyle Havlovitz c6d0b4cf90 Make the API client's httpClient more pluggable (#2926) 2017-04-18 16:39:23 -07:00
Kyle Havlovitz 29a4a42f17
Fix help text on client cert/key options 2017-04-18 16:30:20 -07:00
James Phillips 5b2afbb2d1 Merge pull request #2925 from hashicorp/autopilot-guide-example
Add a config example to autopilot guide
2017-04-18 15:26:20 -07:00
Frank Schröder b6ae9f187c Faster dev builds (#2924)
This patch runs 'go install' instead of gox which runs 'go build' for
'make dev' and copies the binary into ./bin and ./pkg/${GOOS}_${GOARCH}
to mimick the previous behavior. This reduces the roundtrip times
for a dev build from 11 sec to 500ms if there weren't any changes.
2017-04-18 15:03:51 -07:00
Kyle Havlovitz 37dad53c8a
Add a config example to autopilot guide 2017-04-18 14:40:20 -07:00
Seth Vargo 3f43fc912c
Fix terminal a bit 2017-04-18 13:52:04 -04:00
Seth Vargo 1314dcb661
Fix terminal a bit 2017-04-18 13:51:46 -04:00
Seth Vargo 6fce17de74 Merge pull request #2923 from hashicorp/sethvargo/css
Fix homepage css
2017-04-18 13:19:35 -04:00
Seth Vargo 0bb2c356d8
Use HashiCorp logo for jsonld 2017-04-18 13:19:00 -04:00
Seth Vargo 83476979c7
Fix homepage css 2017-04-18 12:57:05 -04:00
Frank Schroeder 2d0917062f
Update CHANGELOG 2017-04-18 05:08:15 -07:00
Frank Schröder c40621ae10 Add datacenter to catalog node API (#2917)
This patch stores the datacenter of a node in memdb
and exposes it via the API in all places where a Node
structure is returned.

 * /catalog/nodes
 * /catalog/node/:node
 * /catalog/service/:service
 * /health/service/:service
 * /query/:uuid/execute
2017-04-18 05:02:24 -07:00
James Phillips c010babcd8 Merge pull request #2919 from InTheCloudDan/patch-1
Docs: fix typo
2017-04-17 18:47:25 -07:00
Dan O'Brien cc516e9e01 Docs: fix typo 2017-04-17 21:29:18 -04:00
James Phillips 1a753e46de Update CHANGELOG.md 2017-04-17 17:31:58 -07:00
James Phillips d3ae23fa52 Merge pull request #2918 from hashicorp/pr-2577-slackpad
Provide error if -ui and -ui-dir are both specified
2017-04-17 17:29:37 -07:00
mckennajones d4058b1576
Updating documentation regarding webui flags 2017-04-17 17:29:14 -07:00
mckennajones a489f2b734
Added check to see if ui and ui-dir flags are both specified 2017-04-17 17:25:57 -07:00
James Phillips b909837262 Merge pull request #2916 from Ashald/patch-1
ACL guide fixes
2017-04-17 15:01:31 -07:00
Borys Pierov 20582f1c44 ACL guide fixes 2017-04-17 17:59:03 -04:00
James Phillips 26b30b1606
Puts the tree in 0.8.2 dev mode. 2017-04-17 12:05:23 -07:00
James Phillips 238c99b136
Bumps download link to 0.8.1. 2017-04-17 11:14:48 -07:00