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
6bb237e78c
Add password credential form ( #3054 )
...
* feat: 🎸 add password credential form
* test: 💍 add a11y ignores
* test: 💍 fix e2e tests
* test: 💍 add password cred type to targets brokering tests
* chore: 🤖 remove comment
2025-11-18 11:20:49 -08:00
Lisbet Alvarez
bbb5808875
chore: 🤖 clean-up json-credentials feature flag ( #3049 )
2025-11-18 11:20:49 -08:00
Lisbet Alvarez
905a8f1951
Refactor cred type radio field ( #3046 )
...
* refactor: 💡 credential type radio field to be select field
* refactor: 💡 radio component to be select component
* test: 💍 fix e2e test page
* test: 💍 add correct selector to e2e test
* test: 💍 fix
2025-11-18 11:20:49 -08: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
Dharini
27567c88c9
fix: 🐛 a11y tests
2025-09-03 17:01:43 -07:00
Dharini Jeeva
e1696e9a4d
feat: 🎸 add support for upd credential
2025-09-03 15:59:29 -07:00
Zhihe Li
9e263379a7
refactor: 💡 Remove usage of indexed DB ( #2979 )
...
* refactor: 💡 Remove usage of indexed DB
2025-09-03 11:41:43 -04:00
Zhihe Li
9e612cf83d
feat: 🎸 Add sqlite support for credential stores ( #2967 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17416
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
Cameron Perera
4cd56f8ae5
Icu 17393 manage resource button permissions bug ( #2927 )
...
* fix: 🐛 hide manage button if no action items
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for credential-stores
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for groups
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for host-sets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for roles
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage action for targets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for workers
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for users
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for auth-methods
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
2025-07-15 14:03:27 -05:00
Carlos Alcaide Corvo
bef9b3b276
Refactor test selectors for credential-store/credentials create test ( #2756 )
2025-04-08 15:40:08 -07:00
Lauren
f12ae90aba
refactor: 💅 Use common selector ALERT_TOAST_BODY across test suite ( #2692 )
...
* replace with alert toast body, replace with this.server.schema
* revert changes to db,schema
* use common selector, alert toast body
* replace ERROR_MSG_SELECTOR with common selector ALERT_TOAST_BODY
2025-02-13 15:54:40 -05: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
Dharini Jeeva
9b1f052a56
chore: Update desktop client license from MPL to BSL ( #2307 )
...
* chore: 🤖 license
2024-05-31 11:29:24 -07:00
Lisbet Alvarez
1270458430
fix: 🐛 add missing pagination component to cred stores ( #2264 )
...
* fix: 🐛 add missing pagination component to cred stores
* test: 💍 fix cred store acceptance tests
2024-04-22 12:43:39 -07:00
Devon Anderson
060f995f94
chore: 🤖 Migrate form.input to Hds::TextInput::Field ( #2143 )
...
* chore: 🤖 Migrate `form.input` to `Hds::TextInput::Field`
Migrate `form/credential` forms for for `json`, `ssh_private_key`,
`username_password`, and `form/credential-store` forms for `static` and
`vault` to use `Hds::TextInput::Field` instead of `form.input`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 fix broken test
fix broken test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 fix broken test
fix broken test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 added `@hasVisibilityToggle` back and clean up test
Added `@hasVisibilityToggle` back and clean up test by use `data-test-*`
attributes for error messaging
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 set `@hasVisiblityToggle` to default
set `@hasVisiblityToggle` to default
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 field argument clean up
field argument cleanup
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 switch `disabled` argument to `readonly`
switch `disabled` argument to `readonly`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 clean up attribute order
clean up field attribute order
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
2024-02-28 12:21:37 -05: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
0129784322
fix url when user tries to access resource with incorrect url ( #1958 )
...
* refactor: 💡 auth-method, account, & managed abilities & routes
* refactor: 💡 credential store resources abilities & routes
* refactor: 💡 group abilities & routes
* refactor: 💡 host-catalog resources abilities & routes
* refactor: 💡 role abilities & routes
* test: 💍 fix route-info-test
* test: 💍 fix host serializer tests
* test: 💍 fix create-test for host-sets
* refactor: 💡 session recording resources abilities & routes
* refactor: 💡 storage bucket abilities & routes
* refactor: 💡 target abilities & routes
* refactor: 💡 user abilities & routes
* refactor: 💡 worker abilities & routes
* refactor: 💡 remove ability changes and add comments
* Update ui/admin/app/utils/route-info.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* test: 💍 add test cases and rename util file
* refactor: 💡 remove dup file and update imports
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282
* docs: ✏️ update comments & remove console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282
* Update ui/admin/app/routes/scopes/scope/auth-methods/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-11-02 16:08:25 -07:00
NatashaKab
0adca93414
Icu 9881 remove use of rose form textarea from admin UI ( #1744 )
...
* refactor: 💡 Changing rose textarea to hds
2023-06-28 15:05:36 -07:00
Randall Morey and Zhihe Li
7350c0e08c
Feature metadata ( #1661 )
...
* feat: 🎸 load edition from controller-metadata.json
* refactor: 💡 rename edition and add licensed features support
* chore: 🤖 support dev toggling of licensed features
* chore: 🤖 rename ent edition
* Update ui/admin/app/services/feature-edition.js
* Update ui/admin/app/instance-initializers/feature-edition.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* chore: 🤖 cleanup
* chore: 🤖 feature edition disabled in tests / fix test cases
* test: 💍 remove feature disable calls in tests
* test: 💍 fix broken tests
* fix: 🐛 fix config bug
* fix: 🐛 fix broken test due to feature flags
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-03-31 17:38:17 -07:00
hashicorp-copywrite[bot] and Cameron Perera
3d610427d0
[COMPLIANCE] Add Copyright and License Headers ( #1617 )
...
* [COMPLIANCE] Add Copyright and License Headers
* chore: 🤖 update Copyright headers to satisfy our lint rules
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-03-01 09:39:41 -06:00
Cameron Perera
b02dc0aa43
fix: 🐛 Remove json_object from payload for non-json credentials ( #1576 )
...
* fix: 🐛 Remove json_object from payload for non-json credentials
* refactor: 💡 update new route logic for type specific attributes
* test: 💍 remove typeIn and use fillIn for json credential test
2023-01-12 16:28:43 -06:00
lisbet-alvarez and Cameron Perera
e418017bc2
feat: 🎸 create form for json credentials ( #1498 )
...
* feat: 🎸 create form for json credentials
✅ Closes: ICU-6682
* refactor: 💡 add new info field
* refactor: 💡 add feature flag
* refactor: 💡 add hds radio cards to json cred
* Update ui/admin/tests/acceptance/credential-store/credentials/create-test.js
* test: 💍 add test for json cred
* chore: 🤖 Remove ember-data-model-fragments package
* fix: 🐛 Update how json is added as a known credential type
* refactor: 💡 update credentialTypes if statement to ternary
* chore: 🤖 add ember-data back to addon/api project
* chore: 🤖 remove ember-feature-flag from addon/api
* refactor: 💡 remove if statement in cred form
* refactor: 💡 update selectors for json cred. tests
* refactor: 💡 Update Credential Form to use form.disabled
* test: 💍 Fix test selectors for radio card credential tests
* refactor: 💡 update credential types declaration to const
* style: 💄 Fix style issue with SecretEditor in edit mode
* refactor: 💡 remove disabled and readonly attributes in form
* refactor: 💡 Create credential ability canRead override
* test: 💍 add credential ability override tests
* test: 💍 Fix brokered credential test with json support added
* refactor: 💡 add attributes comment back to credential model
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2022-12-12 18:37:01 -06:00
fb981c02ea
Icu 5651 create spk type ( #1266 )
...
Add functionality for creating a ssh private key credential and add
corresponding acceptance tests.
✅ Closes: ICU-5651
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
Co-authored-by: Randall Morey <randall@randallmorey.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2022-08-24 15:50:48 -07:00
lisbet-alvarez
f6e1fb0e3b
Icu 5330 credentials crudl tests ( #1219 )
...
* test: 💍 Add credentials CRUDL tests
* fix: 🐛 Deleted empty files
* test: 💍 Add missing tests for credentials
* test: 💍 Revise tests in read-test.js
✅ Closes: ICU-5330
2022-07-28 15:34:03 -07:00