* removing separate hds icon class
* removing duplicate class, adding separate class to handle toolbar link misalignment
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* VAULT-42410 - refactored empty state component for ldap directory
* added data-test attributes
* fixed application state body text
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
* add playwright test for PKI engine
* remove disable flow, test download and revoke actions, test overview cards
* same intro skip condition
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* 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>
* 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>
* add agent registry to hidden backend list
* consolidate excluded mounts to a single list
---------
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.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>
* testing
* testing some routing fixes, removing more unused code
* using direct config route instead of general settings
* same for general settings save
* testing without unsavedChanges interrupt
* put things back but add hvd flag for refresh
* cleanup
* putting things back
* undo
* redos
* fix model refresh & ttl bug
* fixing ember engines
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.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>
* 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
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>
* 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>
* 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>
* 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>
* 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>