Michael Lange
fe7a656df2
Custom alpha sort with default always on top
2017-10-11 14:06:46 -07:00
Michael Lange
45b8cb067e
Gracefully handle the 501 case
...
Enterprise endpoints return a 501 in the open source build. 5xx
errors throw by default, so handle this one since it's expected
for things such as namespaces.
2017-10-11 14:06:46 -07:00
Michael Lange
5f23b8411a
Replace simple dropdown namespace switcher with ember-power-select
2017-10-11 13:45:03 -07:00
Michael Lange
774c4e402a
Add ember-power-select
2017-10-11 13:45:03 -07:00
Michael Lange
cf899f66e6
Mock namespaces in mirage
2017-10-11 13:45:03 -07:00
Michael Lange
48cb99c6eb
Make namespace a relationship of job
2017-10-11 13:45:03 -07:00
Michael Lange
f1d20d1e50
Refresh the jobs model on namespace change
2017-10-11 13:45:03 -07:00
Michael Lange
c5ee91eb39
Add a namespace switcher to the gutter menu
2017-10-11 13:45:03 -07:00
Michael Lange
c665c7acf0
Support non-link menu items
2017-10-11 13:45:03 -07:00
Michael Lange
a36a8e6ba3
Consider the namespace query param as required for findAll
2017-10-11 13:45:03 -07:00
Michael Lange
7006794284
Add namespaces and active namespace to the system service
2017-10-11 13:45:03 -07:00
Michael Lange
ff35c8f76c
New namespaces model
2017-10-11 13:45:03 -07:00
Michael Lange
4dd8ec89b8
Make sure to qualify requests made outside of adapters
2017-10-11 13:45:03 -07:00
Michael Lange
13975ebc0b
Throw errors that cause a redirect to make debugging easier
2017-10-11 13:45:03 -07:00
Michael Schurter
e8a57eb59c
Merge pull request #3355 from hashicorp/d-api-metrics-nav
...
Change Metrics API nav option to 'Metrics'
2017-10-11 11:05:59 -07:00
Rob Genova
557c740185
Update api.erb
2017-10-11 11:02:52 -07:00
Michael Schurter
cd1e7fe427
Merge pull request #3338 from hashicorp/f-acl-operator
...
Operator ACL enforcement
2017-10-10 17:06:28 -07:00
Michael Schurter
cb543554a4
Operator ACL enforcement
2017-10-10 15:18:19 -07:00
Michael Lange
fbd36282f6
Merge pull request #3332 from hashicorp/b-ui-partial-jobs-on-nodes-view
...
Ensure the job name and task group name for each allocation is shown in the table
2017-10-10 14:49:26 -07:00
Michael Schurter
9a13179bb9
Merge pull request #3346 from hashicorp/b-nil-client-panic
...
ForceLeave endpoint must use Server.ResolveToken
2017-10-10 10:14:31 -07:00
Michael Schurter
de6b77c3b9
Merge pull request #3345 from hashicorp/vendor-checkpoint-with-timeout
...
Updating go-checkpoint lib to have a fixed timeout
2017-10-10 09:52:17 -07:00
Michael Schurter
44dc166e5f
Fix AgentSelf, AgentMembers, and KeyringOperations
2017-10-09 16:12:28 -07:00
Michael Schurter
c39a2333d9
ForceLeave endpoint must use Server.ResolveToken
...
The ForceLeaveRequest endpoint may only be called on servers, but the
code was using a Client to resolve tokens. This would cause a panic when
an agent wasn't both a Server and a Client.
2017-10-09 15:49:04 -07:00
Matt McQuillan
cf09595b89
Updating go-checkpoint lib to have a fixed timeout
2017-10-09 15:23:46 -04:00
Michael Schurter
402f2bcec7
Merge pull request #3336 from hashicorp/f-acl-client-agent
...
/v1/client/agent/* ACL enforcement
2017-10-09 12:20:26 -07:00
Michael Schurter
e3520aded5
/v1/client/agent/* ACL enforcement
2017-10-09 12:18:54 -07:00
Michael Schurter
2e5454b60e
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
a4026229ab
/v1/client/allocation/./{stats,gc} ACL enforcement
2017-10-09 12:13:52 -07:00
Michael Schurter
0144b513f5
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
bdc65ee312
/v1/client/stats ACL enforcement
2017-10-09 12:02:32 -07:00
Michael Schurter
4a0b3a6f7f
Merge pull request #3343 from hashicorp/docs-client-gc
...
Document /v1/client/gc endpoint
2017-10-09 11:49:07 -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
435f03f349
Document /v1/client/gc endpoint
2017-10-09 11:27:28 -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
f7b1c5c15c
New test to assert that lazy loading jobs for allocation rows actually happens
...
Unfortunately it meant inlining the visit into each test
2017-10-05 20:11:17 -07:00
Michael Lange
1ddb2b7889
Fixes issue regarding allocation rows
...
Sometimes the job name and/or task group name wouldn't show up.
2017-10-05 18:01:19 -07: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