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
Cameron Perera
83c7b76f48
refactor: 💡 Update passphrase to private_key_passphrase ( #1290 )
...
✅ Closes: ICU-5916
2022-08-30 20:40:31 -05:00
lisbet-alvarez and Zhihe Li
cb3104a624
test: 💍 Add acceptance tests for deleting an spk credential ( #1274 )
...
✅ Closes: ICU-5654
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2022-08-30 13:01:38 -07:00
lisbet-alvarez
f1f7be4067
test: 💍 clean-up acceptance test for list-view of credentials ( #1278 )
...
✅ Closes: ICU-5650
2022-08-30 12:44:17 -07:00
lisbet-alvarez
0ae2451b9c
test: 💍 Add acceptance test for updating an spk credential ( #1273 )
...
* test: 💍 Add acceptance test for updating an spk credential
✅ Closes: ICU-5652
2022-08-30 12:20:52 -07:00
lisbet-alvarez and Zhihe Li
0dff900795
test: 💍 Add acceptance tests for reading an spk credential ( #1275 )
...
Acceptance tests for spk type credentials added to read-test.js
✅ Closes: ICU-5653
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2022-08-26 09:54:10 -07: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