* [UI]: Ember Data Migration Identity List and Details (#15157)
* Update identity views edm
* Use model directly
* Code cleanup!
* Refresh list view if deleted
* Update identity detail page
* Identity show..
* Have different method types
* Update delete...
* [UI] Ember Data Migration: Identity forms, show, edit, create and list routes (#15291)
* Identity forms...
* Fetch entities and groups in route
* Update forms to have edit
* Fix breadcrumbs
* Update save to use api service method
* Merge entities form...
* Update aliases
* Entity and group show routes
* Fix create / save action
* Add alias form.
* Fix some tests!
* Fix tests and update capability check
* WIP fixing tests...
* Fixes some details page bugs
* Edit form delete actions..
* Passing all tests!!
* Refactor some utils
* Update to class based syntax
* Form label updates
* Remove unused onSuccess
* [UI] Identity EDM code cleanup (#15608)
* Fix cancelLink action
* Update tests to have the correct args
* Ensure add alias button shows when alias does not exist
* Fix lookup input
* Fix other tabs and pages..
* Address comments
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* update dep override report script to fix issue with deps that have large trees
* runs override report and removes unnecessary overrides
* overrides tmp version to 0.2.6
* regenerates override report
* fixes code scanning issue in gen-dep-override-report script
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* no-op commit
* Migrate Vault Reporting Dashboard from shared package into Vault Enterprise (#14892)
* Migrate Vault Reporting Dashboard from shared package into Vault Enterprise
* Add click interactions for export toggle in usage reporting dashboard tests
* feat(reporting): enhance external link security with rel attributes
* feat(reporting): migrate Vault Reporting Dashboard components and integrate meter chart visualization
* feat(reporting): remove deprecated meter.js and migration instructions for Vault Reporting Dashboard
* Migrate Vault Reporting Dashboard from shared package into Vault Enterprise
* Add click interactions for export toggle in usage reporting dashboard tests
* feat(reporting): enhance external link security with rel attributes
* feat(reporting): migrate Vault Reporting Dashboard components and integrate meter chart visualization
* feat(reporting): remove deprecated meter.js and migration instructions for Vault Reporting Dashboard
* feat(reporting): migrate horizontal bar chart to new viz-card component and remove deprecated files
* feat(reporting): remove horizontal bar chart component and associated files
* feat(reporting): update dashboard to force remount of chart layers on namespace refresh and improve data fetching logic
* feat(reporting): remove usage reporting handler and associated imports
* feat(reporting): refactor route handling and remove safeRoute utility; update data download methods- copilot recommendation
* feat(reporting): enhance tooltip interaction by replacing mouse events with pointer events for better responsiveness
* feat(reporting): remove reporting analytics service and associated tracking logic from dashboard components
* feat(reporting): standardize text casing in dashboard and export components
* feat(reporting): standardize text casing in usage reporting tests
* feat(reporting): add padding to carbon chart for improved layout
* feat(reporting): implement toSentenceCase utility and update chart labels for consistency
* feat(reporting): enhance toSentenceCase utility to handle acronyms and branded names
* feat(reporting): migrate vault-reporting module from shared package to Vault Enterprise
* feat(reporting): enhance tooltip functionality and styling for usage reporting charts
* Fix formatting in pnpm-lock.yaml
* Refactor CSV export to use sentence case for labels and enhance toSentenceCase utility
* Refactor CSV download test to simplify URL handling and assert sentence case labels
* Enhance destination name formatting to use sentence case in reporting dashboard
* Add RabbitMQ branding override and update tests for sentence case handling
---------
Co-authored-by: Aravind VM <aravind.vm@ibm.com>
* UI: Ember data migration: Transit secrets engine - Show & List views (#15015)
* Adding api calls
* fixing timestamps and actions
* fixing routing and moving functions around for model creation
* UI: Ember Data migration: Transit - Create & Edit (#15085)
* adding in new create form
* updating form to handle editing
* yielding ttl, updating conditional renders
* a lot of moving around
* test fix 1
* test fix 2
* UI: Ember Data migration: Transit Secrets Engine - Key actions (#15176)
* updating store use to use api calls per actions
* forgot export, fixing some tests
* test fixes
* converting to .ts and minor tweaks
* test fixes
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* VAULT-45707 - migrates transform templates views
* updated fields to snake_case
* updated selectors in test to use GENERAL selector
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
* migrated ssh views - list, detail, create and edit
* adds validation for role name and update test attributes for consistency
* updated sign key attr name in test
* migrated ssh views - list, detail, create and edit
* adds validation for role name and update test attributes for consistency
* updated sign key attr name in test
* moved flat ordering logic to form as per dynamic selection
* Humanized TTL field display value
* Apply suggestions from code review
* fixed prettier issue
* VAULT-45234 - Migrates SSH credential generation and signing components with forms and Api service
* fixed review comments
* Apply suggestions from code review
---------
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* migrated ssh views - list, detail, create and edit
* adds validation for role name and update test attributes for consistency
* updated sign key attr name in test
* migrated ssh views - list, detail, create and edit
* adds validation for role name and update test attributes for consistency
* updated sign key attr name in test
* moved flat ordering logic to form as per dynamic selection
* Humanized TTL field display value
* Apply suggestions from code review
* fixed prettier issue
---------
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* migrating db overview page
* fix toolbar alignment on remaining links
* migrating database creds + minor secrets table fix
* update totp key fetch
* removing store for aws
* fix workflow test
* removed commented code
* fix return line
* [UI] Ember Data Migration - Core Addon (#14891)
* removes store service from confirm-leave decorator
* updates secret list header tab component to use capabilities service for database type
* removes store service from edit-form component
* removes ember data fetch support from InfoTableItemArray component
* removes store from shamir components
* removes store from replication components in core addon
* adds missing service injection to shamir flow component
* fixes reduced disclosure test
* fixes issues with seal/unseal workflow
* reverts assertion change in info-table-item-array test
* fixes database test
* updates shamir flow test
* removes commented out code
* fix pathfors
* dont throw messages that dont need to be thrown :)
* updating to use allSettled
* matching whats in adapter
* fix
* updating to use enums
* [UI] Ember Data Migration - TOTP Secrets Engine Views | VAULT-44225 (#14933)
* VAULT-44225 - edm secrets totp views
* fixed review comments and updated validations to match original
* fixed review comments
* fix 2
* update to parseError
* fix
---------
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
* removes store service from confirm-leave decorator
* updates secret list header tab component to use capabilities service for database type
* removes store service from edit-form component
* removes ember data fetch support from InfoTableItemArray component
* removes store from shamir components
* removes store from replication components in core addon
* adds missing service injection to shamir flow component
* fixes reduced disclosure test
* fixes issues with seal/unseal workflow
* reverts assertion change in info-table-item-array test
* fixes database test
* updates shamir flow test
* removes commented out code
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* Migrate lineal bar charts to carbon
* revert changes made to mirage
* fix failing tests
* fix test failures
* removed the usage of render modifiers
* Update RunningTotal component to handle null values for chart data and adjust test for simple chart rendering
* Enhance RunningTotal component with Carbon Charts integration and accessibility improvements
* Migrate client usage by month bar chart to Carbon Charts with updated options and styles
* Update overview tests to utilize new chart selectors and improve assertions for client stats visibility
* Remove unnecessary nested-interactive a11y rule suppression from carbon-chart tests
* UI: Enhance chart color scales and options for client usage visualization to use HDS color tokens
* Refactor chart-related constants and remove unused functions from chart helpers
* Update date range inputs in client usage overview tests to use constants for historical months
---------
Co-authored-by: Aravind VM <aravind.vm@ibm.com>
Co-authored-by: Copilot <copilot@github.com>
* Update mfa index route beforeModel to use api instead of store
* MFA form...
* Remove mfa method
* WIP
* first arg..
* Working form submit
* Working create forms..
* Put model back in original state..
* Working edit
* Update methods list
* Working detail..
* Working infotablerows
* Use form arg instead of model
* Set up new enforcements form
* MFA enforcement...
* Update remaining pages...
* Add more util helpers
* Refactor
* Update targets initial values
* Update targets to use api
* Update useExisting
* Patch SearchSelect and fix mfa-login-enforcement-form test
* Some more tests fixed..
* Working mfa-method tests
* Passing method-form-test
* Update editDisabled
* Address feedback..
* Add attribute to data for display
* Update displayFields
* Add defaultValue
* Update tests..
* Conditionally show onClose
* Add defaultvalue
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* rename component from CertificateCard to EncodedDataCard
* differentiate between pem and general encoded data
* convert to typescript, update tets
* separate conditional so its easier to read
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* use loose-equal comparison so string and numeric values match
* add changelog
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* VAULT-44904 - edm for keymgmt key views
* resolved pr review comments
* moved distribution fields to component and added util tests
* fixed review comments
* updated key-edit component to use form and fixed failing tests
---------
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Copilot <copilot@github.com>
* no-op commit
* [UI][VAULT-44640] - Extract shared code snippets logic to snippet service (#14760)
* feat(snippet-service): extract shared logic between namespace wizard and v2 forms
* feat(snippet-service): update namespace wizard and forms apply to use snippet service.
* feat(tests): unit tests for snippet service
* fix(copyright): add copyright header for snippet constants file
---------
Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
* updating policies to use api instead of ember models
* minor fixes
* pr comments pt1
* PR comments pt2
* test fix
* updating test
* updating intefaces
* updating to remove model arg
* remove comments
* refactor for pr comments
* fixes
* form field fix
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* copies v2 form components from POC branch
* fixes issue in form-config-generator when path parameters are not defined
* adds api code-generator for snippet creation
* expands cli and terraform code generators
* updates form-config-generator to return api path from spec
* fixes issue setting field value in v2-form class
* updates form-config types
* updates v2 form and renderer components to conditional render fields
* adds v2 form apply component
* updates v2 form wizard component to support apply step
* add support for field types (text input variants, text area, checkbox, radio, masked input) and add test coverage
* Dynamic field visibility and Select field support
* [POC] Public PKI (mocked) Wizard - revert this before merging
* Revert "[POC] Public PKI (mocked) Wizard - revert this before merging"
This reverts commit 66646f1d7a71d0e67028ebcabcfe33925197ffc9.
* cleanup & address copilot pr comments
* address PR comments
---------
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
* Add tests for chart helper
* Ensure the decimal places are 4 for credential units total
* Add new chart-helpers method
* Add jsdoc comment
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* removes unused ember data files for oidc
* updates custom message test to return a different value for current token rather than resetting the stub
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* updates oidc assignmenmts list view to use api service
* updates oidc assignments details view to use api service
* updates oidc assignment create and edit views to use api service and form class
* updates oidc assignment-form tests
* updates oidc-key-template component to use form class
* updates oidc-assignment-template component to use form class
* updates teardown in oidc-config clients tests to use api service
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* add validations to policy flyout
* add validations to policy form
* remove passing formatted policy back from policy/builder
* add changelog
* change label to "path"
Co-authored-by: claire b <68122737+hellobontempo@users.noreply.github.com>