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