John Cowen
5b759c3183
Merge pull request #4331 from hashicorp/feature/hedge-empty-node-ids
...
Hedge for when consul sends nodes with an empty ID
2018-07-03 16:11:31 +01:00
John Cowen
e029b92b3f
Use html5 oninput instead of onkeyup for native textual inputs
...
This enables people to enter things using the mouse to paste for
example, plus possible other things.
As an aside it also answers my query regarding `fillIn` for testing,
nothing needs to be actually _typed_ anymore! Doh
2018-07-03 15:40:15 +01:00
John Cowen
addbf89c63
Ensure we catch empty ID's for single nodes also
...
I don't think this would have a large effect on the UI whichever but
best to make sure
2018-07-03 14:48:04 +01:00
John Cowen
6e3ad50e99
Hedge for when consul sends nodes with an empty ID
2018-07-03 13:23:45 +01:00
John Cowen
b3386ec749
Encode all the hexcodes
2018-06-26 10:48:26 +01:00
mkeeler
1da3c42867
Merge remote-tracking branch 'connect/f-connect'
2018-06-25 19:42:51 +00:00
John Cowen
cb11361511
Change the appearance of `*` for intention listings
...
1. Use 'All Services (*)' as opposed to '*'
2. Set 'Destination' in teh same bold font as 'Source'
3. Ensure you can search for all services by using '*' or 'All Services
(*)'
2018-06-25 12:26:18 -07:00
John Cowen
9e3f3780fa
Check for NOT connect-proxy
2018-06-25 12:25:40 -07:00
John Cowen
ceabb8b439
Filter Source and Destination menus by Kind
2018-06-25 12:25:40 -07:00
John Cowen
2f56c6e1be
Fix linting typo, caused the selection of future services to break
2018-06-25 12:25:40 -07:00
John Cowen
b351c170a7
Move intentions menu item to after ACLs
2018-06-25 12:25:37 -07:00
John Cowen
4280c78330
Lint
2018-06-25 12:25:16 -07:00
John Cowen
181cb6e1b5
Icons in the filter bar
2018-06-25 12:25:15 -07:00
John Cowen
90f01ffbd8
Validate all the things, all the time
2018-06-25 12:25:15 -07:00
John Cowen
cd67636bb8
More detailed error messages for duplicate intentions
2018-06-25 12:25:15 -07:00
John Cowen
1c4b1ee798
Only offer to create a future service if the name doesn't already exist
2018-06-25 12:25:15 -07:00
John Cowen
f914a760fc
Make sure future services are available when editing intentions
2018-06-25 12:25:15 -07:00
John Cowen
e51a8fd5c1
Add support for specifying future services and wildcards
2018-06-25 12:25:15 -07:00
John Cowen
c110338cfa
Tie up real endpoints
2018-06-25 12:25:15 -07:00
John Cowen
87d128971c
Switch to single selects rather than inputs
2018-06-25 12:25:15 -07:00
John Cowen
33d823c53d
Have a look at power select for select elements
2018-06-25 12:25:14 -07:00
John Cowen
5d5936fba6
Add intentions actions mixin
2018-06-25 12:25:14 -07:00
John Cowen
5263d04317
Remove SourceType for the moment
2018-06-25 12:25:14 -07:00
John Cowen
96ea5b799a
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
4756d97c9a
WIP: Logger
2018-06-25 12:25:14 -07:00
John Cowen
25f90fbcdd
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
ca33085ad2
Merge branch 'master' into feature/ui-node-ports-for-service
2018-06-22 17:17:03 +01:00
John Cowen
4db6f80de6
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
9861201c3c
Merge pull request #4253 from hashicorp/feature/ui-clearer-tags
...
UI - Clearer tags
2018-06-22 09:24:13 +01:00
John Cowen
57e7ab7ef8
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
3325872daf
Add a beforeModel hook at dc/index to auto transition to services
2018-06-21 12:49:00 +01:00
John Cowen
b0805ffa4e
Merge remote-tracking branch 'shilov/master' into feature/failing-ttl-test
2018-06-21 11:14:01 +01:00
John Cowen
6d55c7a98c
Add a failing test to show that lock session TTL's are not shown
2018-06-21 10:56:38 +01:00
John Cowen
224aa2733d
Add missing scss file
2018-06-20 15:33:42 +01:00
John Cowen
d64528665d
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
4de710f0ec
Make sure token is set to blank if nothing is typed in settings
2018-06-20 14:38:54 +01:00
John Cowen
fb5c2f737b
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
edc67aba44
Make sure the colon doesn't wrap with lots of tags
2018-06-20 13:44:36 +01:00
John Cowen
cd45c420c6
Add port the service is running on for each node in the service view
2018-06-20 13:08:59 +01:00
John Cowen
2aaacd3ff4
Ensure a blank token is sent if the localStorage kv doesn't exist
2018-06-20 10:32:35 +01:00
John Cowen
43a6ebc7bd
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
5016899964
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
452888e6ad
Merge branch 'master' into bugfix/gh-4203-multi-tags
2018-06-20 09:17:23 +01:00
John Cowen
0e3d855734
Sort ACL tokens by name
2018-06-19 10:51:31 +01:00
John Cowen
6bae5e431c
Make sure the body background is white
2018-06-19 10:25:41 +01:00
Stanley Shilov
51731e13be
Sessions TTL should be of type string in ui-v2
2018-06-18 13:41:22 -05:00
John Cowen
7cd5e413ee
Sets code editor height to be auto, with a reasonable min height
2018-06-18 19:07:57 +01:00
John Cowen
b7a15e6616
Ensure all tags for a service are listed on the service detail page
2018-06-18 15:38:52 +01:00
John Cowen
3d1f4e59a8
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
3ef05bd719
Move healthcheck text down by 1px
2018-06-14 17:19:46 +01:00