Commit Graph

40 Commits

Author SHA1 Message Date
Michael Lange
1f4b61f074 Merge pull request #3428 from hashicorp/b-ui-missed-the-deployment-allocs
Add modified and version headers to deployment allocation table
2017-10-25 10:31:20 -07:00
Michael Lange
7cac071fd5 Update the existing empty state messages to no longer mention tokens
There is no longer a way that these messages could show and tokens be the problem
2017-10-24 16:41:11 -07:00
Michael Lange
1b5f9e1b23 New test coverage for 403 handling on list pages 2017-10-24 16:41:11 -07:00
Michael Lange
b010638724 Merge pull request #3439 from hashicorp/b-ui-hide-deployments-tab-based-on-type
Don't show the deployments tab for non-service jobs
2017-10-24 16:39:47 -07:00
Michael Lange
8e40ec093b Merge pull request #3437 from hashicorp/f-ui-sort-server-tags
Sort server tags
2017-10-24 16:39:23 -07:00
Michael Lange
6e3eb5ff3f Don't show the deployments tab for non-service jobs
They can't have deployments, so the link makes no sense.
2017-10-24 12:35:29 -07:00
Michael Lange
aa5f8e4abf Sort server tags 2017-10-24 12:04:08 -07:00
Michael Lange
a08916865f On namespace change on a job detail page, redirect to /jobs
And reload jobs for the new namespace.
2017-10-23 17:42:36 -07:00
Michael Lange
a260ac3447 Temporarily skip unreliable test due to unloadAll 2017-10-23 17:42:36 -07:00
Michael Lange
efbe06431f Update acceptance tests now that jobs are different 2017-10-23 17:42:36 -07:00
Michael Lange
91ed1d5f6d Treat namespace and job name as a composite primary key 2017-10-23 17:42:36 -07:00
Michael Lange
855ebf98ce Switch from href-to to link-to for QP persistence
See this issue: https://github.com/intercom/ember-href-to/issues/62
2017-10-23 17:42:35 -07:00
Michael Lange
2bc1957f62 Handle the not a number case 2017-10-19 17:35:58 -07:00
Michael Lange
20b8e39842 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
adddd8f30c 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
bfda4ded4d Merge pull request #3412 from hashicorp/b-ui-disable-fuzzy-search
Disable fuzzy search
2017-10-18 20:08:15 -07:00
Michael Lange
30806f9bc5 Add the acl token as a header to client requests 2017-10-18 19:48:17 -07:00
Michael Lange
8178f9b7fa 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
03900ea35e 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
7bbcdd44cd 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
76bda0fb37 Add job version to allocation tables 2017-10-18 12:29:33 -07:00
Michael Lange
06f781db8d Update tests for the ModifyIndex column and sort change 2017-10-18 11:45:02 -07:00
Michael Lange
f1dc08db29 Tests (and bug fixes!) for the format-bytes helper 2017-10-17 10:17:42 -07:00
Michael Lange
5055bc248d Show real usage numbers as tooltips 2017-10-17 10:17:42 -07:00
Michael Lange
a845455141 Use /acl/token/self instead of /acl/token/:accessor_id 2017-10-16 13:27:52 -07:00
Michael Lange
560dd3f88e Redo acceptance testing for ACL tokens 2017-10-16 13:27:52 -07:00
Michael Lange
9f6daaa91b Specialized error for 403s that links to the ACLs page 2017-10-12 17:24:32 -07:00
Michael Lange
6f9972ac19 Merge pull request #3358 from hashicorp/f-ui-namespaces
UI for Namespaces (enterprise only)
2017-10-12 17:22:15 -07:00
Michael Lange
6bbf3ac992 Allow users to escape error pages with the back button 2017-10-12 12:35:00 -07:00
Michael Lange
87d8a2a50b Sync the active namespace as a query param on the jobs list page 2017-10-11 14:06:46 -07:00
Michael Lange
969ff79c07 Test coverage for namespaces 2017-10-11 14:06:46 -07: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
1b82586fb6 Test coverage for 404s on resources 2017-10-05 14:39:37 -07:00
Michael Lange
c988de30c5 Empty state for allocations search on task group detail 2017-10-02 12:44:07 -07:00
Michael Lange
945cb3f03e Empty states for servers 2017-09-29 19:20:28 -07:00
Michael Lange
7cae2e92f2 Empty states for clients 2017-09-29 18:33:57 -07:00
Michael Lange
080ebec708 Add empty states to the job list page 2017-09-29 17:41:29 -07:00
Michael Lange
7dc62aec37 Migrate tests over to native helpers as much as possible 2017-09-26 11:59:41 -07:00
Michael Lange
bffdc874ff Demonstrate link in action table row bug 2017-09-26 11:59:41 -07:00
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00