Zhihe Li
3d257afd49
refactor: 💡 Update transaction style and add busy timeout PRAGMA ( #3271 )
...
* refactor: 💡 Update transaction style and add busy PRAGMA
* refactor: 💡 Add return to insert statement for consistency
* refactor: 💡 Also add check for db
* test: 💍 Fix flaky test
2026-05-18 19:05:29 -04:00
d469f305de
Replace Rose::CodeEditor with Hds::CodeEditor ( #2679 )
...
* chore: 🤖 replace Rose::CodeEditor with Hds::CodeEditor
- Remove CodeEditor 5 dependency
* chore: 🤖 Replace CodeMirror5 dep
remove CodeMirror5 and replace existing editors with HDS::CodeEditor
* chore: 🤖 deleting old codeeditor styles
* feat: 🎸 changing code editor
changing code editor
✅ Closes: 0
* removed unused export
* pr cleanup
* updating tests for new code editor
* responding to PR feedback
* added whitespace
* fixing linting violations
* chore: 🤖 self-review PR
self-review PR in the course of switching to new HDS code editor
* fix: 🐛 fix linting bug
* fix: 🐛 unneeded dependency
remove jslint dependency as this is handled in the new code editor from
HDS
* fix: 🐛 Fixing import bug
Fix import bug caused by importing scss modules that no longer exist
* Fix and refactor code editor acceptance test
* Fix and refactor code editor acceptance test
* chore: 🤖 remove codemirror dependency
* refactor: 💡 fix merge conflict issues
* test: 💍 update e2e test selectors
* test: 💍 fix target spec click event
* refactor: 💡 clean up test selectors for code editor
* refactor: 💡 clean up storage bucket test selectors
* chore: 🤖 remove code mirror modifiers
---------
Co-authored-by: calcaide <ccorvo@hashicorp.com >
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
2026-05-14 15:21:27 -04:00
Lisbet Alvarez
3ba93927fe
Update copyright headers ( #3146 )
...
* empty commit
* Add missing copyright headers
* chore: 🤖 update copywrite config file with correct year
* Add missing copyright headers
* empty commit (gh action merge checks are stuck)
2026-01-28 17:09:06 -08:00
55e1e68f30
[COMPLIANCE] Update Copyright and License Headers ( #3099 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Dharini <dharini@hashicorp.com >
2026-01-20 11:35:10 -05:00
Lisbet Alvarez
72f7c8a92d
fix: 🐛 OIDC authentications not properly showing username ( #2930 )
...
* fix: 🐛 properly show username for oidc auth method in user menu
* test: 💍 fix admin ui tests
* test: 💍 fix desktop ui tests
* refactor: 💡 admin to not store username in authenticated object
* refactor: 💡 use getter in app controller
* test: 💍 POC for how we could update our tests to use auth account
* refactor: 💡 remove unused service
* test: 💍 fix all tests in ui/admin
* test: 💍 revert one change
* refactor: 💡 update ui/desktop w/ feedback + fix tests
* refactor: 💡 add in error handling
* refactor: 💡 cleanup unused service
* test: 💍 fix e2e test selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17231
2025-10-30 12:49:30 -07:00
Lisbet Alvarez
ba7b8b8824
feat: 🎸 add sqlite support for scopes ( #2968 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17415
2025-09-03 11:41:42 -04:00
hashicc
dc9376a460
(HACK WEEK 2025) a11y-audit-ignore codemod ( #2946 )
...
* chore: 🤖 add ember-a11y-ignore tool
* chore: 🤖 fix handling existing setRunOptions imports
* chore: 🤖 move codemod to support folder
* chore: 🤖 fix edge case for handling property key names
* chore: 🤖 handle case where multiple of same violation in test
This fixes a bug where multiple cases of the same violation would end up
with multiple entries
* chore: 🤖 ignore axe rules that are currently failing in admin
* chore: 🤖 ignore axe rules that are currently failing in desktop
* docs: ✏️ add a comment explaining the codemod
* chore: 🤖 include test.each cases for a11y ignores
* fix: 🐛 handle test.each test cases for a11y ignore codemod
2025-08-19 10:51:44 -05:00
Lisbet Alvarez
aa18f599ce
test: 💍 refactor target worker test selectors ( #2910 )
...
* test: 💍 refactor target worker test selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16438
* test: 💍 update selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16438
2025-07-10 15:34:24 -07:00
2869020e65
Llb/worker filter improvements ( #2614 )
...
* test: 💍 clean up worker filter component tests (#2559 )
* Icu 15741 add show filter generator toggle to worker filter component (#2562 )
* feat: 🎸 add filter generator to worker filter component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15741
* feat: 🎸 show add worker filter when none set for targets (#2564 )
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15760
* Icu 15743 tag workflow (#2565 )
* feat: 🎸 add tag generator workflow
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* test: 💍 add test cases
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* refactor: 💡 update selected type name to selectedGeneratorType
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* Apply suggestions from code review
minor translation change
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* refactor: 💡 update id for generated-value
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* Icu 15744 name workflow (#2566 )
* feat: 🎸 add name workflow
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* test: 💍 add "name" workflow tests for filter generator
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* refactor: 💡 use const test selectors for filter generator
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* refactor: 💡 add default option
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* docs: ✏️ fix comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
---------
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
* refactor: 💡 move worker filter generator outside of rose::form (#2574 )
* refactor: 💡 move worker filter generator outside of rose::form
* [ICU-15718] Add worker filter route, template for empty state (#2576 )
* feat: 🎸 Vault Credential Store Worker Filter
The Worker Filters tab will display the associated worker filter and
have an empty state for when there is no worker filter assigned.
* add template
* Add missing copyright headers
* update styling, remove Rose component
* color primary is already default, remove
* add rose component, remove custom css
* fix test
* singularize lang
---------
Co-authored-by: laurenolivia <laurenolivia@users.noreply.github.com >
* feat: 🎸 update worker filter field to use code editor (#2578 )
* feat: 🎸 update worker filter field to use code editor
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15737
* test: 💍 fix failing storage bucket tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15737
* test: 💍 update tests for new worker filter field (#2580 )
* test: 💍 update tests for new worker filter field
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15739
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* [ICU-15719] Create edit worker filter route and template (#2582 )
* add codeblock to template
* add cancel btn fn
* add controller test
* add save fn
* display formatted worker filter text inside codeblock
* move codeblock component outside rose::layout::centered
* remove console.log
* remove router.refresh() and refactor translations yaml
* refactor translations, add breadcrumb::item
* replace html elements with hds
* move component, delete file
* [ICU-15720] Add edit worker filter action to manage dropdown (#2593 )
* add acceptance test file
* delete test file
* add edit option to manage dropdown
* update route in dropdown
* add check for model isVault
* add acceptance test file
* delete test file
* remove data test selectors, fix syntax
* [ICU-15721] Remove worker filter input field (#2596 )
* remove worker filter input field from vault credential store form
* revert yaml
* [ICU-15838] Add vault credential store worker filter tests (#2595 )
* add data test elements
* add subtests to update-test.js
* add subtext to check for .hasText()
* add subtest when worker filter exists
* update subtest name
* remove console.log
* clean up
* add new selectors
* refactor: 💡 worker filter clean-up (#2592 )
* refactor: 💡 worker filter clean-up
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* refactor: 💡 add aria labels & missing can save check
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* refactor: 💡 pr feedback of using uuid
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* Add missing copyright headers
* refactor: 💡 use unique-id helper for aria labels (pr feedback)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
---------
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com >
* refactor: 💡 update icon logic for egress worker filter (#2612 )
* refactor: 💡 update worker_filter help translation
* refactor: 💡 add maxHeight to worker filter code blocks
* refactor: 💡 use existing default option for dropdowns
* refactor: 💡 hide copy button when no result to copy
and remove unused styles
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
Co-authored-by: Lauren <lauren.burwell@hashicorp.com >
Co-authored-by: laurenolivia <laurenolivia@users.noreply.github.com >
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com >
2024-12-11 14:00:27 -06:00
Carlos Alcaide Corvo
b64f1876dc
Refactor icu 15872 await authenticatesession admin ( #2603 )
...
* Add await for all authenticateSession within /tests/acceptance
* Add await for all authenticateSession within /tests/unit
2024-12-03 10:27:27 -08:00
Cameron Perera
b24e5a2c22
fix: 🐛 default to light theme for acceptance tests ( #2587 )
...
* fix: 🐛 default to light theme for acceptance tests
* refactor: 💡 add async/await to authenticateSession
2024-12-02 12:51:24 -06:00
Lisbet Alvarez
543cf4697f
refactor: 💡 remove rose::notification in favor of hds ( #2557 )
...
* refactor: 💡 remove rose::notification in favor of hds
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15634
2024-11-19 15:18:18 -08:00
Cameron Perera
9e668e8467
Icu 14834 remove duplicate selectors and use common selectors instead ( #2436 )
...
* refactor: 💡 update SAVE_BTN usage
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14834
* refactor: 💡 update CANCEL_BTN usage
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14834
* refactor: 💡 update EDIT_BTN usage
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14834
* refactor: 💡 update FIELD_NAME & FIELD_NAME_VALUE usage
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14834
2024-08-15 09:24:21 -05:00
Dharini Jeeva
9b1f052a56
chore: Update desktop client license from MPL to BSL ( #2307 )
...
* chore: 🤖 license
2024-05-31 11:29:24 -07:00
Carlos Alcaide Corvo
7e5db0bc3d
Poc share domain test selectors ( #2278 )
...
* Share domain (storage-buckets) selectors and refactor the previous test to rely only on standard selectors and data-test-* when need.
2024-05-31 11:02:55 -07:00
Carlos Alcaide Corvo
fcb9468c59
Add minio missing unit tests ( #2253 )
...
* Add MinIO storage bucket creation for scope org
* Add update acceptance tests
2024-05-14 13:39:23 -07:00
Carlos Alcaide Corvo
b51c8203ee
chore: 🤖 Upgrade eslint-plugin-qunit ( #2011 )
...
* chore: 🤖 Upgrade eslint-plugin-qunit
* Delete unnecessary assert.expect from tests
2023-12-08 12:56:00 -08:00
Zhihe Li
bcf004b8a4
Reformat codebase with trailing commas in functions ( #2006 )
...
* style: 💄 Update trailing commas in API
* style: 💄 Update trailing commas in core
* style: 💄 Update trailing commas in rose
* style: 💄 Update trailing commas in admin
* style: 💄 Update trailing commas in desktop
2023-11-22 14:07:41 -05:00
Dharini Jeeva
7d6f3df140
chore: update HDS to 3.0.2 ( #1970 )
...
* chore: 🤖 update to hds 3.0.2
2023-10-30 12:56:38 -07:00
hashicorp-copywrite[bot]
e8f15e2eab
[COMPLIANCE] Add Copyright and License Headers
2023-06-19 16:23:53 +00:00
Carlos Alcaide Corvo
596ae9d817
fix: 🐛 Storage bucket region field not editable ( #329 )
...
* fix: 🐛 Storage bucket region field not editable
2023-06-07 12:56:15 -07:00
lisbet-alvarez
abeee7dc1b
refactor: 💡 disable uneditable storage bucket form fields ( #279 )
...
* refactor: 💡 disable uneditable storage bucket form fields
✅ Closes: ICU-9430
* refactor: 💡 update fields to be readOnly in edit mode & tests
* refactor: 💡 remove duplicate field
2023-05-25 14:43:20 -07:00
Zhihe Li
c63c95fd51
chore: 🤖 Update serializer for storage buckets ( #282 )
2023-05-24 21:57:30 +00:00
Randall Morey
8d883073e1
fix: 🐛 fix mismtach between fe/be feature flag strings ( #264 )
...
* fix: 🐛 fix mismtach between fe/be feature flag strings
* chore: 🤖 add development can helper to recompute on flags
2023-05-22 08:49:30 -07:00
lisbet-alvarez and Zhihe Li
b3dc1f236d
refactor: 💡 use secret input component for secret access key ( #156 )
...
* refactor: 💡 use secret input component for secret access key
use new component and update test files
✅ Closes: ICU-8645
* Update ui/admin/app/components/form/storage-bucket/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 revise translation wording
* style: 💄 fix linting space issue
* refactor: 💡 only rollback changes for specific attribute
* style: 💄 change button text color in dark mode for a11yAudit
* refactor: 💡 add function to cancel changes to secrets
* Update ui/admin/app/components/form/storage-bucket/index.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-03-28 15:46:25 +00:00
Devon Anderson and Zhihe Li
85f2561a72
Icu 8559 use secret input component for access key ( #146 )
...
* feat: 🎸 create edit storage-bucket view
Create edit storage bucket view for single storage bucket
✅ Closes: ICU-8240
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 merge upstream
merge upstream
✅ Closes: ICU-8240
* feat: 🎸 implement secret-input component
Implement `secret-input` component for `access_key_id` field in the
`storage-bucket` new and edit forms.
✅ Closes: ICU-8559
* refactor: 💡 refactored storage-bucket form
We will still conditionally render regular `Hds::Form::TextInput::Field`
for new `storage-bucket` and render `Form::Field::SecretInput` for
detail view and edit view.
✅ Closes: ICU-8559
* refactor: 💡 fixed failing test for storage bucket from
Fixed failing test for edit button now that secret-input has been
implemented
✅ Closes: ICU-8559
* Update ui/admin/app/components/form/storage-bucket/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* Update index.js
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-03-24 11:17:06 -04:00
Devon Anderson and Zhihe Li
458fd167e3
feat: 🎸 create edit storage-bucket view ( #137 )
...
* feat: 🎸 create edit storage-bucket view
Create edit storage bucket view for single storage bucket
✅ Closes: ICU-8240
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 merge upstream
merge upstream
✅ Closes: ICU-8240
* Update update-test.js
removed unneeded await on assertion
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-03-23 12:33:31 -04:00