Commit Graph

972 Commits

Author SHA1 Message Date
Chelsea Shaw
cdca4e831d UI: Add transform for handling listing visibility (#20284) 2023-08-25 10:02:31 -05:00
Kianna
8835514e76 UI: [VAULT-12979] Dashboard Landing Page (#21057)
Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com>
Co-authored-by: Angel Garbarino <angel@hashicorp.com>
2023-08-24 13:30:45 -07:00
Angel Garbarino
e2cadfc9ff Create KV V2 Ember Engine (#22426) 2023-08-24 10:02:53 -05:00
Chelsea Shaw
0f8bde72a9 UI: Fix blank secret on KV create > cancel (#22541) 2023-08-23 22:45:45 +00:00
Chelsea Shaw
dd43e0db2f UI: Allow navigate to list from View Secret card (#22502) 2023-08-23 20:45:50 +00:00
claire bontempo
e4ce8729fd UI: code snippet component (#22518)
* VAULT-14763 make code snippet component

* export component

* add hds helper comment
2023-08-22 16:36:51 -07:00
Chelsea Shaw
822fc751ba UI: Fix Expected a stable identifier error when leaving & reentering a route (#22483) 2023-08-21 17:01:34 -05:00
Chelsea Shaw
2a4dbc197f UI: Enable KV create secret with Control Group (#22471) 2023-08-21 21:17:19 +00:00
claire bontempo
2c6a3e72d5 UI: remove default setting for max_versions in kv metadata (#22394)
* remove default setting for max versions - leave unset with a value of 0

* add changelog
2023-08-17 09:47:35 -07:00
Jordan Reimer
ce4b2675b1 Revoke Token Confirmation Text Fix (#22390)
* fixes text in revoke token modal

* adds changelog entry
2023-08-16 15:39:13 -06:00
korhojoa
39b09b3540 Correct doctype (#22153)
* Correct doctype

This is not a valid doctype, the 'lang' belongs to the html element.

* Create 22153.txt

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-08-15 19:00:29 +00:00
Tanmay Pereira Naik
2269369229 docs: Update outdated vaultproject.io/docs/ links (#22162)
Signed-off-by: Tanmay Pereira Naik <59953366+tanmay-pnaik@users.noreply.github.com>
Co-authored-by: Brian Shumate <brianshumate@users.noreply.github.com>
2023-08-15 12:59:34 -04:00
Chelsea Shaw
b422f3820d UI: fix/simplify linting config (#22310) 2023-08-14 21:14:41 +00:00
hashicorp-copywrite[bot]
0b12cdcfd1 [COMPLIANCE] License changes (#22290)
* Adding explicit MPL license for sub-package.

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Adding explicit MPL license for sub-package.

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Updating the license from MPL to Business Source License.

Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl.

* add missing license headers

* Update copyright file headers to BUS-1.1

* Fix test that expected exact offset on hcl file

---------

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Sarah Thompson <sthompson@hashicorp.com>
Co-authored-by: Brian Kassouf <bkassouf@hashicorp.com>
2023-08-10 18:14:03 -07:00
malinac02
bfe89a40da Display CertificateCard instead of MaskedInput for certificates in PKI (#22160)
* replaced each instance of MaskedInput in PKI with CertificateCard

* modify tests for pki-generate-csr

* add test for pki-issuer-details. modify test for pki-certificate-details

* added test for pki-key-details. modified test for pki-sign-intermediate-form

* update 2 test helper files and modify test for pki-issuer-rotate-root

* update test for certificate-card-test.js, update test for the kubernetes configuration-test.js

* modify pki-action-forms-test.js to no longer look for masked input. expand test for pki-issuer-details-test.js to check for all issuer details

* change CertificateCard to show different format types (PEM, DER, nothing) depending on the value provided. update 2 test files to account for this.

* change CertificateCard arg name from @certficateValue to @data to be more inclusive of different uses of CertificateCard (i.e when used for a private key, not a certificate). add description to certificate-card.js

* change naming for attr.options.masked to attr.options.displayCard to reflect the change from MaskedInput to CertificateCard

* add changelog

* change attribute to isCertificate to better fit the title of the component CertificateCard. edit pki-certificate-details.hbs to get rid of extraneous code
2023-08-10 16:48:48 -07:00
Kianna
bfef207711 UI: Add missing allowed_user_ids to role form in PKI (#22191) 2023-08-08 09:58:57 -07:00
claire bontempo
58bb5f0eb1 add ends in slash validator (#22218) 2023-08-07 12:31:57 -07:00
Chelsea Shaw
8731cee07a UI: Upgrade to Ember 4.12 (#22122) 2023-08-01 14:02:21 -05:00
malinac02
7e6bb1fb7c UI: Display minus icon for empty MaskedInput value. Show MaskedInput for KV secrets without values (#22039)
* changed MaskedInput to show a minus icon when there is no value. changed SecretFormShow to show this MaskedInput with minus icon instead of showing just a minus icon

* fixed copy button for blank value in MaskedInput; added changelog

* reword changelog to be more concise

* added test to check if minus icon shows for MaskedInput when value is empty string

* edited a test to make sytnax more concise

* changed MaskedInput to show 'danger' message when copying empty value

* added 2 tests to check for flash messages

* changed naming of a MaskedInput test to be more descriptive
2023-07-31 12:29:43 -07:00
malinac02
97d58e19f3 UI: Small styling fix for viewing certificate in kubernetes configuration (#21958)
* created KubernetesCertificate component, moved functionality from configuration.hbs to kubernetes-certificate.hbs, added .scss file, fixed bug in the certificate

* change new component name from KubernetesCertificate to CertificateCard

* switched to using Hds::Card in certificate-card.hbs. Added additional padding class to spacing.scss

* added tests for the CertificateCard in certificate-card-test.js

* added changelog and copyright header

* change naming on CSS class

* changed param name used in CertificateCard to be more generic. removed one class from certificate-card.scss

* changed width of CertificateCard by adding helper class to layout.scss. removed component stylesheet for CertificateCard
2023-07-24 09:55:29 -07:00
malinac02
a4f67a6b2b UI: Add example modal to policy form (#21583)
* created new JsonTemplate component

* used JsonTemplate in modal PolicyTemplate to replace code there

* renamed component and fixed when the editor content shows up

* changed PolicyForm to render example modal only conditionally. added desription to policy-example.js

* fixed bug in policy-example.js & edited description of that file, removed functionality from policy-template.js (it is already in policy-example.js)

* changed margin on text to better match Figma design, added example modal for when editing a policy

* added tests for PolicyExample in policy-example-tests

* added PolicyForm tests for (1) cancelling the creation/edit of policy and (2) properly rendering the policy example modal

* add changelog

* clean up code by removing unnecessary comments

* changed a conditional in policy-form.hbs for better readability (Kianna's comment)

* fixed description in policy-example.js, changed wording for RGP example, changed wording in policy-form-test.js

* added 2 more asserts in policy-form-test.js. Changed some naming for selectors in the test file

* added EGP policy to PolicyExample component, moved some functionality from .hbs to .js file and vise versa

* added tests to policy-exammple-test.js and policy-form-test.js to account for new EGP policy

* simplified all PolicyExample tests in policy-exmaple-test.js

* removed beforeEach hook in policy-exmaple-test.js
2023-07-20 09:59:52 -07:00
Chelsea Shaw
ad3316fe2f UI: remodel shamir flow (#21871) 2023-07-19 23:57:37 +00:00
claire bontempo
96bb634422 UI: catch error when verifying certificates with unsupported signature algorithms (#21926)
* wrap verify in a try..catch

* add tests

* add comments and one more test

* add test coverage

* add changelog

* remove link
2023-07-19 00:16:52 +00:00
Laurent
366693c78d Add a parameter to allow ExtKeyUsage field usage from a role within ACME (#21702)
* imprv: Add a parameter to allow ExtKeyUsage field usage from a role

* chore: Add the changelog entry

* imprv: Reword UI and changelog

* doc: Add allow_role_extkeyusage in parameter list

* imprv: Align variable names with existing fields/codebase

* Add unit test and tweak some labels

---------

Co-authored-by: Steve Clark <steven.clark@hashicorp.com>
2023-07-17 09:31:13 -04:00
Chelsea Shaw
88ca498fb4 UI/utils cleanup (#21863)
* key-utils: create core addon and tests

* key-util: remove lib/key-utils and replace all imports with core util
2023-07-14 14:45:57 -05:00
Angel Garbarino
8834e4d16b Add empty state when there are no MFA enforcement targets (#21783)
* add empty state message for when there are no targets

* Update emptystate message

* amend
2023-07-14 17:02:23 +00:00
malinac02
b543d534a7 UI: Fix styling for username input when editing a user (#21771)
* changed form-field-groups.hbs to show a disabled text book for username when editing a user

* reverted the change in form-field-groups.hbs. Instead changed the CSS for readonly to match the CSS of disabled in inputs.scss

* changed readonly input styling in inputs.scss in accordance with new design for readonly input

* added changelog
2023-07-13 11:28:20 -07:00
Chelsea Shaw
5a4e95db62 UI: Fix SSH role edit clearing out object values (#21739)
* Remove logic that skips sending object if not changed

* Add changelog
2023-07-11 10:28:02 -05:00
Chelsea Shaw
863945353d UI: Fix enterprise test (#21737) 2023-07-11 08:57:06 -05:00
Jordan Reimer
96fd024d15 adds fixed height to error-icon class to fix another safari style bug with stretched icons (#21678) 2023-07-07 13:03:43 -06:00
Angel Garbarino
9c8a7422ad Bug Fix: Surface Error for when cookie settings prevent localStorage (#21503)
* initial fix

* changelog

* clean up

---------

Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-07-07 10:21:00 -06:00
Chelsea Shaw
c7d3f8c191 UI: PKI show missing info on generated certificate (#21635) 2023-07-07 14:51:05 +00:00
Chelsea Shaw
15b5dd0a4e UI: octanify lazy paginated query (#21602) 2023-07-06 13:32:01 -05:00
Jordan Reimer
6acd2921c5 fixes issue in permissions service where the correct capability was not being checked for entities and groups passed as an array when evaluating nav permissions (#21619) 2023-07-06 10:00:15 -06:00
Angel Garbarino
f5207a3a71 Fix link to API Explorer in console (#21596)
* quick fix for using api keyword in the console

* add back space
2023-07-05 13:52:25 -06:00
Kianna
21f8ad289c UI: [VAULT-17317] Update components to use helper class and use overview-… (#21586) 2023-07-05 19:50:22 +00:00
Angel Garbarino
967c241c15 Add API Explorer Link to Sidebar Nav under tools (#21578)
* wip

* add outlet and sidebar nav link

* add changelog

* fix tests

* address pr comment
2023-07-05 18:05:32 +00:00
Jordan Reimer
78a86b4508 Login View Fix for Safari (#21582)
* adds height to brand-icon-large class to fix display issue in Safari

* adds changelog entry
2023-07-05 17:20:18 +00:00
Jordan Reimer
52baf01e53 Hide Nav Links in Child Namespaces (#21562)
* hides enterprise related nav links when in child namespace

* adds changelog entry
2023-07-05 09:47:45 -06:00
Kianna
d01a3c1763 UI: VAULT-17699 Fix masked input bug (#21531) 2023-06-30 13:17:34 -07:00
Angel Garbarino
1a780d8380 Capitlization Policy: First word only for title is-5 (#21501)
* initial fixes

* fix test

* fix test
2023-06-28 13:24:09 -06:00
Angel Garbarino
53d34dd930 Missed some Titlelize of the h1 title is-3 (#21482)
* missed a lot

* test fix

* wip context switch

* last of the test?

* last test, please
2023-06-28 08:33:13 -06:00
Angel Garbarino
20228a42ea Capitalize all UI h1 title is-3 titles (#21454)
* address all h1 title is-3 headings

* fix mult-factor and tests

* qa'ing

* clean up

* clean up

* clean up

* fix tests

* fix test

* one more

* okay this is the last one.

* blah
2023-06-27 18:11:11 +00:00
Angel Garbarino
4fd4a0693d Remove readOnly attrs from Clients Count Config Serializer (#21391)
* octanify and add serialize false to readonly attrs

* alphabetize

* stuff

* adds back payload.data check in normalizeResponse method of clients config serializer

* test things

* fix

* clean up

* Update ui/app/serializers/clients/config.js

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

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-06-22 01:28:59 +00:00
claire bontempo
76e742ba32 ui: HDS adoption replace <AlertBanner> component (#21375)
* UI: HDS adoption replace AlertBanner part 1 (#21163)

* rename test selector

* replace db banner

* add class

* replace db role edit

* db creds

* generate creds

* simpler class

* license banner component

* oidc callback plash

* raft

* aws

* secret create or update

* change to compact alert for form field

* change back to inline

* combine alert banners

* wrap in conditional

* remove references to message class

* UI: HDS adoption replace AlertBanner part 2 (#21243)

* token expire warning

* delete css

* edit form

* item details distribute mfa step 2 transit verify

* back to secondary

* distribute

* oidc lease error

* sign

* kv obj and repl dash

* more repl

* update test selector

* show, creds

* shamir

* pki csr

* pki banners

* add hds library to ember engines

* woops comma

* fix k8 test

* update message error component for last!

* hold off MessageError changes until next pr

* revert test selectors

* update pki tests

* UI: part 3 remove alert banner (#21334)

* final component swap

* and actual final of MessageError

* update MessageError selectors

* delete alert-banner and remove references

* update next step alerts to highlight color

* finishing touches, auth form test and client dashboard inline link

* fix more selectors

* fix shamir flow test

* ui: part 4 final cleanup (#21365)

* replace AlertPopup

* add test tag

* move tag

* one more message error tag

* delete alert popup

* final css cleanup

* move preformatted flash into <p> tag

* ui: address comments for sidebranch  (#21388)

* add periods, move link to trailing

* more periods and typo fix
2023-06-21 11:37:11 -07:00
claire bontempo
772ca6e1bb ui: remove old references to pki and old adapter (#21376)
* remove old references to pki and old adapter

* remove after model hook from list

* remove references to isEngine

* add test

* update test

* delete test

* fix test
2023-06-21 11:36:38 -07:00
Jordan Reimer
d001a0482e Bump HDS to 2.7.0 (#21259)
* bumps hds and flight icon deps to latest

* renames page-header style sheet to fix collision with HDS
2023-06-15 10:20:35 -06:00
Jordan Reimer
6c64a20a39 renames replication links in sidebar nav (#21061) 2023-06-07 15:41:19 -06:00
claire bontempo
28f72564f8 add is_default and serial_number to serialze:false attrs (#21055) 2023-06-07 21:10:34 +00:00
Angel Garbarino
6fa423e3f3 License banner - check for new license on localStorage. (#20999)
* fix things twice

* fix test and a whitespace that showed on my linter

* fix comment

* address pr comments

* change const name
2023-06-07 11:05:56 -06:00