* 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>
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal
* use class helper to check for multiple nodes when rendering tree chart, add test coverage
* update comments
* add modal for namespace intro and improve reusability
* style updates and general reusability updates
* make intro pages more generic and rename welcome to intro
* update tests
* update styles, use service to track intro visibility, rename components
* Update arg docs
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.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>
* removes require-input-label ember-template-lint override
* adds aria-label to textarea in MaskedInput component
* more a11y fixes for missing labels
* adds aria-label back to lookup-input
* adds aria-label back to select component
* ensures aria-label has value in select component
* removes duplicate onchange handler from lookup-input component
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal
* use class helper to check for multiple nodes when rendering tree chart, add test coverage
* update comments
* add wizard service unit test coverage
* move item filtering into helper func
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.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>
* VAULT-41682 - update header to add title tag and centre align with icon
* Fixed linting error
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.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>
* convert to typescript
* move getOptions to namespace service
* delete unneeded ts file
* add test coverage and cleanup getOptions method
* use new admin const
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* move namespace logic over into page component
* add onPageChange arg and pass @model
* update type and arg accessor
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* move utils to a folder
* separate methods for serializing
* separate test coverage too
* make formatQueryParams a separate util
* use api service to request export data
* consolidate error templates
* move export request to parent route
* replace EmptyState with ApplicationState
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add automation snippets to policy and convert to page component
* only show for acl types
* remove unnecessary tag
* update test coverage
* last fix, oops!
* wait for dropdown to close
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* Replace direct use of hds::pageheader with page::header
* Update test selector
* Remove unused selector
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "identity" directory
* reverted top margin spacing to use top padding instead
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "clients" directory
* added missing data-test values to HDS:ApplicationState header and body
* reverted top margin spacing to use top padding instead
* updated class for consistent spacing and added icon & errorCode args
* fixed failing test
* fixed vertical alignment for Hds Application State error
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "clients" directory
* added missing data-test values to HDS:ApplicationState header and body
* reverted top margin spacing to use top padding instead
* updated class for consistent spacing and added icon & errorCode args
* fixed failing test
* fixed vertical alignment for Hds Application State error
* fixed failing test case
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
* add <h> tags for form header elements
* make policy snippet args reusable util
* build flyout component
* add test coverage for flyout
* update flash toast tests
* move policy tests to directory
* remove link now that its a default
* abc imports
* add test for default templates
* add comment to example
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* separate header comp
* replacing header
* redirect to general settings
* moving kv configure under plugin settings
* add exit button
* removing all use of old header with new, updated logic
* reuse secretPath, add button to badge
* test updates pt1
* test updates pt2, refactors
* test fixes
* testing
* removing extendedConfig
* put tabs out of header
* adding new config edit page & updates
* adding page test
* pr comments
* replace type with effectiveType
* test fixes
* adding badges, cleanup test
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* [VAULT-33083] UI: support builtin plugins as external plugins
* address copilot review comments
* add changelog
* remove unused id property
* address some nits & add test coverage
* should use utils instead of mixins
* update comments
* move/consolidate logic for 'transform' engine type into ENGINE_TYPE_TO_MODEL_TYPE_MAP, added/updated test coverage
* cleanup: extract transform engine model type logic into helper functions
* address pr comment
* separation of concerns - move relevant vars/fns from all engines metadata to external plugin helpers & secret engine model helpers files
* add TODO; remove unnecessary exports
* rename secret-engine-model-helpers to secret-engine-helpers
* update unknown engine metadata from var to fn to handle a methodType param
* remove unnecessary test
* update changelog; return methodType for unknown engine metadata, simplify code for readability
* add optional chaining for fail-safe
* address kvv1 edge case - on exit configuration, kvv1 should redirect to list-root while kvv2 should redirect to the engineRoute defined in all-engines-metadata
* add ibm header
* fix test failure after updating unknown engine type
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
* converts quick-actions-card component to ts
* updates dashboard quick-actions-card to use hds super select component
* removes searchField from params search
* fixes kvv2 workflow test
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* replace Hds::Reveal with Hds::Accordion
* adjust spacing to render in Hds::Form component
* fix spacing in policy-example
* cleanup form-section class usage
* implement visual builder in create policy form
* hide visual editor in search select modal
* use general selectors, alphabetize form/field selectors
* update test coverage to check for visual policy editor
* reorganzie tests by module
* add saving functionality for visual editor
* refactor event handling methods
* refactor component so parent manages stanzas
* move snippets to automation-snippets tab component
* polish up policy diff modal
* refactor arg to be isCompact
* update test coverage and export new component
* rearrange methods to make diff easier
* small cleanup, abc vars and remove unneeded change
* add lanuage and update test coverage
* update comment
* fix form hierarchy
* fix modal spacing;
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* removing flags
* small changes
* fixes
* move things back
* utilizing aftermodel w mods, testing aws
* fix ssh tests
* fixing aws and azure
* fix gcp
* fix test and flip kv
* fix kv2 tests
* adding model to fix tests
* updates and removals
* fix tests
* no showing empty state, redirect to plugin settings after config save
* test fixes
* update subtitle to include namepsace, fix test
* removing index, replacing with general settings, updates
* updates and fix tests
* more test fixes
* wif tests
* updates to nav tests
* update tests and cleanup configuration logic
* add todos
* fix remaining tests, add nav test to gcp
* test tweak
* address todos, test update
* Update ui/app/routes/vault/cluster/secrets/backend/configuration/plugin-settings.ts
* I love prettier so much
---------
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
* removes store query from pki config route
* updates pki overview route to use api service
* removes remaining references to store in pki tests
* removes unused store service injections in pki components
* removes store dependency from pki engine
* removes ember data related unit tests for pki
* removes pki ember data models, adapters and serializers
* removes unused pagination service injections in config-ui, kv, pki and sync engines
* removes unused store service injections from pki engine
* updates dashboard quick-actions-card component to fetch options using api service
* removes path-help test using pki model
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* remove request for ldap config;
* simplify tabs to accept routes as args
* reuse tabs in ember engines
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>