* VAULT-44326 only poll currentmonth and intial load
* VAULT-44370 API always returns the value now, so we can remove this logic
* Fix tests..
* Add logic back in
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* Fix secrets -> secrets-engines redirect
* Add changelog..
* Add tests and another route for path
* Fix test name
* Ensure we delete the engine
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* cleanup from clients migrations
* updates oidc provider list views to use api client
* updates oidc provider details view to use api service
* adds oidc provider form class
* updates oidc provider create and edit routes to use api service and form
* updates oidc provider-form component to support form class
* updates oidc acceptance tests
* updates oidc provider delete to use api service
* test fixes
* updates search-select fallback to check if fallback component is defined
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* updates oidc clients list view to use api service
* updates oidc client and client details routes to use api service
* updates form field groups component to yield out form field yields
* adds oidc client form class
* updates oidc client client and edit routes to use api service
* updates oidc client-form component to use form class and removes store/model support
* updates oidc provider client route to use api service
* updates oidc key clients route to use api service
* fixes tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* auto: bumps vault-client-typescript version
* fixes sync activation flags method name that changed in client
* updates azure auth config form test
---------
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
* fix(serializer): update model serializer to factor in optional data obj with keys
* chore(changelog): add bug fix desc for changelog
Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
* moves and renames cluster sidenav to dashboard
* adds changelog
* reverts cluster to dashboard nav name change
* reverts cluster nav import path change
* reverts cluster nav test name change
* adds nav to cluster error, mfa-setup, not-found, storage-restore and storage routes
* fixes tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* VAULT-42427 - initial code updates for aws form
* VAULT-42756 - implemented wif support for secret sync
* VAULT-42756 - added acceptance and integration test cases for WIF support
* refactor: streamline WIF credential handling and enhance destination details management
* added changelog
* fixed review comments
* updated changelog
* fixed failing tests
* fixed review comments
* fixed validation for Edit scenario
* fixed region field to have no default value selected
* Refactor: updated string literals with centralized enums and some other refactors
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
* Create billing route and add to sidebar
* WIP
* Working dynamic cards
* Update billing copy
* Fix bugs
* WIP polling
* WIP Add polling..
* Move card logic to metric-card
* Remove gcp KMS
* Working polling
* broken but just to demo normalization (#12594)
* broken but just to demo normalization
* Pair with Claire to clean up data
* Fix merge conflict issue
* Create type file and add helper
* Add unit test!
* Add copywright headers
* Update unit test name
---------
* Fixes summary card component
* Polling...
* Fix ts errors
* Write sidebar logic and add acceptance test
* Add comment explaining license feature
* Address feedback and fix styling so its responsive
* Fix failing tests
* Remove polling service and code clean up
* Add changelog and update some styling!
* Update changelog...
---------
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* dismisses wizards in ember tests
* clears localStorage for tests that require intro pages
* fixes version assertions in reduced disclosure tests
* adds a wait for file upload in snapshots recovery test
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* adds constants util for wizards and updates service to use WizardId type
* updates wizards to use WIZARD_ID_MAP values
* updates wizard tests to use the service for dismissal
* updates playwright setup to add all wizard ids as dismissed in localStorage
* removes wizard dismissal step from existing playwright tests
* fixes issues accessing owner in beforeEach hooks of namespaces acceptance tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* updating transition for unsupported engines to route to config, code cleanup
* test updates
* updated tests to assert route & path are called with transition
* fix assertions
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* update styles and casing
* fix check for default secret engines
* show content behind intro modal
* revert header changes
* update alert and test
* add test coverage and update flash message
* update doc link style class and update test
* update tests
* update test to avoid state mismatches
* update test
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.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>
* no-op commit
* UI: Fix secrets engine list not refreshing after deleting within a namespace (#12511)
* rename arg to differentiate between selectionKey for HDS component
* add more test coverage, fix bug for isObject rendering
* fix namespace test coverage to actually test relevant stuff
* more test updates to use latest selectors
* add changelog
* add more test coverage
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* render Hds::ApplicationState in Page::Error component
* fix initial test failures
* implement Page::Error component in remaining error templates
* replacing remaining errors with Page::Error
* update test coverage, clarify message logic
* fix status code for already parsed errors and revert to root url
* update tests to reflect more detailed error messages
* replace not found test coverage with more robust tests
* remove unnecessary error intervention
* round out test coverage, add typescript definitions for each error type
* remove manual db credentials error intervention
* var cleanup
* add titleTags to errors
* add changelog
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* fix reset password error substate not rendering
* fix user dropdown not closing after route click
* add test coverage for stuck user menu;
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* [VAULT-40843] Tune External Plugin Version
* update comment :)
* update test for edge case
* simplify version state management and add comments for clarity
* remove obsolete styling; update comments
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
* make router-lookup helper
* add policyPaths arg to flyout and update route cache to map
* update kv flyouts and test coverage
* round out test coverage, rename method from get to lookup
* alphabetize PATH_MAP
* support other change events for inputSearch to allow copy/pasting items
* update overview requests and improve ux for limited permissions
* request each key permissions
* add flyout to pki page header
* update changelog
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* WIP
* WIP...
* Update page headers and move logic back
* remove unused stuff
* Fix failing tests
* Use hasNavPermission
* Update raft storage locatin and add namespace link on top
* Update access sidebar link to Access control
* Update order of API_PATHS
* Remove namespace link
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* [VAULT-33083] support mount external engine
* add "Plugin type" and "Plugin version" fields to the enable mount page
* add changelog
* address copilot review comments
* address PR comments, code cleanup
* fix test failures
* Add support for external plugins registered without a plugin version
* external plugin should be enabled for enterprise only, plugin version should be mandatory for external plugins
* fix tests
* address copilot feedback
* fix failing tests, add unit test coverage
* address PR comments
* address PR comments
* remove dead code
* move no external versions alert
* Only show un-versioned plugin message if there are un-versioned plugins in the catalog.
* address PR comments
* use ApiService instead of custom PluginPinsService; fix failing tests
* revert changes to forms/mount.ts and forms/auth/method.ts
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
* Update kubernetes and kmip breadcrumbs
* Add breadcrumbs for non ember engines
* LDAP breadcrumbs..
* PKI breadcrumbs..
* Mostly working kv tests
* kv data persona tests
* Fix remaining kv-workflow test
* Route to vault.cluster instead of dashboard
* VAULT-41964 Update client count breadcrumb + test
* VAULT-41143 Remove user dropdown a11y override
* Add test for nav links on community
* Ensure we check for enterprise
* Address feedback
* Use selector instead
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* WIP secrets sidebar
* Remove unwanted text and put some things back..
* Add secrets templates for sidebar
* Fix tests
* Update more Secrets navlinks
* Add copywrite headers
* Creates secrets.hbs so its the parent route
* Update secrets comment
* Update component name
* Update sidebar to use helper
* Secrets sync breadcrumbs
* Address feedback~
* Use enum and add helper test
* Fix links!
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* updates flags service to use api service
* converts clients index route to ts
* updates clients config workflows to use api service
* updates clients date-range component to handle Date objects rather than ISO strings
* updates clients page-header component to handle Date objects and use api and capabilities services
* updates clients route to use api and capabilities services
* updates types in client-counts helpers
* updates client counts route to use api service
* updates types for client-counts serializers
* updates date handling in client counts page component
* updates clients overview page component
* converts clients page-header component to ts
* fixes type errors in clients page-header component
* updates client counts tests
* updates client-count-card component to use api service
* converts client-count-card component to ts
* removes model-form-fields test that uses clients/config model
* removes clients/version-history model usage from client-counts helpers tests
* removes migrated models from adapter and model registries
* removes clients ember data models, adapters and serializers
* updates clients date-range component to format dates in time zone
* cleans up references to activityError in client counts route
* adds clients/activity mirage model
* updates activation flags assertions in sync overview tests
* fixes issue selecting current period in clients date-range component and adds test
* fixes issues with enabled state for client counts
* updates parseAPITimestamp to handle date object formatting
* removes unnecesarry type casting for format return in parseAPITimestamp util
* updates parseAPITimestamp to use formatInTimeZone for strings
* updates parseAPITimestamp comment
* updates enabled value in clients config component to boolean
* adds date-fns-tz to core addon
* removes parseISO from date-formatters util in favor of new Date
* updates comments for client counts
* updates retention months validation for client counts config
* updates comment and min retention months default for client counts config
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* update namespace empty state
add in refresh button to empty state and update tests
update button design
* update copy
* update when exit button is shown
* update css class
* revert state changes
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* remove cluster route and model boundary route mixins
* add copyright header
* remove old unit test
* change replication/application route
* don't use cluster route in replication
* why have a base class at all?
* test tweaks
* remove afterModel redirect in replication
* refactor targetRouteName to use derived state
* Update route class name on replication-dr-promote.js
---------
Co-authored-by: Matthew Irish <39469+meirish@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* fill guided start content
* move namespace logic into page component
* add page component tests for namespace wizard
* add tree chart and changelog, update state management
* fix failing page usage test
* add back in breadcrumb update lost in merge conflict resolution across files
* fix test
* update terraform template function usage
* Update ui/app/components/wizard/namespaces/step-3.hbs
* formatting and fixes
* revert usage page changes
* move snippet generators into util and update code snippet initialization
* update test namespace page args
* move namespace wizard logic into its own component
* fix nested namespace creation via api and cli code snippets
* test update
* nested namespace terraform snippet
* remove outdated comment
* test clean up and hide wizard in CE
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>