Commit Graph

9211 Commits

Author SHA1 Message Date
Alex Dadgar 1bcfb96c6d fix bad links 2017-10-19 16:39:16 -07:00
Alex Dadgar ad1abbc910 rc download 2017-10-19 16:31:27 -07:00
Alex Dadgar a4bbb0603d
Release v0.7.0-rc1 2017-10-19 16:28:07 -07:00
Alex Dadgar 60bbbcecd1 Merge branch 'master' of github.com:hashicorp/nomad 2017-10-19 16:26:12 -07:00
Alex Dadgar 5d449804cb check lxc properly 2017-10-19 15:53:19 -07:00
Michael Schurter 9f078d1c17 Merge pull request #3426 from hashicorp/docs-lowbar
Prevent _ from causing italics
2017-10-19 15:52:57 -07:00
Michael Schurter 2547bc5138 Prevent _ from causing italics
Fixes #3418
2017-10-19 15:35:47 -07:00
Alex Dadgar e7299676f6 generated 2017-10-19 15:20:39 -07:00
Alex Dadgar e4d1879254 rc1 2017-10-19 15:18:16 -07:00
Michael Lange 05c714967a Merge pull request #3423 from hashicorp/b-ui-never-return-null-from-headers
Never return null for adapter headers
2017-10-19 12:23:10 -07:00
Michael Lange 9e37ba846a Merge pull request #3424 from hashicorp/b-ui-job-version-for-node-allocs
Expect JobVersion in one of two places
2017-10-19 12:21:10 -07:00
Michael Lange ce786488e0 Merge pull request #3425 from hashicorp/b-ui-correct-cpu-usage
Don't rely on CpuStats.Percent
2017-10-19 12:20:34 -07:00
Michael Lange cf95033351 Expect JobVersion in one of two places 2017-10-19 10:52:05 -07:00
Michael Lange b693ff1886 Don't rely on CpuStats.Percent
Just do the math client-side with TotalTicks and Reserved
2017-10-19 10:44:52 -07:00
Michael Lange 40748c8923 Never return null for adapter headers
Ember Data checks strictly against undefined:
https://github.com/emberjs/data/blob/master/addon/adapters/rest.js#L1128
2017-10-19 10:10:01 -07:00
Michael Schurter 18ad13cebf Merge pull request #3414 from hashicorp/f-cors
Support CORS for client endpoints
2017-10-19 09:52:33 -07:00
Michael Lange 6f584acb09 Merge pull request #3416 from hashicorp/b-ui-provide-acl-token-on-client-requests
Provide ACL token on client requests
2017-10-18 20:08:28 -07:00
Michael Lange 79c836d734 Merge pull request #3412 from hashicorp/b-ui-disable-fuzzy-search
Disable fuzzy search
2017-10-18 20:08:15 -07:00
Michael Lange 189403c5b9 Add the acl token as a header to client requests 2017-10-18 19:48:17 -07:00
Michael Lange 19b2ac4858 Remove fuse as a dependency 2017-10-18 19:45:12 -07:00
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