* 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>
* move script to scripts folder
* add docfy to router and scripts
* add docfy to router and scripts
* fix jsdoc syntax
* add component markdown files to gitignore
* improve error handling for scripts
* tidy up remaining jsdoc syntax
* add sample jsdoc components
* add known issue info
* make not using multi-line components clearer
* make generating docs clearer
* update copy
* final how to docfy cleanup
* fix ts file @module syntax
* fix read more syntax
* make docfy typescript compatible
* wrap event handler with if statement and pass noop if disabled
* add test coverage
* change test name
* Update ui/tests/integration/components/selectable-card-test.js
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
---------
Co-authored-by: Chelsea Shaw <82459713+hashishaw@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>
* Update search-select component
- Add aria-label arg
- use label or humanized ID as fallback aria-label
- protect against non-array options arg
* remove overflow-x rule on toolbar-scroller so dropdowns can render in place
* add renderInPlace to dropdowns in pki engine
* Update replication package.json and add renderInPlace
* Add renderInPlace to search-select and basic-dropdown in engines (kubernetes, kv, ldap, sync)
* small cleanup
* use router for transitions within replication engine
* fix inverse value on group-alias belongsTo relationship
* Always call super.willDestroy after custom hooks
* fix deprecation ember-engines.deprecation-camelized-engine-names
* graceful fallback on message-error if adapterError does not include errors
* use router.replaceWith during tests on logout
* fix more links
* refactor tabs-for-auth-section helper
* Fill out route params in generated-item + list compoenents
* Add optional route params to ListView pagination
* Add backend to KV breadcrumb link route models
* fix links in kv v2 pages, update kv-breadcrumbs-test
* remove todo
* only generate 2 mounts per client type
* add acme_clients to attribution chart
* add acme clients to running total
* cleanup selectors
* add stat box to single historical month running total, update tests
* update filter subtext
* add mountpath to usage stat description, change tags from h to p
* cleanup extra divs
* remove extra clients text from cluttered stats
* update attribution test
* fix some a11y tests and update attribution counts
* fix a11y violations
* move to beforeEach?
* 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
* fixes cases where inputs did not have associated labels
* add changelog entry
* update form-field test now that json editor has label
* remove label-related TODOs from other tests
---------
Co-authored-by: Noelle Daley <noelledaley@users.noreply.github.com>
* remove .get() from cluster and vault route
* replace .get() use in adapters
* remove .get() from components part 1
* remove .get() from string-list
* remaining components
* controller .get() removal
* remove .get() use in mixins
* routes/cluster/access* .get() replacement
* policy index route
* routes/secrets/backend*
* route/cluster*
* serializers
* is-active-route
* remaining top-level addon gets
* replication get()
* revery change that broke things
* woops, revert other store service change
* revert some controller changes
* revert get on URLSearchParams class
* remove .sortBy ember method
* small cleanup items
* small cleanups from PR review
* Update add-to-array and remove-from-array helpers
* remove search-select-has-many, moved logic directly into mfa-login-enforcement-form (see #16470)
* Replace add/remove object in MFA files - All MFA tests pass
* Replace in PKI components (pki tests all passing)
* Replace in core addon where applicable
* glimmerize console service -- console tests pass
* more replacements
* update string-list, add comment to vertical-bar-chart
* Refactor CSP Event service
- only used one place (auth-form) so simplified that usage
- glimmerize and refactor so that the tests work
* small updates
* more cleanup
* Fix tests
* Remove objectAt from console-helpers
* Address PR comments
* move commandIndex clearing back
* Remove extra model set
* chore: update hds and flight-icons
* fix: add missing deps and use .css from HDS
* update HDS components to new syntax
* database-connection-edit: add @waitFor to fix rotate-related acceeptance tests
* use stub to fix confirm-modal-test
---------
Co-authored-by: Alexey Kulakov <uni_que@me.com>
* replace all instances of toArray() with slice()
* remove unnecessary array check
* remove superfluous that used to be toArray
* remove other superfluous slices
* Revert "remove other superfluous slices"
This reverts commit 51df83f44ebf0445a18c5cf17283ca7cde23fd53.
* add default granularity depending on type
* move default setting to helper
* add test coverage for default granularity
* update mirage
* update secret name template
* remove has-text-black class which was making help tooltip black as well
* add granularity form field to sync destinations
* update mirage, shim in subkey response
* fix comment
* add granular updates to list view
* update mirage;
* update test
* comment for updating test
* use hds::dropdown in destinations for consistency
* move banner to popup menu
* add changelog
* remove spans from test
* use format-copy-value helper for copy text in Hds::Copy::Button
* delete helper and revert masked input
* update certificate card to format to string
* add test
* add changelog;
* fixes masked-input component throwing error when there is no value
* removes copy button assertions from masked input test
* reverts masked input assertion removal and updates test selectors
* Address comments
* Fix serailizer warning mesage
* Reset pageFilter when exiting
* Add start and end time validation and fix bugs
* Fix failing tests
* Add validation tests
* Set end time in contorller
* Address feedback
* Remove new date
* Put new Date back
* Show JSON editor by default if secret data is complex, but do not disable JSON toggle
* Add text object warning to kv object editor
* a11y fix: do not disable show diff toggle
* test and language cleanup
* update language
* Update tests for expected behavior
* language!
* Add changelog
* UI: [VAULT-21521] Initial config-ui engine and routes set up (#23922)
* UI: [VAULT-21526] Create adapter, serializer, and model files (#23947)
* UI: [VAULT-21588] Add Custom Messages to the sidebar (#23946)
* UI: [VAULT-21527] Mirage setup (#24000)
* UI: [VAULT-21530] Custom Messages List View w/ Pagination and LazyPaginatedQuery (#24133)
* UI: Add list to adapter query param (#24187)
* UI: [VAULT-21532] Create message (#24407)
* WIP create message
* Add breadcrumns
* Create and edit form
* Add save to create/edit form
* Add cancel and todo
* Fix cancel route
* Fix breadcrumb label to be title case
* add start time logic
* Update breadcrumb
* Fix breadcrumbs and merge conflict test
* Update create form description
* Fix sidenav so it always highlights
* Fix up forms
* Mostly working create form
* Form cleanup
* Fix link title and href form fields
* Default startTime
* Fix messages
* Update dropdown to use the updated ConfirmAction component
* Update create and edit form
* Add wip tests
* Fix breadcrumb formatter
* Comment out test
* Update create message test
* Update more tests
* Add comment for fixing date on edit
* Update Message form
* Code cleanup!
* Add validation tests
* Remove authenticated from route model
* SOme more code cleanup
* Add controller so authenticated is parsed
* Working radio buttons
* Use an object instead of arrays
* Wip date form
* Fix license headers
* Fix license headers addition of files
* Fix copyright format issues and clean up code
* Fix tests
* Rename FormField radio getter and ay11 improvements
* Address feedback
* Fix specific date so it remembers the values
* Address feedback!
* Update more form fields
* Use formfield action instead
* Update to every
* Update syntax of onchange
* Fix tests
* Update willDestroy so it doesnt break tests
* Remove set and brodcast datetimelocal
* Put FormField back the way it was in favor of putting FormField to a seperate PR
* Remove getter in formfield component file
* Address more feedback
* Put back test
* Update datetime string format var name and location
* UI: [VAULT-21534 VAULT-21533 VAULT-21536] edit, preview, and delete custom message (#24603)
* Working edit
* VAULT-21536 update delete message and create/update flash message
* VAULT-21533 add preview modal
* Update serializer
* Preview refinements
* Move preview to its own component
* Move breadcrumbs to setupController
* Add more tests
* Address some feedback
* Address more feedback!
* Update serailizer
* Remove stylesheet
* Add comment
* UI: [VAULT-21435] Message details (#24645)
* WIP
* Fix timezone bug
* Fix date issues on create/edit form
* Add details screen
* Use allFields instead of formFields
* Fix tests
* Address comments!
* UI: VAULT-21538 unauth endpoint message display (#24665)
* WIP unauth display
* Add modal custom message
* Close multiple modals
* Update todo with ticket number
* On init make custom message request
* Use serializer
* Update fetchMessages
* Add copyright headers
* Add services and serializers
* Send null instead of empty strings
* Fix tests!
* Add copywrite headers
* Add some acceptance tests
* Test cleanup
* Put tests back
* pass hooks to module
* Move module out
* Seperate tests
* Copywrite
* Add aria-prohibited-attr runList options
* Code cleanup
* Add date-time-local transform
* Add copyright headers
* Remove comments
* Remove date transform stuff for now!
* Put getISODateFormat back into the serailize function
* UI: Date time local transform (#24694)
* Date time local
* Add deserialize
* Add copyright header
* check if date exists
* Use parseISO for date strings since datefns requires this in new update
* Update tests
* Ensure we cehck for an ISOString
* Add checks so tests wont fail
* Update parseISO
* Address feedback
* UI: multiple banner message on create and edit form (#24742)
* WIP multiple banner message on create and edit form
* Fix tests
* Put checks back
* Add try/catch to query
* Fix breadcrumbs
* Add page size to pagination
* Add multiple modal message tests
* Address feedback
* Check for valid form first
* Add extra checks
* Address feedback
* Move getter to the route
* Fix tests!
* Address more feedback
* Use still when cancelling
* Update multiple banner modal
* Fix tests
* Set user confirmation to empty string
* UI: VAULT-21539 auth messages display (#24842)
* WIP auth message display
* Move block to show only when authenticated
* VAULT-22046 working search by name
* Some code clean up
* Fix merge conflict
* Add tests
* Fetch messages again after creation
* UI: [VAULT-22908] Update kv object editor, add max number of messages reached modal, small improvements (#24918)
* Update kv object editor to only use a single row
* continute using kv editype
* Fix failing dashboard tests!
* Fix failing test on sidebranch
* Fix tests and update validations
* Add optional tag
* Address feedback
* Add documentation
* Clear messages when logging out
* Fix tests!
* Add 100 message limit modal
* Add max message modal test
* Do more checks!
* Pair with Claire on the refactor of validator!
* Only show validationerror for multiple rows
* Update pageSize to 100 since when paginations are active it causes accessbility errors
* Fix tests!
* Add links to test
* Make banners dismissable
* Add cancel button
* Address feedback!
* Update test selectors
* Update validator
* Remove validations check in kvobjecteditor
* Revert validationError in kvobjecteditor template
* Put back if/else statements for link
* Add changelog
* UI: fix link bug and add colors (#24977)
* Fix edit bug and put transform back
* Edit badgeColor
* Add tests
* Revert changes to transform
* Edit badge colors
* remove universal object transform
* Update changelog filename
* UI: Add form inline warning (#24986)
* Add form inline warning
* Remove title
* Only show form warning for unauth
* Address feedback!
* leverage isSectionHeader option to change component styling
* update destination models to include new params
* update form and details template to accommodate new fields
* remove extra horizontal line
* move is-empty-value to core addon and use in details template
* remove leftover or conditional
* update mirage and tests
* update form tests
* remove trailing space from inline link
* add validation for white space
* remove icon for inline link
* clear banner if no mount selected
* unobfuscate key_vaul_uri
* add margin below buttons
* add tst for sync banner
* refactor sync form, checking for mountPath was unreliable...bad idea Claire
* updates destination name filter to use FilterInput component
* simplifies destinations list redirect condition
* fixes issue with sync destination type filter and issue filtering by both name and type
* unsets page query param in sync destination secrets route