Commit Graph

529 Commits

Author SHA1 Message Date
prajnamohan1
b3c94de04b backport of commit 7ffad66b0b 2024-01-08 19:22:03 +00:00
hc-github-team-es-release-engineering
2766fa2297 [DO NOT MERGE UNTIL EOY] EOY license fixes 1.13.x (#24391) 2024-01-02 10:35:40 -08:00
Chelsea Shaw
7c66b952f6 Backport UI fix auth list test (#24203) 2023-11-20 13:54:31 -06:00
hc-github-team-secure-vault-core
6309ee7330 backport of UI: Allow token configuration tune (#24148)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-11-15 17:35:45 -06:00
Chelsea Shaw
8d2ae17dae UI: helper sort-objects to alphabetize list items (#24103) (#24146)
* move list to component

* use helper instead

* add changelog

* clarify changelog copy

* delete components now that helper is in use

* move helper to util, remove template helper invokation

* add optional sorting to lazyPaginatedQuery based on sortBy query attribute

* Add serialization to entity-alias and entity so that they can be sorted by name on list view

* Same logic as base normalizeItems for extractLazyPaginatedData so that metadata shows on list

* Add headers

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-11-15 20:58:10 +00:00
hc-github-team-secure-vault-core
8f830e558d backport of fix changelog anchor (#23827)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-10-25 17:57:26 +00:00
Chelsea Shaw
2e7dc430f2 UI: Show unsupported screen if replication unsupported (#23178) (#23214) 2023-09-21 11:35:54 -05:00
Chelsea Shaw
5a9b9ac819 Backport UI: Allow navigate to list from View Secret card (#22502) (#22539) 2023-08-23 22:21:29 +00:00
hc-github-team-secure-vault-core
9c9d39a6f8 Backport of UI: Enable KV create secret with control group
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-08-21 16:58:17 -05:00
hc-github-team-secure-vault-core
13da593157 backport of commit abd6324e50 (#22464)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-08-21 10:09:44 -07:00
hc-github-team-secure-vault-core
d66520d12b backport of commit 4fd4a0693d (#21402)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2023-07-06 20:01:32 +00:00
hc-github-team-secure-vault-core
9f2d073427 backport of commit 9290d5f188 (#21427)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-06-22 22:04:15 +00:00
Jordan Reimer
6000b16689 Clients config updates for census reporting (#20125) (#21201)
* updates clients config view for census reporting

* adds changelog entry

* fixes issue with modal staying open and error not showing on clients config save failure

* adds min retention months to clients config model and form validation
2023-06-13 21:08:02 +00:00
Angel Garbarino
93d22491d4 License banner - check for new license on localStorage. (#20999) (#21080)
* fix things twice

* fix test and a whitespace that showed on my linter

* fix comment

* address pr comments

* change const name
2023-06-09 19:05:51 +00:00
claire bontempo
2881445311 Backport 1.13.x: UI: fixes pki role editing changing to default key parameter values (#20921) 2023-06-01 18:07:34 +00:00
hc-github-team-secure-vault-core
780f4f4826 backport of commit 0defa2a1e7 (#20909)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-05-31 14:52:36 -06:00
hc-github-team-secure-vault-core
5b8d69bc7d backport of commit b78f4bffcc (#20604)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-05-16 17:36:00 +00:00
Chelsea Shaw
ca6f644c03 Backport 1.13.3 - UI: Stabilize KV secret tests (#20491) (#20515) 2023-05-04 18:27:49 +00:00
hc-github-team-secure-vault-core
be47e9d3b7 backport of UI: OIDC provider logo fix (#20269)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-04-20 09:30:43 -05:00
hc-github-team-secure-vault-core
676f8be392 Backport UI: Remove usage of htmlSafe into release/1.13.x (#20256)
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
2023-04-19 16:12:13 +00:00
Angel Garbarino
a75b190445 Disabling License Banners (#19116) (#20226)
* work in progress: got the expired banner set with license check

* wip: got the logic for both banners, need to test and write tests

* add notes

* prep for test writing

* test coverage

* add changelog

* clean up

* clarify dismissTypes and conditionals

* updates

* update comment

* update comment

* address pr comments

* update test

* small naming change

* small naming changes

* clean localStorage

* comment clean up

* another comment clean up

* remove meep

* add test coverage for new method in localStorage
2023-04-18 11:09:48 -06:00
hc-github-team-secure-vault-core
ac3b4e42bc Backport of UI: fix browser console formatting into release/1.13.x (#20088)
* backport of commit 7e09f991a8

* UI/add prettier ignore for ui console file (#20094)

* fix template-lintrc file

* add prettier ignore

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-04-12 18:08:52 +00:00
hc-github-team-secure-vault-core
4472e4a3fb backport of commit 85c3eab989 (#19716)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-03-23 12:51:35 -06:00
claire bontempo
36dddc337a Regression bug fix OIDC namespace (#19460) (#19696)
* the fix

* changelog

* claire fix

* add test

* update changelog

* clarify comment

* remove state from paramsFor completely, update tests

* Revert "remove state from paramsFor completely, update tests"

This reverts commit bea042f73d50dd51aa67b30e97c6e6685e808794.

* add tests with skips until not flaky

---------

Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2023-03-23 14:42:56 +00:00
claire bontempo
996dc56f08 Backport 1.13.x: UI/update auth form to fetchRoles after a namespace is inputted, prior to OIDC auth #19541 (#19661)
* UI/update auth form to fetchRoles after a namespace is inputted, prior to OIDC auth (#19541)

* re-fetch roles if there is a namespace

* remove redundant conditional

* reorder oidc auth operations

* add test

* test cleanup

* add changelog

* UI: fix enterprise test failures (#19671)

* move oidc tests into new file

* remove module from namespace test

* remove entered line

* add logout to afterEach hook

* remove ns test

* move test setup to within test

* use logout.visit() instead

* updates oidc auth namespaces test

* reverts to authPage logout

---------

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

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-03-23 07:13:03 +00:00
hc-github-team-secure-vault-core
bfe328ed66 backport of commit 5299707a3e (#19465)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2023-03-13 09:23:42 -06:00
hc-github-team-secure-vault-core
03cf4dc731 backport of commit 75efaf09fb (#19484)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-03-08 18:04:41 +00:00
hc-github-team-secure-vault-core
9f545bdc45 backport of commit 7ef729708b (#19423)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2023-03-02 22:46:07 +00:00
hc-github-team-secure-vault-core
75f1ea2985 backport of commit eb70bfdc5b (#19407)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-02-28 19:55:09 +00:00
hc-github-team-secure-vault-core
9789259043 backport of commit 72bc8203af (#19322)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2023-02-23 19:26:19 +00:00
claire bontempo
b12fcad4d2 UI: fixes validation bug in sign certificate form (#19280) (#19293)
* move validations to base certificate

* add test
2023-02-22 21:32:59 +00:00
hc-github-team-secure-vault-core
eb2d03ee8f backport of commit 8f36d0daa4 (#19222)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-02-16 23:30:16 +00:00
hc-github-team-secure-vault-core
105881d5e1 backport of commit 93f7b4f33c (#19189)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2023-02-14 23:16:38 +00:00
Jordan Reimer
d9c8a8f629 updates k8s config validation (#19123) 2023-02-10 09:33:26 -08:00
Angel Garbarino
28032b99bc Glimmerize alert-banner (#19105)
* glimmerize alert-banner

* remove conditional commented out

* add assert to require type

* add assert for if message type not included

* amend alert-inline test
2023-02-09 18:25:16 +00:00
Kianna
72a1c87bc6 UI: VAULT-13419 Remove flash message for form errors and use MessageError instead (#19095)
* Remove flash message for form errors and use MessageError instead

* Add tests

* Use errorMessage instead
2023-02-09 09:07:52 -08:00
Jordan Reimer
62713ab253 adds validation to kubernetes config form (#19097) 2023-02-09 09:38:39 -07:00
Jordan Reimer
959ff1736c Kubernetes config state updates (#19074)
* hides roles toolbar actions when k8s is not configured

* adds error page component to core addon

* moves fetch-config to decorator

* updates kubernetes prompt config logic

* adds kubernetes error route

* fixes tests

* adds error handling for kubernetes roles list view

* removes unneeded arg to withConfig decorator
2023-02-09 09:18:02 -07:00
Chelsea Shaw
38321f840b UI: Fix OIDC login in fullscreen (#19071) 2023-02-08 14:32:57 -06:00
Jordan Reimer
637014afbc fixes mount backend success message (#19072) 2023-02-08 18:39:53 +00:00
Kianna
d6176d7bf5 UI: VAULT-13135 Add copyable issuer id row to issuer details (#19054)
* VAULT-13135 Add copyable issuer id row to issuer details

* Fix failing test
2023-02-08 09:38:30 -08:00
Chelsea Shaw
aaa50f15e1 UI: PKI Clean up dirty model on leave (#19058) 2023-02-08 16:42:02 +00:00
Kianna
5d9e92acca UI: VAULT-13128 Add inline error to generate cert form (#19035)
* Add inline error to generate cert form

* Add tests

* Address feedback!
2023-02-08 08:37:54 -08:00
Jordan Reimer
2883217a1a Wrapped token login bug (#19036)
* fixes issue logging in with wrapped_token via logout route when not logged in

* adds changelog entry

* fixes cluster route mixin test
2023-02-07 14:22:22 -07:00
Angel Garbarino
d883c1ddc0 Add updateRecord to role adapter (#18993)
* add updateRecord to role adapter to correctly handle the query when the the is not new.

* wip

* update and cancel test

* clean up

* wip

* final

* clean up

* split test in two

* clean up
2023-02-07 08:53:40 -07:00
claire bontempo
06bec24b00 UI: add issuerRef getter in case issuer is nameless (#18968)
* add issuerRef getter in case issuer is nameless

* declare as getter

* remove changes to test, oops!
2023-02-03 13:07:59 -08:00
Alexander Scheel
e061eae584 Add support for missing attributes in PKI UI (#18953)
* Add additional OIDs for extKeyUsage

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Allow ignoring AIA info on issuers

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Tell users which extension OIDs are not allowed

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add commentary on cross-signing failure modes

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add parsing of keyUsage

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Remove ext_key_usage parsing - doesn't exist on API

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add support for parsing ip_sans attribute

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Use Uint8Array directly for key_usage parsing

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add error on unknown key usage values

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Fix typing of IPv6 SANs, verficiation of keyUsages

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Correctly format ip addresses

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* add ip_sans to details page

* fix typo

* update tests

* alphabetize attrs

* hold off on ip compression

* rename model attrs

* parse other_names

* is that illegal

* add parenthesis to labels

* update tests to account for other_sans

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-02-03 11:36:02 -08:00
Kianna
0dbab5a351 UI: VAULT-13044 pki cleanup attributes (#18954)
* Update form model attributes to be stringArray

* Update pki certificate sign to be string

* Update organization, ou, name to stringArray

* More organization, ou update to stringArray

* VAULT-13123 Update missing field attributes in create/role

* Fix formatting

* Revert "VAULT-13123 Update missing field attributes in create/role"

This reverts commit 6da5cb508588488789dc6cde412880e45425cce4.

* Fix failing test

* Add string array for SAN

* Update pki issuer uriSAN label
2023-02-02 09:23:15 -08:00
Chelsea Shaw
0b0d26977f UI: PKI Sign Intermediate (#18842) 2023-01-27 18:07:55 +00:00
claire bontempo
fbed961190 UI: combine current + history client count tabs into one dashboard (#17575)
* WIP/initial routing-ish

* refactor date dropdown to reuse in modal and allowe current month selection

* swap linter disable line

* refactor date-dropdown to return object

* refactor calendar widget, add tests

* change calendar start and end args to getters

* refactor dashboard to use date objects instead of array of year, month

* remove dashboard files for easier to follow git diff

* comment out dashboard tab until route name updated

* delete current tab and route

* fix undefined banner time

* cleanup version history serializer and upgrade data

* first pass of updating tests

* add changelog

* update client count util test

* validate end time is after start time

* update comment

* add current month to calendar widget

* add comments for code changes to make following API update

* Removed a modified file from pull request

* address comments/cleanup

* update variables to const

* update test const

* rename history -> dashboard, fix tests

* fix timestamps for attribution chart

* update release note

* refactor using backend start and end time params

* add test for adapter formatting time params

* fix tests

* cleanup adapter comment and query params

* change back history file name for diff

* rename file using cli

* revert filenames

* rename files via git cli

* revert route file name

* last cli rename

* refactor mirage

* hold off on running total changes

* update params in test

* refactor to remove conditional assertions

* finish tests

* fix firefox tooltip

* remove current-when

* refactor version history

* add timezone/UTC note

* final cleanup!!!!

* fix test

* fix client count date tests

* fix date-dropdown test

* clear datedropdown completely

* update date selectors to accommodate new year (#18586)

* Revert "hold off on running total changes"

This reverts commit 8dc79a626d549df83bc47e290392a556c670f98f.

* remove assumed 0 values

* update average helper to only calculate for array of objects

* remove passing in bar chart data, map in running totals component instead

* cleanup usage stat component

* clear  ss filters for new queries

* update csv export, add explanation to modal

* update test copy

* consistently return null if no upgrade during activity (instead of empty array)

* update description, add clarifying comments

* update tes

* add more clarifying comments

* fix historic single month chart

* remove old test tag

* Update ui/app/components/clients/dashboard.js
2023-01-26 18:21:12 -08:00