* 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>
* removes namespace param from activation flags endpoint in api client
* updates sync activation modal to use api service
* updates sync destination sync page to use api service
* removes ember data type deps from sync engine and updates tests
* updates sync activation modal to always override namespace header in activate request
* 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)
* make displayName a global helper
* rename authTabTypes to visibleMountsByType
* remove superfluous arg
* move all of mount displaying to component
* rename hasMountData to isVisibleMount, update comment
* CE date picker and header changes
* update test
* add changelog and update empty component css
* update modal values from args
* update modal copy
* header changes to add docs and move edit button
* move + update test
* Update ui/app/components/clients/date-range.ts
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
* Update ui/app/components/clients/date-range.ts
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
* refactor modal state and update docs
* update tests
* update modal copy
* Update changelog/30488.txt
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* update date parsing, docs link copy and tidy
* update var name for clarity
* add date range test to check for disallowing current month selection
* update tests to reflect disallowal of current month (or beyond) date selection
* move ce header into page header comp and update tests
---------
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* Update reporting addon
* Update usage page data mappings
Remove display name mapping per design review
* Update after feedback from design
Copywrite headers
* Remove the old name mapping test from the usage page
* Update tooltips to have periods
Update namespaces tooltip
* more updates to api-client for sync
* updates sync destination-header component to use api service
* updates to sync types
* updates sync destination route to use api service
* updates sync destination mirage factory and handler
* refactors sync setup-models test helper and removes store
* refactors sync destination details route to function with api service data
* refactors sync destination secrets route to function with api service data
* adds sync destination edit route
* 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
* UI: Move `wrapped_token` login functionality to route (#30465)
* move token unwrap functionality to page component
* update mfa test
* remove wrapped_token logic from page component
* more cleanup to relocate unwrap logic
* move wrapped_token to route
* move unwrap tests to acceptance
* move mfa form back
* add some padding
* update mfa-form tests
* get param from params
* wait for auth form on back
* run rests
* UI: Add MFA support for SSO methods (#30489)
* initial implementation of mfa validation for sso methods
* update typescript interfaces
* add stopgap changes to auth service
* switch order backend is defined
* update login form for tests even though it will be deleted
* attempt to stabilize wrapped_query test
* =update login form test why not
* Update ui/app/components/auth/form/saml.ts
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* Move CSP error to page component (#30492)
* initial implementation of mfa validation for sso methods
* update typescript interfaces
* add stopgap changes to auth service
* switch order backend is defined
* update login form for tests even though it will be deleted
* attempt to stabilize wrapped_query test
* =update login form test why not
* move csp error to page component
* move csp error to page component
* Move fetching unauthenticated mounts to the route (#30509)
* rename namespace arg to namespaceQueryParam
* move fetch mounts to route
* add margin to sign in button spacing
* update selectors for oidc provider test
* add todo delete comments
* fix arg typo in test
* change method name
* fix args handling tab click
* remove tests that no longer relate to components functionality
* add tests for preselectedAuthType functionality
* move typescript interfaces, fix selector
* add await
* oops
* move format method down, make private
* move tab formatting to the route
* move to page object
* fix token unwrap aborting transition
* not sure what that is doing there..
* add comments
* rename to presetAuthType
* use did-insert instead
* UI: Implement `Auth::FormTemplate` (#30521)
* replace Auth::LoginForm with Auth::FormTemplate
* first round of test updates
* return null if mounts object is empty
* add comment and test for empty sys/internal/mounts data
* more test updates
* delete listing_visibility test, delete login-form component test
* update divs to Hds::Card::Container
* add overflow class
* remove unused getters
* move requesting stored auth type to page component
* fix typo
* Update ui/app/components/auth/form/oidc-jwt.ts
make comment make more sense
* small cleanup items, update imports
* Delete old auth components (#30527)
* delete old components
* update codeowners
* Update `with` query param functionality (#30537)
* update path input to type=hidden
* add test coverage
* update page test
* update auth route
* delete login form
* update ent test
* consolidate logic in getter
* add more comments
* more comments..
* rename selector
* refresh model as well
* redirect for invalid query params
* move unwrap to redirect
* only redirect on invalid query params
* add tests for query param
* test selector updates
* remove todos, update relevant ones with initials
* add changelog
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* 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>
* fix json editor for firefox headless
* Update json-editor-test.js
* fix a11y failure that we were hitting on headless—likely a firefox vs chrome difference as it is not happing on ci
* remove concurrency, not needed from backend list disable action.
* attempt to stabilze mfa timeout issues
* rename disable selector and refactor a flaky test
* date picker changes (mostly) for ent client counts
* Move edit modal button + padding
* only show start time in dropdown and add changelog
* remove unused variable and update toggle width
* remove unnecessary period end dates
* tidy
* update tests
* Update changelog/30349.txt
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* improve date logic
* add export button back in, re-arrange header, update dropdown
* update when date is shown
* add default for retention months
* update tests and remove unnecessary tests
* account for retention months that are not whole periods
* update logic to show end date on export modal
* update exported file name
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@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
* finish okta auth method
* convert to ts
* move login fields down
* rename arg to prep for mfa business
* build oidc-jwt auth component
* add tests for oidc-jwt component
* add loading and button text states depending on config
* cleanup error handling, prep for ts
* convert to typescript
* minor cleanup items
* add comments
* regenerates api client
* updates systemReadUtilizationReport api method to generateUtilizationReport
* updates VoidResponse interface to camelCase keys
* fixes issue in api-client VoidApiResponse
* updates tools components and tests to camel api response keys
* test fixes
* fixes more tests
* Reporting generated files
* Update vault reporting addon (#30264)
* Update yarn.lock based on main
* Update vault-reporting addon
* Mount reporting components
* Rename route and page component based on review feedback
Add docs to component
* Add page style to import vault-reporting style
* Add header to new page style
* 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
* remove setTimeout from mfa and login test
* remove transit flaky as that has largely been resolved by a glimmerization effort
* some improvements but one remaining flaky test
* skip the flaky thing
* whatever I give up
* got it, thank you shannon for the pair
* remove flaky note
* revert test name
* revert to setTimeout
* Update oidc-auth-method-test.js
* Update oidc-auth-method-test.js
* combine imports
* cleanup
* 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>
* move auth tests to folder
* polish auth tests
* build auth::form-template component
* add components for other supported methods
* add comments, add tests
* convert to typesript
* conver base.js to typescript
* use getRelativePath helper
* fix logic for hiding advanced settings toggle, use getter for selecting tab index
* update tests
* how in the heck did that happen
* add punctuation to comments, clarify var name
* update loginFields to array of objects
* update tests
* add helper text and custom label tests
* woops, test was in the beforeEach block
* 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>
* move sync activation and capabilities from flag service to version service and components
* cleanup unnecessary args
* remove permissions service
* un-nest (some) modules
* simplify overview test so logic is easier to follow
* modal test
* update service tests
* change back to 403 because maybe it is permissions related?
* fix tests running on CE
* small cleanup
* fix logic based on feedback
* add logic for hvd specifically, update cluster tests
* update namespace service to include admin namespace check
* add test
* whoops, copy pasta forgot to update assertion
* make comment clearer
* delete space
* adds codemirror types
* adds api error message util
* converts tools/wrap component to ts and updates wrap request to use api service
* adds comments to api and error message utils
* adds type to html element event import