Commit Graph

1366 Commits

Author SHA1 Message Date
Chelsea Shaw
82378ae232 UI: add pagination to new PKI (#23193) 2023-09-21 23:32:01 +00:00
claire bontempo
8b12698780 UI: Adds tidy_revoked_certs and revoked_cert_deleted_count to PKI tidy status page (#23232)
* add missing params

* add changelog
2023-09-21 14:05:32 -07:00
claire bontempo
8375149004 ui: Add version diff comparison to KV v2 (#23200)
* add diff route

* add version diff toolbar link

* finish functionality of version diff comparison

* add tests

* update empty state message

* update selectors

* wip tests

* finish test

* add empty state test

* switch dropdowns

* add changelog

* add comment
2023-09-21 16:50:08 +00:00
Chelsea Shaw
f2be122957 UI: Show unsupported screen if replication unsupported (#23178) 2023-09-20 09:05:08 -05:00
Kianna
6915edf06d UI: [VAULT-17461] add mount configuration as toggle for pki (#23166) 2023-09-19 22:58:08 +00:00
Chelsea Shaw
cb5084b9e8 UI: cleanup unload model logic (#23154) 2023-09-19 12:47:33 -05:00
Jordan Reimer
a447f3682b Missing Auth Methods (#23165)
* fixes issue with auth methods disappearing from list view

* fixes issue with Authentication Methods sidebar nav link not staying active when mounting auth method

* fixes tests and adds coverage for missing auth methods
2023-09-19 11:35:24 -06:00
Chris van Meer
f5183b0dc9 Vault v1.150.0-rc1 dashboard UI fix (#23105)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2023-09-19 10:27:30 -07:00
Chelsea Shaw
392b907989 KV V2 remove old kv v2 (#22691)
* Remove component: diff version selector

* delete SecretVersionMenu

* remove secret logic from GetCredentialsCard

* remove DiffVersionSelector hbs file and references

* delete more css for diff version view

* remove diff route

* fix credential card selector

* ui: refactor SecretFormShow (#22723)

* refactor secret form show

* fix selector typo

* remove version route (#22738)

* Remove old KV2 delete things (#23015)

* remove kv2 old delete things

* comment

* Remove old metadata (#22747)

* wip to remove metadata

* review comments

* UI/remove kv2 secret create or update (#23039)

* remove is v2 param

* permissions clean up

* remove version things

* remove excess from form show

* clean up

* created time was never a thing for cubbyhole, confirmed on api

* update tune test

* fix control group tests:

* Remove kv v2 models (#23087)

* remove is v2 param

* permissions clean up

* remove version things

* remove excess from form show

* clean up

* created time was never a thing for cubbyhole, confirmed on api

* update tune test

* fix control group tests:

* remove models

* Update ui/app/models/secret-engine.js

Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>

* blah prettier

---------

Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>

* UI/config update (#23111)

* sweep through clean up

* remove component

* remove unused selectors

* remove unncessary

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com>
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
Co-authored-by: Angel Garbarino <angel@hashicorp.com>
2023-09-19 09:49:04 -06:00
Chelsea Shaw
e48a57c5ce UI: Use TTL editType for format=duration from OpenAPI (#23124) 2023-09-18 21:28:15 +00:00
malinac02
79b2f09715 UI: HDS adoption replace <CopyButton> component (#22333)
* Part 1: Upgrade HDS to 2.9.0 (#22311)

* UI: HDS adoption replace <CopyButton> part 2 (#22356)

* certificate-card.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* scope-form.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* fix tests caused by changing certificate-card. change hds copy button in certificate-card.hbs

* json-editor.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* masked-input.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* fix error with certificate-card.hbs copy button

* fix tests that deal with certificate-card.hbs

* add class to hds copy buttons to maintain similar styling to curent UI

* info-table-row.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* undo change that should instead by merged in from main

* change tooltip copy button to white. cleanup

* add extra tet for oidc scope form. edit css class for the white icon copy button

* fix tests

* UI: HDS adoption replace <CopyButton> part 3 (#22614)

* encrypt.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* decrypt.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* datakey.hbs. replace 6 <CopyButton> with <Hds::Copy::Button>

* rewrap.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* hmac.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* fix typo

* add copy-close class to copy & close buttons

* export.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>. fix styling

* sign.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* fix test caused by changing <pre> tag to <code> in export.hbs

* rename class

* add extra style to class needed for part 4 of copy button replacement

* UI: HDS adoption replace <CopyButton> part 4 (#22749)

* user-menu.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* transit-form-show.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* configure-ssh-secret.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* tool-hash.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* tool-random.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* tool-rewrap.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* tool-unwrap.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* tool-wrap.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* paths.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* code-snippet.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* cleanup css for code-snippet. add comments for getting rid of code-snippet and replacing with <Hds::Copy::Snippet

* change code-snippet copy icon to gray to match original design

* change code-snippet class

* accounts.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* hover-copy-button.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* add.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* show.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* copy-secret-dropdown.hbs: replace 1 <CopyButton> with <Hds::Copy::Button>

* change styling of 'link' copy buttons

* generate-credentials.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* transform-show-transformation.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* sign.hbs: replace 2 <CopyButton> with <Hds::Copy::Button>

* hide some copy buttons' icons and use original flash message

* undo cleanup of scss file so that I can put cleanup all into one PR to be more organized

* update code snippet copy button

* UI: HDS adoption replace <CopyButton> part 5: Cleanup (#22884)

* remove unecessary code-snippet.scssn class

* remove copy classes from masked-input.scss

* remove copy button class from text-file.scss

* uninstall ember-cli-clipboard 0.16.0 since there is no longer structure <CopyButton>

* remove copyright message from code-snippet.scss to avoid merge conflicts with main, where the file is deleted

* replace 2 classes with one

* remove unecessary class from copy button

* cleanup classes

* revert changes to avoid merge conflicts

* remove is-block class

* conditionally render private key

* add more info to comment

* remove HoverCopyButton

* add missing selector

* fix control group padding

---------

Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* rename class to transparent background

* remove unused test selectors

* replace transit actions with Copy::Snippet

* replace transfrom code blocks with code snippet component

* revert extra css fiddling

* misc cleanup, unused action

* remove copy & close buttons from transit modals

* remove is- from class naming

* remove hds-copy-button class

* add other grey class

* more small cleanup

* add -top to margin

* add changelog

---------

Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-09-15 23:46:10 +00:00
Kianna
d939a20310 UI: [VAULT-18178] Fix filter/search bug in search secrets engines (#23123) 2023-09-15 22:03:17 +00:00
Jordan Reimer
824065b3ab fixes styling issue in json editor toolbar (#23120) 2023-09-15 21:40:18 +00:00
Chelsea Shaw
3f9b6075aa UI: add SSH role attribute allowed_domains_template (#23119) 2023-09-15 21:35:02 +00:00
Chelsea Shaw
e17a14d6b0 UI: Correctly handle error from errorResponseWithStatusCode helper (#23102) 2023-09-15 18:18:49 +00:00
Jordan Reimer
111d472839 updates ember template lint config to override prettier in tests and removes ignore (#23108) 2023-09-15 10:41:05 -06:00
Kianna
71808c00ec UI: [VAULT-19982] confirm delete modal for namespaces (#23066) 2023-09-14 12:19:35 -07:00
Jordan Reimer
b03300689a updates file-to-array-buffer component to glimmer and fixes flaky issue in test runs (#23081) 2023-09-14 12:41:09 -06:00
Kianna
e5d2b2b842 UI: [VAULT-19340] update test selectors for dashboard (#23053) 2023-09-14 11:29:25 -07:00
Chelsea Shaw
52f8f0ddba UI: Handle control group error on SSH (#23025)
* Handle control group error on SSH

* Add changelog
2023-09-12 21:01:52 +00:00
Chelsea Shaw
de1382e99b UI: Fix empty item on kv list (#22838) 2023-09-12 17:01:57 +00:00
claire bontempo
ab68f42234 encode namespace for API paths (#22962) 2023-09-12 09:03:59 -07:00
claire bontempo
112501a3f6 ui: More transit flakiness (#22969)
* fix group name typos

* add flaky note and cleanup generate function

* rename variable

* remove other test for other key types

* move key types to relevant test
2023-09-12 09:03:31 -07:00
Kianna
249d8d7b52 UI: [VAULT-18040] List all features in license info (#22855) 2023-09-12 08:48:15 -07:00
Jordan Reimer
8f6535cfaf LDAP Roles Pagination (#22985)
* adds pagination to ldap roles list view

* fixes issue with list not refreshing on ldap roles delete
2023-09-12 09:38:26 -06:00
Angel Garbarino
adaef9deb8 remove test failure which cannot be checked anymore consistently due to removal of logout login. (#22978) 2023-09-11 16:02:56 -06:00
Angel Garbarino
6a7345a100 small fix: (#22976) 2023-09-11 15:43:02 -06:00
Jordan Reimer
4bcd4db765 adds mount config details to kubernetes configuration view (#22926)
* adds mount config details to kubernetes configuration view

* adds changelog entry
2023-09-08 15:18:54 -06:00
malinac02
e66fcf794e fix styling on masked input when viewing kmip credentials (#22887) 2023-09-08 11:45:53 -07:00
Jordan Reimer
b6cce58e57 Code Snippet Updates (#22917)
* updates code-snippet component styling and adds it to ldap library accounts view

* adds comment back in to code-snippet template
2023-09-08 11:46:31 -06:00
Austin Gebauer
21bd134ad2 ui: adds a new auth form option (#22640)
* ui: adds a new auth form option

* add warning if nonsecure context, cleanup

* more ember-y

* Only show saml auth method for enterprise, plus tests

* Use error message helper

* Dont include saml on community auth list

* Add allSupportedAuthBackends method

* change token request from GET to PUT to match backend change

* Fetch role on sign in, cancel login after timeout

* saml acceptance test

* Add changelog

* saml test only on enterprise

* set the acs_url according to which cluster the UI is served from

* prepare namespace in addition to path with a helper func

---------

Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
2023-09-08 08:53:26 -07:00
Chelsea Shaw
3ae94183bf UI: Namespace validation update (#22820) 2023-09-08 10:02:52 -05:00
Jordan Reimer
8f9bf0c623 fixes ldap overview card layout on smaller viewports (#22882) 2023-09-08 08:40:11 -06:00
Angel Garbarino
7556dfd158 Fix KV bug on deletion_time (#22842)
* the fix

* working, but work in progress maybe change to another helper, put draft up?

* some fixes and restructing

* change names

* test assert wrong locally, lets see about gh
2023-09-07 15:09:33 -06:00
Jordan Reimer
cbc567895c moves ldap role credentials error handling within credentials route (#22870) 2023-09-07 20:28:27 +00:00
Jordan Reimer
62b1e39acc fixes issue checking in ldap library account from overview (#22853) 2023-09-07 11:57:37 -06:00
Jordan Reimer
17f5aeb0a1 disables ldap library and role name fields when editing (#22849) 2023-09-07 09:51:17 -06:00
Jordan Reimer
18101d3514 fixes issue using removeObject on array proxy when deleting ldap libraries and roles (#22844) 2023-09-07 08:53:19 -06:00
Jordan Reimer
068a57c204 Form Field Tooltip Alignment (#22832)
* fixes alignment issues with form field labels that have tooltips

* adds gap to is-label to preserve tooltip spacing

* adds changelog entry
2023-09-06 22:14:17 +00:00
Chelsea Shaw
2ca784ad11 UI: Show error if tool action is not recognized (#22821) 2023-09-06 15:29:35 -05:00
Kianna
00331b742e UI: [VAULT-19478] Fix info table row value overflow (#22776) 2023-09-05 14:52:14 -07:00
Kianna
2cd8f59845 [VAULT-19341] convert secrets engines, learn more to ts and fix date bug (#22762) 2023-09-05 14:44:20 -07:00
Angel Garbarino
83216b54c0 make change and change test (#22773) 2023-09-05 14:06:24 -06:00
Cinthia Conti
fcd6f01761 UI: [VAULT-18126] adding style to prevent namespace to overflow on sidebar (#22733)
* adding style to prevent namespace to overflow

* adding helper css classes

* adding changelog entry

* removing namespace-name class in favour of helper classes

* style cleanup

* removing identation
2023-09-05 11:04:08 -04:00
Angel Garbarino
18d694fd06 KV - no list permissions error catch (#22670)
* initial fix. need to clear out local storage to see it work.

* first draft

* clean up

* test fix

* add test coverage

* pairing to do clean up

* update tests
2023-09-01 09:27:36 -06:00
Chelsea Shaw
8da06f9b54 UI: Update kv list filter to not search on type (#22648) 2023-08-31 21:30:00 +00:00
Angel Garbarino
50bad8c035 add missing adapter test and handle the kv/metadata currentSecret getter (#22700) 2023-08-31 13:57:23 -06:00
Kianna
1dfd57e26d UI: [VAULT-19560] Add empty states and tests (#22690) 2023-08-31 12:12:20 -07:00
claire bontempo
173b007b02 ui: Refreshes parent route to fix secret state discrepancies within a namespace for kv v2 (#22681)
* move json toggle action to template

* add test for version dropdown problem

* refactor write secret to allow for namespaces

* consolidate transition functions

* refresh model for certain routes

* add destroy assertion

* rename variables

* remove dataset clearing from details component
2023-08-31 18:05:52 +00:00
claire bontempo
1d273d6b3e ui: unskip mount engine transition tests (#22693)
* unskip mount backend transition tests

* address comment

* add enterprise tests
2023-08-31 11:01:17 -07:00