Commit Graph

48 Commits

Author SHA1 Message Date
Michael Lange
1c0d133f25 Always provide arguments instead of models to job links
This invoked the model hook, which will load the model and
redirect correctly based on permissions
2018-03-20 16:41:19 -07:00
Michael Lange
c8693ba525 Make task page breadcrumbs extend the allocation breadcrumbs 2018-03-13 16:36:26 -07:00
Michael Lange
79ecf47936 Make allocation pages extend the job breadcrumb trail 2018-03-13 16:36:26 -07:00
Michael Lange
efeb5abbcb Fix a bug where job links didn't always include the namespace QP 2018-03-13 16:34:01 -07:00
Michael Lange
df54b6bae2 Fix a bug where namespace filter is incorrect for the jobs list 2018-03-08 10:40:31 -08:00
Michael Lange
0ea1d0daaf Fleshing out job page parts and differences 2018-02-06 10:53:50 -08:00
Michael Lange
37c39a9a05 Filter child jobs out of the root jobs list 2018-02-05 20:13:58 -08:00
Michael Lange
c8fcb4c710 Reorganize the styleguide using components for sections 2018-01-17 09:04:01 -08:00
Michael Lange
2e19c2d877 Use the new ember modules imports
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
fbdf3ed3cb Don't warn intentional errors in tests
It's too noisy
2018-01-17 09:02:04 -08:00
Michael Lange
ee7faa5561 Warn errors in prod 2017-12-06 10:33:03 -08:00
Michael Lange
3f3b31614c Add a table of evaluations to the job detail page 2017-11-29 20:12:12 -08:00
Michael Lange
ad6307933c Revert "UI Placement failures""
This reverts commits
141ecd8d91
d2d838c2de
8099db4336
86262b3cef
eb4104ec52
0e0e23e238
6d45658d77
b52a8176e8
2017-11-29 20:03:39 -08:00
Michael Lange
8099db4336 Add a table of evaluations to the job detail page 2017-11-29 16:30:33 -08:00
Michael Lange
20ac6c07df Move logging logic from the controller to a component 2017-11-21 11:22:42 -08:00
Michael Lange
72d84f6922 First pass at the logs page
Just verifying the log code works
2017-11-21 11:22:42 -08:00
Michael Lange
3115b34cce Guard against null values 2017-11-21 11:22:41 -08:00
Michael Lange
b3dc7364c5 Remold the allocation detail and task detail pages
Now that there is a task detail page, some of the content from
the allocation detail page is better suited there.
2017-11-14 11:08:51 -08:00
Michael Lange
0d2efb0f1a Create a new task route hierarchy
Drilling into a task from an allocation transitions to the task
heirarchy.
2017-11-14 11:04:40 -08:00
Michael Lange
e9c71dd0df Rename nodes routes to client routes 2017-10-27 18:39:04 -07:00
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