* replacing with hds dropdown
* update and comment
* update confirm model to launch from interactive
* remove test line
* updates to hbs
* update tests
* styling and structure updates
* add settled line before click
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* Set up dynamic page header component and update secret engine header
* Add copyright headers
* Remvoe unsused tab for now
* Add page header test
* Remove component test since we deleted component
* Address feedback..
* Add deprecation comment
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* update jsondiffpatch dep + use webpack to convert into UMD format
* do not lint vendor files
* update test
* lint fix
* fix merge conflict error
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* replace instances of ToolTip component with HDS tooltip
* Replace InfoTooltip component instances with HDS tooltip
* update tests
* remove remaining custom tooltip code
* remove rich tooltip with copy
* update test and update toolbar link with styling to remove extra link
* Apply suggestions from code review
* update test and remove setRunOptions now that tooltip violations are addressed
* Revert "Apply suggestions from code review"
This reverts commit 90f01c653be68f23b6dbd75f252d227e38dbe53f.
* Remove unused disabled tooltip code
* add comment and TODO explaining conditional modifier pattern
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* disable scarf for this package
* add changelog
* use correct changelog format
Co-authored-by: Evan Moncuso <46458931+emoncuso@users.noreply.github.com>
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* updating routes from mounts/ to enable and updates to breadcrumbs
* updating all relevant tests
* leftover tests
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* add parallel command
* declare vault-keys module for test helpers
* use mirage to make dropdown check more reliably
* wait for inputs
* attempt to stabilize dashboard tests in parallel
* revert wait for inputs
* move problem acceptance tests to integration tests
* move more tests to integration
* remove assert.expect() because there are no callback assertions
* delete redundant acceptance tests
* cleanup login state in afterEach hook
* use mirage for login settings test
* update other test based on mirage handler changes
* throw some waitFor in there
* revert waitFor
* use mirage in shared-identity-test
* remove storage cleanup from this pr
* remove parallel..again
* remove unnecessary auth login changes
* add version to dashboard/overview test "it shows the learn more card on enterprise"
* convert "version 2 with no update to config endpoint still allows mount of secret engine" to integration test
* restart tests
* Apply suggestion from @hellobontempo
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* sample setup with table & pagination
* adding selected, hooking actions
* no side border
* adding multi disable
* updates to placement, test labels
* updates for pagination, design change on filter
* update test
* update test selectors
* straggler test
* more test fixes
* minor fixes
* change back
* refactor components
* fixing tests, pls be the end
* some cleanup, adding comments
* adding cleanup for these tests
* added changelog
* modernize test and pray
* last try
* updates
* updates and I love tests, pt1
* i love tests pt2
* minor fix
* update card
* update card test
* pr comments
* updating disable tasks, test fix
* fix test
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* UI Fix: UI permissions banner and side bar nav gating respect Vault glob semantics (+, deny precedence) (#9522)
* add in empty states when no permissions error but no list values found.
* wip
* wip cont.
* a lot closer... I think
* looking good, now to smoke test (Again)
* welp revert fix to adapter that borked it.
* add changelog
* test coverage—a lot
* fix some issues with root vs fallback show sidebar nav
* address pr comments and clean up comments and left over duplicate methods in permission service
* Apply suggestion from @hellobontempo
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add resultant-acl in canary paths
* remove from canary and use capability check instead inside permissionsBanner
* clean up
* fix merge things
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add conditional for enterprise vs ce
---------
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: Angel Garbarino <argarbarino@gmail.com>
* add clarifying text for client_first_used_time
* add test coverage
* add changelog
* add conditional so export request only made on enterprise
* add enterprise note to last changelog
* revert change that rendered date range edit after query
* move button to match other filter designs
* fix route typo and add path to error message
* add test coverage
* update test assertions
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* normalize token type for ns_token auth mounts
* add changelog
* also check type is supported in route and add test coverage
* Apply suggestion from @hellobontempo
* update test coverage to expect array
* update tests
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* update skipped tests and remove an unused test
* update how event is triggered to reduce flakiness
* remove test
* Revert "remove test"
This reverts commit 8d166994fb83f2030ac7b50ef125a48f030b80d3.
* wait for tooltip to render
* remove test
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* VAULT-39898 page scroll locked after discarding
* VAULT-39904 update lease duration card text
* Ensure ttl fields dont get reset if there are errors
* Fix failing tests
* VAULT-39900 close the unsaved changes modal if it errors on save
* Switch max and lease duration
* Refactor modal save/close
* Remove promise!
* Code cleanup!
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* =fix timing issue for mfa validation
* update test to use unlinked()
* use Object.assign()
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* adds error handling for control groups to api service as post request middleware
* updates kv list route to use api service
* updates kv config route to use api service
* updates kv secrets overview route to use api service
* updates kv secret details route to use api service
* adds kv form
* updates kv metadata details route to use api service
* updates kv paths and version history routes to use api service
* refactors kv-data-fields component to form component
* updates kv secret create route to use api service
* updates kv secret edit route to use api service
* updates kv metadata edit route to use api service
* adds waitFor to async middleware in api service to attempt to fix race conditions in tests
* adds kvMetadata path to capabilities path map
* fixes kv list item delete test selector
* removes kv models, adapters and serializers
* removes store from kv addon
* removes ember data related test helpers from kv-run-commands
* updates comments that referred to kv ember data models
* updates kv-page-header tests
* updates model-form-fields test to use totp-key model rather than kv/data
* removes another reference to kv/data model from path-help test
* fixes kv v2 workflow create tests
* fixes issue returning metadata for secret when latest version is deleted
* decodes uri in path returned by api service parseError method
* fixes kv v2 edge cases tests
* fixes issue deleteing control group token in api service
* decodes url for control group token lookup in api service
* fixes version history linked block link
* defaults cas to 0 when creating new secret
* removes log
* adds ember-template-lint to kv engine
* more test fixes
* updates kv-suggestion-input component to use api service
* removes kv metadata model reference from quick actions card
* fixes sync destination sync secrets tests
* updates kv helpers from classic format
* updates kv helpers imports
* reverts to use secret.version in details edit route
* fixes isDeleted import in kv version history test
* adds waitFor to api service parseError method
* reverts removing async from addQueryParams api method
* attempts to fix test flakiness requesting custom metadata from data endpoint
* more tweaks to requesting metadata from data
* adds waitFor to requestData method
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* fix broken form after ember data migration
* convert to typescript, add tests
* only transition on success
* use test.each
* use AuthMethodResource
* add tests and refactor fallback for engine-display-data
* fix token_type submitting for token auth methods
* fix imports
* fix conditional for token_type
* update comments add check for token_type
* fix test and add comment to clarify different setting types
* revert and keep unknown type, blowing the scope out too much!
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* adds error handling for control groups to api service as post request middleware
* updates kv list route to use api service
* updates kv config route to use api service
* updates kv secrets overview route to use api service
* updates kv secret details route to use api service
* adds kv form
* updates kv metadata details route to use api service
* updates kv paths and version history routes to use api service
* refactors kv-data-fields component to form component
* updates kv secret create route to use api service
* updates kv secret edit route to use api service
* updates kv metadata edit route to use api service
* adds waitFor to async middleware in api service to attempt to fix race conditions in tests
* adds kvMetadata path to capabilities path map
* fixes kv list item delete test selector
* fixes kv v2 workflow create tests
* fixes issue returning metadata for secret when latest version is deleted
* decodes uri in path returned by api service parseError method
* fixes kv v2 edge cases tests
* fixes issue deleteing control group token in api service
* decodes url for control group token lookup in api service
* fixes version history linked block link
* defaults cas to 0 when creating new secret
* removes log
* adds ember-template-lint to kv engine
* more test fixes
* updates kv helpers from classic format
* updates kv helpers imports
* reverts to use secret.version in details edit route
* fixes isDeleted import in kv version history test
* adds waitFor to api service parseError method
* reverts removing async from addQueryParams api method
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* adds error handling for control groups to api service as post request middleware
* adds waitFor to async middleware in api service to attempt to fix race conditions in tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* adds error handling for control groups to api service as post request middleware
* updates kv list route to use api service
* updates kv config route to use api service
* adds waitFor to async middleware in api service to attempt to fix race conditions in tests
* adds kvMetadata path to capabilities path map
* fixes kv list item delete test selector
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* first full pass with new filtering
* updates and making dropdowns searchable
* fixing tests
* updates, test fix
* update version dropdown
* update icons
* comments and cleanup
* filter fixes, update template and add test
* fix tests
* fix tests but not insane
* update, changelog
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* copy changes WIP
* update descriptions and headers to match latest designs
* add details to method info table
* update test assertion
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* use "redirect" instead of "afterModel"
* fix styling of radio group buttons
* remove redundant route redirect
* wrap mount dropdown in loading conditional
* reuse parent redirect logic, delete unused outlet
* minor padding adjustments
* force restart tests
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>