233 Commits

Author SHA1 Message Date
Vault Automation
e33118cee2
[UI] [SECVULN] Underscore Version Update (#13325) (#13343)
* removes doctoc, jsdoc-to-markdown and jsonlint packages and removes underscore version override

* removes generate-docs script which uses removed docfy-md scipt

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-03-24 15:00:47 +00:00
Vault Automation
018cf3e891
bumps sass to latest version (#13267) (#13277)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-03-20 20:58:29 +00:00
Vault Automation
f3084014d4
bumps webpack to latest (#13255) (#13261)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-03-20 20:21:19 +00:00
Vault Automation
b057aac746
[VAULT-43339] 1/2 Chore update TS (#13050) (#13105)
* Initial ts updgrade

* Migrate linked-block to ts to squash ts errors

* [VAULT-43339] 2/2 Update vault-reporting and add ember-intl (#13062)

* Update vault-reporting and add ember-intl

* Add setupIntl for rendering tests

Co-authored-by: Jim Wright <jim.wright@hashicorp.com>
2026-03-17 15:52:40 -07:00
Vault Automation
9790b23c38
SECVULN-38932 update rollup override to latest patch (#12774) (#12800)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-12 23:28:09 -07:00
Vault Automation
bc2aa7e8ec
Update minimax (#12742) (#12746)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-05 02:20:12 +00:00
Vault Automation
a3859d67e3
Backport rework UI CI workflow to partition JS tests into ce/main (#12515)
* rework UI CI workflow to partition JS tests (#11967)

* add setup-pnpm action

* remove reading vault keys from vault server output

* update ci workflow to build app and go binary first, then run tests in partitions

* fix errant tests

* address PR feedback

* Apply suggestions from code review

Co-authored-by: Ryan Cragun <me@ryan.ec>

* more feedback changes

* restore test-helper.js

* restore auth test helpers

* check in ui/tests/helpers/vault-keys.js

* use v7 of download-artifact action

* make test-ui reusable workflow

* add status job

---------

Co-authored-by: Ryan Cragun <me@ryan.ec>

* update new UI tests to run CE tests on the CE branch (#12537)

---------

Co-authored-by: Matthew Irish <39469+meirish@users.noreply.github.com>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-02-27 12:19:47 -06:00
Vault Automation
8f1019d4e7
[SECVULN-37949] UI: add pnpm overrides for ajv and markdown-it libraries to address open security vulns (#12559) (#12590)
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-02-26 16:19:25 -08:00
Vault Automation
d744b80e68
[UI] API Client Update / Enum Updates (#12549) (#12565)
* bumps api client version

* updates imported enum names from api client

* updates sync activation request method

* updates pki list enums imports

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-26 17:20:30 +00:00
Vault Automation
24c3412135
Add V2 Form generator script (#12062) (#12089)
Add automated form config generation from OpenAPI specs.
Generator script can be utilized by passing API method name
which will then parse the OAS and generate the necessary form
configuration to be used with the upcoming V2 Form systems.

Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
2026-02-25 19:09:42 +00:00
Vault Automation
763be2684d
[UI] Playwright Automated Binary Testing (#12214) (#12386)
* adds playwright

* adds playwright auth setup and kv tests

* removes generated gh action for playwright

* removes testem ignore paths

* consolidates kv e2e workflows into single test

* adds missing ids to key shares and threshold inputs

* updates ariaLabel arg to attribute in enabled and disabled plugin card components

* adds script to start vault with config for playwright tests

* updates playwright setup to initialize and unseal vault and create user for testing rather than using root token

* adds policies for e2e tests

* updates e2e init setup to use web repl for creating token

* moves kv e2e test under superuser directory

* updates playwright config to create projects for multiple user types

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-17 17:09:03 +00:00
Vault Automation
591e963342
add carbon tree chart (#11965) (#11970)
* add carbon tree chart

* a11y and test improvements

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-01-23 23:59:12 +00:00
Vault Automation
12e793039a
[UI] - migrate to pnpm for JS package management (#11651) (#11661)
* move from yarn to pnpm for package management

* remove lodash.template patch override

* remove .yarn folder

* update GHA to use pnpm

* add @babel/plugin-proposal-decorators

* remove .yarnrc.yml

* add lock file to copywrite ignore

* add @codemirror/view as a dep for its types

* use more strict setting about peerDeps

* address some peerDep issues with ember-power-select and ember-basic-dropdown

* enable TS compilation for the kubernetes engine

* enable TS compilation in kv engine

* ignore workspace file

* use new headless mode in CI

* update enos CI scenarios

* add qs and express resolutions

* run 'pnpm up glob' and 'pnpm up js-yaml' to upgrade those packages

* run 'pnpm up preact' because posthog-js had a vulnerable install. see https://github.com/advisories/GHSA-36hm-qxxp-pg3

* add work around for browser timeout errors in test

* update other references of yarn to pnpm

Co-authored-by: Matthew Irish <39469+meirish@users.noreply.github.com>
2026-01-09 11:45:14 -06:00
Vault Automation
7bf7bf39fe
Resolve glob and js-yaml security vulnerabilities (#11271) (#11314)
* remove unused packages

* patch vulnerable versions of glob and js-yaml SECVULN-33202

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-12 09:08:46 -08:00
Vault Automation
10d28ee713
pin posthog version (#11006) (#11007)
Co-authored-by: Evan Moncuso <46458931+emoncuso@users.noreply.github.com>
2025-11-25 19:05:49 +00:00
Vault Automation
6e60eb3ff6
update to 4.24.1 (#10726) (#10734)
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-11-12 16:52:24 +00:00
Vault Automation
9fbc0f46c3
pin @messageformat/runtime dep resolution (#10521) (#10542)
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-11-04 10:59:56 -06:00
Vault Automation
117beded49
UI: Clean up remaining ember-modal-dialog tooltip code (#10325) (#10368)
* remove ember-modal-dialog dep + unused calendar-widget component

* remove waitUntil

* lint fix

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-10-24 13:50:15 -05:00
Vault Automation
42d01ee5fe
Upgrade jsondiffpatch dependency version (#9651) (#10282)
* update jsondiffpatch dep + use webpack to convert into UMD format

* do not lint vendor files

* update test

* lint fix

* fix merge conflict error

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-10-22 15:02:47 -05:00
Vault Automation
3457992a63
[UI] - disable scarf for this package (#10265) (#10276)
* disable scarf for this package

* add changelog

* use correct changelog format

Co-authored-by: Evan Moncuso <46458931+emoncuso@users.noreply.github.com>
2025-10-21 16:29:30 -07:00
Vault Automation
6886447328
General test improvements (#10099) (#10147)
* add parallel command

* declare vault-keys module for test helpers

* use mirage to make dropdown check more reliably

* wait for inputs

* attempt to stabilize dashboard tests in parallel

* revert wait for inputs

* move problem acceptance tests to integration tests

* move more tests to integration

* remove assert.expect()  because there are no callback assertions

* delete redundant acceptance tests

* cleanup login state in afterEach hook

* use mirage for login settings test

* update other test based on mirage handler changes

* throw some waitFor in there

* revert waitFor

* use mirage in shared-identity-test

* remove storage cleanup from this pr

* remove parallel..again

* remove unnecessary auth login changes

* add version to dashboard/overview test "it shows the learn more card on enterprise"

* convert "version 2 with no update to config endpoint still allows mount of secret engine" to integration test

* restart tests

* Apply suggestion from @hellobontempo

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-15 19:50:39 +00:00
Vault Automation
bf0cecea38
UI: Uninstall unused node-notifier dep (#9404) (#9419)
* remove node-notifier

* remove version pinning of node-notifier

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-18 08:53:41 -07:00
Vault Automation
3942acf61a
[VAULT-39571] Update vault-reporting package to 0.8.0 (#9340) (#9344)
Co-authored-by: Eren Tantekin <eren.tantekin@hashicorp.com>
2025-09-16 15:17:27 -07:00
Vault Automation
1515ea76fe
[VAULT-39375] Update vault-reporting to 0.5.1 (#9094) (#9141)
Co-authored-by: Eren Tantekin <eren.tantekin@hashicorp.com>
2025-09-16 11:01:11 -07:00
claire bontempo
6b1a6b2efd
UI: Upgrade to HDS 4.20.1 (#31467)
* update package

* update test for replicaiton

* fix a11y failure
2025-08-11 09:12:15 -07:00
Zack Moore
e6ce95acd3
Replace codemirror 6 code editor with HDS CodeEditor component (#30188)
* Completed initial replacement of editor

* fixing ts issues

* removing codemirror modifier and deps

* working on replacing the code editor

* addressing linting concerns

* cleaning up policy-form editor

* fixing linting issues

* fixing linting issues

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing failing tests

* cleaning up PR

* fixing tests

* remove outdated message for navigating editor

* fix linting in tests

* add changelog

* fix tests

* update naming

* remove unused lint param + name changes

* update test selector usage

* update test selector usage

* update test selector usage

* lint fixes

* replace page object selectors

* lint fix

* fix lint

* fix lint after merge

* update tests

* remove import

---------

Co-authored-by: Lane Wetmore <lane.wetmore@hashicorp.com>
2025-07-23 11:12:20 -07:00
Jordan Reimer
8700becc45
[UI] Ember Data Migration - API Property Casing (#31325)
* updates api client vars to snake_case for custom messages

* updates api client vars to snake_case for tools

* updates api client vars to snake_case for sync

* updates api client vars to snake_case for secrets engine

* updates api client vars to snake_case for auth

* updates api client vars to snake_case for usage

* updates api client dep to point to gh repo

* fixes custom-messages service unit tests

* fixes configure-ssh test

* fixes configure-ssh test...again
2025-07-18 09:32:01 -06:00
Dan Rivera
d34f026d9b
directly set runtime version (#30741) 2025-05-27 10:14:46 -04:00
Evan Moncuso
689ede2da5
[UI] - introduce Posthog for Vault Dedicated managed clusters (#30425)
* add dummy provider and wire it into the app

* add tests for analytics service

* add posthog provider

* wire in posthog

* add HVD limitation for analytics and add unit test

* filter out sensitive event properties

* add changelog

* run copywrite headers

* update logging tests for analytics service

* update changelog format

* disable telemetry in test mode

* remove unnecessary test

* self review

* Update vault-reporting addon with analytics tracking changes

* address review feedback

---------

Co-authored-by: Jim Wright <jim.wright@hashicorp.com>
2025-05-23 19:40:29 +00:00
Angel Garbarino
2be17aa3ea
all the changes (#30594) 2025-05-13 16:44:44 -06:00
Angel Garbarino
a8aeb01788
Dependency bumps part 1 (#30541)
* bump ember render modifiers

* bump ember/string from 3 to 4

* bump test-helpers

* bump asn1js from 2 to 3 major

* bump autosize

* bump concurently from 8 to 9

* remove unused path-to-tree, test, and thus deepmerge

* bump ember-cli-deprecation-workflow and adjust config

* bump ember-inflector

* bump ember-load-initializers

* bump back ember-inflector it broke things

* bump ember-qunit and add required stuff to test-helper file

* bump ember-resolver

* bump truth-helpers

* Delete ui/ent.txt

* Update package.json

* bump back qunit

* remove ember-page-title
2025-05-13 08:51:25 -06:00
Angel Garbarino
0413e41c3e
Pinning dependencies & resolutions. Replacing ^ with ~ for devDependencies. (#30379)
* first half of devDependencies move to ~, required to up test-waiters to 4.1 from 4.0

* next part of devDependencies

* another chunk of devDependencies

* remainder of devDependencies and bump required on sass from 1.66 to 1.83

* resolutions and bumped prismjs from 1.2 to 1.3

* for now at least just tilde the dependency block

* bump uuid and remove caret in depedencies

* pin the dependency block— yeah

* pinning some resolutions

* resolutions are all pinned

* update types but still having issues on validate.ts

* update typescript

* pin the minors on all based off of yarn.lock previously

* revert uneeded ts types

* update babel per yarn lock finding
2025-04-29 12:04:06 -06:00
Jordan Reimer
d8ca0a52d6
pins @embroider/macros to 1.15.0 (#30375) 2025-04-24 13:58:15 -06:00
Evan Moncuso
87c08a0af3
🤖 - CI Fix - UI Dependencies step (#30346)
* rebuild yarn.lock

* skip pki test temporarily
2025-04-23 13:43:27 -06:00
Evan Moncuso
21f772d9d1
Chore/remove ember svg jar (#30181)
* bump hds to latest version

* disable ember-svg-jar

* fix mfa

* remove ember svg jar dep and cleanup

* cleanup old svgs and fix icon test

* add changelog

* rebuild yarn.lock
2025-04-23 09:27:01 -07:00
Jim Wright
4f23e18e2d
[UI] Vault reporting generated files (#30260)
* Reporting generated files

* Update vault reporting addon (#30264)

* Update yarn.lock based on main

* Update vault-reporting addon
2025-04-17 14:45:23 -07:00
Dan Rivera
a7ca071315
UI: Rebuilding yarn.lock to use upgraded versions (#30161)
* updating yarn.lock

* updated & rebuilt to include hds upgrade
2025-04-04 14:51:55 -04:00
Jordan Reimer
85afe0c3a3
[UI] Ember Data Migration - Tools Wrap Component (#29994)
* adds codemirror types

* adds api error message util

* converts tools/wrap component to ts and updates wrap request to use api service

* adds comments to api and error message utils

* adds type to html element event import
2025-03-24 10:49:48 -06:00
Jordan Reimer
173c3fe800
updates start-vault script to launch headless firefox for local testing (#29945) 2025-03-19 11:53:33 -06:00
Angel Garbarino
02ea49b1fc
bump both dev and dependency of babel/core and install (#29937) 2025-03-18 10:44:37 -06:00
Jordan Reimer
0a28ff4565
sets ember-cli-typescript resolution to 5.3.0 (#29927) 2025-03-14 10:40:36 -06:00
Jordan Reimer
e2a640373e
[UI] Generated API Client (#29871)
* initial commit of generated api client

* bumps lock file

* changes api client dep from file link to portal in package

* adds ui/api-client to copywrite config header ignore
2025-03-14 08:58:59 -06:00
Evan Moncuso
2c94c0034b
[Chore] - Remove unneeded string extensions (#29834)
* remove usage of string includes polyfill

* remove deps as well

* add changelog entry

* add .gitkeep
2025-03-05 14:35:31 -08:00
Angel Garbarino
8cf97568c0
rebuild yarnlock and rebuild after modiifying dependency (#29784) 2025-02-28 15:43:48 -07:00
Angel Garbarino
a2d7e29870
update package and update lock (#29724) 2025-02-26 16:39:07 -07:00
Shannon Roberts (Beagin)
7dce4071d8
[VAULT-33968] UI: Update HDS (#29719)
* [VAULT-33619] HDS Code Block: Update from HDS 4.13.0 to 4.14.0

* [VAULT-33619] Update from HDS 4.14.0 to 4.15.0

* [VAULT-33619] Update from HDS 4.15.0 to 4.16.0

* fix tests
2025-02-26 15:23:03 -08:00
Jordan Reimer
c1754f5f97
[UI] Types Linting (#29702)
* adds linting for types to scripts and lint staged

* fixes issue with AdapterError type

* moves lint-staged setup out of package.json and into config file

* fixes ember data store service type

* fixes route params types

* fixes model types

* fixes general type errors

* fixes ts declaration errors in js files

* adds missing copyright headers

* fixes issue accessing capabilities model properties

* ignores AdapterError import type error

* more updates to AdapterError type

* adds comment to lint-staged config

* moves ember data store type to @ember-data namespace

* updates store import

* moves AdapterError type to @ember-data namespace

* turns ember-data import eslint rule back on
2025-02-25 16:08:51 -07:00
Alex
42552f6303
Migrate FlightIcon to Hds::Icon (#28979)
* Migrate `FlightIcon` to `Hds::Icon`

* Update getter name for Icon component
2024-11-26 17:52:57 +00:00
Evan Moncuso
4fd5436eb9
UI/vault 32202/ember sec vulnerabilities (#28870)
* bump webpack from 5.89 -> 5.94

* upgrade ember-svg-jar and kick yarn.lock

* resolve micromatch to a patched version
2024-11-20 12:52:33 -08:00
claire bontempo
17d29f983c
UI: Upgrade Ember data 5.3.2 (and upgrade minor versions of ember-source and ember-cli) (#28798)
* upgrade ember-data 5.3.2, uninstall legacy compat, upgrade ember-cli, ember-source

* use query instead of findAll for auth methods, update tests

* set mutableId for kmip

* show generated private key data before transitioning to details

* update kv metadata test

* remove deprecated methods from path help service

* add changelog, update readme version matrix

* remove toggle template helper
2024-10-30 09:10:22 -07:00