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
c7d3301c43
Remove fuse as a dependency
2017-10-18 19:45:12 -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
4382e696e7
Always provide a valid value for transform
2017-10-18 11:45:02 -07:00
Michael Lange
106967bd62
Don't double render, also don't render infinitely
...
See https://github.com/emberjs/ember.js/issues/13948
2017-10-18 11:45:02 -07:00
Michael Lange
2bf8945e02
Use the right footer pagination styles on task group page
2017-10-18 11:45:02 -07:00
Michael Lange
68e444d660
Fix an issue where allocation rows can have a state change in the same frame as a render
2017-10-18 11:45:02 -07:00
Michael Lange
6ee142ace1
Make ModifyIndex the default sort property for alloc tables
2017-10-18 11:45:02 -07:00
Michael Lange
7007d04dee
Add ModifyIndex as a sortable column for alloc tables
2017-10-18 11:45:02 -07:00
Michael Lange
9839061745
Sort allocation by status type, not simply alphanumeric
2017-10-18 11:45:01 -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
93202b2e1b
Fix the memory usage math
...
1. Use RSS, not Cache (shoulda read the source)
2. Convert bytes to megabytes before doing division
2017-10-17 10:17:42 -07:00
Michael Lange
5f617d7955
New helper for human-formatting bytes
2017-10-17 10:17:42 -07:00
Michael Lange
1b1dae4366
In dev mode, mask the local node port to 4200
...
This allows for local development with the client end points for the node
running on localhost.
2017-10-17 10:17:41 -07:00
Michael Lange
e799c6e2f0
Order keys consistently for enhanced readability
2017-10-16 13:27:52 -07:00
Michael Lange
39d704b0d9
Make sure token policy ids are unique
...
When they aren't unique, length checks will fail
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
560dd3f88e
Redo acceptance testing for ACL tokens
2017-10-16 13:27:52 -07:00
Michael Lange
275af4836b
Mirage factories for tokens and policies
2017-10-16 13:27:51 -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
3587d4feb2
Data modeling for tokens and 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
b8ed3f5664
Handle the case where hash.Members is undefined
2017-10-12 17:40:04 -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
88fea83bc1
Add a generic catch-all error message
2017-10-12 12:34:10 -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
969ff79c07
Test coverage for namespaces
2017-10-11 14:06:46 -07:00
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