322 Commits

Author SHA1 Message Date
Matthew Irish
a58745b6b6
UI - kv v2 versions page (#5563)
* add versions routes

* move commands and permissions check to stand-alone menu component

* add versions template

* make list-item component more flexible and use hasMenu to optionally render the menu

* move current check next to the version

* fix linting

* remove is-wide from secret list popup
2018-10-19 17:24:57 -05:00
madalynrose
d069e90e4d
add masked input to sensitive parts of credentials (#5551) 2018-10-19 15:16:43 -04:00
Matthew Irish
e01d050528 isPending not isLoading 2018-10-18 15:11:26 -05:00
Matthew Irish
0d91d85860 more 'not allowed' messaging 2018-10-18 14:55:52 -05:00
Matthew Irish
24b0e2df7b check capabilities for version actions 2018-10-18 14:55:52 -05:00
Matthew Irish
fff6639935 also send reload in case we're on the root already 2018-10-18 14:55:51 -05:00
Matthew Irish
d827f26a64 redirect to list-root after deleting a secret from the list page 2018-10-18 14:55:51 -05:00
Matthew Irish
d02fcd0d27 add necessary computed macros and template for contextual menus for v1 and v2 secrets 2018-10-18 14:55:51 -05:00
Matthew Irish
69c5df84cb use backend / secretId in models created on list responses for secrets v1 and v2 2018-10-18 14:55:51 -05:00
Matthew Irish
59eb61698b use maybeQueryRecord in lazyCapabilities macro and only continue if passed attributes are non-null 2018-10-18 14:55:51 -05:00
Matthew Irish
3ffaf5350f add warning if you're creating a new version with old versions data 2018-10-18 14:55:51 -05:00
Matthew Irish
963c863157 fix tests 2018-10-18 14:55:51 -05:00
Matthew Irish
5d44827c83 special case backend attr on the secret v1 model 2018-10-18 14:55:50 -05:00
Matthew Irish
940b69bc07 move key mixin to the mixin dir and update imports - also use it in secret-v2 model 2018-10-18 14:55:50 -05:00
Matthew Irish
5c8a71b67a fix metadata save on creation and use autocomplete=off for inputs 2018-10-18 14:55:50 -05:00
Matthew Irish
f7643a519e add in secret metadata form for create 2018-10-18 14:55:50 -05:00
Matthew Irish
712e3e73ec add secret metadata editing and fix v1 links 2018-10-18 14:55:50 -05:00
Matthew Irish
59280ef6e1 use cas when saving secret version 2018-10-18 14:55:50 -05:00
Matthew Irish
077f366954 use model dirty tracking to track changes 2018-10-18 14:55:49 -05:00
Matthew Irish
e5ff92962d create version from old versions uses that data in the edit page 2018-10-18 14:55:49 -05:00
Matthew Irish
aa1859f71e fix styling and only focus input type=text 2018-10-18 14:55:49 -05:00
Matthew Irish
32b19ad7f6 load and view different secret versions 2018-10-18 14:55:49 -05:00
Matthew Irish
f36b9da02f fix error with namespaces by reloading, new switch styles 2018-10-18 14:55:49 -05:00
Matthew Irish
ffee108908 fix padding on masked-input and web cli 2018-10-18 14:55:49 -05:00
Matthew Irish
5d3c576b80 make delete, destory, undelete work via the ui 2018-10-18 14:55:48 -05:00
Matthew Irish
66a4c26184 extract list-header css component to match header from namespace-picker 2018-10-18 14:55:48 -05:00
Matthew Irish
76524273d9 add block-error and block-empty components to centralize some bulma markup 2018-10-18 14:55:48 -05:00
Matthew Irish
15bf5667ce add new icon 2018-10-18 14:55:48 -05:00
Matthew Irish
69c8a122a6 use new local capabilities, move secret-edit-display partial to a component 2018-10-18 14:54:36 -05:00
Matthew Irish
d057ba1a5d move capabilities into the secret-edit component 2018-10-18 14:54:36 -05:00
Matthew Irish
8df0b9942e blue toggle switch 2018-10-18 14:54:35 -05:00
Matthew Irish
988e0174ba less get in secret-edit 2018-10-18 14:54:35 -05:00
Matthew Irish
564942dcc1 fix linting 2018-10-18 14:54:35 -05:00
Matthew Irish
4dce16776f adjust secret-edit component and associated templates to work for v1 and v2 2018-10-18 14:54:35 -05:00
Matthew Irish
33d1f32d51 move secret creation to always be at the root level, and simplify model creation so we're always directly manipulating a model 2018-10-18 14:54:35 -05:00
Matthew Irish
7e295b9b77 finish v2 model layer and add some unit tests for adapters 2018-10-18 14:54:34 -05:00
Matthew Irish
14a410ecf4 fix navigate component 2018-10-18 14:54:34 -05:00
Matthew Irish
f31b7f9ade user correct rule for eol 2018-10-18 14:54:34 -05:00
Matthew Irish
7e09c692b4 move to es5 getter usage for csp service 2018-10-18 14:54:34 -05:00
Matthew Irish
3bd0250fc8 get rid of v2 incomplete warning 2018-10-18 14:54:34 -05:00
Matthew Irish
cae9f6fffe new model things for secret-v2 and secret-v2 versions: get list, queryRecord, and version find working 2018-10-18 14:54:33 -05:00
Matthew Irish
89c6ab6dd6 don't leave new lines on the end of files 2018-10-18 14:54:33 -05:00
madalynrose
34c815b37a
UI: onboarding wizard progress bar (#5516)
Onboarding will now display your progress through the chosen tutorials
2018-10-18 15:19:50 -04:00
Evgeniy Zakharochkin
bad2f6d073 ability to add NAS Identifier header to radius request (#5465) 2018-10-18 13:41:14 -04:00
madalynrose
dfbfe374dd
Licensing in the UI (#5437)
Add licensing to the UI
2018-10-12 15:03:01 -04:00
madalynrose
763d98da80
Wizard tests (#5328)
add integration tests for the ui tutorial
2018-10-12 14:49:06 -04:00
sk4ry
58c6c03398 Add ability to configure the NotBefore property of certificates in role api (#5325)
* Add ability to configure the NotBefore property of certificates in role api

* Update index.html.md

* converting field to time.Duration

* setting default back to 30s

* renaming the parameter not_before_duration to differentiate between the NotBefore datetime on the cert

* Update description
2018-10-02 11:10:43 -04:00
Matthew Irish
eb06ff516b
UI - ent fixes (#5430)
* re-add performancestandycode for health api call

* update debounce timeout for namespace input on the auth page

* re-fetch cluster model on successful init

* 500ms for the debounce

* swap auth methods after successful api call so that the auth box doesn't jump around

* move list capability fetch to namespace component and don't use computed queryRecord to fetch it

* convert ed models to JSON so that they're unaffected by store unloading

* serialize with the id for the auth method models

* speed tests back up with different polling while loop

* login flash isn't in the same run loop so no longer needs withFlash
2018-10-02 10:05:34 -05:00
Matthew Irish
83d4cef45c
UI - token expiration calculation (#5435)
* fix token expiration calculation

* move authenticate to an ember concurrency task

* don't show logged in nav while still on the auth route

* move current tests to integration folder, add unit test for expiration calculation

* fix auth form tests
2018-10-02 08:53:39 -05:00
Matthew Irish
0e5c2c39fe
tweak warning about force promoting replication clusters (#5439) 2018-10-01 16:21:00 -05:00