Commit Graph

1313 Commits

Author SHA1 Message Date
Kianna
2b51e09bda UI: Add copyright header to swagger-ui-test (#23843)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2023-10-27 09:37:15 -07:00
Jordan Reimer
0e36973825 attempts to fix flaky namespace test (#23867) 2023-10-26 15:41:11 -06:00
Chelsea Shaw
d562cd50dc UI: fix changelog anchor (#23821) 2023-10-25 17:41:52 +00:00
Chelsea Shaw
080538fd19 Add copyright headers to reset-password code (#23822) 2023-10-25 12:24:16 -05:00
Angel Garbarino
6de5b2fb3c Update packages and OpenApi styling (#23700)
* update packages

* changelog

* wip better

* clean up

* and it works, it always worked we just hid it working :/

* clean up

* playing around with adding the queryparam, not working

* the fix no queryparams

* lets just see how this works out.

* maybe this will help

* remove copy/pasta

* Update ui/lib/open-api-explorer/addon/components/swagger-ui.js

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-10-25 17:06:06 +00:00
Chelsea Shaw
3fdb3bec85 UI: mirage endpoints for reduced disclosure (#23807) 2023-10-24 15:51:31 -05:00
Chelsea Shaw
3337035de7 UI: Clean up date-format and tests (#23799) 2023-10-24 20:46:59 +00:00
Chelsea Shaw
b7708875e1 UI: Allow userpass user to update their own password (#23797) 2023-10-24 20:01:30 +00:00
Jordan Reimer
dff1d5d443 fixes flaky policies test (#23798) 2023-10-23 15:08:24 -06:00
Hamid Ghaf
4281487b07 run copywrite headers (#23788) 2023-10-23 15:53:56 +00:00
claire bontempo
a5b60cd8cc UI: move selectable card to add-on (#23739)
* remove title-number class and consolidate border radius

* move selectable card to core addon

* add top padding to db cards

* update transform icon color

* new selectable card component

* fix db test

* use selectable card in mount backend form

* fix query param for overview card

* update tests

* fix replication card styling

* make card accessible;

* update tabindex

* change to standalone for error handling

* update test selector

* update tests

* go back to number only css class

* fix on click tests

* add changelog

* update class name in template file

* delete box radio
2023-10-20 15:10:49 -07:00
claire bontempo
6ac6030cb3 UI: check path change against all mountable backends (#23749)
* reset path when user clicks back from mount backend form

* update test
2023-10-20 09:06:43 -07:00
modrake
eca4b4d801 Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
Jordan Reimer
01d5d1dc3a KV Download Value Stringify Toggle (#23747)
* adds stringify toggle to masked-input download modal

* updates stringify toggle copy and adds a test

* adds changelog entry
2023-10-20 08:56:14 -06:00
Chelsea Shaw
13523b5a69 UI: Show token expiring warning (#23143) 2023-10-20 14:28:02 +00:00
Chelsea Shaw
0c59d51e3a UI: Replace buttons for HDS in component templates (#23698) 2023-10-20 14:23:55 +00:00
Chelsea Shaw
07d72c842e UI: OpenAPI test coverage (#23583) 2023-10-19 09:59:12 -05:00
Chelsea Shaw
199c04f612 Add banner for when resultant-acl check fails (#23503) 2023-10-18 21:51:36 +00:00
Jordan Reimer
a31b029cf5 Dashboard TLS Configuration Details Bug (#23726)
* fixes issues displaying accurate tls state in dashboard configuration details

* adds changelog entry

* updates tls getter to look for falsy in configuration details card
2023-10-18 15:47:54 -06:00
Chelsea Shaw
5b016c2525 UI: replace wizard buttons (#23711) 2023-10-18 11:55:34 -05:00
Jordan Reimer
43afcd7529 KV Key Whitespace Warning (#23702)
* adds warning for kv key that contains whitespace

* adds changelog entry
2023-10-17 15:36:35 -06:00
Kianna
7a93c8fd66 UI: [VAULT-20186] decode uri for all attributes in the table (#23695) 2023-10-17 10:38:00 -07:00
claire bontempo
8d326c2351 ui: doc-link helper (#23689)
* doc-link helper

* add assertion
2023-10-17 09:35:20 -05:00
Angel Garbarino
27170b662d Replace KV v2 List route with wildcard instead of dynamic segment (#23620)
* initial work on the LIST route.

* fix

* changelog

* add s

* add in prepending forward slash
2023-10-13 11:01:23 -06:00
Jordan Reimer
b0ce08bb4b Button Conversion Part 1 (#23633)
* adds codemod for transforming button element to hds component

* runs button codemod on kmip and kubernetes enginges

* manully updates kuberenetes roles button

* runs button codemod on ldap engine

* manually updates remaining ldap buttons

* updates button codemod to check if all child nodes were included in text arg construction

* runs button codemod on kv engine

* adds comment for future kv button update

* Update ui/lib/kv/addon/components/page/secret/details.hbs

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

* updates remaining instance of toolbar-link class on button and adds class name transform to button codemod

* adds display inline override to hds button

* updates hds button display override to inline-flex

* updates ldap account check in button to tertiary

* updates ldap library check out icon to tertiary and adds icon

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-10-13 09:38:57 -06:00
Angel Garbarino
e277571c37 Upgrade to HDS 2.13.0 (#23580)
* upgrade

* add changelog

* Update changelog/23580.txt

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

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-10-12 17:34:38 +00:00
claire bontempo
9c1898578f UI: prep for running button codemod (#23628)
* replace buttons with tabs

* update console buttons

* update ssh role item buttons

* remove tracked variable

* more tab cleanup

* remove unwrapActiveTab variable

* fix button control

* fix search select with modal test
2023-10-12 05:44:28 +00:00
Kianna
f1554425c3 UI: [VAULT-19783] Set up root token warning modal (#23277) 2023-10-12 01:36:59 +00:00
claire bontempo
feeda224c8 UI: Add version 1 if KV engine has no version data (#23585)
* add logic to add version 1

* add comments

* add changelog

* add test

* remove redundant backend check
2023-10-11 18:04:31 +00:00
Angel Garbarino
f144d1be54 Fix OktaNumberChallenge (#23565)
* remove arg

* changelog
2023-10-11 09:12:44 -06:00
Angel Garbarino
9d52e08e72 Fix failing transform modal test (#23589)
* fix

* remove all other hds-modal class in tests
2023-10-10 18:34:24 +00:00
Kianna
61f8aff24b UI: Fix failing dashboard tests (#23562) 2023-10-06 23:10:10 +00:00
claire bontempo
43258c28fa UI: HDS adoption replace <Modal> (#23382)
* UI: Part 1 - hds adoption replace <Modal> (#23363)

* replace policy-form modal

* replace clients/attribution modal

* clients/config modal

* scope form odal

* remove button type

* include toolbar to match other example templates

* rotate credentials modal

* add toolbar button class for hds buttons

* transformation-edit modal

* add back test selector

* add route arg to button!

* update link status

* fix link-status tests

* remove prevent default

* update db tests

* update tests

* use page alert for hcp link status banner

* fix scopy button selector

* fix sidebar test

* change to neutral banner

* UI: Part 2 - hds adoption replace <Modal>  (#23398)

* upgrade HDS library (adds support for snippet containers

* cleanup flight icons

* replace transit key action modals

* re-add deps as devDeps

* remove line

* address transit tests

* UI: Part 3 - hds adoption replace <Modal> (#23415)

* cleanup css

* cleanup extra type attr

* masked input download modal

* use Hds::Button in  download button"

* fix size of modal

* tiny icon fix

* refactor download button to always render download icon

* update tests

* UI: Part 3.5 - hds adoption replace <Modal> (#23448)

* replication-promote modal

* replication component modals

* replication add secondary modal

* move update text for diff

* UI: Part 4 - hds adoption replace <Modal>  (#23451)

* k8 configure modal

* kv delete modal

* ldap modals

* pki modals

* add trash icon

* move deps

* UI: Part 5 - hds adoption replace <Modal> (#23471)

* replace confirmation modals
---------

* UI: Part 6 - hds adoption replace <Modal>  (#23484)

* search select with modal

* policy search select modal

* replace date dropdown for client dashboard

* change padding to top

* update policy example args

* lolllll test typo wow

* update dropdown tests

* shamir flow modals!

* add one more container

* update test selectors

* UI: Final hds adoption replace <Modal> cleanup PR (#23522)

* search select with modal

* policy search select modal

* replace date dropdown for client dashboard

* change padding to top

* update policy example args

* lolllll test typo wow

* update dropdown tests

* shamir flow modals!

* add one more container

* update test selectors

* remove wormhole and modal component

* fix selectors

* uninstall wormhole

* remove shamir-modal-flow class

* fix confirm modal test

* fix pki and kv test

* fix toolbar selector kv

* client and download button test

* fix-confirmation-modal-padding

* fix replication modal tests so relevant modal opens (#23540)

* more confirmation modal tests

* adds changelog
2023-10-06 22:06:36 +00:00
Jordan Reimer
cbb96b230c Policies Error Route (#23516)
* adds error route for policies

* adds changelog entry
2023-10-05 09:29:20 -06:00
Chelsea Shaw
be05b3b961 UI: sanitize managed namespace input (#23449) 2023-10-04 13:42:04 -05:00
Angel Garbarino
1fdf56d2b1 Fix Copy token button when sidebar navigation is in a collapsed state due to a small window size (#23331)
* one line fix

* changelog
2023-10-03 18:02:14 -06:00
Angel Garbarino
9774cb0d05 Allow AWS secret engine to send empty policy document (#23470)
* fix

* changelog
2023-10-03 10:59:52 -07:00
Kianna
ed76e17766 UI: [VAULT-19693] Only make vault configuration call when in root namespace (#23394) 2023-10-03 16:12:50 +00:00
Kianna
c2952e3f44 UI: [VAULT-20626] Hide replication if user doesnt have permissions (#23452) 2023-10-03 08:54:21 -07:00
Angel Garbarino
32059ab250 Bug fix for double slash in LIST endpoint (#23446)
* the fix

* changelog
2023-10-02 14:36:58 -06:00
Angel Garbarino
25d32cbac5 UI: HDS adoption replace <PaginationControls> component (#23317)
* use on change method to change out pagination controls

* remove old paginationControls
2023-09-28 12:49:11 -06:00
claire bontempo
09a2a6053b UI: Move pagination outside of {{each}} conditional (#23360)
* move-pagination outside each block

* hide pagination if filtering from toolbar

* move pagination outside each block in leases list
2023-09-28 08:52:18 -07:00
claire bontempo
25985e76bf U: preparation for HDS adoption to replace <Modal> (#23353)
* add autoRefresh to codemirror

* fix codemirror arg

* move scroll to body to accommodate hds mdoals
2023-09-27 18:21:25 -05:00
Angel Garbarino
7356f3aae0 move pagination inside logical statement with items (#23308) 2023-09-27 09:49:59 -06:00
claire bontempo
ef727eafde UI: Policy JSON Editor Toolbar Styling Fix (#23297) 2023-09-26 15:14:57 -07:00
Angel Garbarino
6db476da41 UI: HDS adoption replace <ListPagination> component (#23169)
* change currentPage to page to be consistent

* replace pagination in listview and always show pagination

* wip

* fix query param issue

* access identity aliases index

* leases done and dusted

* policies and secrets backend

* remove list Pagination

* changelog
2023-09-26 16:27:14 +00:00
claire bontempo
88ed074287 UI: add warning before downloading secret data (#23260)
* add confirm modal for downloading masked data

* close modal if user clicks download

* add changelog;

* pass onSuccess function instead

* only render modal on DOM if download is allowed
2023-09-22 20:19:38 +00:00
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