Commit graph

9341 commits

Author SHA1 Message Date
Michael Lange d448f888b8 Merge pull request #3410 from hashicorp/f-ui-add-job-version-to-allocs-table
Add job version to allocation tables
2017-10-18 19:38:42 -07:00
Michael Lange a0f9a7f138 Merge pull request #3413 from hashicorp/b-ui-flush-store-after-acl
Unload all records when a token is set or cleared
2017-10-18 19:37:07 -07:00
Michael Schurter c9a73ac76e Support CORS for client endpoints
Added to /v1/client/stats and /v1/client/allocation/
2017-10-18 17:32:36 -07:00
Michael Lange dc20fc88b9 Unload all records when a token is set or cleared
This guarantees no privileged data is shown to unprivileged credentials
2017-10-18 16:42:08 -07:00
Michael Lange 635263b8aa Disable fuzzy search
It doesn't work well for highly precise values, or small datasets, or prefixes.
Which are our three use cases.
2017-10-18 12:52:24 -07:00
Michael Lange 8c6c54ff07 Add job version to allocation tables 2017-10-18 12:29:33 -07:00
Michael Lange 721905b628 Merge pull request #3406 from hashicorp/b-ui-sort-allocs-by-modify-index
Sort allocs by ModifyIndex + bonus content
2017-10-18 11:59:01 -07:00
Michael Lange 3adc477736 Update tests for the ModifyIndex column and sort change 2017-10-18 11:45:02 -07:00
Michael Lange f07c222274 Always provide a valid value for transform 2017-10-18 11:45:02 -07:00
Michael Lange 3d93398eae Don't double render, also don't render infinitely
See https://github.com/emberjs/ember.js/issues/13948
2017-10-18 11:45:02 -07:00
Michael Lange 094de84c98 Use the right footer pagination styles on task group page 2017-10-18 11:45:02 -07:00
Michael Lange 7c3402d400 Fix an issue where allocation rows can have a state change in the same frame as a render 2017-10-18 11:45:02 -07:00
Michael Lange 77cf33472f Make ModifyIndex the default sort property for alloc tables 2017-10-18 11:45:02 -07:00
Michael Lange f842d009a4 Add ModifyIndex as a sortable column for alloc tables 2017-10-18 11:45:02 -07:00
Michael Lange a10466a68d Sort allocation by status type, not simply alphanumeric 2017-10-18 11:45:01 -07:00
Michael Schurter 97569f5c70 Merge pull request #3408 from hashicorp/b-docker-bridge-ip
Add logging around moby/moby#32648 bug
2017-10-18 10:53:12 -07:00
Michael Schurter 797f49702e Add logging around moby/moby#32648 bug 2017-10-18 10:44:03 -07:00
Alex Dadgar 79c9e07822 Improve acl bootstrap docs 2017-10-17 15:17:07 -07:00
Alex Dadgar e4ace41db5 Merge pull request #3403 from hashicorp/b-policy-validate
Return error for invalid policy
2017-10-17 15:04:37 -07:00
Chelsea Holland Komlo 8574696bb3 fixup from code review 2017-10-17 17:34:06 -04:00
Michael Schurter 7f29689a1b Merge pull request #3398 from hashicorp/f-consul-1.0.0
Bump Consul to 1.0.0 in vagrant/travis
2017-10-17 14:03:08 -07:00
Michael Lange c46f026bee Merge pull request #3404 from hashicorp/b-ui-memory-measurements
Use the right math and metrics to measure used Memory
2017-10-17 12:22:50 -07:00
Michael Lange 352cf6dc77 Tests (and bug fixes!) for the format-bytes helper 2017-10-17 10:17:42 -07:00
Michael Lange b8d13e3229 Show real usage numbers as tooltips 2017-10-17 10:17:42 -07:00
Michael Lange 726f3a75e9 Fix the memory usage math
1. Use RSS, not Cache (shoulda read the source)
2. Convert bytes to megabytes before doing division
2017-10-17 10:17:42 -07:00
Michael Lange 7780dfff17 New helper for human-formatting bytes 2017-10-17 10:17:42 -07:00
Michael Lange 967d3a2e8e In dev mode, mask the local node port to 4200
This allows for local development with the client end points for the node
running on localhost.
2017-10-17 10:17:41 -07:00
Michael Schurter f58081f352 No need to leave this commented out code in 2017-10-17 09:56:54 -07:00
Chelsea Holland Komlo bcfebe032b update error message for invalid policy 2017-10-17 12:21:38 -04:00
Chelsea Holland Komlo a90205f16e policy must specify at least one namespace 2017-10-17 12:12:54 -04:00
Chelsea Komlo f7ee26502d Merge pull request #3400 from hashicorp/b-quota-guide
Small fix for quota guide
2017-10-16 20:37:02 -04:00
Michael Schurter 0aace3d749 Don't set Interval on TTL health checks 2017-10-16 17:35:47 -07:00
Alex Dadgar 21e170c0d2 Merge pull request #3401 from hashicorp/f-docker-build
build scripts
2017-10-16 17:07:13 -07:00
Michael Schurter 84f480528a Consul test server fork without porter/rpc.ports 2017-10-16 17:05:00 -07:00
Alex Dadgar e540de725d build scripts 2017-10-16 16:44:08 -07:00
Chelsea Holland Komlo 9005e2e8a5 small guide instruction fix 2017-10-16 19:05:01 -04:00
Michael Schurter c01efb0a6d Update vendored Consul to 1.0.0
Also install new porter dep
2017-10-16 16:04:14 -07:00
Chelsea Komlo 1ccc1f79f6 Merge pull request #3393 from hashicorp/b-delete-nonexistent-tokens
Return error if tokens cannot be deleted because they do not exist
2017-10-16 18:36:41 -04:00
Michael Lange e1b68ad7d6 Merge pull request #3389 from hashicorp/f-ui-token-v2
Improved ACL Token page
2017-10-16 14:56:19 -07:00
Alex Dadgar be053364ba no namespaces in oss test 2017-10-16 14:21:29 -07:00
Michael Schurter 15806cd766 Merge pull request #3396 from hashicorp/b-rkt-logging
Squelch repeated rkt version warnings
2017-10-16 14:14:58 -07:00
Chelsea Holland Komlo a8becb96c0 review feedback 2017-10-16 17:14:48 -04:00
Chelsea Holland Komlo 2377d97d51 return error if tokens cannot be deleted because they do not exist 2017-10-16 17:14:48 -04:00
Michael Schurter d214242556 Bump Consul to 1.0.0 in vagrant/travis 2017-10-16 14:10:39 -07:00
Michael Schurter 22ac450b2f Properly fail rkt fingerprinting on old vesions 2017-10-16 13:58:58 -07:00
Alex Dadgar e80c39459d Merge pull request #3397 from hashicorp/b-fix-build
Fix up spelling in quota guide
2017-10-16 13:55:20 -07:00
Chelsea Holland Komlo d2fc3c0158 fix up spelling in guide 2017-10-16 16:39:56 -04:00
Michael Lange 175acde8b6 Order keys consistently for enhanced readability 2017-10-16 13:27:52 -07:00
Michael Lange e9579b0977 Make sure token policy ids are unique
When they aren't unique, length checks will fail
2017-10-16 13:27:52 -07:00
Michael Lange 85f66ffa94 Use /acl/token/self instead of /acl/token/:accessor_id 2017-10-16 13:27:52 -07:00