Commit graph

9000 commits

Author SHA1 Message Date
Michael Schurter 492c861419 /v1/client/agent/* ACL enforcement 2017-10-09 12:18:54 -07:00
Michael Schurter 48c51d3183 Merge pull request #3331 from hashicorp/f-acl-client-alloc
/v1/client/allocation/./{stats,gc} ACL enforcement
2017-10-09 12:15:30 -07:00
Michael Schurter 04adc987ed /v1/client/allocation/./{stats,gc} ACL enforcement 2017-10-09 12:13:52 -07:00
Michael Schurter 40e5a56036 Merge pull request #3329 from hashicorp/f-acl-client-stats
/v1/client/stats ACL enforcement
2017-10-09 12:06:43 -07:00
Michael Schurter 84d82d79bb /v1/client/stats ACL enforcement 2017-10-09 12:02:32 -07:00
Michael Schurter 289f7d76bc Merge pull request #3343 from hashicorp/docs-client-gc
Document /v1/client/gc endpoint
2017-10-09 11:49:07 -07:00
Michael Schurter 59adf93c81 Merge pull request #3328 from hashicorp/f-acl-client-fs
FS HTTP API ACL enforcement
2017-10-09 11:28:26 -07:00
Michael Schurter dce2479147 Document /v1/client/gc endpoint 2017-10-09 11:27:28 -07:00
Michael Schurter 8a125759ae Refactor as there's no need for an ACL helper 2017-10-09 11:19:25 -07:00
Michael Schurter 260b66bf52 Test all fs endpoints in a loop 2017-10-09 11:19:14 -07:00
Michael Schurter a7450c8633 FS HTTP API ACL enforcement
ACL enforcement for the filesystem HTTP APIs on clients.
2017-10-09 11:06:34 -07:00
Michael Schurter 44455f5e93 Merge pull request #3325 from hashicorp/f-acl-client
/v1/client/gc ACL enforcement
2017-10-09 11:01:58 -07:00
Michael Schurter 69bcfe78ba /v1/client/gc ACL enforcement 2017-10-06 14:50:16 -07:00
Michael Schurter 57ff12432b Move acl helpers from nomad/ into nomad/mock
They're useful in command/agent/ tests.
2017-10-06 14:50:06 -07:00
Michael Schurter 0c83edbceb Update go-testing-interface
Needed for T.Helper and T.Skipf
2017-10-06 14:35:14 -07:00
Michael Schurter fd9d09e290 Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
Michael Schurter 4acff9c2bd Support AnonymousACLToken in GetPolicies 2017-10-06 14:35:14 -07:00
Chelsea Komlo 7c8a5228d4 Merge pull request #3290 from hashicorp/f-acl-job-dispatch
Add ACL for dispatch job
2017-10-06 13:33:21 -04:00
Michael Lange 0941c7bec1 Merge pull request #3323 from hashicorp/f-ui-loading-states
UI Loading states
2017-10-05 18:00:51 -07:00
Michael Lange 16c92fc1bb Merge pull request #3321 from hashicorp/f-ui-error-states
Better error state for allocation stats failure
2017-10-05 17:51:15 -07:00
Michael Lange ab72eb164f Merge pull request #3300 from hashicorp/f-ui-404-pages
404 pages for the UI
2017-10-05 15:20:18 -07:00
Michael Lange e19740ce33 Simple catch-all route for 404s on pages 2017-10-05 14:39:38 -07:00
Michael Lange 2a1db3a09a Test coverage for 404s on resources 2017-10-05 14:39:37 -07:00
Michael Lange ca0b297d47 Handle allocation 404s 2017-10-05 14:39:37 -07:00
Michael Lange 9d9d66b1a7 Handle 404s for agents 2017-10-05 14:39:37 -07:00
Michael Lange 50a5bf4332 Handle 404s on nodes 2017-10-05 14:39:37 -07:00
Michael Lange 35f198d787 Handle 404s on jobs 2017-10-05 14:39:37 -07:00
Michael Lange af9f76aae5 Style error pages 2017-10-05 14:39:37 -07:00
Michael Lange fc5fb7bde9 Handle errors in the application route
This is the only way to preserve the URL in all cases.
2017-10-05 14:39:06 -07:00
Alex Dadgar 65035c78c0 changelog 2017-10-05 14:30:39 -07:00
Alex Dadgar b4ff637a49 Merge pull request #3327 from jrasell/f_gh_3304
Update agent CLI to include Consul config option flags.
2017-10-05 14:29:25 -07:00
James Rasell 4628637b54
Update agent CLI to include Consul config option flags.
This update introduces command line flags for all Consul options
thus allowing users to both use a config file and CLI options to
configure Consul.

Website documentation has also been updated.

Closes #3304
2017-10-05 14:26:26 +01:00
Michael Lange 877cbe6fbc Add a loading state to job information on allocation row.
This information is already loaded when traversing to an alloc row from
a job, but not when traversing to an alloc row from a node.
2017-10-03 17:18:33 -07:00
Michael Lange 0cc2c4267e Always reload all jobs
Ember tries to be clever by showing cached jobs instead of a loading spinner
in the event that a user starts on nodes, loads a couple jobs through
allocation relationships, then visits jobs.
2017-10-03 17:17:45 -07:00
Michael Lange 74fce03d4d Simple loading state for job details in a job row 2017-10-03 16:24:30 -07:00
Michael Lange e16fe35539 Loading templates in places 2017-10-03 16:20:45 -07:00
Michael Lange a08d2b5512 Better error state for allocation stats 2017-10-03 15:55:10 -07:00
Michael Lange ba34cff0bd New tooltip scss component 2017-10-03 15:55:10 -07:00
Michael Lange 89b7c3ae70 New loading spinner
Courtesy of SpinKit: https://github.com/tobiasahlin/SpinKit
2017-10-03 15:53:46 -07:00
Michael Schurter 22169a7cd4 Eval.Allocations ACL enforcement 2017-10-03 14:57:47 -07:00
Michael Schurter b3db8f41fd Eval.List ACL enforcement 2017-10-03 14:57:47 -07:00
Michael Schurter fae1be5ab2 Eval.GetEval ACL enforcement 2017-10-03 14:57:47 -07:00
Michael Lange 2b8d39ff5e Add new icon helper and the first icon: warning 2017-10-03 10:54:22 -07:00
Chelsea Holland Komlo 86f7cbf8e8 add documentation for dispatch-job 2017-10-03 13:18:52 -04:00
Michael Lange ab3f69c79c Merge pull request #3305 from hashicorp/f-ui-empty-states
UI empty states
2017-10-03 10:08:08 -07:00
Michael Schurter 7abe81b7bc Merge pull request #3319 from hashicorp/f-acl-deployment-allocs
Deployment.Allocations ACL enforcement
2017-10-02 17:08:19 -07:00
Michael Schurter 9acd8a68d4 Merge pull request #3318 from hashicorp/f-acl-deployment-list
Deployment.List ACL enforcement
2017-10-02 17:07:51 -07:00
Michael Schurter 27664ec736 Merge pull request #3317 from hashicorp/f-acl-deployment-setallochealth
Deployment.SetAllocHealth ACL enforcement
2017-10-02 17:05:56 -07:00
Michael Schurter 36c1b21cc6 Merge pull request #3316 from hashicorp/f-acl-deployment-promote
Deployment.Promote ACL enforcement
2017-10-02 17:05:20 -07:00
Michael Schurter 437c211ec8 Merge pull request #3315 from hashicorp/f-acl-deployment-pause
Deployment.Pause ACL enforcement
2017-10-02 17:04:27 -07:00