* 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>
* 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>
* 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>
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>
* 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>
* 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>
* 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>
* disable scarf for this package
* add changelog
* use correct changelog format
Co-authored-by: Evan Moncuso <46458931+emoncuso@users.noreply.github.com>
* 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>
* 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
* 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>
* 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
* 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
* 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
* 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
* [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
* 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
* 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