* increase bar width, show new clients only, add timestamp to header, update bar color
* remove extra timestamps, switch to basic bar chart
* update docs and styling
* remove unneeded timestamp args
* show new client running totatls
* initial test updates
* update test
* clean up new client total calc into util fn
* bits of clean up and todos
* update tests
* update to avoid activity call when in CE and missing either start or end time
* update todos
* update tests
* tidying
* move new client total onto payload for easier access
* update more tests to align with copy changes and new client totals
* remove addressed TODOs
* Update comment
* add changelog entry
* revert to using total, update tests and clean up
* Update ui/app/components/clients/page/counts.hbs
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* remove duplicate charts and update descriptions
* update tests after removing extra charts
* tidy
* update instances of byMonthActivityData to use byMonthNewClients and update tests
* Update ui/app/components/clients/running-total.ts
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* update chart styles
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* 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>
* WIP updating config-ui engine to use api service and form class
* updates form-field component to support false values for radio types
* updates api-error-message util to log out error in dev env
* fixes issues in custom messages create and edit workflows
* fixes issues in api service
* updates capabilities handling
* updates to custom messages form
* removes store from custom messages tests
* removes store as dependency from config-ui engine
* removes commented out code in messages route
* updates orderedKeys to displayFields in messages page component
* removes unneccesary method var from message create-and-edit component
* removes comment about model in message details page
* bump hds to latest version
* disable ember-svg-jar
* fix mfa
* remove ember svg jar dep and cleanup
* cleanup old svgs and fix icon test
* add changelog
* rebuild yarn.lock
* adding password to static roles
* adding check for password rotation to disable password edit
* update field type and tests
* adding changelog
* replacing readonly with enableinput, added disable arg, test updates
* update to unless
* PR comments
* 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>
* moves validators from model-helpers to forms directory
* creates validate util and updates model-validations directory to use it
* adds form and field classes
* updates validation types
* updates validators import in test
* adds readme for forms
* Update ui/app/utils/forms/validate.ts
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* [UI] updated logic in `isHdsFormField` of `FormField` to include the `password` use case (#34742)
* [UI] added large comments as visual code delimiters (#34729)
* [UI] moved template logic for `password` in `FormField` under the `isHdsField` block (#34742)
* [UI] added `on input` handler to update model with the input value when is updated
*
---------
Co-authored-by: Angel Garbarino <argarbarino@gmail.com>
* [UI] updated logic in `isHdsFormField` of `FormField` to include the generic `select` use case (#34742)
* [UI] moved template logic for generic `select` in `FormField` under the `isHdsField` block (#34742)
* [UI] moved template logic for `checkboxList` of `FilterInput` under the `isHdsField` block (#34792)
* [UI] added handling of `label/helpText/subText/docLink` + validation errors message for `checkboxList` (#34792)
(now that is not anymore handled by the shared initial/final blocks of code)
* [UI] moved `validationWarning` block out of the conditional so it can serve both HDS and non-HDS use cases (#34792)
* [UI] removed `has-error-border` class on validation error (not conformant with HDS specs) (#34792)
* [VAULT-34728] UI: added `isHdsFormField` logic to the `FormField` controller
* [VAULT-34728] UI: added `isHdsFormField` logic to the `FormField` template
* [UI] replaced internal implementation of `InputSearch` with equivalent `Hds::Form::TextInput::Base` (#34703)
* [UI] fixed acceptance test for `InputSearch` (#34703)
* [UI] updated selector in acceptance test for `InputSearch` (#34703)
per PR suggestion
* adding skip flag to db creation
* update field name & add default val change to static role
* transfer both fields to be toggle buttons
* add changelog
* test updates
* leftover
* test fixes
* fix tests pt2
* test pt3
* adding conditional to disable role type selection
* adding alert when overriding db default
* cleanup
* pr comments pt1 - updates to logic, adding empty state & form field test
* moving empty state placement
* updating form field logic for subtext, test fixes
* restructuring a bit to use a getter / eliminate separate function
* update
* fix typo, bring back tests
* fixes and cleanup
* adds linting for types to scripts and lint staged
* fixes issue with AdapterError type
* moves lint-staged setup out of package.json and into config file
* fixes ember data store service type
* fixes route params types
* fixes model types
* fixes general type errors
* fixes ts declaration errors in js files
* adds missing copyright headers
* fixes issue accessing capabilities model properties
* ignores AdapterError import type error
* more updates to AdapterError type
* adds comment to lint-staged config
* moves ember data store type to @ember-data namespace
* updates store import
* moves AdapterError type to @ember-data namespace
* turns ember-data import eslint rule back on
* replace custom tag class with Hds::Badge
* another wave of custom class replacements
* remove tag class styles and cleanup
* add changelog entry
* fix changelog name
* remove changelog entry and old styles and clean up
* remove extra classes and clean up
* one more clean up section
* update tests
* fix value check
* updated test
* update tests
* switch to code elements with specific styling and cleanup
* adding overflow class to link text
* adding separate class to fix overflow text on list & card views
* adding class to search list items to handle overflow
* adding ellipsis instead of just hidden for visual indicator
* added changelog
* updating styling to use helper classes, added child class to global style, updated changelog
* added test checks for oveflow classes
* add open api params
* support pki name constraints
* fix conditional
* revert helptextwsubtext
* fix typo
* add name constraints to sign intermediate form
* add changelog
* update test
* configuration details only changes
* azure configuration acceptance test
* clean up
* change attrs to display attrs and reuse formFields
* missed some
* clean up
* Update ui/app/helpers/mountable-secret-engines.js
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* remove extra conditional
* fix test for oss runs
* clean up the logic for checking if the model has been configured
* remove formatTtl
* fix broken conditional
* address pr comments
* clean up clean up everybody lets clean up
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* rename store to pagination, remove store extension
* initial update of service test
* remove superfluous helper
* replace store with pagination service in main app
* update kmip engine syntax
* add pagination to kmip engine
* update to pagination in config-ui engine
* update sync engine to use pagination service
* use pagination service in kv engine
* use pagination service in ldap engine
* use pagination in pki engine
* update renaming clearDataset functions
* link to jira VAULT-31721
* remove comment
* use alias for router injection
* update @router declarations in engine files
* fix remaining pki router imports
* dynamically set router based on owner
* address replication routers
* update markdown docs
* use non-deprecated import for getOwner
* revert out of scope changes
* add transition-to test
* 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!
* rename validators util into model-helpers folder
* move kmip-role-fields to model-helpers
* fill out docs
* Move database-helpers into model-helpers
* broom