Lisbet Alvarez
002f64d676
update cli version and update changelog ( #2165 )
...
* docs: ✏️ update cli version and update changelog
2024-02-28 10:31:34 -08:00
Devon Anderson
c09efbae10
chore: 🤖 Migrate form.inut to Hds::TextInput::Field ( #2151 )
...
* chore: 🤖 Migrate `form.inut` to `Hds::TextInput::Field`
Migrate `form/create-worker-led` form to use `Hds:Text::InputField`
instead of `form.input`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12477
* refactor: 💡 Added `optional` and `requred` arguments for fields
Added `optional` and `require` arguments for all needed fields.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12477
* refactor: 💡 fix failing test
fix failing test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12477
2024-02-28 13:02:02 -05: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
f1c5c99664
chore: 🤖 Migrate form.input to Hds::TextInput::Field ( #2147 )
...
* chore: 🤖 Migrate `form.input` to `Hds::TextInput::Field`
Migrate `form/host-set/aws`, `form/host-set/azure` and
`form/host-set/static` forms to use `Hds::TextInputField` instead of
`form.input`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
* Update index.hbs
removed `@isOptional` field.
* Update index.hbs
removed `@isOptional` argument
* refactor: 💡 fix lint errors
fix lint
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
* refactor: 💡 field argument cleanup
field argument cleanup
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
* refactor: 💡 switch `disabled` argument to `readonly`
switch `disabled` argument to `readonly`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
* refactor: 💡 order of attributes
change order of attributes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
2024-02-28 10:18:22 -05:00
af5fb8e814
chore(deps): bump es5-ext from 0.10.53 to 0.10.63 ( #2162 )
...
Bumps [es5-ext](https://github.com/medikoo/es5-ext ) from 0.10.53 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases )
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md )
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.53...v0.10.63 )
---
updated-dependencies:
- dependency-name: es5-ext
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-02-27 16:49:29 -05:00
Devon Anderson
cf5334556f
chore: 🤖 Migrate form.input to Hds::TextInput:Field ( #2150 )
...
* chore: 🤖 Migrate `form.input` to `Hds::TextInput:Field`
Migrate `form/manage-groups/oidc`, `form/user` and `form/worker` forms
to use `Hds::TextInput::Field` instead of `form.input`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12473
* refactor: 💡 argument clean up
argument clean up
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12473
* refactor: 💡 refactor InfoField arguments for `readonly`
Refactor InfoField component's arguments for `readonly` instead of
`disabled`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12473
2024-02-27 14:57:54 -05:00
Dharini Jeeva
5c6c9bb69f
fix: 🐛 move config processing to mirage serializer ( #2163 )
2024-02-27 11:25:51 -08:00
Devon Anderson
26a77edbc7
chore: 🤖 Migrate form.inpu to use Hds::TextInput::Field` ( #2145 )
...
* chore: 🤖 Migrate `form.inpu` to use Hds::TextInput::Field`
Migrate `form/group`, `form/host-static`, `form/host-catalog/aws` and
`form/host-catalog/azure` forms to use `Hds::TextInputField instead of
`form.input`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12466
* refactor: 💡 use `data-test` attributes for testing
use `data-test` attributes for testing error messaging.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12466
* refactor: 💡 field argument cleanup
field argument cleanup
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12466
* refactor: 💡 switch `disabled` argument to `readonly`
switch `disabled` argument to `readonly`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12466
2024-02-27 13:52:50 -05:00
Dharini Jeeva
3fc865d226
Fix credential library mocks ( #2161 )
...
* fix: 🐛 vault cred library mocks
2024-02-27 09:41:28 -08:00
Devon Anderson
47d7ceccf7
chore: Migrate form.input to use Hds text input field ( #2154 )
...
* chore: 🤖 Migrate `form.input` to use `Hds` form input field
Migrate `form.input` for `clusterurl.hbs` to use
`Hds::Form::TextInput::Field`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12478
* refactor: 💡 removed unused `data-test` attribute
removed unused `data-test` attribute
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12478
2024-02-27 09:31:48 -05:00
Dharini Jeeva
38df28be55
fix: 🐛 change delete to detach Storage policy from a scope ( #2160 )
...
* fix: 🐛 change delete to detach Storage policy from a scope
2024-02-26 12:50:38 -08:00
Dharini Jeeva
6d7c86a08c
fix: 🐛 spelling ( #2159 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12813
2024-02-26 11:18:34 -08:00
Michael Li
58a31b880b
test(e2e): Add enterprise tests for creating TCP/SSH targets ( #2158 )
2024-02-26 12:59:34 -05:00
Dharini Jeeva
453ab7911d
doc: var name ( #2140 )
...
* fix: 🐛 var name
2024-02-23 15:52:08 -08:00
Dharini Jeeva
93c8d481fd
Icu 12567 add new field credential mapping overrides ( #2156 )
...
* chore: 🤖 add credential type select list
2024-02-23 10:07:52 -08:00
Carlos Alcaide Corvo
956f6fd04d
refactor: 💡 Adopt HDS copy snippet Desktop UI ( #2146 )
...
* refactor: 💡 Adopt HDS copy snippet Desktop UI
Adopt HDS copy snippet and delete usage of Copyable custom component
2024-02-22 13:56:56 -08:00
dependabot[bot] and Zhihe Li
912be13744
chore(deps): bump ip from 1.1.8 to 1.1.9 in /ui/desktop/electron-app ( #2155 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-02-22 15:28:18 -05:00
dependabot[bot] and Zhihe Li
fc1b91c8f9
chore(deps): bump ip from 1.1.5 to 1.1.9 ( #2153 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 1.1.5 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.5...v1.1.9 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-02-22 15:10:54 -05:00
Devon Anderson
8e40b01caf
refactor: 💡 Quick fix for client_secret attributes ( #2157 )
...
`client_secret` attribute needed to be `@type` instead of `type`
2024-02-22 14:52:31 -05:00
Devon Anderson
20181c978f
refactor: 💡 Migrate form.input to Hds::TextInput::Field ( #2142 )
...
* refactor: 💡 Migrate `form.input` to `Hds::TextInput::Field`
Migrate the use of `form.input` to `Hds::TextInput::Field` for OIDC and
Password auth-method form
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12459
* Update index.hbs
move `name` attribute to top of attribute list for readers
* refactor: 💡 fix `step` and `min` arguments
fix `step` and `min` arguments
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12459
* refactor: 💡 clean up order of arguments and add `data-test` att
clean up order of arguments and add `data-test` attributes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12459
* refactor: 💡 Add `@isOptional` attribute to all needed fields
Add `@isOptiona` attributes to all needed fields
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12459
* Update index.hbs
add `@hasVisibilityToggle`
* refactor: 💡 fix lint
fix lint
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12459
* refactor: 💡 quick attribute refactor
quick attribute refactor
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12459
2024-02-22 13:22:18 -05:00
Lisbet Alvarez
db78f1ae4d
docs: ✏️ update enos readme ( #2139 )
...
* docs: ✏️ update enos readme
* docs: ✏️ update cmd
* docs: ✏️ update wording
* docs: ✏️ add link
* docs: ✏️ use diff slack channel
2024-02-20 17:57:21 -08:00
Dharini Jeeva
592bb15022
chore: 🤖 add credential type select list ( #2144 )
...
* chore: 🤖 add credential type select list
2024-02-16 15:57:14 -08:00
Carlos Alcaide Corvo
f002e14673
[Admin UI] Adopt HDS::Copy::Snippet ( #2141 )
...
* refactor: 💡 Adopt HDS copy snippet
Adopt HDS copy snippet and delete usage of Copyable custom component
within Admin UI.
2024-02-16 02:19:43 -08:00
Devon Anderson
a1b455e5eb
refactor: 💡 Migrate last form.fieldset over to use Hds ( #2138 )
...
* refactor: 💡 Migrate last `form.fieldset` over to use Hds
Migrate last `form.fieldset` over to use `Hds::FormFieldset`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-9427
* refactor: 💡 removed `fieldset` from `RadioCard`
Removed unneeded `fieldset` from `RadioCard`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-9427
2024-02-15 09:51:39 -05:00
Dharini Jeeva
786e6130cd
feat: 🎸 allow session recording deletion ( #2132 )
...
* feat: 🎸 allow session recording deletion
2024-02-13 13:26:23 -08:00
hashicorp-copywrite[bot]
4db8b8e1e7
[COMPLIANCE] Add Copyright and License Headers ( #2137 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2024-02-12 16:31:46 -05:00
Lisbet Alvarez
4be8d10323
Icu 12557 refresh not working as intended on windows ( #2133 )
...
* fix: 🐛 add flag
* refactor: 💡 add true val
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12557
2024-02-09 11:58:41 -08:00
Devon Anderson
c79a1fca79
chore: 🤖 Create select field render for the Form::Field::ListWrapper ( #2112 )
...
* chore: 🤖 Create `select` field render for the `Form::Field::ListWrapper`
component
Create a `select` field render for the `Form::Field::ListWrapper`
component.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12271
* refactor: 💡 Added additional test
Added additional testing around removing and adding an option, and
refactored for better usability
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12271
* refactor: 💡 Refactored getter to check for option and model arg
Refactore getter to check for options and model args.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12271
* refactor: 💡 Use select field with `signing_algorithms`
Use select field with `signing_algorithms`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12271
* refactor: 💡 fix test
fix test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12271
* refactor: 💡 fix failing test
fix failing test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12271
* refactor: 💡 fix update auth-method test
fix update auth-method test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12271
2024-02-09 08:42:15 -05:00
Cameron Perera
d2d332b7d1
refactor: 💡 only show scopes with auth methods at authenticate ( #2129 )
...
* refactor: 💡 only show scopes with auth methods at authenticate
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* test: 💍 verify scopes with no auth methods are hidden
when authenticating
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* refactor: 💡 update logic for fetching scopes and auth methods
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* refactor: 💡 PR feedback changes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* refactor: 💡 added unless block back to template
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* refactor: 💡 update admin authenticate route and template
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
* test: 💍 add test for orgs with no auth methods admin ui
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-2355
2024-02-08 10:01:20 -06:00
022ac0fffe
Result of tsccr-helper -log-level=info gha update -latest . ( #2126 )
...
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2024-02-07 16:42:38 -08:00
Cameron Perera
f3622fb92b
feat: 🎸 remove Type of Worker from worker details page ( #2131 )
...
* feat: 🎸 remove Type of Worker from worker details page
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12409
* refactor: 💡 remove unused translation
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12409
2024-02-06 14:48:28 -06:00
Zhihe Li
f8b5dcd824
fix: 🐛 Add error notification if adding token to daemon fails ( #2127 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12488
2024-02-05 14:21:13 -05:00
Alex
056008e13e
chore: 🤖 replace Rose::CodeEditor with Hds::CodeBlock on new worker page ( #2128 )
...
* chore: 🤖 replace `Rose::CodeEditor` with `Hds::CodeBlock` for new workers
2024-02-05 09:50:08 -08:00
Alex
ea03d6e488
chore: 🤖 update HDS to 3.5.0 ( #2116 )
...
* chore: update to 3.4.1
`@hashicorp/design-system-components` to `3.4.1`
- `@hashicorp/ember-flight-icons` to `4.0.5`
* chore: update to 3.5.0
2024-01-31 15:49:02 -05:00
Zhihe Li
06cc64e6af
fix: 🐛 Add refresh button back ( #2124 )
2024-01-30 19:54:34 -05:00
Lisbet Alvarez
4d3c993b0f
refactor: 💡 move token call to be inside try-catch ( #2123 )
2024-01-30 16:01:00 -08:00
Cameron Perera
cb972cfc8a
refactor: 💡 update how we determine is pagination is supported ( #2122 )
2024-01-30 17:41:57 -06:00
Lisbet Alvarez
13f1c5cc23
docs: ✏️ remove bug fix from changelog ( #2121 )
2024-01-30 08:45:22 -08:00
Cameron Perera
f366f0a858
fix: 🐛 update id to ids for target onboarding creation ( #2120 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12412
2024-01-30 09:13:20 -06:00
Cameron Perera
08d9801829
refactor: 💡 add -addr flag to add-token command ( #2118 )
...
* refactor: 💡 add -addr flag to add-token command
* style: 💄 remove old comment
2024-01-29 14:44:50 -06:00
Lisbet Alvarez
3f17435507
fix: 🐛 fix transition aborted error on storage bucket creation ( #2119 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12402
2024-01-29 12:00:07 -08:00
Lisbet Alvarez
b63ddadf45
chore: 🤖 update changelog and version for v2.0.0 ( #2117 )
...
* chore: 🤖 update changelog and version for v2.0.0
* chore: 🤖 add pr link
2024-01-26 15:43:57 -08:00
Zhihe Li and Cameron Perera
3721f63edf
fix: 🐛 Fix client daemon usage on windows ( #2115 )
...
* fix: 🐛 Fix client daemon usage on windows
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12365
* refactor: 💡 Fix error handling
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12365
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2024-01-26 16:57:15 -06:00
Dharini Jeeva
8f34d83c15
Redirect on reapply error ( #2114 )
...
* chore: 🤖 redirect to list on reapply error
2024-01-26 10:13:16 -08:00
Cameron Perera
def6959ee7
feat: 🎸 user can update clusterURL when controller unsupported ( #2113 )
...
* feat: 🎸 user can update clusterURL when controller unsupported
* test: 💍 add cluster url tests
2024-01-26 11:33:40 -06:00
Michael Li
e76cc2eeeb
test(admin/e2e): Fix yarn scripts ( #2111 )
2024-01-25 15:49:09 -05:00
Lisbet Alvarez
9a47a3ac5a
Icu 12179 add doc links for storage policies ( #2107 )
...
* chore: 🤖 add doclinks for storage policies
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12179
2024-01-24 16:18:39 -08:00
Dharini Jeeva
2e1cba641c
chore: 🤖 translation check and label ( #2110 )
2024-01-24 15:21:51 -08:00
Cameron Perera
842a84296a
refactor: 💡 remove icon from sessions table for session id ( #2108 )
2024-01-24 16:12:07 -06:00
Cameron Perera and Zhihe Li
b86ce41e68
fix: 🐛 use filter query param to filter by org scope id ( #2103 )
...
* fix: 🐛 use filter query param to filter by org scope id
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
* refactor: 💡 remove duplicate call for scopes.scope model
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
* refactor: 💡 add filter to allTargets and sessions query
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
* refactor: 💡 reset query params for targets and sessions
on org scope change
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
* refactor: 💡 remove open/close parens from filter string
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
* refactor: 💡 Update logic on when to reset query parameters
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
* refactor: 💡 filter sessions query by parent scope isOrg
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
* refactor: 💡 update to & from transition references
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
* refactor: 💡 update to & from transition references for sessions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12309
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-24 10:18:28 -06:00
Zhihe Li
5f9a66e421
fix: 🐛 Handle when requests to client daemon are returning 403 ( #2105 )
2024-01-23 16:31:21 -05:00
Dharini Jeeva
24fdd926f1
chore: 🤖 toggle translation based on state ( #2106 )
2024-01-23 12:13:50 -08:00
Dharini Jeeva
db50bfc9df
fix: 🐛 delete and retain_until should be readonly and Scope level policies ( #2104 )
...
* fix: 🐛 delete and retain_until should be readonly
* fix: 🐛 global scope should have policies from self and orgs
2024-01-23 11:31:43 -08:00
Zhihe Li
3f4beaada8
feat: 🎸 Add warning when upgrading to 2.0 for desktop client ( #2101 )
2024-01-22 19:06:01 -05:00
Lisbet Alvarez
5a9cbdd913
refactor: 💡 change filter name ( #2102 )
2024-01-22 14:07:11 -08:00
hashicorp-copywrite[bot]
314c1b36f4
[COMPLIANCE] Add Copyright and License Headers ( #2100 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2024-01-22 12:12:44 -05:00
Zhihe Li
f71fc3a0a4
fix: 🐛 Fix errors not getting propagated up from client daemon ( #2099 )
2024-01-19 18:13:33 -05:00
Dharini Jeeva
5a74220f38
fix: 🐛 policy UI bug fix ( #2098 )
...
* fix: 🐛 policy UI bug fix
2024-01-19 14:06:51 -08:00
Cameron Perera
3f2fc63b5b
fix: 🐛 remove client daemon params and pass remaining params ( #2097 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12301
2024-01-19 11:44:01 -06:00
Zhihe Li
c0793cd254
test: 💍 Add tests for MQL expression generator ( #2096 )
2024-01-18 11:39:29 -05:00
Dharini Jeeva and Lisbet Alvarez
fb9a080d2e
feat: reapply storage policies to session recording ( #2095 )
...
* refactor: 💡 add global settings link
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12257
* fix: 🐛 route
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12257
* fix: 🐛 comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12257
* feat: 🎸 add reapply sp to session recording page
* fix: 🐛 normalize
* feat: 🎸 upates
* fix: 🐛 logs
* fix: 🐛 comment
* test: 💍 add tests
* fix: 🐛 normalizer, style
* fix: 🐛 normalize
* fix: 🐛 normalizw
* fix: 🐛 normalize
* test: 💍 add tests for serializer n normalizer
* fix: 🐛 name
* fix: 🐛 do not delete, send null
* fix: 🐛 return
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
2024-01-17 14:37:54 -05:00
Lisbet Alvarez
9e0467cbf0
refactor: 💡 add global settings link ( #2093 )
...
refactor: 💡 add global settings link (#2093 )
2024-01-17 08:37:09 -08:00
Devon Anderson
c48fdb2017
refactor: 💡 Migrate worker detail view table to Hds::Table ( #2081 )
...
* refactor: 💡 Migrate `worker` detail view table to `Hds::Table`
Migrate `worker` detail view for `config_tags` table to `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11720
* refactor: 💡 fix lint errors
fix lint errors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11720
* refactor: 💡 quick clean up of specificity for worker detail
view
Quick refactor and clean up of specificity for worker detail view
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11720
* refactor: 💡 include styles in `.list-wrapper-field` selector
Include styles in `.list-wrapper-field` selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11720
2024-01-17 09:34:08 -05:00
hashicorp-copywrite[bot] and Carlos Alcaide Corvo
60c5e25902
[COMPLIANCE] Add Copyright and License Headers ( #2094 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
2024-01-16 11:14:56 -08:00
Cameron Perera
1488bdf95e
Icu 12027 let the user know if the dc isnt compatible with the controller and link them to the previous version ( #2073 )
...
* chore: 🤖 allow use of hashicorp release endpoints in desktop
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 use page_size to bypass pagination in query adapter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 add list_token mirage scopes list response
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* feat: 🎸 add logic for unsupported controllers
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 add comment to application adapter change
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 rename scopes controller method
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove scopes controller
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 use beforeModel and setupController hook for scopes
along with converting scopes model back to original state
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove styling to hide modal dismiss button
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 update comment for opening external links
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 revert model hook changes for scopes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 remove target connect test from scopes acceptance tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 add tests for unsupported controller logic
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 update modal test to waitFor elements to render
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove use of set and get from scopes router
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 default isPaginationSupported to false
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 remove unsupported controller tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 add tests back but skip them
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 fix failing tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
2024-01-16 10:17:47 -05:00
Lisbet Alvarez and Zhihe Li
9e6d647949
Icu 12137 add additional session sorting and add default filters ( #2084 )
...
* chore: 🤖 add additional session sorting and add default filters
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12137
* test: 💍 fix test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12137
* Update ui/desktop/app/controllers/scopes/scope/projects/sessions/index.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-16 10:17:46 -05:00
Zhihe Li
2e36d3c3e2
feat: 🎸 Add fallback if client daemon is down or errors ( #2085 )
...
* feat: 🎸 Add fallback if client daemon is down or errors
* test: 💍 Add tests for client daemon being down
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12026
2024-01-16 10:17:46 -05:00
Cameron Perera
9046c01238
feat: 🎸 target list will update according to org scope selected ( #2083 )
...
* feat: 🎸 target list will update according to org scope selected
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12205
* refactor: 💡 add comment to resetController logic
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12205
* feat: 🎸 filter sessions by org selected at global level
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12205
2024-01-16 10:17:46 -05:00
Zhihe Li
ba0c7d5683
feat: 🎸 Add loading indicators for initial loads of resources ( #2074 )
...
* feat: 🎸 Add loading indicators for initial loads of resources
* refactor: 💡 Use HDS application state component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12025
2024-01-16 10:17:46 -05:00
Zhihe Li
16a054519f
fix: 🐛 Fix display of no results from type filter ( #2075 )
2024-01-16 10:17:46 -05:00
Lisbet Alvarez
a1fbfdc1ad
Icu 11804 filter targets by type ( #2063 )
...
* feat: 🎸 filter targets by type
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11804
* refactor: 💡 remove console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11804
* docs: ✏️ fix comment typo
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11804
2024-01-16 10:17:46 -05:00
Lisbet Alvarez
21122f1f29
Icu-12125 cap the number of items rendered in dropdown component ( #2060 )
...
* perf: ⚡ ️ cap the number of items rendered in dropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12125
2024-01-16 10:17:46 -05:00
Cameron Perera
a899ad0b74
refactor: 💡 uncomment on click handler for dropdown component ( #2061 )
...
* refactor: 💡 uncomment on click handler for dropdown component
* test: 💍 fix test
2024-01-16 10:17:46 -05:00
Lisbet Alvarez
c7483e5602
feat: 🎸 filter sessions by status & scope ( #2058 )
...
* feat: 🎸 filter sessions by status
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12067
2024-01-16 10:17:46 -05:00
Cameron Perera
7fa2541ddb
Icu 12069 clear current filters component for scopes filter ( #2051 )
...
* feat: 🎸 add filters applied tags under search/filter bar
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* feat: 🎸 create Rose::FilterTags component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 use Rose::FilterTags component in targets list
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 update FilterTags to handle multiple queryParams
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* test: 💍 update dropdown component tests - applyFilter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* feat: 🎸 create filter-tags component in core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* chore: 🤖 update core addon to export styles
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 remove filter-tags component from rose addon
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* chore: 🤖 update sass package version
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* feat: 🎸 use FilterTags component in targets list screen
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 reduce component complexity
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* chore: 🤖 add sinon to core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 update how FilterTags displays filters
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 trucate long tag names
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 wrap FilterTags component in if this.filters
to fix issue of static text displaying before the dynamic tags
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
* refactor: 💡 address feedback
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12069
2024-01-16 10:17:46 -05:00
Lisbet Alvarez and Zhihe Li
05553643a6
feat: 🎸 filter sessions by target ( #2053 )
...
* feat: 🎸 filter sessions by target
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* docs: ✏️ add missing comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* refactor: 💡 make action reusable
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* refactor: 💡 remove unnecessary block
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* refactor: 💡 fix tests, add hds app state
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* perf: ⚡ ️ set limit of targets rendered in dropdown
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* fix: 🐛 change from displayName to name
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
* Update addons/core/addon/components/dropdown/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 remove # from if statement and remove .slice
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12066
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-16 10:17:46 -05:00
Zhihe Li
47cf7995d3
feat: 🎸 Add active session filter ( #2052 )
...
* feat: 🎸 Add active session filter
* fix: 🐛 Fix tests and verify client daemon calls are correct
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11803
2024-01-16 10:17:46 -05:00
Lisbet Alvarez and Zhihe Li
c06d18940d
Icu 11916 add flyout for session in prgoress field ( #2042 )
...
* feat: 🎸 sessions flyout for targets list view
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11916
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-16 10:17:46 -05:00
Zhihe Li
1122735b87
fix: 🐛 Fix returning mirage data from client daemon mock ( #2050 )
2024-01-16 10:17:46 -05:00
Cameron Perera
9fec047506
Icu 12060 move rose filterable dropdown to core ( #2048 )
...
* feat: 🎸 generate new dropdown component in core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* feat: 🎸 add template and class code to new dropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 add lodash package to core addon
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* test: 💍 add tests for core/dropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* refactor: 💡 use new core/dropdown in targets list screen
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* refactor: 💡 remove rose/filterabledropdown
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* feat: 🎸 add maxHeight to core/dropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* style: 💄 fix lint errors in dropdown/index-tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* refactor: 💡 update height to match designs
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 remove lodash from ui/admin
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 remove lodash from ui/desktop
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 move lodash to devDep in core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 add lodash as core dependency
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* test: 💍 use waitUntil & findAll instead of setTimeout
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* chore: 🤖 add lodash as peerDependency for core
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
* refactor: 💡 update waitUntil with suggestion from PR
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12060
2024-01-16 10:17:46 -05:00
Zhihe Li
916b261cdf
refactor: 💡 Optimize the retrieval of targets for scopes filter ( #2047 )
2024-01-16 10:17:46 -05:00
Zhihe Li
15da4ea69f
fix: 🐛 Fix failing tests from rebase onto main ( #2045 )
2024-01-16 10:17:46 -05:00
Lisbet Alvarez
f801f595f7
Icu 11915 add session in progress field to the table and populate it ( #2028 )
...
* initial support for sessions in targets list view
2024-01-16 10:17:46 -05:00
Cameron Perera
7af8e71a2d
Icu 11802 filter targets by project scope ( #2022 )
...
* feat: 🎸 add ability to filter targets by scope
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 update model hook signature comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 remove await from cancel session route transition
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 add comments to new controller methods
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 add options to query for all targets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 handle ESC key press for dropdown
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* feat: 🎸 add searching within scope dropdown list
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 set pushToStore to false for all target query
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 handle scopes not having names
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 move fetch allTargets to controller
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 fix rebase conflicts
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* test: 💍 fix test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 update allTargets query to have empty query
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 change let to const
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 add replace: true to scopes query param
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 add allTargets fetch back to model hook
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 change on search to on input to trigger action
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* test: 💍 fix test by adding more target returns to stub
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* feat: 🎸 create filterable-dropdown rose component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* feat: 🎸 finish Rose::FilterableDropdown component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* feat: 🎸 use FilterableDropdown in targets table
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 🤖 move methods comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 render Rose::FilterableDropdown correctly in test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* test: 💍 remove generated comments from tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 improve readability of itemOptions getter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* refactor: 💡 change block parameters to uppercase
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
* test: 💍 skip generated tests until adding more
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11802
2024-01-16 10:17:46 -05:00
Zhihe Li
15d815c271
feat: 🎸 Add pagination component to targets ( #2023 )
...
* feat: 🎸 Add pagination component to targets
* test: 💍 Fix tests and add helper for client daemon search
* refactor: 💡 Update the returns from client daemon
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11905
2024-01-16 10:17:45 -05:00
Zhihe Li
dfd484dbca
fix: 🐛 Add support for not equals in MQL expression parsing ( #2029 )
2024-01-16 10:17:45 -05:00
Zhihe Li
50e4a2adbc
feat: 🎸 Do not stop client daemon if it was already started ( #2021 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11932
2024-01-16 10:17:45 -05:00
Zhihe Li
7bc2ccb5ae
refactor: 💡 Use a native class for the client daemon handler ( #2026 )
2024-01-16 10:17:45 -05:00
Zhihe Li
3f11019ef0
feat: 🎸 Add pagination support to client daemon handler ( #2016 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11743
2024-01-16 10:17:45 -05:00
Zhihe Li
1135f88cb7
feat: 🎸 Add debouncing for the search bar ( #2008 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11851
2024-01-16 10:17:45 -05:00
221ab1f7bd
Icu 11748 add free search for targets ( #1995 )
...
* refactor: 💡 fix how we access socket_address from status call
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* feat: 🎸 add free search capability to targets list
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* test: 💍 update test asserts to look for hds appl state title
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 remove filtering for yes, no, & narrow-results
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 add aria-label to dropdown search input
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 add to handleInput signature comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 move buildQuery to client daemon handler
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 Add new parser for MQL expressions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 use queryParams for searching
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* fix: 🐛 Fix some MQL expressions not being properly filtered
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* style: 💄 update handleSearchInput comment signature
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* Update addons/api/addon/utils/mqlQuery.js
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2024-01-16 10:17:45 -05:00
Zhihe Li
4bf1a88764
feat: 🎸 Add handler to make search requests to client daemon ( #1989 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11691
2024-01-16 10:17:45 -05:00
Zhihe Li
b8b970ce4d
feat: 🎸 Add initial setup for client daemon integration ( #1987 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11702
2024-01-16 10:17:45 -05:00
dharini
25c6ed6100
chore: 🤖 fieldname update
2024-01-16 10:17:45 -05:00
Lisbet Alvarez and Zhihe Li
550dee9ae0
Icu 11861 add sorting to session recording ( #2005 )
...
* refactor: 💡 add sorting to session recordings & sessions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11861
* Update ui/admin/app/routes/scopes/scope/session-recordings.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-01-16 10:17:45 -05:00
Lisbet Alvarez
776c46f129
refactor: 💡 replace store.findAll with store.query ( #2002 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11825
2024-01-16 10:17:45 -05:00
Lisbet Alvarez
6ae3067dd9
refactor: 💡 remove unnecessary sorting due to pagination change ( #1996 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11787
2024-01-16 10:17:45 -05:00
Dharini Jeeva
459029530b
chore: 🤖 Add support for pagination in query method ( #1991 )
...
* chore: 🤖 Add support for pagination in query method
2024-01-16 10:17:45 -05:00
Zhihe Li
7dbd581a37
feat: 🎸 Add setup for api handlers
2024-01-16 10:17:45 -05:00
Devon Anderson
9bbd914a3a
refactor: 💡 Added middle alignment to all Hds::Tables ( #2088 )
...
Added middle alignment using `@valign='middle'` to all `Hds::Tables`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12168
2024-01-15 10:23:32 -05:00
Dharini Jeeva
276713697a
chore: 🤖 move overridable next to select ( #2092 )
...
* chore: 🤖 move overridable next to select
* fix: 🐛 lint
2024-01-12 17:20:30 -08:00
Dharini Jeeva
ba786d2172
policy association form ( #2089 )
...
* feat: 🎸 add storage policy api and mirage
2024-01-12 15:01:16 -08:00
Dharini Jeeva
ee4e19ace7
Add more options retain ( #2090 )
...
* chore: 🤖 add more options to rentention policy
* fix: 🐛 log
* fix: 🐛 exclude days
2024-01-12 14:33:36 -08:00
Dharini Jeeva
eefb9eba4f
feat: 🎸 scope policy association api changes ( #2086 )
...
scope policy association API changes
2024-01-12 11:29:19 -08:00
Dharini Jeeva
1cb3b708a2
feat: 🎸 create storage policy ( #2079 )
...
* feat: 🎸 add storage policy
2024-01-12 11:07:18 -08:00
Devon Anderson
8ad4e93ff7
refactor: 💡 Migrate workers-tags over to use Hds::Table ( #2070 )
...
* refactor: 💡 Migrate `workers-tags` over to use `Hds::Table`
Migrate `workers-tags` in `worker-create` form to use `Hds::Table`
instead of `Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11722
* refactor: 💡 Use `Form::Field::List::Wrapper` for table
Use `Form::Field::List::Wrapper` for table implementation.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11722
* refactor: 💡 Refactored how `worker_tags` is used in `table`
Cleaned up how `worker_tags` is used in the `Form::Field::ListWrapper`
component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11722
* refactor: 💡 removed `console.log`
removed console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11722
2024-01-11 17:23:24 -05:00
Devon Anderson
9241b7dd0e
refactor: 💡 Migrate hostslist within host-set to Hds::Table ( #2049 )
...
* refactor: 💡 Migrate `hosts`list within host-set to `Hds::Table`
Migrate `hosts` list within host-set to `Hds::Table` from `Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* Update index.hbs
Not using `data-test` attribute for testing
* Update index.hbs
removed unused `data-test` selector
* refactor: 💡 quick lint error fix
Fix lint error in `hosts/index.hbs`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor test to use `data-test` selector
Refactored hosts-test to use `data-test` selectors for grabbing
`Hds::Dropdown` toggle and interactive instead of long nested selector.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* Update index.hbs
spelling fix
* Update hosts-test.js
fixed spelling errors
* refactor: 💡 fix lint errors
Fix lint errors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Use `Hds::Code::Snippet`
Migrate from `Copyable` component to use `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor incorrect use of `Hds::Code::Snippet`
Refactor the incorrect usage of `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor header of `Hds::Table`
Refactor conditional header of `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Refactored conditional header translations
Refactored conditional header translations to live in controller file
for `scopes/scope/host-catalogs/host-catalog/host-sets/host-set/hosts`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Move conditional check for header labels into `js`
Move conditional logic for checking header lables into `controller` file
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Quick refactor for columns getter
Quick refactor to clean up getter that conditionally renders column
header label based on `isStatic` boolean
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Refactor `host-sets/host-set/hosts` tablee
Refactor `host-sets/host-set/hosts` table to adhere more to codebase
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 rearrange attributes order for table
Rearrange attributes order for `Hds::Table` to keep inline with codebase
patterns.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
2024-01-11 16:49:47 -05:00
0beec7b8fe
[COMPLIANCE] Add Copyright and License Headers ( #2077 )
...
* [COMPLIANCE] Add Copyright and License Headers
* style: 💄 fix linting error
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
2024-01-10 16:49:12 -08:00
dependabot[bot]
9bcaa6dc68
chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 ( #2082 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 14:39:48 -05:00
Dharini Jeeva
3f178363d9
chore: 🤖 add attach and detach storage policy permissions ( #2080 )
...
* chore: 🤖 add attach and detach storage policy permissions
2024-01-09 11:39:28 -08:00
Devon Anderson
3810217ce7
refactor: 💡 Migrate credential-libraries-list to Hds::Table ( #2067 )
...
* refactor: 💡 Migrate `credential-libraries-list` to `Hds::Table`
Migrate `credential-libraries-list` to `Hds::Table` instead of
`Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11724
* refactor: 💡 Fix broken test for navigating to `credentials-libraries`
Fix broken test for navigating to `credentials-libraries`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11724
2024-01-09 10:27:44 -05:00
Dharini Jeeva
b79eebf73a
feat: storage policies list view ( #2071 )
...
policies list view
2024-01-08 15:12:49 -08:00
Zhihe Li
b3abb658ab
chore: 🤖 Fix breaking change in labeler when upgrading to v5 ( #2078 )
2024-01-08 15:06:46 -05:00
hashicorp-tsccr[bot] and hashicorp-tsccr[bot]
245cfb395e
Result of tsccr-helper -log-level=info gha update -latest . ( #2065 )
...
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-01-08 14:10:13 -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
Devon Anderson
cf0f4ab56a
refactor: 💡 Refactor credential-stores-list to use Hds ( #2066 )
...
Refactor `credential-stores-list` to use `Hds::Tables`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11723
2024-01-05 11:18:22 -05:00
Dharini Jeeva
f40878034d
fix: 🐛 transform ( #2069 )
...
* fix: 🐛 transform
* fix: 🐛 return null if undefined
* fix: 🐛 return null if no object
2024-01-03 17:37:14 -08:00
Dharini Jeeva
01a986e08b
chore: 🤖 new routes for storage policy ( #2056 )
...
chore: 🤖 new routes for storage policy (#2056 )
2024-01-03 12:05:23 -08:00
Dharini Jeeva
e3406d9a95
feat: storage policy API and mirage changes ( #2054 )
...
* feat: 🎸 add storage policy API and mirage
2024-01-03 11:52:17 -08:00
Devon Anderson
d4adbe4317
refactor: 💡 Migrate host-catalogs list to Hds::Table ( #2055 )
...
* refactor: 💡 Migrate host-catalogs list to `Hds::Table`
Migrated host-catalogs list to use `Hds::Table` instead of `Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11726
* refactor: 💡 use `Hds::Text` component
Use `Hds::Text::Code` component for `code` element.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11726
* refactor: 💡 Use `Hds::Text` and `Hds::Code::Snippet`
Refactor element to use `Hds`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11726
* refactor: 💡 refactor incorrect usage of `Hds::Code::Snippet`
Refactor incorrect usage of `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11726
2024-01-02 12:02:26 -05:00
Devon Anderson
01d4a329ab
refactor: 💡 Migrate host-sets-list in host catalog to Hds ( #2057 )
...
* refactor: 💡 Migrate host-sets-list in host catalog to `Hds`
Migrate `host-catalog` `host-sets` list to use `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11727
* refactor: 💡 refactor incorrect use of `Hds::Code::Snippet`
Revactor incorrect use of `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11727
* Update index.hbs
color for text should be `secondary`
* Update index.hbs
lint error
* refactor: 💡 quick lint fix
quick lint fix
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11727
2024-01-02 10:15:19 -05:00
Michael Li
659067dd08
test(admin/e2e): Add tags to tests ( #2046 )
2023-12-20 15:06:38 -05:00
Devon Anderson and Cameron Perera
ade1601d8d
refactor: 💡 Refactor sessions-list to use Hds::Table ( #2043 )
...
* refactor: 💡 Refactor `sessions-list` to use `Hds::Table`
Refactor `sessions-list` to use `Hds::Table` instead of `Rose::table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
* refactor: 💡 Use `Hds::Text` component for `code` elements
Refactor `code` elements to use `Hds::Text::Code` component for text.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
* Update ui/admin/app/templates/scopes/scope/sessions/index.hbs
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
* refactor: 💡 Refactor the condition around the `cancelSession`
route-action, to use the `SessionAbility` for permssion to cancel
session. Upgrade `Rose::Button` to `Hds::Button`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-12-14 17:27:09 -05:00
Devon Anderson
4550cd0965
refactor: 💡 Migrate host-catalog/host-list to use Hds ( #2044 )
...
* refactor: 💡 Migrate `host-catalog/host-list` to use `Hds`
Migrate `host-catalog/host-list` to use `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11729
* refactor: 💡 `Hds::Text` refactor
Refactored `code` and `p` tag elements to use new `HDS::Text` elements
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11729
2023-12-14 14:48:10 -05:00
Devon Anderson
0bbc33d073
refactor: 💡 Refactor targets-list to use Hds ( #2041 )
...
Migrate `targets-list` from `Rose::Table` to `Hds::Table`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11733
2023-12-13 10:28:32 -05:00
Devon Anderson
69a4eb53b9
refactor: 💡 Refactor workers list to use Hds::Table ( #2038 )
...
* refactor: 💡 Refactor workers list to use `Hds::Table`
Refactor workers list to use `Hds::Table` instead of `Rose`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11734
* Refactored `workers-list` table to use `margin-top` custom css instead
of removing the background from `Rose::Toolbar`
2023-12-12 14:52:31 -05:00
Dharini Jeeva
d06111c803
fix: 🐛 target cred sources association ( #2040 )
2023-12-11 16:32:58 -08: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
Carlos Alcaide Corvo
a94572214c
chore: 🤖 Refactor main element padding ( #2030 )
...
* chore: 🤖 Refactor main element padding
Refactor main element padding to achieve consistency within all our
UI's. This is a quick solution until we adopt app-frame and follow the
same layouting pattern within all our UI's
✅ Closes: ICU-11960
* Delete unnecessasry @use size
2023-12-08 12:31:13 -08:00
Dharini Jeeva
751b5bef78
chore: 🤖 add skip prompts toggle ( #2036 )
...
* chore: 🤖 add skip prompts toggle
2023-12-08 09:17:36 -08:00
Kristin Bradley and Dharini Jeeva
77f8235ebf
Replace Rose::CodeEditor with Hds::CodeBlock within Desktop client (HDS-2827) ( #2020 )
...
* HDS-2827 Replace Rose::CodeEditor with Hds::CodeBlock on Create New Worker page
* HDS-2827 Replace Rose::CodeEditor with Hds::CodeBlock in credentials panel
* HDS-2827 Remove un-needed getters, fix formatting errors
* HDS-2827 Revert instances of Hds::CodeBlock added to create workers page
* HDS-2827 Fix failing test
* Apply suggestions from code review
* HDS-2827 Delete old unused css
* HDS-2827 Delete old css
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-12-08 12:03:47 -05:00
9782f7e243
feat: 🎸 Implement time-remaining helper into desktop UI ( #2018 )
...
* feat: 🎸 implement helper
Implement `time-remainig` helper to display duration of a session for
desktop app.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 Refactored scenarios
Refactored `ipc.js` scenario to include `expiration_time` for a new
session.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* fix: 🐛 Fix add expiration_time when user has no grants to read (#2024 )
* refactor: 💡 refactor styles
Removed `div` and added `Hds::Badge` to `h1` element. Condensed and
renamed styling for title to `session-details-info`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* Refactored `projects/targets` controller to return the correct `expiration_time` field returned from CLI. Cleaned up CSS for `session-details-info` attribute and wrapped `@model.displayname` in span tag.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* Update ui/desktop/app/controllers/scopes/scope/projects/targets/index.js
mixed naming expiration field on payload to store
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 refactored page header
Refactored `sessions` header to use `<Hds::Text::Dislpay/>` instead of a
span.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 refactor cli response
Refactor `expiration` field from CLI response to be the correct
definition
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 refactor sessions layout
Removed span as parent of header information, and pushed styles to
yielded page.header. Fixed stub in test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
---------
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-12-07 16:01:57 -05:00
Michael Li
6328cc1fcf
test(admin/e2e): Update tests to account for changes in 0.14.3 ( #2033 )
...
* test(admin/e2e): Modify password locators due to new Show Password button
* test(admin/e2e): Update breadcrumbs locators due to design updates
Previously, all breadcrumb items were links, but that is no longer the case for the active breadcrumb.
2023-12-07 11:42:04 -05:00
Dharini Jeeva
b986064447
fix: 🐛 name ( #2035 )
2023-12-07 08:14:09 -08:00
Dharini Jeeva
6fbf243c31
fix: 🐛 oidc account id ( #2034 )
2023-12-06 16:10:44 -08:00
Carlos Alcaide Corvo
66eca93f56
chore: 🤖 Upgrade electron-forge ( #2031 )
...
Upgrade electron-forge to the latest version
2023-12-05 14:11:02 -08:00
45d706dd40
Result of tsccr-helper -log-level=info -pin-all-workflows . ( #2025 )
...
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
2023-12-04 15:06:17 -08:00
Carlos Alcaide Corvo
99cf4c8d81
chore: 🤖 Update DC main element padding ( #2009 )
...
Update Desktop Client main element padding to look like app-frame HDS implementation within cloud-ui.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10497
2023-12-04 14:06:45 -08:00
Carlos Alcaide Corvo
49923d968e
chore: 🤖 Upgrade browserslist ( #2019 )
2023-12-04 10:44:58 -08:00
hashicorp-copywrite[bot]
b4a83a46d1
[COMPLIANCE] Add Copyright and License Headers ( #2027 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-12-04 09:13:32 -08:00
Kristin Bradley and dharini
238ced63f7
HDS-2827 Bump HDS to latest version ( #2017 )
...
* HDS-2827 Bump HDS to latest version
* HDS-2827 Bump up to latest version
* chore: 🤖 yarn lock
---------
Co-authored-by: dharini <dharini@hashicorp.com >
2023-11-30 13:02:08 -05:00
dependabot[bot] and Dharini Jeeva
602e4e62c3
chore(deps): bump semver from 5.7.1 to 5.7.2 ( #2014 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-11-28 18:13:08 -08:00
Devon Anderson
f282dbb5b1
feat: 🎸 Create time-remaining helper ( #2012 )
...
* feat: 🎸 create helper
Create `time-remaining` helper to track remaining session time.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 Clean up code for time-remaining helper
Moved time remaining helper into `core` addons folder. Cleaned up the
`time-remaining` helper to use the `DurationUnitFormat` service.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* Update session.hbs
removed test implementation
* refactor: 💡 files added for helper
files added for helper
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* Update session.hbs
fix linting
* refactor: 💡 fix uneeded spacing
Fix spacing on hbs file used for testing time-remaining helper
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 refactor time-remaining helper
Cleaned up code that was returning a string if `differenceInSeconds` was
less than or equal to zero. Code is now conditionally checking in the
`differenceInSeconds` variable if the `difference` is greater than zero.
If it is not then it will return zero and let the `DurationUnitFormat`
handle the rest.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 fix failing test
Fix failing `time-remaining` test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
2023-11-28 17:42:22 -05:00
Dharini Jeeva
3f2f2ba756
feat: 🎸 Allow prompts in oidc auth method form ( #2007 )
...
* feat: 🎸 Allow prompts in OIDC auth method form
2023-11-28 11:59:16 -08:00
Carlos Alcaide Corvo
02a89bd7ba
Chore upgrade eslint and deps ( #2010 )
...
* chore: 🤖 Upgrade eslint
* chore: 🤖 Upgrade eslint-config-prettier
* chore: 🤖 Upgrade eslint-plugin-ember
* chore: 🤖 Upgrade eslint-plugin-n
2023-11-27 15:31:39 -08:00
Kristin Bradley
a891f7a1a5
Boundary: Delete RoseFooter files (HDS-2805) ( #2003 )
...
* HDS-2805 Delete RoseFooter files
2023-11-27 07:58:54 -08:00
Devon Anderson
019b3e7390
chore: 🤖 Update stylelint config dependency ( #2000 )
...
* chore: 🤖 Update dependency
Updated `styelint-config-standard-scss` to fix incorrect peer dependency
warning for `styelint`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11818
* Update _notify.scss
remove test for media query
* refactor: 💡 refactor media queries
Refactor all media queries to include `context` notation.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11818
2023-11-22 15:42:24 -05: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
Carlos Alcaide Corvo
cb3a9e3bdc
chore: 🤖 Add custom key handler for windows ( #2001 )
...
* chore: 🤖 Add custom key handler for windows
Add custom key handler only for Windows OS so we achieve Ctrl+C to copy
within the embedded terminal
* Await for clipboard promise to complete
2023-11-22 09:21:25 -08:00
Lisbet Alvarez and Carlos Alcaide Corvo
4127f6abd7
chore: 🤖 update test release trigger ( #1978 )
...
* chore: 🤖 add trigger for new workflow
---------
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
2023-11-20 13:12:23 -08:00
hashicorp-copywrite[bot]
45a3cb8d34
[COMPLIANCE] Add Copyright and License Headers ( #1999 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-11-20 08:41:36 -08:00
Kristin Bradley
e96171cab0
Replace Rose::Footer with Hds::AppFooter component (HDS-2805) ( #1994 )
...
* HDS-2805 Replace Rose::Footer with Hds::AppFooter
2023-11-17 15:30:44 -08:00
Devon Anderson
a7bf9a1071
fix: 🐛 testing upgrading ember-electron ( #1997 )
...
This is a test to see if upgrading ember-electron will fix issues with
`yarn start:desktop` build failures
2023-11-17 12:38:53 -05:00
Devon Anderson
3b3a00e1ee
Upgrade desktop UI to Ember 4.12.2 ( #1990 )
...
* Upgrade desktop UI to Ember 4.12.2
* refactor: 💡 refactor scripts
Refactor concurrently scripts, and removed duplicate entries in
`eslintrc.js`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
* refactor: 💡 peer dependencies
Revert changes to `peerDependencies`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
* refactor: 💡 revert config back before upgrade
Revert `styelint-standard-config-scss` back to 6.0.0 so that it can be
put into seperate ticket.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
* Update _notify.scss
fix misspelling
* refactor: 💡 revert dependency
Revert `stylelint-config-standard-scss` back to original version
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11747
2023-11-15 11:29:24 -05:00
Carlos Alcaide Corvo
222f0c35b8
Upgrade playwright within desktop as blocker to run node 18 within gh runners ( #1993 )
2023-11-10 17:10:26 -08:00
Zhihe Li
666491548d
fix: 🐛 Fix broken hot reloading for desktop client ( #1992 )
2023-11-10 14:23:32 -05:00
Devon Anderson
2558ee1353
chore: 🤖 Upgrading to Ember 4.12.2 ( #1988 )
...
* chore: 🤖 Upgrading to Ember 4.12.2
Upgrading `admin/ui` to Ember 4.12.2
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330
* refactor: 💡 Removed unused package
Removed unused `stylelint` package for `css`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330
* refactor: 💡 removed unused dependency
Removed `stylelint-prettier` dependency
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330
2023-11-10 11:21:52 -05:00
Dharini Jeeva
c5edd4dd52
Update auth methods form ( #1981 )
...
Update auth methods form (#1981 )
2023-11-07 11:27:48 -08:00
hashicorp-copywrite[bot]
f102e7fca2
[COMPLIANCE] Add Copyright and License Headers ( #1986 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-11-06 09:28:39 -08:00
Lisbet Alvarez and Zhihe Li
f593e6a8b1
chore: 🤖 update cli version & changelog in desktop ( #1985 )
...
* chore: 🤖 update cli version in desktop
* docs: ✏️ update changelog
* Update ui/desktop/CHANGELOG.md
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-11-03 16:03:07 -07:00
Cameron Perera and Dharini Jeeva
f54d48c380
refactor: 💡 allow target connection even with no read ability ( #1984 )
...
* refactor: 💡 allow target connection even with no read ability
* Update ui/desktop/tests/acceptance/projects/targets/index-test.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
* refactor: 💡 remove unneeded await from transitionTo
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-11-03 16:01:51 -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
Zhihe Li
7317ca2ff5
fix: 🐛 Fix issue with brokered credentials that overflow ( #1982 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11368
2023-11-02 15:16:22 -04:00
Zhihe Li
1ddabf4980
feat: 🎸 Add checks for cancel permissions in desktop sessions ( #1980 )
...
* feat: 🎸 Add checks for cancel permissions in desktop sessions
* chore: 🤖 Move model hook from session to session.index
2023-11-02 13:42:51 -04:00
Devon Anderson and Lisbet Alvarez
a574023c05
chore: 🤖 Upgrade addons/rose dependencies ( #1973 )
...
* chore: 🤖 Upgrade addons/rose dependencies
Upgraded `addons/rose` dependencies to match other addons. Lint fixes,
and fixed scripts for concurrently
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11587
* v4.4.1...v4.12.2
* Update ember-try.js
change scenarios to match 4.12.2
* Update addons/rose/tests/integration/components/rose/button-test.js
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* Update ember-try.js
originally had the right scenarios for 4.
12.2
* chore: 🤖 upgrade ember-cli-babel
Upgrade ember-cli-babel to match other addons
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11587
* Update button-test.js
fix test declaration statement
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2023-11-01 15:52:00 -04:00
Cameron Perera
861562201b
refactor: 💡 remove unused target/sessions controller ( #1979 )
2023-11-01 13:54:36 -05:00
4cdcaefe15
Result of tsccr-helper -log-level=info -pin-all-workflows . ( #1977 )
...
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-11-01 11:22:41 -07:00
Dharini Jeeva
e2487b7e98
Fix electron clipboard action ( #1976 )
...
* fix: 🐛 allow clipboard write action
2023-11-01 10:06:03 -07:00
Cameron Perera
f879bbb1ec
Session permissions issue ( #1975 )
...
* refactor: 💡 session isCancelable to isAvailable
* refactor: 💡 check for target info for showing target details
* refactor: 💡 add fallback for session data from connect command
* refactor: 💡 remove extra divs
* refactor: 💡 remove await from peekRecord of a session
* test: 💍 add test for no read permission for sessions
* test: 💍 reset global qunit after test is done
2023-11-01 11:22:18 -05:00
Zhihe Li
933e272764
fix: 🐛 Add read:self permission for sessions in ability check ( #1974 )
2023-11-01 12:06:40 -04:00
dependabot[bot] and Zhihe Li
2953635aeb
chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 ( #1969 )
...
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign ) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md )
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2 )
---
updated-dependencies:
- dependency-name: browserify-sign
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-10-31 12:38:55 -04:00
hashicorp-copywrite[bot] and Zhihe Li
194561e1f8
[COMPLIANCE] Add Copyright and License Headers ( #1972 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-10-31 12:17:53 -04:00
Zhihe Li
4a3d8eee63
feat: 🎸 Allow auto connect to SSH targets on windows ( #1971 )
2023-10-30 18:16:40 -04: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
Dharini Jeeva
722acdc1fc
chore: 🤖 refactor key value list component, text input support ( #1957 )
...
refactor: 💡 refactor list wrapper component and fix test
2023-10-30 12:30:05 -07:00
Carlos Alcaide Corvo and cameronperera
3f8e39d0e1
Host set permission issue ( #1968 )
...
* refactor: 💡 allow for graceful error handling when connecting
to a target where host-sets cannot be fetched
* refactor: 💡 update for loop to for...of loop
* Move fetching host from target to session domain
* Decouple getting target host-sets and getting hosts from the host-sets, now this code is extracted in 2 methods. Now if the user does not have permissions to fetch host or host-sets we do not show an error and we allow for quick-connect approach
* Fix a check within getHostsFromHostSets
* Change a for loop for Promise.all within getTargetHostSets
* Change a for loop for Promise.All within getHostsFromHostSets
* Delete unnecessary condition
* Delete unnecessary condition
* chore: 🤖 remove host sources from target mirage factory
by default it uses address when using 'withAssociations'
* test: 💍 update target address tests to use 'withOneHost'
* test: 💍 remove connect tests from scopes acceptance tests
* refactor: 💡 remove can initiate connect target ability
and associated code and tests
* refactor: 💡 update target model afterModel hook, and preconnect
* refactor: 💡 revert 'withAssociations' mirage change
* test: 💍 add tests for permissions issues for host-sets and host
* test: 💍 visiting session without permissions to read hosts
---------
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
2023-10-30 12:54:37 -05:00
Devon Anderson
9e7852f18d
chore: 🤖 Upgrade addons/core to Ember 4.12.2 ( #1965 )
...
* chore: 🤖 Upgrade `addons/core` to Ember 4.12.2
Upgrade `addons/core` to Ember 4.12.2
✅ Closes: ICU-11341
* refactor: 💡 testing updating plugin-proposal-decorators version
Update `@babel/plugin-proposal-decorators` to latest version.
* refactor: 💡 testing legacy plugin-proposa-decorators version
Testin `legacy` version for `plugin-proposal-decorators` plugin
* refactor: 💡 testing plugin-proposal-decorators
Testing `@babel/plugin-proposal-decorators`
* refactor: 💡 Revert @babel/exlint-parser to previous version
Revert `@babel/eslint-parser` to use version 2018 EcmaScript version
until further research is done on latest versions
* Update package.json
put @babel/core back into `devDependencies`
* refactor: 💡 testing linging changes
Pushed ember-tempalate-lint, prettier, and ember template lint plugin
for prettier to latest versions to test why CI builds are not passing.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11341
2023-10-27 11:10:30 -04:00
hashicorp-copywrite[bot] and Zhihe Li
c548c381bf
[COMPLIANCE] Add Copyright and License Headers ( #1966 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-10-24 14:31:07 -04:00
Zhihe Li
63be0f3aec
chore: 🤖 Update commitizen hook to add jira link automatically ( #1959 )
2023-10-24 13:07:27 -04:00
Susmitha Girumala
8e4fac5ce2
Manually trigger admin ui build ( #1964 )
2023-10-20 10:16:06 +02:00
Dharini Jeeva
2a9666285a
fix: 🐛 name ( #1963 )
2023-10-20 00:41:25 -07:00
Dharini Jeeva
bff94d6b4d
fix: 🐛 release name ( #1962 )
2023-10-20 00:12:08 -07:00
Michael Li
5b8fc06e21
test(admin/e2e): Update test timeout to 60s ( #1955 )
2023-10-17 13:06:21 -04:00
Lisbet Alvarez and Zhihe Li
a20483d1af
update breadcrumbs to use hds::breadcrumbs ( #1934 )
...
* refactor: 💡 initial changes for updating breadcrumbs to use hds
* refactor: 💡 add breadcrumbs to all paths
* refactor: 💡 add more hds breadcrumbs to remaining paths
* refactor: 💡 remove BreadCrumbs from templates
* refactor: 💡 remove breadcrumb only controller files
* test: 💍 remove unnused test files & add missing tests
* test: 💍 update tests
* test: 💍 add missing scope in test
* test: 💍 fix test
* refactor: 💡 remove icons
* refactor: 💡 remove addon and use service instead
* docs: ✏️ add comment to breadcrumb service
* test: 💍 update service unit test
* docs: ✏️ add comments to breadcrumb components
* Update ui/admin/app/components/breadcrumbs/container/index.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-10-17 09:45:34 -07:00
dependabot[bot]
0bf5221389
chore(deps): bump @babel/traverse from 7.15.0 to 7.23.2 ( #1954 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.15.0 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 15:59:41 +02:00
hashicorp-copywrite[bot]
297db470bd
[COMPLIANCE] Add Copyright and License Headers ( #1953 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-10-16 13:29:31 -04:00
Dharini Jeeva
91a6023145
Refactor key value list component ( #1949 )
...
* refactor: 💡 update keyvalue list component to allow only rows
2023-10-12 14:42:23 -07:00
Devon Anderson
7b96dd1f81
Upgrade addons/auth to Ember 4.12 ( #1947 )
...
* Ember `addon/auth` upgrade v4.4.1...v4.12.2
* Update .npmignore
* refactor: 💡 Quick refactor
Refactor `.eslintrc.js` to current `ecmaVersion` and use latest
`babelOptions`. Revert `.prettier.js` to use previous overrides. Setup
scripts to use `concurrently` instead of `npm-run-all`
* refactor: 💡 removed `npm-run-all`
Removed `npm-run-all` from package.json
2023-10-11 17:17:42 -04:00
Carlos Alcaide Corvo
aee55cb171
Chore icu 9086 audit resolutions ( #1928 )
2023-10-11 12:09:23 +02:00
Carlos Alcaide Corvo
370b3ea1fb
Chore icu 9085 audit resolutions ( #1927 )
...
* chore: 🤖 Delete shell-quote from resolutions
* chore: 🤖 Delete hawk from resolutions
* chore: 🤖 Modify resolutions for async
2023-10-11 11:38:34 +02:00
Carlos Alcaide Corvo
4f972a82d6
chore: 🤖 Modify ansi-html resolution ( #1922 )
2023-10-11 10:48:06 +02:00