Commit Graph

8994 Commits

Author SHA1 Message Date
Michael Schurter
bdc65ee312 /v1/client/stats ACL enforcement 2017-10-09 12:02:32 -07:00
Michael Schurter
2d91319174 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
00b1346e9b Refactor as there's no need for an ACL helper 2017-10-09 11:19:25 -07:00
Michael Schurter
432d95a72a Test all fs endpoints in a loop 2017-10-09 11:19:14 -07:00
Michael Schurter
43ea09fa96 FS HTTP API ACL enforcement
ACL enforcement for the filesystem HTTP APIs on clients.
2017-10-09 11:06:34 -07:00
Michael Schurter
8a784d42e3 Merge pull request #3325 from hashicorp/f-acl-client
/v1/client/gc ACL enforcement
2017-10-09 11:01:58 -07:00
Michael Schurter
e83cece0d6 /v1/client/gc ACL enforcement 2017-10-06 14:50:16 -07:00
Michael Schurter
face1b4e5b 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
c1fff02ec9 Update go-testing-interface
Needed for T.Helper and T.Skipf
2017-10-06 14:35:14 -07:00
Michael Schurter
c6756d899a Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
Michael Schurter
011ffdb7e1 Support AnonymousACLToken in GetPolicies 2017-10-06 14:35:14 -07:00
Chelsea Komlo
bb8ce73cc7 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
52bc3706d4 Merge pull request #3323 from hashicorp/f-ui-loading-states
UI Loading states
2017-10-05 18:00:51 -07:00
Michael Lange
7f55e62908 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
ccc197e3e7 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
810c3d5467 Simple catch-all route for 404s on pages 2017-10-05 14:39:38 -07:00
Michael Lange
1b82586fb6 Test coverage for 404s on resources 2017-10-05 14:39:37 -07:00
Michael Lange
ddf9dae545 Handle allocation 404s 2017-10-05 14:39:37 -07:00
Michael Lange
ae6658dd94 Handle 404s for agents 2017-10-05 14:39:37 -07:00
Michael Lange
1e9b607730 Handle 404s on nodes 2017-10-05 14:39:37 -07:00
Michael Lange
1e817cb35b Handle 404s on jobs 2017-10-05 14:39:37 -07:00
Michael Lange
cb5d220432 Style error pages 2017-10-05 14:39:37 -07:00
Michael Lange
5379ca241a 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
bad7bd5795 changelog 2017-10-05 14:30:39 -07:00
Alex Dadgar
262a695fbf 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
f98f403401 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
bc3c59c3e0 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
5b0095627d 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
900b218632 Simple loading state for job details in a job row 2017-10-03 16:24:30 -07:00
Michael Lange
033c7432cc Loading templates in places 2017-10-03 16:20:45 -07:00
Michael Lange
c80c4446d4 Better error state for allocation stats 2017-10-03 15:55:10 -07:00
Michael Lange
a8257d39f0 New tooltip scss component 2017-10-03 15:55:10 -07:00
Michael Lange
18ba575368 New loading spinner
Courtesy of SpinKit: https://github.com/tobiasahlin/SpinKit
2017-10-03 15:53:46 -07:00
Michael Schurter
400958b0bc Eval.Allocations ACL enforcement 2017-10-03 14:57:47 -07:00
Michael Schurter
aba2e6d5b8 Eval.List ACL enforcement 2017-10-03 14:57:47 -07:00
Michael Schurter
48a56354ce Eval.GetEval ACL enforcement 2017-10-03 14:57:47 -07:00
Michael Lange
abf313a8ce Add new icon helper and the first icon: warning 2017-10-03 10:54:22 -07:00
Chelsea Holland Komlo
9424ee54ef add documentation for dispatch-job 2017-10-03 13:18:52 -04:00
Michael Lange
bbbbd67708 Merge pull request #3305 from hashicorp/f-ui-empty-states
UI empty states
2017-10-03 10:08:08 -07:00
Michael Schurter
f492a05fdb Merge pull request #3319 from hashicorp/f-acl-deployment-allocs
Deployment.Allocations ACL enforcement
2017-10-02 17:08:19 -07:00
Michael Schurter
af4e02f055 Merge pull request #3318 from hashicorp/f-acl-deployment-list
Deployment.List ACL enforcement
2017-10-02 17:07:51 -07:00
Michael Schurter
5236d335bb Merge pull request #3317 from hashicorp/f-acl-deployment-setallochealth
Deployment.SetAllocHealth ACL enforcement
2017-10-02 17:05:56 -07:00
Michael Schurter
1c2bdcf635 Merge pull request #3316 from hashicorp/f-acl-deployment-promote
Deployment.Promote ACL enforcement
2017-10-02 17:05:20 -07:00
Michael Schurter
ffa79f4762 Merge pull request #3315 from hashicorp/f-acl-deployment-pause
Deployment.Pause ACL enforcement
2017-10-02 17:04:27 -07:00
Michael Lange
74de77970f Add ember-inline-svg dependencies. 2017-10-02 17:02:57 -07:00
Michael Schurter
3877ac62a6 Merge pull request #3314 from hashicorp/f-acl-deployment-fail
Deployment.Fail ACL enforcement
2017-10-02 17:02:44 -07:00
Michael Schurter
e21404fffc Deployment.Fail ACL enforcement 2017-10-02 16:15:05 -07:00
Michael Schurter
f4d71b4303 Deployment.Allocations ACL enforcement 2017-10-02 15:23:29 -07:00
Michael Schurter
b487caca73 Deployment.List ACL enforcement 2017-10-02 15:13:56 -07:00
Michael Schurter
6e18f3806b Deployment.SetAllocHealth ACL enforcement 2017-10-02 15:02:18 -07:00