* [VAULT-37108] UI: update toggle-input test selectors
- update namespace-picker to data-test-button
* - replace instances of data-test-toggle-input with general selector
* - replace enableDefaultTtl() and enableMaxTtl() with general selector
* - replace toggleJson with general selector
* - replace toggleButton with general selector
* - replace toggleTtl() with general selector
* - replace hasToggleButton() with general selector
* - replace hasTTLPicker() with general selector
* - replace toggleDiff with general selector
* fix lint error :]
* fix failing test
* 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
* improve overview test
* Add custom waiter to maybe-query-record
* add custom waiter to console/ui-panel
* Add flash message check for better visibility into flakiness
* trying to find what's wrong with PKI
* create role happy path uses root token
* make all policy names on pki workflow unique
* some secret test cleanup, not the main offenders
* remove uncessary settled
* Update kv-run-commands.js
* Update kv-run-commands.js
* Update kv-data-fields-test.js
* some missed fixes that were outside the original cherry pick
* remove overview test things
* move testWaiter to logAndOutput command
* nope not working
---------
Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
* Remove component: diff version selector
* delete SecretVersionMenu
* remove secret logic from GetCredentialsCard
* remove DiffVersionSelector hbs file and references
* delete more css for diff version view
* remove diff route
* fix credential card selector
* ui: refactor SecretFormShow (#22723)
* refactor secret form show
* fix selector typo
* remove version route (#22738)
* Remove old KV2 delete things (#23015)
* remove kv2 old delete things
* comment
* Remove old metadata (#22747)
* wip to remove metadata
* review comments
* UI/remove kv2 secret create or update (#23039)
* remove is v2 param
* permissions clean up
* remove version things
* remove excess from form show
* clean up
* created time was never a thing for cubbyhole, confirmed on api
* update tune test
* fix control group tests:
* Remove kv v2 models (#23087)
* remove is v2 param
* permissions clean up
* remove version things
* remove excess from form show
* clean up
* created time was never a thing for cubbyhole, confirmed on api
* update tune test
* fix control group tests:
* remove models
* Update ui/app/models/secret-engine.js
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
* blah prettier
---------
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
* UI/config update (#23111)
* sweep through clean up
* remove component
* remove unused selectors
* remove unncessary
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com>
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
Co-authored-by: Angel Garbarino <angel@hashicorp.com>
* Adding explicit MPL license for sub-package.
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.
* Adding explicit MPL license for sub-package.
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.
* Updating the license from MPL to Business Source License.
Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl.
* add missing license headers
* Update copyright file headers to BUS-1.1
* Fix test that expected exact offset on hcl file
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Sarah Thompson <sthompson@hashicorp.com>
Co-authored-by: Brian Kassouf <bkassouf@hashicorp.com>
* Update browserslist
* Add browserslistrc
* ember-cli-update --to 3.26, fix conflicts
* Run codemodes that start with ember-*
* More codemods - before cp*
* More codemods (curly data-test-*)
* WIP ember-basic-dropdown template errors
* updates ember-basic-dropdown and related deps to fix build issues
* updates basic dropdown instances to new version API
* updates more deps -- ember-template-lint is working again
* runs no-implicit-this codemod
* creates and runs no-quoteless-attributes codemod
* runs angle brackets codemod
* updates lint:hbs globs to only touch hbs files
* removes yield only templates
* creates and runs deprecated args transform
* supresses lint error for invokeAction on LinkTo component
* resolves remaining ambiguous path lint errors
* resolves simple-unless lint errors
* adds warnings for deprecated tagName arg on LinkTo components
* adds warnings for remaining curly component invocation
* updates global template lint rules
* resolves remaining template lint errors
* disables some ember specfic lint rules that target pre octane patterns
* js lint fix run
* resolves remaining js lint errors
* fixes test run
* adds npm-run-all dep
* fixes test attribute issues
* fixes console acceptance tests
* fixes tests
* adds yield only wizard/tutorial-active template
* fixes more tests
* attempts to fix more flaky tests
* removes commented out settled in transit test
* updates deprecations workflow and adds initializer to filter by version
* updates flaky policies acl old test
* updates to flaky transit test
* bumps ember deps down to LTS version
* runs linters after main merge
* fixes client count tests after bad merge conflict fixes
* fixes client count history test
* more updates to lint config
* another round of hbs lint fixes after extending stylistic rule
* updates lint-staged commands
* removes indent eslint rule since it seems to break things
* fixes bad attribute in transform-edit-form template
* test fixes
* fixes enterprise tests
* adds changelog
* removes deprecated ember-concurrency-test-waiters dep and adds @ember/test-waiters
* flaky test fix
Co-authored-by: hashishaw <cshaw@hashicorp.com>
* get credentials card test and setup
* call getcrednetials card and remove path test error
* configuration
* metadata search box
* changelog
* checking if it is noReadAccess
* try removing test
* blah
* a test
* blah
* stuff
* attempting a clean up to solve issue
* Another attempt
* test1
* test2
* test3
* test4
* test5
* test6
* test7
* finally?
* clean up
* initial setup
* form field editType kv is very helpful
* setting up things
* setup two routes for metadata
* routing
* clean up routing
* meh router changes not my favorite but its working
* show metadata
* add controller for backendCrumb mixin
* setting up edit metadata and trimming SecretEditMetadata component
* add edit metadata save functionality
* create new version work
* setup model and formfieldgroups for added config data.
* add config network request to secret-engine
* fix validations on config
* add config rows
* breaking up secret edit
* add validation for metadata on create
* stuff, but broken now on metadata tab
* fix metadata route error
* permissions
* saving small text changes
* permissions
* cleanup
* some test fixes and convert secret create or update to glimmer
* all these changes fix secret create kv test
* remove alert banners per design request
* fix error for array instead of object in jsonEditor
* add changelog
* styling
* turn into glimmer component
* cleanup
* test failure fix
* add delete or
* clean up
* remove all hardcoded for api integration
* add helper and fix create mode on create new version
* address chelseas pr comments
* add jsdocs to helper
* fix test
* wait for all hash promises to be settled
* skeleton tests with policies for write without read
* adjust what gets returned from the model hook
* refactor secret-edit model hook to use async/await
* return a stub version if we can't read secret data
* return a stub model for v1 kv
* tweak tests to make re-runs friendlier
* allow write without CAS if both v2 models cannot be read
* show warnings on edit pages for different write without read scenarios
* add no read empty states on secret show pages
* review feedback
* make message language consistent
* use version models from metadata if we can read it
* refresh route on delete / undelete / destroy
* hide controls in the toolbar when you can't read the secret data
* show deleted / destroyed messaging over cannot read messaging on the show page
* fix test with model stub
* refactor large model hook into several functions
* comment clarifications
* turns out sourcemaps are useful
* add test for restricted policy in kv v2
* only include version param on fetch if it's encoded in the id
* rename some vars for clarity and use model.id when persisting a secret
* fix delete attributes on the models
* allow data edit when there's metadata access is disallowed
* add tests for edit with restricted policy
* hide metadata fields if you can't edit them
* add new codemirror helpers
* adding json helpers to the secret pages
* mark the edit button / link as the edit element instead of the json toggle
* add acceptance tests for JSON editing