John Cowen
50507b34a5
Make sure future services are available when editing intentions
2018-06-25 12:25:15 -07:00
John Cowen
5575455053
Add support for specifying future services and wildcards
2018-06-25 12:25:15 -07:00
John Cowen
55bc45832e
Tie up real endpoints
2018-06-25 12:25:15 -07:00
John Cowen
24f6155efc
Switch to single selects rather than inputs
2018-06-25 12:25:15 -07:00
John Cowen
148621d98e
Have a look at power select for select elements
2018-06-25 12:25:14 -07:00
John Cowen
8023bb9b03
Add intentions actions mixin
2018-06-25 12:25:14 -07:00
John Cowen
9d6b9b7717
Remove SourceType for the moment
2018-06-25 12:25:14 -07:00
John Cowen
b38e5df630
WIP: First draft intentions
...
1. Listing, filtering by action and searching by source name and
destination name
2. Edit/Create page, edits ping the API double fine, need to work through
creates and deletes
3. Currently uses a `Precedence` intention keyname that doesn't yet
exist in the real API
2018-06-25 12:25:14 -07:00
John Cowen
c3e92a236f
WIP: Logger
2018-06-25 12:25:14 -07:00
John Cowen
61e3fa3244
Make sure the dc menu is as useful as possible when things go wrong
...
1. Check the dc's model for both dcs list and the requested dc.
2. If the dc model doesn't exist use and empty array for dcs and a fake
dc with the Name 'Error' as we can't even trust what is in the
`paramsFor`
2018-06-22 17:23:00 +01:00
John Cowen
fd60f225ec
Merge branch 'master' into feature/ui-node-ports-for-service
2018-06-22 17:17:03 +01:00
John Cowen
b41d19c3c0
Merge pull request #4251 from hashicorp/bugfix/ui-null-tokens
...
Ensure a blank/empty token is sent if the localStorage kv doesn't exist
2018-06-22 16:36:20 +01:00
John Cowen
30402b51b1
Merge pull request #4253 from hashicorp/feature/ui-clearer-tags
...
UI - Clearer tags
2018-06-22 09:24:13 +01:00
John Cowen
3450aa81da
Merge pull request #4259 from hashicorp/feature/failing-ttl-test
...
[BUGFIX] UI - Make sure lock session TTLs are shown
2018-06-21 20:33:03 +01:00
John Cowen
2e293f2697
Add a beforeModel hook at dc/index to auto transition to services
2018-06-21 12:49:00 +01:00
John Cowen
abf77b3c74
Merge remote-tracking branch 'shilov/master' into feature/failing-ttl-test
2018-06-21 11:14:01 +01:00
John Cowen
1881ec4824
Add a failing test to show that lock session TTL's are not shown
2018-06-21 10:56:38 +01:00
John Cowen
3f0560d098
Add missing scss file
2018-06-20 15:33:42 +01:00
John Cowen
0ad1d562db
Use the pill styling elsewhere...
...
TODO: Probably change the %tag to %pill now I've remembered the word I was
looking for!
2018-06-20 15:14:16 +01:00
John Cowen
0f6214d0ce
Make sure token is set to blank if nothing is typed in settings
2018-06-20 14:38:54 +01:00
John Cowen
d2d501a4a4
Add a reusable %tag and use it for the ACL 'tags' ready to use elsewhere
2018-06-20 14:01:42 +01:00
John Cowen
76017b69b5
Make sure the colon doesn't wrap with lots of tags
2018-06-20 13:44:36 +01:00
John Cowen
484f6ccaf2
Add port the service is running on for each node in the service view
2018-06-20 13:08:59 +01:00
John Cowen
8c5416ecaf
Ensure a blank token is sent if the localStorage kv doesn't exist
2018-06-20 10:32:35 +01:00
John Cowen
894667b87a
Merge pull request #4247 from hashicorp/feature/acl-sort-by-name
...
UI - Sort ACL tokens by name
2018-06-20 09:18:36 +01:00
John Cowen
f960604bb5
Merge pull request #4242 from hashicorp/feature/ui-code-editor-autosizing
...
Sets code editor height to be automatic (growable), with a reasonable min height
2018-06-20 09:18:14 +01:00
John Cowen
4d7f15ce34
Merge branch 'master' into bugfix/gh-4203-multi-tags
2018-06-20 09:17:23 +01:00
John Cowen
6949b22d5f
Sort ACL tokens by name
2018-06-19 10:51:31 +01:00
John Cowen
3c02e17fa7
Make sure the body background is white
2018-06-19 10:25:41 +01:00
Stanley Shilov
c06dfb3d2d
Sessions TTL should be of type string in ui-v2
2018-06-18 13:41:22 -05:00
John Cowen
5909d5695e
Sets code editor height to be auto, with a reasonable min height
2018-06-18 19:07:57 +01:00
John Cowen
04435dbdaf
Ensure all tags for a service are listed on the service detail page
2018-06-18 15:38:52 +01:00
John Cowen
bf4bcdd670
Find a way to test pre-ember load
...
1. Also add index.html things to test/index.html
2. Use content-for to hedge against keeping content in sync (requires an
addon)
3. Test passes but only when run on its own, as we need to rely on
content in the QUnit runner, theoretically it is not running our test in
isolation. Skipping the test for the moment so we don't have a filaing
test when all run together
2018-06-15 13:56:45 +01:00
John Cowen
5bee407319
Move healthcheck text down by 1px
2018-06-14 17:19:46 +01:00
John Cowen
11ec24fe48
Ensure startup/load image is removed if you hit an error on first load
2018-06-14 17:19:45 +01:00
John Cowen
71cef8b8cd
Merge pull request #4225 from hashicorp/bugfix/hide-anon-acl-delete
...
[BUGFIX] Remove anonymous ACL delete button in the listing
2018-06-14 16:58:07 +01:00
John Cowen
62a4c1098e
Add test for not showing the delete button for the first acl...
...
Also, change the action group page objects to use data-test attributes
instead of last-child which isn't reliable (and stay consistent)
2018-06-14 15:01:54 +01:00
John Cowen
58f99703a4
Disable the delete button in the acl list for the anon token only
2018-06-14 13:34:38 +01:00
John Cowen
005fbcd149
Add searching ACL's by token
2018-06-14 13:06:02 +01:00
John Cowen
f87f410e3a
Use defaultValue for making sure Name is at least ''
2018-06-12 11:24:36 +01:00
John Cowen
e37136ecae
Prevent being able to submit a create form with empty values
2018-06-12 11:24:36 +01:00
John Cowen
59ce55227c
Explicitly sort by Key after folder/file
2018-06-12 11:24:36 +01:00
John Cowen
46419ac466
QSA doesn't like searching with sibling selectors, make a sibling
2018-06-12 11:24:36 +01:00
John Cowen
4b46caf77a
Make sure didAppear
and therefore resize
is called on change
...
Tables need to calculate their sizing depending on other things in the
DOM. When a table is in a tab panel, some of these things aren't visible
and therefore some values are zero during `didInsertElement`.
This commit ensures that the resize calc of the table is performed when
it's parent tab is clicked (and therefore when the table 'appears')
2018-06-12 11:24:36 +01:00
John Cowen
f1b25c009e
WIP: Make sure I can get the values I need to calculate sizing
...
`rect.top` is zero until the tab panel becomes visible, resize will need
to be called when the tab is clicked also
2018-06-12 11:24:36 +01:00
John Cowen
17ebf96755
WIP: Feature/acceptance tests
2018-06-12 11:24:35 +01:00
John Cowen
635beab347
Fix tear down click handler problem in tests
...
It's not obvious what "the way" to teardown window event handlers is in
Ember. The datacenter-picker is permanently in the app during usage, but
in tests I'm assuming it gets added and removed lots.
So when you run the tests, as the tests aren't run in an isolated runner
the QUnit test runner ends up with a click handler on it, So if you
click on the test runner one of the tests will fail.
The failure is related to there not being an element with a `.contains`
method. So this checks that the element is truthy first, i.e. it exists.
If it doesn't it just bails out.
2018-06-12 11:24:35 +01:00
John Cowen
cdfd24bf97
Use this.element
for context, thus avoiding jQuery, plus..
...
Add comments for clarity
2018-06-12 11:24:35 +01:00
John Cowen
b7498b3079
Tweak placeholder text to add 'port'
2018-06-12 11:24:35 +01:00
John Cowen
f9cf50547a
Adds filtering to the KV listing page
2018-06-12 11:24:35 +01:00