Commit Graph

28 Commits

Author SHA1 Message Date
Michael Lange
1851fb9f94 Apply route-specific 403 handling to jobs, nodes, and servers 2017-10-24 16:41:11 -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
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
c6591dc7a8 Address a couple asynchronicity issues 2017-10-23 17:42:36 -07:00
Michael Lange
b147852ded Update all job links 2017-10-23 17:42:36 -07:00
Michael Lange
5374854a63 Redo the logic around showing namespaces
Don't show namespaces if the only namespace is `default`
2017-10-23 17:42:36 -07:00
Michael Lange
c2aba57843 Move the namespace query param up the route hierarchy
This makes it active on all job routes
2017-10-23 17:42:35 -07:00
Michael Lange
631fe68339 Never return null for adapter headers
Ember Data checks strictly against undefined:
https://github.com/emberjs/data/blob/master/addon/adapters/rest.js#L1128
2017-10-19 10:10:01 -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
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
6ee142ace1 Make ModifyIndex the default sort property for alloc tables 2017-10-18 11:45:02 -07:00
Michael Lange
e799c6e2f0 Order keys consistently for enhanced readability 2017-10-16 13:27:52 -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
2d92d7ba3c Redo the tokens page to be a form that validates a token and lists policies 2017-10-16 13:27:51 -07:00
Michael Lange
1cfa5f5ecc Handle 403s gracefully
- When a list 403s, treat it as if it were empty
- When a single resource 403s, redirect to an application error page
  that has a backdoor link to the tokens page
2017-10-12 17:40:49 -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
f2d1fb9673 Removes extraneous search query param from the servers list page 2017-10-11 15:48:46 -07:00
Michael Lange
931c99c9f3 Remove extraneous search query param from the job index page 2017-10-11 15:30:49 -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
f1d20d1e50 Refresh the jobs model on namespace change 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 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
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
Michael Lange
033c7432cc Loading templates in places 2017-10-03 16:20:45 -07:00
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00