* namespace and ui-config, running out of time ahhh
* fix some tests
* triple back to back runs on namespace and we're solid
* add cleanup test pollution on config-ui/messages and also remove the empty state check as we do that in the component test:
* Fix test error: "Promise rejected during "it should show the list of custom messages": _generalSelectors.GENERAL.listItem is not a function"
* fix more tests
---------
Co-authored-by: Shannon Roberts <shannon.roberts@hashicorp.com>
* clean up selectors file and then update testButton to buttonByAttr
* a lot but not really in the scheme of things
* fix component test failures
* fix acceptance test failures
* fix namespace selector
* clean up remaining tests
* another test
* last test
* small changes, but I have test failures
* a mess in custom messages, really hard to test because of test pollution.
* make data-test-submit vs data-test-save
* change other-methods to sign in with other methods
* clean up of failing test
* buttonByAttr to button
* clean up test pollution on config messages
* sweep of clean ups
* another round of small cleanups
* fix some message things, remaining oidc issue?
* use a runCmd to better delete things
* fix to amend for recent auth test changes
* remove skip
* adds field group support to forms
* adds forms for sync destination types
* adds type for sync destination form
* adds readonlyParams to sync-destinations helper and error handling to findDestination util
* updates sync destinations create/edit routes to use forms
* updates sync create-and-edit component to use form class and api service
* updates sync destinations tests
* [UI] moved template logic for `radio` editType in `FormField` under the `isHdsField` block (#34742)
* [UI] added integration tests for `FormField` with editType=‘radio’ (#34742)
* [UI] fix broken tests (#34742)
* [UI] added `data-test-form-field-doc-link` attribute to `<DocLink>` instances in `FormField` (#34873)
* [UI] renamed a few `data-test` attributes in `FormField` for consistency (#34873)
* [UI] added integration tests for `FormField` with editType='password' (#34873)
* [UI] added integration tests for `FormField` with editType='select' (#34873)
* [UI] added integration tests for `FormField` with editType='checkboxList' (#34873)
* [UI] tweakings per review comments (#34873)
* [UI] standardized template code and data attributes for `form-field` + added general selectors + updated/standardized integration tests (#34873)
* fixed a couple of broken tests (selector needed to be updated)
* selector things and addressing flakiness in secret-test
* replace and update the data test selectors for info-table-row
* fix a selector
* skip the replication test that borks it all, I have a follow up ticket and replication works still.
* remove the uneeded data-test-div thing
* missed one
* fix replication selector
* fix ci test failures
* pull in clicktrigger
* update transit test
* improves path handling in capabilities service
* converts has-capability to class helper and adds pathKey and params args
* adds api service to sync engine
* updates sync types
* improves typings in paginate-list util
* adds api client error handling to error page component
* adds api utils for sync
* updates sync overview route and page component to use api service
* updates sync destinations route and page component to use api service
* adds missing copyright header
* fixes paginate-list regression
* fixes return type for has-capability helper
* Apply suggestions from code review
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
* fixes page error tests
* resolves suggestions from review
* fixes has-capability usage errors
* fixes comment in capabilities service
* more test fixes
---------
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
* TOTP secrets in the web UI
---------
Co-authored-by: Moritz Pflanzer <moritz@pflanzer.eu>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
* gcp initial changes
* acceptance test coverage for gcp
* update config-wif component test so tests are passing
* specific gcp test coverage
* changelog
* comment clean up
* one more test
* comment things
* address pr comments
* first round, there shall be more
* fix secret test
* more clean up
* maybe last round of clean up?
* this is going to take a while
* all the things or more of them at least
* this is the song that never ends...
* ... it goes on and on my friend.
* clean up clean up everybody lets clean up
* rename mount helper to mountBackend
* clean up 🧹
* address pr comments
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add auth-config/oidc to openapi model helper
* alphabetize
* update maskedinput selector to be standard data-test-input
* add test
* add changelog
* fix maskedinput test and kv selector
* final textarea selector!
* manual cherry pick to deal with all the merge things
* changelog
* test fixes
* Update 28148.txt
* fix tests failures after main merge
* fix test failures after main merge
* Add Access Type and conditionally render WIF fields (#28149)
* initial work.
* remove access_type
* better no model logic well kind of
* rollback attrs
* remove defaults
* stopping point
* wip changing back to sidebranch
* hustling shuffling and serializing
* some of the component test coverage
* disable acces type if editing
* test coverage
* hide max retries that sneaky bugger
* cleanup
* cleanup
* Update root-config.js
* remove flash message check, locally passes great but on ci flaky
* clean up
* thank you chelsea
* test clean up per enterprise vs community
* address pr comments
* welp a miss add
* UI (sidebranch) WIF Issuer field (#28187)
* Add type declaration files for aws config models
* use updated task syntax for save method on configure-aws
* fix types on edit route
* fetch issuer on configure edit page if aws + enterprise
* track issuer within configure-aws component
* add placeholder support on form-field
* Add warning if issuer changed from previous value or could not be read
* cleanup
* preliminary tests
* dont use while loop so we can test the modal
* tests
* cleanup
* fix tests
* remove extra tracked value and duplicate changed attrs check
* modal footer
---------
Co-authored-by: Angel Garbarino <argarbarino@gmail.com>
* Display issuer on Configuration details (#28209)
* display issuer on configuration details
* workflow complete, now on to testing
* handle issuer things
* fix all the broken tests things
* add test coveragE:
* cleanup
* rename model/adapter
* Update configure-aws.ts
* Update aws-configuration-test.js
* 90 percent there for pr comments
* last one for tonight
* a few more because why not
* hasDirtyAttributes fixes
* revert back to previous noRead->queryIssuerError
---------
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
* initial changes with no test coverage
* test coverage and fixes
* additional edit config test coverage
* clean up
* clean up
* Address pr feedback
* welp missed an await
* missed
* take back
* Update configure-ssh-test.js
* move date-from-now helper to addon
* make overview cards consistent across engines
* make kv-paths-card component
* remove overview margin all together
* small styling changes for paths card
* small selector additions
* add overview card test
* add overview page and test
* add default timestamp format
* cleanup paths test
* fix dateFromNow import
* fix selectors, cleanup pki selectors
* and more selector cleanup
* make deactivated state single arg
* fix template and remove @isDeleted and @isDestroyed
* add test and hide badge unless deactivated
* address failings from changing selectors
* oops, not ready to show overview tab just yet!
* add deletionTime to currentSecret metadata getter
* initial changes
* test selector and duplicate tests clean up
* check for flashDanger
* rename to make it easier to parse
* clean up selector names
* clean up
* add component test coverage
* remove true
* setup the toggle to display mount configuration options
* whew.. getting there. aws only, borked for ssh
* another round, better than before
* masked things
* changelog
* fix broken oss test
* move to component
* handle ssh things and cleanup
* wip test coverage
* test coverage for the component
* copywrite header miss
* update no model error
* setup configuration aws acceptance tests
* update CONFIURABLE_SECRET_ENGINES
* acceptance tests for aws
* ssh configuration
* clean up
* remove comment
* move to confirm model before destructuring
* pr comments
* fix check for ssh config error
* add message check in api error test
* pr comments
* move non user facing changes to another pr
* remove non-relevant test coverage
* address pr fixes
* Update mountable-secret-engines.js
* Update secrets-engine-mount-config.ts
* clean up
* put back console because of tests and use debug instead
* missed one
* blah fix
* it works...but does it break everything else?
* Update code-mirror.js
* Update code-mirror.js
* return to original
* changelog
* different approach to move onto parse at create and edit. it breaks things, hopefully fixed in next commits
* use onBlur event on codemirrror
* maybe? lets run the tests and find out
* update comments
* wip for conditional to only compare on kvv2
* remove onblur leftovers
* missed two
* clean up
* test coverage
* try catch logical operator instead
* stringify helper and not native json stringify to maintain object shape
* remove comment
* Update json-editor.js
return brackets do not want issues with backports
* Update json-editor.js
* Update json-editor.js
* Test fix
* maybe
* more specific cursor test
* json-editor test cleanup
* Delete ui/testrun1.txt
* Delete ui/testrun2.txt
* remove non json test it doesn't test anything
* update test and comment for how it's testing non-json content
* test fix
* put shape of json blob back:
* send in original without parsing or stringify
* welp friday things
* move OktaNumberChallenge and AuthForm to AuthPage component
* return from didReceiveAttrs if component is being torn down
* update auth form test
* change passed task to an auth action
* update auth form unit test
* fix return
* update jsdoc for auth form
* add docs
* add comments, last little cleanup, pass API error to okta number challenge
* separate tests and move Auth::Page specific logic out of auth form integration test
* fix test typos
* fix page tests
* wip not working on edit view
* changelog
* vercel and fix tests
* need conditional to not break all the things:
* create test coverage and add for other obfustcaed fonts, still missing one.
* Update 27348.txt
* remove meep
* comment
* test coverage
* initial changes for new component template only handle actions in parent
* add changelog
* fix current kubernetes test
* component test
* remove concurrency task
* make div and not form due to testing things
* address pr feedback
* Update ui/tests/integration/components/filter-input-explicit-test.js
Co-authored-by: Noelle Daley <noelledaley@users.noreply.github.com>
* Update filter-input-explicit-test.js
* fix tests
* make it a form and fix test:
---------
Co-authored-by: Noelle Daley <noelledaley@users.noreply.github.com>
* Allow Managed clusters to see Secrets Sync Overview and Sidebar nav (#26649)
* update badge text and allow hvd on secrets sync views
* update logic in Secrets Sync overview and cta for hvd.
* spacing
* rearrange based on pr feedback
* fix return on badgeText and cluster nav test
* fix landing cta tests
* update test to reflect new changes
* moved call to feature-flags from application route to the service to match patterns
* add managed test coverage on overview component test and remove premium feature so cta message appplies to both managed and non-managed clusters
* missed service name and unskip admin test
* clean up
* fix tests
* flags test fix
* Rename isManaged and managedNamespaceRoot (#26697)
* renames
* lowercase HVD to match
* missed some
* test failure
* [Secrets Sync] enable access to Sync clients page for HVD clusters (#26713)
* feat: split client counts navbar into separate component
* acceptance/clients/counts/overview-test: remove tests now covered by int tests
* clients counts route: rename isSecretsSyncActivated to showSecretsSync
* sync clients page: show unactivated state unless sync client history or feature is activated
* client counts navbar: show sync tab only if client history or is /able to be/ activated
* clients overview page: only show sync charts if activated
* fix: rename isManaged to isHvd
* acceptance/counts/overview-test: add HVD tests
* acceptance/counts/overview-test: clean up unused cruft
* aceptance/clients/counts/overview-test: ensure we dont get false negatives
* chore: move Clients::Error to Clients::Counts::Error
* chore: calculate showSecretSync in page component instead of route
* chore: add copyright headers
* acceptance/clients/counts/overview-test: stub activated flags to fix test
* [Secrets sync] update sync test selectors (#26824)
* acceptance/clients/counts/overview-test: use imported test selectors
* general-selectors: add missing emptyStateSubtitle property
* acceptance/clients/counts/sync: nest tests in top level module for easier test runs
* Add permissions check to show/hide activate button (#26840)
* add permissions check to flags service and consume in overview template
* add back missing refresh
* fix test failures
* add test coverage
* clean up
* address flaky test
* grr
* address test failures
* add changelog
* try to fix test failure only on gh
* fix fetch to match previous implementation of feature-flags
* fix failing test
* update comment
---------
Co-authored-by: Noelle Daley <noelledaley@users.noreply.github.com>
Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com>
* refactor findAll to use internal/ui/mounts when authenticated as well
* format ttl in details view
* include hours in format for easy comparison to CLI return
* Revert "include hours in format for easy comparison to CLI return"
This reverts commit 990aaf5d1e157ccd83389ecd54011b8971f7e52d.
* add changelog
* revert adapter change
* add new adapter method instead of updating existing
* add test for ttl
* revert and use findAll again
* update mirage endpoints
* remove query obj
* Revert "update mirage endpoints"
This reverts commit f5fb333bf46b8ee86fbd134cbbd9fde85a72c9a1.
* another one that snuck into a separate commit
* use adapterOption to manage endpoint logic
* add adapter tests
* Update changelog/26663.txt
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
* add test that ttl inputs aren not checked
---------
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
* use model returned by route model hook for ts declaration
* remove hasActivity helper
* refactor mirage so namespace totals are summed from monthly data
* add charts to acme tab
* add controller, update counts test
* add test for acme page
* selector cleanup
* update empty state handling for cc charts
* cleanup conditional logic
* add acme acceptance tests for filtering
* wrap up util updates
* finish acceptance tests
* update usage stats
* wrap up number updates from latest stubbed response