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
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
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 and calcaide
42013a919f
(HACK WEEK 2025) refactor: 💡 remove explicit a11yAudit usage ( #2936 )
...
* refactor: 💡 remove explicit usage of a11yAudit
* Delete a11yAudit method from readme
---------
Co-authored-by: calcaide <ccorvo@hashicorp.com >
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
7e2f3e3df3
Refactor credential-store/credentials list test selectors ( #2884 )
...
* Refactor credential-store/credentials list test selectors
2025-06-13 08:24:18 -07:00
Carlos Alcaide Corvo
4c7f3fad75
Icu 15478 refactor credentials delete test selectors ( #2867 )
...
* Refactor credential-store/credentials update test selectors
* Refactor credential-store/credentials delete test selectors
2025-06-11 09:29:46 -07:00
Carlos Alcaide Corvo
4020f2d4e2
Icu 15477 refactor credentials update test selectors ( #2866 )
...
* Refactor credential-store/credentials update test selectors
2025-06-10 14:19:23 -07:00
Carlos Alcaide Corvo
1284a16978
Refactor credential-store/credentials read test selectors ( #2864 )
...
* Refactor credential-store/credentials read test selectors
2025-06-10 08:24:18 -07:00
Priya Patel
b06c396086
Refactor - Rose::Page::Layout ( #2849 )
...
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813 )
* refactor: 💡 page::layout- header,breadcrumb and actions
* refactor: 💡 added new class for the page layout, fixed a11y
* refactor: 💡 addressed comments
* refactor: 💡 moved copy snippet to PH.Generic
* refactor: 💡 addressed comments
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825 )
* refactor: 💡 rose page layout header
* refactor: 💡 removed extra classes
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Final Part (#2840 )
* refactor: 💡 rose page layout header
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813 )
* refactor: 💡 page::layout- header,breadcrumb and actions
* refactor: 💡 added new class for the page layout, fixed a11y
* refactor: 💡 addressed comments
* refactor: 💡 moved copy snippet to PH.Generic
* refactor: 💡 addressed comments
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825 )
* refactor: 💡 rose page layout header
* refactor: 💡 removed extra classes
* refactor: 💡 fixed a11y heading, actions dropdown
* refactor: 💡 fixed page header
* refactor: 💡 fix heading margin and failing tests
* refactor: 💡 add back margin for hds header tags
* refactor: 💡 fix style
2025-06-02 16:20:50 -05:00
Lauren
6181df4c69
[Replace][Desktop] Rose::Button ( #2812 )
...
* replace rose::button in ui/desktop
* replace .rose-button in ui/admin acceptance tests
* update @iconOnly to @isIconOnly
* add required @text arg for isIconOnly btns
* re-add title html element
* add _button.scss for custom styling
* add hover styling over close btn
* fix a bug when we hover in dark mode
* fix bug in main, hover white should trigger in dark mode
* remove &:not(:disabled) on btn close window class
* fix merge conflict
* fix styling
2025-05-20 12:15:45 -04: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
Lauren
422cff4547
[ICU-15647] Replace Rose::Dialog with Hds::Modal in admin ui only ( #2623 )
...
* sort list
* refactor: 💡 Replace Rose::Dialog with Hds::Modal
✅ Closes: ICU-15647
* refactor targets-host-sources-test
* refactor update-test
* update test selectors
* refactor delete test
* refactor org scope test
* refactor delete scope and auth-method tests
* refactor update host catalogs tests
* refactor credential-stores credential update tests
* refactor credential-stores credentials delete tests
* refactor scopes update tests
* refactor storage buckets delete test
* refactor storage buckets delete test
* refactor credential library update test
* refactor targest workers test
* refactor workers create tags test
* refactor global scope test
* refactor users update test
* refactor host catalogs delete test
* refactor credential-store update tests
* refactor host catalogs, hosts and sets update tests
* remove unused vars
* rename selectors, remove attrs
* add @onDismiss callback
2024-12-20 14:16:43 -05:00
Lisbet Alvarez
371301b4ba
refactor: 💡 use hds::applicationstate instead of rose::message ( #2577 )
...
* refactor: 💡 use hds::applicationstate instead of rose::message
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15639
2024-12-04 14:16:05 -08: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
Lisbet Alvarez
2f8a53e3ea
refactor: 💡 remove rose table references ( #2589 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15644
2024-12-02 12:22:01 -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
Zack Moore
6eb83b2a25
Upgrade HDS dependency to 4.13 & migrate FlightIcon to Hds::Icon ( #2540 )
...
* updated hds and replaced deprecated flight-icon
* removed code trying to import from ember-flight-icons
* fixing linting issue
* fixing linting issue
* fixing dropdown test selectors
* updated dropdown selectors
* updated dropdown selectors
* updated dropdown selectors
* addressing pr feedback
* fixing linting error
* updating dropdown selectors
2024-11-04 11:29:56 -06:00
Lisbet Alvarez
ef163709f2
Upgrade ember a11y testing to v7 ( #2470 )
...
* chore: 🤖 update ember-a11y-testing and @ember/test-helpers
* chore: 🤖 upgrade to v7
* chore: 🤖 upgrade deps and force resolutions to fix errors
* chore: 🤖 fix ember-a11y errors due to summary title not showing
* chore: 🤖 fix yarn.lock
2024-09-04 13:04:14 -07:00
Wadi and Cameron Perera
a9cfc43404
Icu 14663 update manage dropdown for credential stores form ( #2454 )
...
* refactor: 💡 Update Manage dropdown in credential-store
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14663
* refactor: 💡 Adjusted tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14663
* refactor: 💡 Refactored tests and naming conventions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14663
* refactor: 💡 Removed @model from delete
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14663
* test: 💍 add clicks to correct tests assertions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14663
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2024-08-26 14:58:14 -05:00
Wadi
bea791b2e6
refactor: 💡 Update Manage dropdown in Credentials form ( #2453 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14665
2024-08-23 12:03:26 -04:00
Lisbet Alvarez
c0cecda312
refactor: 💡 use new baseURL and update topic paths ( #2109 )
...
* refactor: 💡 use new baseURL and update topic paths
2024-07-15 17:09:08 -07: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
Lisbet Alvarez
d93986c4e2
refactor: 💡 remove route-action usage from credential-stores ( #2172 )
...
* refactor: 💡 remove route-action usage from credential-stores
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12604
2024-03-18 16:34:37 -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
Devon Anderson
adfa118ae5
refactor: 💡 Migrate credentials-list to Hds::Table ( #2059 )
...
* refactor: 💡 Migrate `credentials-list` to `Hds::Table`
Migrate `credentials-list` to `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11725
* refactor: 💡 Refactor table to use `B.data`
Originally the Proxy(Array) was not being taking in as a correct model
object when using the `@columns` synthax, now it seems to work perfectly
fine.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11725
2024-01-05 12:23:46 -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
Randall Morey
51c1aba794
chore: 🤖 cleanup json creds code / tests ( #1535 )
2022-12-16 15:06:19 -05:00
Cameron Perera
d542acfc15
test: 💍 add tests for updating JSON credentials ( #1531 )
...
* test: 💍 add tests for updating JSON credentials
✅ Closes: ICU-6805
* refactor: 💡 update click selector for discard dialog tests
2022-12-15 13:24:48 -06:00
Cameron Perera
c933aa8840
test: 💍 Add delete tests for JSON Credentials ( #1526 )
...
* test: 💍 Add delete tests for JSON Credentials
✅ Closes: ICU-6806
* refactor: 💡 update JSON variable names
2022-12-14 13:36:30 -06:00
Cameron Perera
8a61c28254
test: 💍 Create read tests for JSON credentials ( #1524 )
...
* test: 💍 Create read tests for JSON credentials
✅ Closes: ICU-6804
* refactor: 💡 use HDS color token to skeleton message color
* refactor: 💡 update JSON variable names
2022-12-14 09:53:34 -06:00
Cameron Perera
d98a85e2f4
test: 💍 update list credential tests ( #1528 )
...
* test: 💍 update list credential tests
✅ Closes: ICU-6807
* refactor: 💡 fix JSON variable naming
2022-12-13 15:56:03 -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
lisbet-alvarez and Cameron Perera
e8a3650fbe
refactor: 💡 adjust css selector for specific asserts ( #1468 )
...
* refactor: 💡 adjust css selector for specific asserts
✅ Closes: ICU-6889
* refactor: 💡 small update
* refactor: 💡 selectors for .doesNotExist()
* Update addons/core/tests/integration/helpers/relative-datetime-live-test.js
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2022-11-28 14:44:34 -08:00