Commit graph

9236 commits

Author SHA1 Message Date
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 a9154b75f6 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 4e606e435d 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 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
Michael Lange e1d199c696 Add ember-inline-svg dependencies. 2017-10-02 17:02:57 -07:00
Michael Schurter 1c9d598abe Merge pull request #3314 from hashicorp/f-acl-deployment-fail
Deployment.Fail ACL enforcement
2017-10-02 17:02:44 -07:00
Michael Schurter b96a6c48ea Deployment.Fail ACL enforcement 2017-10-02 16:15:05 -07:00
Michael Schurter bd6418aa27 Deployment.Allocations ACL enforcement 2017-10-02 15:23:29 -07:00
Michael Schurter 08c82eb00f Deployment.List ACL enforcement 2017-10-02 15:13:56 -07:00
Michael Schurter 60a7dc3c83 Deployment.SetAllocHealth ACL enforcement 2017-10-02 15:02:18 -07:00
Michael Schurter f788974f8a Merge pull request #3288 from simar7/qemu-improvements
qemu: Add bound checks for memory assignment
2017-10-02 14:47:05 -07:00
Michael Schurter c9d2c62d0b Deployment.Promote ACL enforcement 2017-10-02 14:31:58 -07:00
Simarpreet Singh d801584c46
qemu: Fix lower memory bound to 128M
Signed-off-by: Simarpreet Singh <simar@linux.com>
2017-10-02 14:29:44 -07:00
Michael Schurter 0409a54f19 Deployment.Pause ACL enforcement 2017-10-02 14:25:32 -07:00
Michael Schurter b888e49df4 Deployment.Fail ACL enforcement 2017-10-02 14:23:33 -07:00
Simarpreet Singh 10d7d6dab0
gofmt: format qemu.go and qemu_test.go
Signed-off-by: Simarpreet Singh <simar@linux.com>
2017-10-02 13:16:48 -07:00
Michael Lange 60f4cb8a0a Empty state for allocations search on task group detail 2017-10-02 12:44:07 -07:00
Michael Lange c05a09ce33 Empty states for servers 2017-09-29 19:20:28 -07:00