Commit Graph

89 Commits

Author SHA1 Message Date
Matthew Irish
7cab74ca01
UI - kv v2 graceful degrade (#5879)
* turns out sourcemaps are useful

* add test for restricted policy in kv v2

* only include version param on fetch if it's encoded in the id

* rename some vars for clarity and use model.id when persisting a secret

* fix delete attributes on the models

* allow data edit when there's metadata access is disallowed

* add tests for edit with restricted policy

* hide metadata fields if you can't edit them
2018-12-03 08:22:13 -06:00
Matthew Irish
9da4c73026
UI - Correct the DR token command (#5857)
* fix dr-token generation token command

* inject version service in the status menu so we can hide the license link in the status menu
2018-11-27 17:05:34 -06:00
Noelle Daley
10cd6bb8b9 replace moment.js with date-fns 2018-11-20 15:15:52 -08:00
Matthew Irish
767f35e10e
UI secondary dr recovery token fix (#5818)
* use the OTP that the server provides instead of generating one in the JS client

* fix button styling

* differentiate between OTP and encoded token and encrypted token in the template
2018-11-19 15:14:24 -06:00
Matthew Irish
1036b29890 pass emptyActions through list view component and render into EmptyState 2018-11-15 16:48:28 -06:00
Matthew Irish
98ccba4acf lint 2018-11-15 16:48:13 -06:00
Matthew Irish
5f71ee9940 use outer-html component as a base for empty state 2018-11-15 16:48:00 -06:00
Matthew Irish
c4c987ee19 add learn link component 2018-11-15 16:47:57 -06:00
Joshua Ogle
1bf4886cb4 Fix prettier style on List View test 2018-11-15 16:47:53 -06:00
Joshua Ogle
4767923a8f Better empty state copy 2018-11-15 16:47:50 -06:00
Joshua Ogle
f6924209c3 Remove old BlockEmpty component 2018-11-15 16:47:44 -06:00
Joshua Ogle
865d10e3d3 Add Empty State component 2018-11-15 16:47:41 -06:00
madalynrose
5fcd87a07f
Add Response Wrapping For Secrets (#5664) 2018-11-12 11:27:06 -05:00
Noelle Daley
7e0837ef63 add disable secrets engine button 2018-11-09 14:52:06 -08:00
Matthew Irish
be33d6580b
UI - new token renew banner (#5662)
* move warning banner out of token-expire-warning and into user menu
* check renewal status every 5s, and resume auto-renew if a user becomes active again
* use a link in the token-expire-warning
* add test for new expiration functionality
* fix license test
* use features helper in license test
* fix import
* use yarn 1.12.1
* remove mirage
* skip some tests for now
* use eslintignore
* logout after auth tests
* use new alert-banner for auth info warning
* add data-test selector back
* move identity back to a button, and style button.link
* make the warning message the right color
* fix shamir test
* review feedback
2018-11-05 10:56:59 -06:00
Joshua Ogle
a4c693014b
Merge pull request #5672 from hashicorp/ui-alerts-update
UI: Update banner and popup alerts
2018-11-02 14:14:30 -06:00
Joshua Ogle
b642b6a78c Add Inline Alert component 2018-11-02 11:21:15 -06:00
Matthew Irish
730063b656
ui kv routing fix (#5650)
* fix passing initialKey to the top level secret create page

* add service that uses the private routing service because of various bugs

* make custom router service more like the bundled router service

* clear the store cache when the model changes
2018-11-02 12:03:46 -05:00
Joshua Ogle
e768e6a596 Style popup alerts 2018-11-02 09:37:31 -06:00
Joshua Ogle
c5a250f1d5 Style Alert Banners 2018-11-02 09:22:22 -06:00
madalynrose
bd55a623a1
fix bug where json editing doesn't save properly for secrets (#5660) 2018-10-31 18:37:23 -04:00
Matthew Irish
7e339b117c
UI - New navbar and mount icons everywhere (#778)
New look for the navbar and new functionality on mobile. Also includes new look for the mounts list and headers in secret engines.
2018-10-21 14:19:34 -05:00
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
Matthew Irish
e01d050528 isPending not isLoading 2018-10-18 15:11:26 -05:00
Matthew Irish
24b0e2df7b check capabilities for version actions 2018-10-18 14:55:52 -05:00
Matthew Irish
963c863157 fix tests 2018-10-18 14:55:51 -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
077f366954 use model dirty tracking to track changes 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
5d3c576b80 make delete, destory, undelete work via the ui 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
d057ba1a5d move capabilities into the secret-edit component 2018-10-18 14:54:36 -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
14a410ecf4 fix navigate component 2018-10-18 14:54:34 -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
madalynrose
dfbfe374dd
Licensing in the UI (#5437)
Add licensing to the UI
2018-10-12 15:03:01 -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
a863af5c26
ui - add force option when promoting a replication secondary (#5438) 2018-10-01 15:58:43 -05:00
Matthew Irish
bf3d2185c4
UI aws engine tweaks (#5294)
* allow passing a path for options so that it can be extracted from the model

* add cred type selector for the aws generate form

* style hint text on generate creds form

* add tests for aws-credential adapter

* allow for the case where we might have zero ttl

* show error for TTL picker if a non-number is entered for the duration part of the TTL

* fix positioning of tooltips

* fix ttl rendering with invalid input for initialValue
2018-09-28 16:45:30 -05:00
Matthew Irish
6f89952767
Ember update (#5386)
Ember update - update ember-cli, ember-data, and ember to 3.4 series
2018-09-25 11:28:26 -05:00
Matthew Irish
6f309304a8
ui - fix auth form so that it will preference path'd auth methods instead of token (#5281) 2018-09-05 14:28:10 -05:00
Matthew Irish
4bca5689c7
UI - azure secrets alicloud auth (#5278)
* add alicloud auth method in the UI along with onboarding component

* hide dismiss menu on tutorial paused state

* add ability to enable azure secrets engine
2018-09-05 11:21:29 -05:00
Matthew Irish
11377636bd
UI - don't coerce JSON input to an Object (#5271)
* have fromJSON throw if trying to convert non-object to a KVObject

* catch the fromJSON error in secret-edit, display an error, and disabled the submit button
2018-09-05 11:07:39 -05:00
Joshua Ogle
67ce775ba5 Address PR feedback for Guide style updates 2018-09-04 13:15:14 -06:00
madalynrose
f913d4c1d7 UI Onboarding Wizards (#5196) 2018-08-28 00:03:55 -05:00