* 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>
* [VAULT-35871] UI: Address design UI feedback on namespace picker
* remove unused css class
* dynamic width based on namespace length; not help messages
* handle long namespace name - truncate the second line
* hide/show message element so that it doesn't affect the layout while getting the width.
* add copyright header to scss file
* address PR comments & additional design feedback
* fix syntax error
* address more design feedback: use small buttons
* 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
* 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>
* 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>
* adds error parsing method to api service
* replaces apiErrorMessage util instances with api service parseError
* removes apiErrorMessage util and tests
* removes ApiError type
* fixes issue in isLocalStorageSupported error handling
* 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
* 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>
* generates new api client version with runtime changes for VoidResponse type and JSONApiResponse transformer update
* removes extractData middleware from api service
* converts tools/unwrap component to ts and updates to use api service
* another api client version with more tweaks to JSONApiResponse in runtime
* removes extractData test for api service
* 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
* 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
* remove transform-edit-base from alaphabet and transform edit components
* cleanup documentation
* move hbs file to be next to js
* update this.displayErrors to this.errorMessage
---------
Co-authored-by: Shannon Roberts <shannon.roberts@hashicorp.com>
* glimmerize db role model
* adding validations
* updates to validators
* formatting fix
* changelog
* add validations to top fields
* updates
* added test for form validation
* updates from pr review
* remove added period
* remove extra line