Commit graph

1473 commits

Author SHA1 Message Date
Kianna
770a3e0c8e
UI: Update custom messages to be enterprise only feature (#25633)
* Update custom messages to be enterprise only feature

* Fix tests!

* Update changelog to be enterprise

* Update tests to use mirage
2024-02-26 21:16:21 +00:00
Chelsea Shaw
e0234ccaf8
Update kmip enterprise test (#25635) 2024-02-26 19:08:04 +00:00
Chelsea Shaw
ba972dadd6
UI: Remove popup-menu component (#25613)
* Remove popup-menu component

* glimmerize list-item

* move list-item contextual components to template-only

* Add headers
2024-02-26 11:50:55 -06:00
Jordan Reimer
d4706b5318
Transit Active Tab (#25614)
* fixes issue with no active tab in transit show route

* adds changelog

* updates test assertion
2024-02-26 09:02:05 -07:00
Kianna
273ba49195
UI: Change path and ids from date now to uuid (#25612)
* Change path and ids from date now to uuid

* Remove this to mount
2024-02-23 14:05:10 -08:00
claire bontempo
dc5070904b
UI: add default granularity depending on type, add optional to secret_name_template (#25611)
* add default granularity depending on type

* move default setting to helper

* add test coverage for default granularity

* update mirage

* update secret name template

* remove has-text-black class which was making help tooltip black as well
2024-02-23 13:11:07 -08:00
Chelsea Shaw
bd23a60c99
UI: Fix delete from list using Item.callMethod (#25608)
* Fix multiple confirm modals showing on delete auth item

* fix muliple confirm modals on KMIP items delete

* fix multiple modals on namespace list
2024-02-23 12:01:21 -06:00
Angel Garbarino
156de6a3fd
Deprecations: Remove firstObject from RecordArray (#25583)
* wip

* focusing on js files

* rest of the js files

* round up the last bits focusing on hbs

* address test failures

* Update transit-key-test.js

* Update ui/app/services/csp-event.js

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

* Update options.js

* build error push

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2024-02-23 10:34:29 -07:00
claire bontempo
e6d2caaa52
update overview metric to total secrets instead of associations (#25599) 2024-02-22 23:37:35 +00:00
Chelsea Shaw
263584d7b4
UI: Replace popup-menu on list items (#25588) 2024-02-22 17:11:48 -06:00
Kianna
075f10906b
Fix capability path for custom messags (#25589) 2024-02-22 14:18:07 -08:00
Jordan Reimer
e57f12fdc7
Sync Overview Table Copy Updates (#25586)
* updates number of secrets column name in sync overview chart and adds tooltip

* Update ui/lib/sync/addon/components/secrets/page/overview.hbs

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

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2024-02-22 19:34:25 +00:00
Chelsea Shaw
6a17f2bace
UI: Ember deprecations - transition methods part 1 (#25560) 2024-02-22 13:18:06 -06:00
Angel Garbarino
a15ecf3230
do all the things (#25573) 2024-02-22 08:39:01 -07:00
Jordan Reimer
574f54ab28
Sync Destination Updates (#25571)
* normalizes sync destination granularity key in serializer

* adds new fields to aws and gcp sync destinations

* updates sync destination delete action from destinations list view to route to overview on success

* updates destination serializer normalize to check if options is defined
2024-02-21 15:49:01 -07:00
Angel Garbarino
d1885ee558
Transit flaky test revisit (#25563)
* here we go...

* glimmerize model to help —maybe—with capabilities checks

* remove waitUntils
2024-02-21 14:18:12 -07:00
Chelsea Shaw
aa5d9f7b49
UI: Ember 5 deprecations: filterBy, mapBy, auto location (#25546)
* Replace all mapBy

* Replace findBys

* Remove auto location https://deprecations.emberjs.com/v4.x/\#toc_deprecate-auto-location

* fixes

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2024-02-21 18:45:00 +00:00
Angel Garbarino
98bd45a999
Glimmerize Transit Key Actions (#25365)
* wip, all actions wired up, not finished or tested.

* move the rotate action to it's own component to clarify scope

* clean up and refresh component on queryParam change without forcing a refresh from component as before

* solve issue of carrying over props we want to keep

* clean up and add clearProps action

* transit key actions passing

* update assert and doc

* remove unecessary changes

* Address pr comments

* replace perform in submit action and instead pass it in as perform

* address claire's pr comments

* welp

* trying to rearrange closer to original

* addressing pr comments

* move things around

* pr comments

* remove ciphertext when last action was rewrap

* add args and istruncated and isfullwidth
2024-02-20 15:36:56 -07:00
claire bontempo
dd62f9fa28
Sync UI: Add granularity to sync destinations (#25500)
* add granularity form field to sync destinations

* update mirage, shim in subkey response

* fix comment

* add granular updates to list view

* update mirage;

* update test

* comment for updating test

* use hds::dropdown in destinations for consistency

* move banner to popup menu

* add changelog

* remove spans from test
2024-02-20 14:17:34 -07:00
Angel Garbarino
3850d41a87
Upgrade Ember data 4.11.x to 4.12.x (#25272)
* add target to tsconfig

* initial setup

* fix shamir test

* fix auth test with title case header

* fix mfa-login-test

* fix auth-form-test with title case header

* fix service auth-form test with title case header

* fix test with mfa

* Update package.json

* fix failing cubbyhole tests

* changelog

* fix pki configuration test failure

* update yarn lock

* userpass-rest-password test

* missed

* wip sync issues

* sync stablized
2024-02-20 12:37:50 -07:00
Chelsea Shaw
d137030e1a
UI: client count minor fixes (#25472)
* fix a11y violation on tab list

* Add tooltip for disabled input

* hide toggle when data collection cannot be changed

* Correct assertion count
2024-02-20 12:51:06 -06:00
Angel Garbarino
7e00c12714
Deprecations: Remove findBy method on RecordArray (#25434)
* address the cluster usage.

* dont use filterBy on recordArray either 🙃

* replace fitler with find
2024-02-20 17:50:47 +00:00
Chelsea Shaw
db957a50c5
UI: replace npm-run-all with concurrently (#25492)
* replace npm-run-all with concurrently

* fix scripts

* Bump date-fns, fix script so it correctly passes args

* kill others on fail
2024-02-16 21:34:57 +00:00
Chelsea Shaw
d9a6fe5fe6
UI: stabilize flaky ns test (#25488)
* Add test waiter for namespace fetch

* Add waitfor, unskip test

* remove comment
2024-02-16 18:10:07 +00:00
Chelsea Shaw
36c24e76f5
UI: add message when copy fails (#25479)
* Add flash message when copy fails for copy button

* Add flash message when copy fails for copy snippet

* changelog

* Fix config-ssh onError
2024-02-16 11:29:29 -06:00
claire bontempo
cbe09c76a2
UI: add deletion_allowed to transform, add tokenization transform type (#25436)
* update adapter to accept :type in url

* update model attributes to include deletion_allowed and tokenization type

* update max_ttl text

* update adapter test

* add changelog;

* update comment
2024-02-16 09:07:52 -08:00
Chelsea Shaw
22db889bce
Update openAPI response for cert auth config (#25473) 2024-02-16 10:09:21 -06:00
Chelsea Shaw
c5d39c816a
UI: Use HDS::Toast for flash messages (#25459)
* Move global-flash to HDS-specified area

* Add flash-toast component

* use flash toast for flash messages

* Use spacing vars

* Remove unnecessary key

* Cleanup + tests

* Remove nondeterministic build warning

* add changelog

* I wish this was automatic
2024-02-15 18:06:51 -06:00
claire bontempo
0deca434ce
UI: Control group flaky enterprise test fix attempt (#25450)
* add async?

* fix merge conflict fail
2024-02-15 18:20:49 +00:00
Chelsea Shaw
481d0653d4
UI: fix items displayed in sidenav for chroot (#25393)
* fix items displayed in sidenav for chroot

* don't freak out when there's no currentcluster
2024-02-14 13:37:32 -06:00
Chelsea Shaw
59577f41de
UI: Skip OpenAPI call for unmanaged auth methods (#25364)
* Skip fetching OpenAPI if the auth method is not managable in the UI. Fixes #24160

* remove map

* add changelog
2024-02-14 19:36:54 +00:00
claire bontempo
2f2e0184bb
UI: Fix copy button for PKI ca_chain certificate card (#25399)
* use format-copy-value helper for copy text in Hds::Copy::Button

* delete helper and revert masked input

* update certificate card to format to string

* add test

* add changelog;
2024-02-14 11:04:20 -08:00
Kianna
483da17588
UI: VAULT-21514 filter by message type and status (#25384)
* Working filter

* Refactor action

* Reset query params

* Add filter tests

* Clean up tests

* Add changelog

* Remove extra space

* Address feedback

* Dont reset query params

* Remove changelog
2024-02-14 10:28:08 -08:00
Chelsea Shaw
2d1215a1e2
UI: Update Auth Method Popup (#25366)
* Glimmerize auth-method model, move check for aws into template

* Replace access/methods popup menu

* Add popup menu coverage

* remove unused imports

* remove buttonText arg
2024-02-14 16:33:51 +00:00
Chelsea Shaw
267e06d94e
UI: glimmerize services (#25295) 2024-02-13 20:44:53 +00:00
Angel Garbarino
44af0978e6
Replace all service injects with updated import syntax (#25367)
* replace all injects with import syntax

* Delete ui/app/components/identity/_popup-base.js
2024-02-13 10:00:31 -07:00
Angel Garbarino
02bbe2e397
update dependencies (#25363) 2024-02-12 11:10:13 -07:00
Angel Garbarino
e5a1555a6f
seal changes (#25254) 2024-02-12 16:45:58 +00:00
Chelsea Shaw
9144825356
UI: reauth banner is at top of page again (#25349) 2024-02-09 22:15:18 +00:00
Kianna
ab6fb6eb20
UI: Add acceptance tests (#25313)
* Add tests

* Move tests

* Rename files

* Update test names
2024-02-09 14:01:13 -08:00
Jordan Reimer
baac570898
Hide Sync Destination Actions When Purging (#25334)
* blocks edit and sync actions on destinations where a purge was initiated

* adds flash message for sync destination transition redirect
2024-02-09 13:33:44 -07:00
Chelsea Shaw
f4248bf16c
UI: Redirect after logging in from token expiry (#25335)
* Redirect after logging in from token expiry. Fixes #10963

* Add changelog
2024-02-09 12:38:55 -06:00
claire bontempo
fe56069f67
UI: Hds::Dropdown replace PopupMenu (#25321) 2024-02-09 12:38:14 -06:00
Chelsea Shaw
28d81ed832
UI: Fix openAPI test for JWT (#25331)
* Fix openAPI test for JWT

* Revert "Fix openAPI test for JWT"

This reverts commit ad5d1f4ca5.

* Fix openAPI test for JWT

* Prevent jwks pairs from showing in UI until we have a component to handle the data
2024-02-09 10:57:50 -06:00
Jordan Reimer
87857e61f5
removes enterprise label from sync acceptance test module names (#25298) 2024-02-08 17:42:56 +00:00
claire bontempo
f930fdd4dc
fix test (#25283) 2024-02-08 09:19:37 -06:00
Jordan Reimer
f2638afe99
updates transition to overview on sync destination delete success (#25273) 2024-02-08 00:30:08 +00:00
Jordan Reimer
bfe50eee84
Test Fixes (#25276)
* fixes masked-input component throwing error when there is no value

* removes copy button assertions from masked input test

* reverts masked input assertion removal and updates test selectors
2024-02-07 17:24:47 -06:00
Chelsea Shaw
3dd1667337
UI: Fix copy button not working for non-string masked values (#25269)
* Fix masked input copy button for non-strings

* add changelog
2024-02-07 14:15:02 -06:00
Chelsea Shaw
30aa1b4862
UI: Update resultant-acl banner (#25256)
* Request resultant-acl only from users root namespace

* Update permissions adapter to always call resultant-acl at users root, with test

* Update resultant-acl to accept failType

* Update permissions service to set permissionsBanner based on resultant-acl contents

* wire it up

* add changelog

* cleanup unused adapter changes

* use getter for shared namespace logic
2024-02-07 18:57:14 +00:00