Compare commits

...
3305 Commits
Author SHA1 Message Date
798cfc6828 chore: 🤖 Update desktop client changelog (#2183)
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2024-03-19 12:23:50 -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
Michael Li 879c196887 refact(e2e): Move env outside of helper methods (#2186)
* refact(e2e): Move env outside of UI helper methods

* refact(e2e): Move env outside of CLI helpers
2024-03-18 15:53:39 -04:00
Lisbet Alvarez 98170ed01e refactor: 💡 Remove route-action usage for managed-groups (#2168)
* refactor: 💡 Remove route-action usage for managed-groups

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12619
2024-03-18 10:34:54 -07:00
Dharini Jeeva 47a218cf8f chore: Add routes for aliases (#2185)
alias resource routes
2024-03-15 14:48:32 -07:00
Dharini Jeeva 879a58dcb8 feat: 🎸 mirage support and initial route for aliases (#2181)
* feat: 🎸 mirage support and initial route for aliases
2024-03-15 14:24:20 -07:00
Stan RyzhovandMichael Li f100190ac1 test: 💍 Add storage policies e2e-test (#2175)
* test: 💍 Add storage policies e2e-test

✅ Closes: ICU-12883

* chore: Adjust required env for e2e-tests

✅ Closes: ICU-12883

* CR: Refactor helper method to pass in env

---------

Co-authored-by: Michael Li <michael.li@hashicorp.com>
2024-03-15 11:55:13 -04:00
Lisbet Alvarez 0902e42cb0 refactor: 💡 remove route-action usage for groups (#2176)
* refactor: 💡 remove route-action usage for groups

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12605
2024-03-14 13:28:43 -07:00
Michael Li 6b0958e4d8 test(e2e): Admin UI test fixes (#2182) 2024-03-14 14:17:54 -04:00
Cameron Perera 82ea70f44b fix: 🐛 update destination path for autoUpdater workflow (#2179)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12878
2024-03-13 10:46:22 -05:00
hashicorp-copywrite[bot] 0bb72040db [COMPLIANCE] Add Copyright and License Headers (#2177)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2024-03-11 11:51:45 -05:00
Michael Li 9d9a38510b test(e2e): Add test for SSH certification injection (#2170) 2024-03-07 17:05:45 -05:00
Lisbet Alvarez a54aecee07 refactor: 💡 remove route-action usage in accounts (#2134)
* refactor: 💡 remove route-action usage in accounts

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12616
2024-03-07 09:24:28 -08:00
Devon Anderson 7dab184bb9 chore: 🤖 Migrate form.input to Hds:TExtInput::Field (#2149)
* chore: 🤖 Migrate `form.input` to `Hds:TExtInput::Field`

Migrate `form/account/oidc` and `form/account/password` forms to use
`Hds::TextInput::Field` instead of `form.input`

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12457

* refactor: 💡 argument clean up

argument clean up

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12457

* refactor: 💡 switch to `readonly` arument instead of `disabled`

switch to `readonly` arument instead of `disabled`

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12457

* refactor: 💡 fix incorrect attributes

fix incorrect attributes

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12457

* refactor: 💡 fix failing test

fix failing test

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12457
2024-03-07 10:12:33 -05:00
Lisbet Alvarez f068ac0b0c refactor: 💡 remove usage of route-action for app route (#2135)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12615
2024-03-04 10:13:59 -08:00
Michael Li d07c33ca41 test(e2e): Add test for SSH Credential Injection with Vault SSH Private Key (#2166) 2024-03-01 13:35:47 -05:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] f073de774d Result of tsccr-helper -log-level=info gha update -latest . (#2167)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-03-01 09:48:29 -08:00
Michael Li 1040a05880 test(e2e): Add LDAP Admin UI e2e test (#2164) 2024-02-29 16:51:32 -05:00
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]andZhihe 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]andZhihe 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 LiandCameron 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 PereraandZhihe 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 JeevaandLisbet 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]andCarlos 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 AlvarezandZhihe 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 AlvarezandZhihe 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 AlvarezandZhihe 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 AlvarezandZhihe 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]andhashicorp-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 AndersonandCameron 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 BradleyandDharini 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 Bradleyanddharini 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]andDharini 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 AlvarezandCarlos 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 AlvarezandZhihe 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 PereraandDharini 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 AndersonandLisbet 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]andZhihe 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]andZhihe 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 Corvoandcameronperera 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]andZhihe 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 AlvarezandZhihe 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
Zhihe Li 2e7399f293 fix: 🐛 Fix electron not inheriting path variable in production (#1948) 2023-10-10 20:16:34 -04:00
Cameron Perera b3c976bf19 chore: 🤖 add post-connection workflow to desktop CHANGELOG (#1923)
* chore: 🤖 add post-connection workflow to desktop CHANGELOG

✅ Closes: ICU-11079

* chore: 🤖 remove electron upgrade entry

* chore: 🤖 update CLI version to 0.14.0

* chore: 🤖 update desktop release date
2023-10-10 15:31:26 -05:00
Zhihe Li 7ac7843f5e backport: 🤖 Fix usage of deprecated hub cli (#1944) 2023-10-06 15:56:34 -04:00
987a530fc0 Result of tsccr-helper -log-level=info -pin-all-workflows . (#1937)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-10-06 15:23:16 -04:00
Stan Ryzhov 0357efee2a test: 💍 Add delete resources e2e UI test (#1931)
✅ Closes: ICU-10897
2023-10-06 11:10:25 -04:00
dependabot[bot]andDharini Jeeva 6915a1f5cb chore(deps-dev): bump postcss from 8.4.18 to 8.4.31 (#1941)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.18 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.18...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

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-10-05 16:49:37 -07:00
Zhihe Li 4693689f21 fix: 🐛 Fix an issue with HDS css causing scrollbars/whitespace (#1942)
✅ Closes: ICU-11292
2023-10-05 18:11:14 -04:00
dependabot[bot] 9017f8b74f chore(deps-dev): bump electron in /ui/desktop/electron-app (#1940)
Bumps [electron](https://github.com/electron/electron) from 26.2.1 to 26.2.4.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v26.2.1...v26.2.4)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 15:05:22 -04:00
Zhihe Li 262df46fac fix: 🐛 Fix edge case with showing host modal (#1939)
✅ Closes: ICU-11285
2023-10-04 18:57:17 -04:00
Dharini Jeeva 7993422b0d fix: 🐛 allow ldap managed groups in role/principals route (#1938) 2023-10-02 13:52:35 -07:00
Michael Li 958b91264f test(admin/e2e): Fixes for Admin UI test suite (#1935)
* test(admin/e2e): Update locator for worker filter textbox

* test(admin/e2e): Update locator for the New button

* test(admin/e2e): Update locator for New link

* fixup! test(admin/e2e): Update locator for worker filter textbox
2023-10-02 10:07:37 -04:00
Lisbet Alvarez bac3593b97 fix: 🐛 host modal renders whenever there is an error during connection (#1936)
* fix: 🐛 host modal renders whenever there is an error

✅ Closes: ICU-11231

* test: 💍 add test case to make sure fix is working properly

* fix: 🐛 toggle flag back to false and remove @tracked

* fix: 🐛 host modal should also close after host connection error

* refactor: 💡 change toggle to toggleModal

* test: 💍 rename toggle in test cases
2023-10-02 07:26:10 -05:00
Cameron Perera 406e45f039 fix: 🐛 dynamic storage bucket showing as static (#1933) 2023-09-28 12:10:35 -05:00
Devon Anderson 58cd75ef67 fix: 🐛 ICU-11208 fix view of role scopes (#1929)
* fix: 🐛 ICU-11208 fix view of role under org, and
project scope

Fixed view of role under org, and project scope.

✅ Closes: ICU-11208

* refactor: 💡 Refactor scopes in roll

Refactor role to disregard subscopes for project scope

✅ Closes: ICU-11208

* refactor: 💡 refactor test

Refactor test to include test for a role having the correct grand scopes

✅ Closes: ICU-11208

* refactor: 💡 refactor test

Refactor test to test that role fectches scopes correctly

* quick refactor of previous test commit to grab the
role id from the response and use it in the next request

* refactor: 💡 refactor test

refactor test for scope fetching
2023-09-28 12:55:52 -04:00
Zhihe Li 4de41763b7 fix: 🐛 Fix polyfill not working correctly (#1932)
✅ Closes: ICU-11211
2023-09-27 17:45:53 -04:00
Devon Anderson c4e9f383a1 fix: 🐛 Fix translations (#1930)
Fix translations for `role_external_id` helper text

✅ Closes: ICU-11217
2023-09-27 14:20:56 -04:00
Lisbet Alvarez db4a693951 fix: 🐛 add polyfill for randomUUID (#1926) 2023-09-26 14:21:20 -07:00
Zhihe Li f6e7529b38 fix: 🐛 Stop sending ssh command when session initiated in CLI (#1925)
✅ Closes: ICU-11209
2023-09-26 16:36:13 -04:00
Lisbet Alvarez f4768c69a5 chore: 🤖 enable ldap feature flag for all envs (#1924) 2023-09-26 10:04:49 -07:00
Zhihe Li 16f8b6d4fb fix: 🐛 Fix not calling logout properly in OIDC (#1921) 2023-09-26 10:40:36 -04:00
hashicorp-copywrite[bot] 2fd45c552f [COMPLIANCE] Add Copyright and License Headers (#1920)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-09-25 14:22:44 -04:00
Zhihe Li 11dc3fb9c8 fix: 🐛 Fix usage of spawn statements with boundary and node-pty (#1917) 2023-09-22 18:58:15 -04:00
Lisbet AlvarezandZhihe Li 5666564b05 refactor: 💡 Simplify cannot-connect message (#1918)
* refactor: 💡 Simplify cannot-connect message

✅ Closes: ICU-11155

* Update addons/core/translations/resources/en-us.yaml

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-09-22 18:58:15 -04:00
Lisbet Alvarez 0a8d14b53f test: 💍 update acceptance tests in desktop UI (#1916)
* test: 💍 update acceptance tests in desktop UI

✅ Closes: ICU-11130

* test: 💍 move tests to target-test.js

* test: 💍 add another test case for targets list view
2023-09-22 18:58:15 -04:00
Lisbet Alvarez 3740bb079a Icu-11111 don't display empty modal when a target has no target address and no host sources (#1909)
* fix: 🐛 disable connect buttons & add message

✅ Closes: ICU-11111

* test: 💍 add test cases

* fix: 🐛 buttons on list view & add getter to target model

* refactor: 💡 use can ability instead and remove Promise.all

* test: 💍 fix expect number
2023-09-22 18:58:15 -04:00
Cameron Perera 3d0a57d459 refactor: 💡 remove custom xterm styles (#1915) 2023-09-22 18:58:14 -04:00
Zhihe Li 674fb44c75 feat: 🎸 Enabled ASAR for desktop client builds (#1914) 2023-09-22 18:58:14 -04:00
Cameron Perera 7afd7f7e0d refactor: 💡 update styles for canvas elements (#1912) 2023-09-22 18:58:14 -04:00
Cameron Perera 22059e0aa0 Icu 10981 show host address in host details sidebar (#1913)
* refactor: 💡 update yarn.lock

* feat: 🎸 show host address if present

✅ Closes: ICU-10981
2023-09-22 18:58:14 -04:00
Zhihe Li 513e5847f0 feat: 🎸 Resize terminal container dynamically (#1910)
✅ Closes: ICU-11108
2023-09-22 18:58:14 -04:00
Cameron Perera a4a48a9108 fix: 🐛 xterm csp policy violation (#1911)
* fix: 🐛 xterm csp policy violation

* refactor: 💡 add newline for lint rule
2023-09-22 18:58:14 -04:00
Zhihe Li 2a8ebe88de feat: 🎸 Prevent automatically sending SSH command on windows (#1906)
✅ Closes: ICU-11109
2023-09-22 18:58:14 -04:00
Cameron Perera f3c72b0100 refactor: 💡 add host modal hover indication (#1902)
✅ Closes: ICU-11063
2023-09-22 18:58:14 -04:00
Cameron Perera c5cffd5137 feat: 🎸 create Host Modal for connecting to specific modal (#1898)
✅ Closes: ICU-10432
2023-09-22 18:58:14 -04:00
Cameron Perera 02ce3341bd Icu 11057 update shell styles (#1900)
* refactor: 💡 add border-radius and padding to desktop shell

✅ Closes: ICU-11057

* refactor: 💡 update padding to padding-left
2023-09-22 18:58:14 -04:00
Cameron Perera a6b497cacd fix: 🐛 fix cancel session failing after shell has started (#1899)
✅ Closes: ICU-11035
2023-09-22 18:58:14 -04:00
Cameron Perera ed1d73d29c feat: 🎸 display target address in sidebar if present (#1895)
✅ Closes: ICU-10980
2023-09-22 18:58:14 -04:00
Zhihe Li 5aa425ee05 feat: 🎸 Add flag to ssh command to not prompt for known hosts (#1894) 2023-09-22 18:58:14 -04:00
Cameron Perera 6d7624bc9f refactor: 💡 fix proxy-url to render above body and sidebar (#1893) 2023-09-22 18:58:14 -04:00
Cameron Perera 1102c94875 refactor: 💡 move sidebar into session details tab (#1892)
✅ Closes: ICU-10961
2023-09-22 18:58:14 -04:00
Carlos Alcaide CorvoandZhihe Li 1f3689ffdf Chore terminal tweaks (#1890)
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-09-22 18:58:14 -04:00
Cameron Perera edd42ee927 feat: 🎸 add host details to session details screen if present (#1889)
* feat: 🎸 add host details to session details screen if present

✅ Closes: ICU-10282

* refactor: 💡 update style for host details

* refactor: 💡 update styles for sidebar details

* refactor: 💡 remove unneeded class selector
2023-09-22 18:58:14 -04:00
Cameron Perera f0a848721a feat: 🎸 allow for connection for target with single host (#1887)
* feat: 🎸 allow for connection for target with single host

✅ Closes: ICU-10431

* refactor: 💡 small code clean up

* refactor: 💡 move host fetch to model hook
2023-09-22 18:58:14 -04:00
85913acc61 Desktop Client Session Terminal (#1884)
* refactor: 💡 Turn on sandboxing for renderer process (#1870)

* chore: 🤖 add tabs for details and terminal view (#1871)

* feat: 🎸 Allow creating multiple terminals (#1872)

* chore: 🤖 add remove method to terminal (#1875)

* feat: 🎸 Clean up terminal tab (#1876)

* feat: 🎸 Handle resizing xterm and node-pty (#1879)

* feat: 🎸 Clean up killing terminals (#1881)

* refactor: 💡 Rename tabs component (#1882)

---------

Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-09-22 18:58:14 -04:00
Cameron Perera 374b21bcff feat: 🎸 update connect logic for targets with static addresses (#1874)
* feat: 🎸 update connect logic for targets with static addresses

✅ Closes: ICU-10430

* refactor: 💡 remove console logs

* refactor: 💡 add missing awaits
2023-09-22 18:58:14 -04:00
Cameron Perera 8f043e8cf5 refactor: 💡 update how proxy-url determins default proxy info (#1869) 2023-09-22 18:58:14 -04:00
Cameron Perera a831bd06a5 feat: 🎸 add Proxy URL info to session detail screen (#1868)
* feat: 🎸 add Proxy URL info to session detail screen

✅ Closes: ICU-10311

* chore: 🤖 add setupIntl to proxy-url tests

* refactor: 💡 update styles for proxy-url component

* refactor: 💡 display proxy info based on target type

* refactor: 💡 move proxy-url into session specific directory

* refactor: 💡 change template logic for which command to show

* refactor: 💡 remove isSSH getter for session/proxy-url
2023-09-22 18:58:14 -04:00
Cameron Perera 9ce79b3d14 feat: 🎸 redirect to targets list when canceling (#1866)
from the sessions detail screen

✅ Closes: ICU-10760
2023-09-22 18:58:13 -04:00
Cameron Perera 4dcf1675ba refactor: 💡 add loading indicator to connect and cancel actions (#1867)
✅ Closes: ICU-10677
2023-09-22 18:58:13 -04:00
Cameron Perera 2544493b06 fix: 🐛 add flex-shrink to flight-icon to avoid icon shrinking (#1859) 2023-09-22 18:58:13 -04:00
Cameron PereraandDharini Jeeva d5d2045fb5 Icu 10315 add credentials panel (#1855)
* feat: 🎸 add credentials panel for session detail screen

✅ Closes: ICU-10315

* fix: 🐛 remove use of A in sessions list array

* refactor: 💡 fix class name to apply style to both detail screen

* refactor: 💡 add comment to resetController on session route

* refactor: 💡 add @value to HDS Toggle in session detail page

* refactor: 💡 class name refactor for credential panel

* refactor: 💡 remove unneeded div around CodeEditor

* refactor: 💡 change border units from rem to px

* feat: 🎸 create CredentialsPanel component

* Update ui/desktop/tests/integration/components/credentials-panel-test.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* refactor: 💡 update credential panel styles

* style: 💄 fix lint error for desktop styles

* chore: 🤖 yarn.lock update

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-09-22 18:58:13 -04:00
Cameron Perera b300e898ff refactor: 💡 initial change to target connect workflow (#1840)
* refactor: 💡 initial change to target connect workflow

✅ Closes: ICU-10605

* refactor: 💡 change back to findRecord for a session
2023-09-22 18:58:13 -04:00
Cameron Perera d55c563004 Icu 10495 session detail sidebar content (#1837)
* chore: 🤖 fix model hook signature

* feat: 🎸 add target details to session details page

✅ Closes: ICU-10495

* style: 💄 fix missing "}" in model signature
2023-09-22 18:58:13 -04:00
Cameron Perera 340429fdb5 Icu 10521 add route logic from sessions list to session detail screen (#1834)
* feat: 🎸 add canRead ability for session model

* refactor: 💡 create constant values for session status types

* feat: 🎸 add link to session detail from sessions list

✅ Closes: ICU-10521
2023-09-22 18:58:13 -04:00
Cameron Perera 0100f8b497 feat: 🎸 add target details sidebar panel to target detail page (#1832)
✅ Closes: ICU-10302
2023-09-22 18:58:13 -04:00
Cameron Perera 4b9496b4f2 Icu 10491 create route for session/session-id (#1825)
* fix: 🐛 call displayName on model

* feat: 🎸 add sessions/session-id route and base layout

✅ Closes: ICU-10491
2023-09-22 18:58:13 -04:00
Cameron Perera 4b68ea0fa4 refactor: 💡 remove unneeded div for layout of target details (#1821)
✅ Closes: ICU-10513
2023-09-22 18:58:13 -04:00
Cameron Perera e7ec4dd25e refactor: 💡 add "Connect for more info" panel to target details (#1819)
✅ Closes: ICU-10283
2023-09-22 18:58:13 -04:00
Cameron Perera f83d214524 refactor: 💡 Update Target Details header (#1818)
✅ Closes: ICU-10243
2023-09-22 18:58:13 -04:00
Cameron Perera 1b1e002581 refactor: 💡 add base layout to target details screen (#1812)
✅ Closes: ICU-10280
2023-09-22 18:58:13 -04:00
Cameron Perera 55eca5037e refactor: 💡 Remove targets/target-id/hosts route and tests (#1810)
* refactor: 💡 Remove targets/target-id/hosts route and tests

✅ Closes: ICU-10316

* refactor: 💡 Remove targets/target-id/sessions route and tests (#1811)

* refactor: 💡 Remove targets/target-id/sessions route and tests

✅ Closes: ICU-10317

* refactor: 💡 remove targets/target-id/sessions controller
2023-09-22 18:58:13 -04:00
Cameron Perera 3af58204ba refactor: 💡 remove unused template code (#1803)
✅ Closes: ICU-10422
2023-09-22 18:58:13 -04:00
Cameron Perera 0b2ac7f676 chore: 🤖 add post connection workflow feature flag (#1799)
✅ Closes: ICU-10269
2023-09-22 18:58:13 -04:00
Dharini Jeeva d0a505558b refactor: 💡sb dynamic credential type secret fields and how we serialize (#1907)
* refactor: 💡 secret fields and how we serialize
2023-09-20 14:55:05 -07:00
Dharini Jeeva 1b84a70ca0 feat: (LDAP) add attributes to model and component (#1908)
* feat: 🎸 add two new fields to LDAP form
2023-09-20 09:18:30 -07:00
Dharini Jeeva 0abb95378e test: 💍 add extra test for credentialType (#1905)
* test: 💍 add extra test for credentialType

* Update ui/admin/tests/acceptance/storage-buckets/create-test.js
2023-09-19 15:58:52 -07:00
Carlos Alcaide Corvo 7175bb58ea chore: 🤖 Upgrade Electron to 26.x (#1904) 2023-09-19 15:28:17 -07:00
Dharini Jeeva 78d1e09a0d Icu 11022 update dynamic credentials in sb form (#1901) 2023-09-18 14:23:30 -07:00
Dharini Jeeva 4910070c95 feat: 🎸 add support for dynamic credentials in storage bucket (#1897)
* feat: 🎸 add support for dynamic credentials in storage bucket
2023-09-18 13:26:38 -07:00
Carlos Alcaide Corvo 3cb8417a89 fix: 🐛 Fix outdated yarn lock (#1896) 2023-09-12 14:42:21 -07:00
Carlos Alcaide Corvo 8b0aa4532b Chore icu 9090 audit resolutions desktop (#1888)
* chore: 🤖 Delete plist from desktop resolutions

* chore: 🤖 Delete plist from resolutions

* chore: 🤖 Delete lzma-native from resolutions

* chore: 🤖 Delete minimist from desktop resolutions

* chore: 🤖 Delete got from desktop resolutions

* Modify got resolution
2023-09-12 09:20:10 -07:00
Dharini Jeeva 29e57935f6 Icu 10926 add dynamic credential fields in sb model (#1891)
* feat: 🎸 add support for dynamic credentials in storage bucket
2023-09-11 15:31:57 -07:00
Carlos Alcaide Corvo f4c153a132 Chore icu 9089 audit resolutions desktop (#1886)
* chore: 🤖 Modify electron-app resolutions for jsonpointer

* chore: 🤖 Delete from electron-app resolutions node-fetch
2023-09-06 14:40:07 -07:00
dependabot[bot] 1875ae34db chore(deps-dev): bump electron in /ui/desktop/electron-app (#1885)
Bumps [electron](https://github.com/electron/electron) from 25.3.2 to 25.5.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v25.3.2...v25.5.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 15:42:41 -05:00
Dharini Jeeva 3d6e9f3a2c chore: 🤖 updates to pr template (#1852)
* chore: 🤖 updates to pr template
2023-09-06 12:10:23 -07:00
Cameron Perera 51cfe1adf4 chore: 🤖 bump HDS to 2.11.0 (#1883) 2023-09-06 13:24:51 -05:00
Dharini Jeeva 12a8ef3ad3 chore: 🤖 remove devtron (#1880) 2023-09-06 10:01:58 -07:00
Michael Li 0c80f4ba40 test(admin/e2e): Rename variables for clarity (#1878) 2023-09-06 10:49:09 -04:00
Stan RyzhovandMichael Li 61b81a3bb5 test: 💍 Add create group and roles e2e UI test (#1877)
* test: 💍 Add create group and roles e2e UI test

✅ Closes: ICU-10557

---------

Co-authored-by: Michael Li <michael.li@hashicorp.com>
2023-09-05 17:34:50 -04:00
Stan Ryzhov 6190ea71a0 test: 💍 Add create password auth method test (#1843) 2023-09-05 10:00:19 -04:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] 3e9c93e6b1 Result of tsccr-helper -log-level=info -pin-all-workflows . (#1873)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-09-01 13:26:03 -04:00
Dharini Jeeva 3f731867ac fix: 🐛 toarray deprecation warning (#1865) 2023-08-25 09:43:02 -07:00
Cameron Perera 638753d7bc chore: 🤖 remove prop-type resolution (#1862)
* chore: 🤖 remove prop-type resolution

* chore: 🤖 update yarn.lock
2023-08-24 09:54:03 -05:00
Dharini Jeeva 48c201299a Chore upgrade rose to ember 4 (#1864)
* chore: 🤖 upgrade rose to ember 4
2023-08-23 13:57:24 -07:00
Dharini Jeeva eed62ac515 fix: 🐛 filterby deprecation warning (#1861) 2023-08-23 11:04:41 -07:00
Cameron Perera 7349867b76 refactor: 💡 set max number for session recording duration fakes (#1860) 2023-08-23 09:49:15 -05:00
Zhihe Li fab566714a chore: 🤖 Change port to be set in package script (#1858) 2023-08-22 13:01:44 -04:00
Dharini Jeeva 36aa333d48 chore: 🤖 remove storybook related files (#1856) 2023-08-21 16:20:39 -07:00
Dharini Jeeva af05799e12 fix: 🐛 proxy promise deprecation (#1851)
* fix: 🐛 proxy promise deprecation
2023-08-21 14:17:44 -07:00
Zhihe Li 5cfd841c41 chore: 🤖 Remove extra file that got added from ember upgrade (#1854) 2023-08-21 14:31:34 -04:00
Dharini Jeeva 8a0f5fbe9f Icu 10582 retire storybook (#1849)
* refactor: 💡 retire storybook
2023-08-17 09:37:39 -07:00
Carlos Alcaide CorvoandLisbet Alvarez 9e515d7a3a Chore icu 9840 upgrade node v2 (#1847)
* Upgrade node engines version within addons?

* chore: 🤖 Upgrade node engines version within UI's

* Add Node information on Readme

* Upgrade node engines within root package.json

* Node engines upgrade to v16 and v18

* Update README.md

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>

---------

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-08-16 14:58:14 -07:00
Dharini Jeeva 33ba168655 chore: 🤖 silence deprecate_early_static warnings (#1845)
* chore: 🤖 silence deprecate_early_static warnings
2023-08-16 10:38:04 -07:00
Cameron Perera 4a7dafc7d2 chore: 🤖 update hds to 2.10.0 (#1848)
* chore: 🤖 update hds to 2.10.0

* chore: 🤖 limit resolution scope to rose addon
2023-08-16 09:02:54 -05:00
Dharini Jeeva bf343c0b8c chore: 🤖 fix deprecation warning for firstobject usage (#1844) 2023-08-15 13:20:08 -07:00
Dharini Jeeva 40673c180c chore: fix sortby deprecation warning (#1842)
chore: 🤖 install lodash and fix sortby deprecation
2023-08-15 11:36:57 -07:00
Dharini Jeeva 6d1b80aaf0 chore: fix to get rid of deprecate-non-strict-relationships warning (#1835)
* chore: 🤖 add explicit inverse relationship
2023-08-14 16:15:26 -07:00
Zhihe Lianddharini 0e9042f588 Upgrade api to ember 4.12 (#1833) (#1839)
* chore: 🤖 Upgrade API layer to ember 4.12

* chore: 🤖 Upgrade ember-data to 4.12

* fix: 🐛 Fix breaking change from usage of internal method

* chore: 🤖 Remove stylelint in API addon

* test: 💍 Fix broken API tests

* chore: 🤖 get rid of toArray

* test: 💍 Fix tests broken by ember data changes

---------

Co-authored-by: dharini <dharini@hashicorp.com>
2023-08-14 17:03:59 -04:00
Cameron Perera 77b47e2cb3 chore: 🤖 specify port to 4201 for desktop development (#1836)
* chore: 🤖 specify port to 4201 for desktop development

* docs: ✏️ update desktop README port info
2023-08-10 17:08:35 -05:00
Michael Li 735e124642 test(admin/e2e): Updates to the dynamic host catalog e2e test (#1830)
* test(admin/e2e): Return to the host list page

* test(admin/e2e): Remove unneeded second host set check
2023-08-09 12:16:45 -04:00
NatashaKabandCameron Perera 60626e49b1 Icu 10370 use hds table in injected app credential sources (#1828)
* refactor: 💡 Use HDS tables in user accounts

* refactor: 💡 Use HDS table in injected app credential sources

---------

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-08-08 08:40:41 -05:00
hashicorp-copywrite[bot] ef0e3b60e7 [COMPLIANCE] Add Copyright and License Headers (#1829)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-08-07 15:22:47 -04:00
Devon Anderson e089d1c3ff refactor: 💡 Refactor ldap account view and serializer (#1826)
* refactor: 💡 Refactor ldap account view and serializer

Refactor LDAP account view to only show `InfoField` fields if values are
not `undefined`.  Also fixed bug for updating accounts.

✅ Closes: ICU-10514

* refactor: 💡 clean up code

Quick cleanup of code for accounts

* Update account.js

change text for commit

* Update index.hbs

* refactor: 💡 format hbs

format hbs
2023-08-04 19:46:44 -04:00
Devon Anderson de77f8807d refactor: 💡 refactor LDAP form error messaging (#1816)
* refactor: 💡 refactor form error messaging

Refactor LDAP form.  Removed unused field level errors that aren't part
of the API response.

✅ Closes: ICU-10462

* refactor: 💡 Refactor test

Refactor LDAP create and update test.

* Update index.hbs

removed error field-level check for `bind_dn` and `bind_password`

* refactor: 💡 fix linting

fix linting
2023-08-04 19:30:41 -04:00
Cameron Perera 18833c9f22 Icu 10516 move metadata list to rose (#1824)
* feat: 🎸 Add rose metadata-list component

✅ Closes: ICU-10516

* refactor: 💡 remove metadata-list component from admin app
2023-08-04 14:09:20 -05:00
Zhihe Li 0c49790fa1 chore: 🤖 Update prepare-commit-msg to not execute when rebasing (#1827) 2023-08-04 14:37:55 -04:00
NatashaKabandCameron Perera 3caf81fc47 Icu 10504 use hds table in desktop sessions list (#1823)
* refactor: 💡 Use HDS tables in user accounts

* refactor: 💡 Use HDS table in desktop sessions list

* refactor: 💡 Added back the commit Zed mentioned

* refactor: 💡 Added a comment for the session status class

---------

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-08-04 12:26:08 -04:00
Devon Anderson c425bb7686 fix: 🐛 accounts update refactor (#1822)
* fix: 🐛 accounts update refactor

Changed `type` and `auth_method_id` on `accounts` model to `readOnly` so
it is not sent in API payload.

✅ Closes: ICU-10503

* refactor: 💡 fix test

Refactor test to not include removed attributes.

* refactor: 💡 refactor test

Fix test
2023-08-04 07:46:58 -04:00
Dharini Jeeva ed51b6b3a9 fix: 🐛 replace deprecated substr with substring (#1820) 2023-08-03 15:05:52 -07:00
Carlos Alcaide Corvo 35d69f23d7 Chore icu 9083 audit resolutions (#1814)
* chore: 🤖 Delete ember-template-recast from resolutions

* chore: 🤖 Modify markdown-it from resolutions

* Delete mout from resolutions

* chore: 🤖 Delete nanoid from resolutions
2023-08-03 09:14:15 -07:00
NatashaKab 964423c35c Icu 10368 use hds table in desktop targets list (#1817)
* refactor: 💡 Use HDS tables in user accounts

* refactor: 💡 Use HDS tables in desktop targets list

* refactor: 💡 Fixed indentantion problem suggested by cameron
2023-08-03 11:20:49 -04:00
Dharini Jeeva cc3c4b2720 update electron version on desktop client (#1815)
* chore: 🤖 upgrade electron
2023-08-02 15:57:17 -07:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] 9b18c40686 Result of tsccr-helper -log-level=info -pin-all-workflows . (#1813)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-08-01 14:12:02 -07:00
Lisbet AlvarezandCarlos Alcaide Corvo 3fc4708415 chore: 🤖 upgrade faker js from v7 to v8 (#1808)
* chore: 🤖 upgrade faker js from v7 to v8

✅ Closes: ICU-10373

* refactor: 💡 remove deprecated modules from factories

* test: 💍 fix failing tests

---------

Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-08-01 13:31:20 -07:00
Cameron Perera 6dee7cad62 Icu 10439 refactor layout sidebar into rose layout body content (#1807)
* feat: 🎸 Add BodyContent component to Rose::Layout

* refactor: 💡 remove Layout Sidebar and use Rose Layout Sidebar

✅ Closes: ICU-10439

* fix: 🐛 add media specific styles to rose body content styles

* refactor: 💡 update media rule max width to xlarge
2023-07-31 11:48:38 -05:00
Lisbet Alvarez d49f3b72a6 feat: 🎸 CRUDL capabilites for ldap managed-group (#1805)
* feat: 🎸 CRUDL capabilites for ldap managed-group

✅ Closes: ICU-10100

* refactor: 💡 managed-group serializer & remove members tab

* refactor: 💡 show members tab

* fix: 🐛 add type getters in managed group model

* refactor: 💡 fix column name
2023-07-28 13:52:04 -07:00
NatashaKab e5a026ed34 Icu 10367 use hds table in target host sources (#1806)
* refactor: 💡 Use HDS tables in user accounts

* refactor: 💡 Use HDS tables in target host sources
2023-07-28 15:27:56 -04:00
Dharini Jeeva 438de7d1af chore: 🤖 fix missing account ids (#1809) 2023-07-28 10:08:50 -07:00
Lisbet AlvarezandDharini Jeeva 3b284fac66 refactor: 💡 update to allow state change & update edit action (#1797)
* refactor: 💡 update to allow state change & update edit action

✅ Closes: ICU-10078

* test: 💍 add more update and delete test cases

* refactor: 💡 auth-method serializer

* refactor: 💡 add secret input fields

* refactor: 💡 remove changes to ldap auth method serializer

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-27 14:25:40 -07:00
NatashaKab 790048a8d6 Icu 10366 use hds table in brokered credential sources (#1802)
* refactor: 💡 Use HDS tables in user accounts

* refactor: 💡 Use HDS tables in brokered-credential-sources
2023-07-27 12:51:52 -04:00
Dharini Jeeva 05d62f3da5 Icu 10104 ldap accounts update (#1785)
* chore: 🤖 Add support for ldap account creation
2023-07-27 09:18:29 -07:00
Stan Ryzhov e3557e297b test: 💍 Add tcp target update test (#1800)
✅ Closes: ICU-9772
2023-07-26 15:52:50 -04:00
Devon Anderson c12e61d617 feat: 🎸 Create LDAP CRUD:read (#1798)
* feat: 🎸 create CRUD:read

Create LDAP CRUD:read details form by adding
`client_certificate_key_hmac` and `bind_password_hmac` attributes.

✅ Closes: ICU-10064

* refactor: 💡 refactor ldap details view

Revert details view for LDAP to not show HMAC
2023-07-26 15:11:47 -04:00
Cameron Perera 1e43e4ad95 chore: 🤖 update HDS to v2.8.0 (#1801)
✅ Closes: ICU-10270
2023-07-26 11:21:13 -05:00
Dharini Jeeva b12427a02a Icu 10307 create a new helper (#1791)
* chore: 🤖 truncate helper for longer list
2023-07-25 14:14:19 -07:00
Lisbet Alvarez f16f295290 test: 💍 add create acceptance test for ldap auth method (#1788)
* test: 💍 add create acceptance test for ldap auth method

✅ Closes: ICU-10076

* refactor: 💡 change client cert field to textarea and fix test

* test: 💍 add additional test case
2023-07-25 12:45:27 -07:00
hashicorp-copywrite[bot]andCameron Perera ea5d0d427a [COMPLIANCE] Add Copyright and License Headers (#1795)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-07-25 15:26:11 -04:00
Devon Anderson 10b91ed21e refactor: 💡 refactor test and serializer (#1786)
* refactor: 💡 refactor test and serializer

Refactor `auth-method` mirage serializer to delete secret attributes.
Refactor `auth-method` mirage serializer unit test for LDAP

✅ Closes: ICU-10025

* refactor: 💡 merge main

merge main

* refactor: 💡 rebase

rebase

* refactor: 💡 refactor serializer and test

Refactor serializer normalize method to delete secret attributes field.

* refactor: 💡 refactor test

Refactor failing test due to deleting secrets in mirage

* refactor: 💡 refactor test

changed assertion

* refactor: 💡 refactor test

change assertion expect

* refactor: 💡 refactor test

Refactor `auth-method-test` to include normalize oidc and ldap secrets

* refactor: 💡 rebase

rebase
2023-07-25 14:52:12 -04:00
Randall MoreyandCarlos Alcaide Corvo 2a03d0b0ec chore: 🤖 test of key/value header label association (#1767)
* chore: 🤖 test of key/value header label association

* Change variable name

---------

Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-07-25 11:29:05 -07:00
Zhihe Li 5f4abea78d chore: 🤖 Point ember-pollster to new hashicorp repo (#1796) 2023-07-25 12:11:37 -04:00
NatashaKabandDharini Jeeva b81084fb8d Icu 10209 use hds table in member list view (#1794)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

* refactor: 💡 use hds table in groups list view

* refactor: 💡 Removed the group list class Dharini mentioned

* refactor: 💡 Resolved the conflicts in user list table and group

* refactor: 💡 Use hds table in role list view

* refactor: 💡 Use HDS tables for user accounts

* refactor: 💡 Fixed the linting error

* refactor: 💡 Use HDS tables in member list view

* refactor: 💡 Use HDS tables in member list view

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-23 22:02:24 -04:00
dependabot[bot]andCarlos Alcaide Corvo b82d316e9b chore(deps): bump word-wrap in /ui/desktop/electron-app (#1790)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  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: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-07-21 14:50:59 -07:00
dependabot[bot] f1dbaaf5cb chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#1789)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...
2023-07-21 14:24:37 -07:00
NatashaKabandDharini Jeeva 8cd8724589 Icu 10210 use hds table in principal list view (#1792)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

* refactor: 💡 use hds table in groups list view

* refactor: 💡 Removed the group list class Dharini mentioned

* refactor: 💡 Resolved the conflicts in user list table and group

* refactor: 💡 Use hds table in role list view

* refactor: 💡 Use HDS tables for user accounts

* refactor: 💡 Fixed the linting error

* refactor: 💡 Use HDS tables in principal list view

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-19 16:49:37 -04:00
Lisbet AlvarezandDharini Jeeva 52cf2c0c53 feat: 🎸 ldap auth-method new form component (#1782)
* feat: 🎸 ldap auth-method new form component

✅ Closes: ICU-10073

* style: 💄 fix linting error and add comment

* style: 💄 add spacing and make titles more bold

* Update ui/admin/app/components/form/auth-method/ldap/index.hbs

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* refactor: 💡 pr feedback updates

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-18 15:12:47 -07:00
Devon AndersonandDharini Jeeva 50b0ab32b6 refactor: 💡 refactor mirage factory (#1787)
* refactor: 💡 refactor mirage factory

Refactor `LDAP/managed-groups` factory to only return specific
`auth-method` type

✅ Closes: ICU-10284

* refactor: 💡 refactor default scenario

Refactor default scenario to use imported `types`

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-18 17:47:20 -04:00
Dharini Jeeva f5087ab4ee Icu 10082 ldap account creation form (#1783)
* chore: 🤖 Add support for LDAP account creation
2023-07-18 13:55:02 -07:00
NatashaKabandDharini Jeeva 0a80ae3c9d Icu 10208 use hds table in account list view (#1784)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

* refactor: 💡 use hds table in groups list view

* refactor: 💡 Removed the group list class Dharini mentioned

* refactor: 💡 Resolved the conflicts in user list table and group

* refactor: 💡 Use hds table in role list view

* refactor: 💡 Use HDS tables for user accounts

* refactor: 💡 Fixed the linting error

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-18 12:57:52 -04:00
Dharini Jeeva 52c2483161 feat: 🎸 add support for ldap managed group in serializer (#1781) 2023-07-17 15:32:46 -07:00
NatashaKabandDharini Jeeva 6e344fa5ec refactor: 💡 use hds table in role list (#1779)
* refactor: 💡 use hds table in role list

* refactor: 💡 Fixed the tests that were failing

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-17 18:14:27 -04:00
Cameron Perera b2b08929a3 test: 💍 fix flaky session recording player assertion (#1780) 2023-07-17 08:51:09 -05:00
Cameron Perera df1b311b1a refactor: 💡 migrate two rose buttons to hds in desktop client (#1777)
✅ Closes: ICU-10149
2023-07-14 17:05:57 -05:00
NatashaKabandDharini Jeeva e60d11eddd Icu 10178 use hds table in groups list view (#1768)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

* refactor: 💡 use hds table in groups list view

* refactor: 💡 Removed the group list class Dharini mentioned

* refactor: 💡 Resolved the conflicts in user list table and group

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-14 15:39:57 -04:00
Dharini Jeeva c8f5952e66 chore: 🤖 add ldap to managed groups model (#1778) 2023-07-14 11:53:29 -07:00
Lisbet Alvarez 228f8d33b4 refactor: 💡 add serialize method for ldap account type (#1774)
✅ Closes: ICU-10057
2023-07-14 11:09:45 -07:00
Devon AndersonandLisbet Alvarez b6f93c45bc refactor: 💡Mirage changes to LDAP (#1770)
* refactor: 💡 refactor mirage changes

Mirage changes to LDAP resource

✅ Closes: ICU-10027

* Update auth-method.js

removed curly braces from values

* Update addons/api/mirage/generated/factories/auth-method.js

using faker to create domains for `urls` attribute

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>

* Update auth-method.js

update `user_filter` and `group_filter` with new example values

* refactor: 💡 refactor mirage config

Refactor mirage config to include state change for LDAP

---------

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-07-14 13:33:10 -04:00
Devon AndersonandZhihe Li 56df65bf8e refactor: 💡 refactor managed grouped mirage data for LDAP (#1775)
* refactor: 💡 refactor managed grouped mirage data for LDAP

✅ Closes: ICU-10055

* refactor: 💡 refactor mirage data factor

Refactor mirage data factory for managed-groups

* Update addons/api/mirage/factories/managed-group.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-07-14 13:12:27 -04:00
Dharini Jeeva 7ee52ea06f refactor: 💡 application serializeAttribute (#1772)
* refactor: 💡 application serializeAttribute
2023-07-14 09:46:47 -07:00
Zhihe Li 66fc50bf9e Chore/update ember intl (#1773)
* Revert "chore: 🤖 Add patch-package to fix ember-intl for windows builds (#1742)"

This reverts commit cd557a86cc.

* chore: 🤖 Update ember-intl
2023-07-14 11:04:01 -04:00
Lisbet Alvarez 15b769bd28 refactor: 💡 mirage changes to support ldap account type (#1769)
* refactor: 💡 mirage changes to support ldap account type

✅ Closes: ICU-10052

* refactor: 💡 use switch statement and use curly braces
2023-07-13 10:28:38 -07:00
Devon AndersonandDharini Jeeva d7b6eba2af [ICU-10024] feat: Revise auth-method model (#1762)
* feat: 🎸 Revised auth-method model

Revised auth-method model to include LDAP attributes

✅ Closes: ICU-10024

* chore: 🤖 create transform for `account_attribute_maps`

Create transform to handle `account_attribute_maps` array

* refactor: 💡 Refactor transform and serializer

Refactor `account_claims_map` transforms overall name and logic to be
used for `account_attributes_map`.  Also refactored serializer to
serialize auth-method data, by type.

✅ Closes: ICU-100024

* refactor: 💡 refactor transform

Refactor `account_claim_maps` transform.

* Update addons/api/addon/serializers/auth-method.js

changing naming of serialize method

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* refactor: 💡 refactor serializer

Refactor naming convention for serializer methods and added comments for
attributes.

* refactor: 💡 quick refactor

fixed name for method call in serializer

* refactor: 💡 refactor attributes and serializer

Refactor attributes for `auth-methods` to use the `for` option to select
which attribute belongs to which auth-method.

* Update auth-method.js

comment change

* refactor: 💡 rebase

rebase

* Update addons/api/addon/serializers/auth-method.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* Update addons/api/addon/serializers/auth-method.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* Update addons/api/addon/serializers/auth-method.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* Update addons/api/addon/serializers/auth-method.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* Update addons/api/addon/serializers/auth-method.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* refactor: 💡 refactor serialize attribute method

refactor serialize attribute method not not include type for password,
and instead let `serializePassword` handle serialization

* refactor: 💡 refactor serializer

Refcator serializer to not include password type in attribute serializer
and added `for` to one missing attribute.

* Update addons/api/addon/serializers/auth-method.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-13 09:19:38 -04:00
Carlos Alcaide Corvo 5bf50eba79 Chore icu 9087 audit resolutions electron app (#1765)
* chore: 🤖 Delete normalize-url from electron-app resolutions

* chore: 🤖 Delete jszip from electron-app resolutions

* chore: 🤖 Delete path-parse from electron-app resolutions
2023-07-12 14:35:05 -07:00
b7e67ba293 docs: ✏️ add list of recommended tooling (#1747)
* docs: ✏️ add list of recommended tooling

* Update README.md

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* Update README.md

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-07-12 13:53:39 -07:00
Lisbet Alvarez 56e8a73100 refactor: 💡 update accounts model with ldap account attributes (#1766)
✅ Closes: ICU-10050
2023-07-12 10:57:14 -07:00
Lisbet Alvarez ba0edd603d feat: 🎸 add ldap type to dropdown in list view (#1763)
* feat: 🎸 add ldap type to dropdown in list view

✅ Closes: ICU-10071

* test: 💍 fix broken tests & add new test
2023-07-12 10:29:20 -07:00
ef8eb0e407 chore(deps): bump semver from 5.7.1 to 5.7.2 (#1761)
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: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-07-12 11:55:27 -04:00
NatashaKabandDharini Jeeva 7db77c6c6d Icu 10120 use hds table in users list view (#1764)
* chore: 🤖 Retire rose form textarea

✅ Closes: ICU-9425

* refactor: 💡 Added the disabled feature requested by Dharini

* refactor: 💡 Rose tables to HDS tables in Users

* refactor: 💡 Removed implementation of rose tables in users

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-12 10:28:13 -04:00
Lisbet AlvarezandDharini Jeeva ff2e320267 refactor: 💡 use hds checkbox field instead of rose checkbox (#1754)
* refactor: 💡 use hds checkbox field instead of rose checkbox

✅ Closes: ICU-9423

* Update ui/admin/app/components/form/auth-method/oidc/index.hbs

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* Update ui/desktop/app/controllers/scopes/scope/projects/sessions/index.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* fix: 🐛 remove isInvalid arg

* refactor: 💡 move array conversion to model hook

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-07-11 12:56:30 -07:00
dependabot[bot]andZhihe Li e3824f8c16 chore(deps-dev): bump stylelint from 14.14.0 to 15.10.1 (#1759)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.14.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/14.14.0...15.10.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
...

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-07-11 13:21:20 -04:00
Lisbet Alvarez ffe9fcd223 feat: 🎸 enable feature flag in dev environment (#1760)
✅ Closes: ICU-10091
2023-07-11 09:05:26 -07:00
NatashaKab a8d99b6eef chore: 🤖 Retire rose form textarea (#1735)
* chore: 🤖 Retire rose form textarea
2023-07-10 12:30:46 -07:00
Carlos Alcaide Corvo 23006f2449 chore: 🤖 Patch @storybook and all its deps to ~6.4.0 (#1758) 2023-07-10 10:46:19 -07:00
Carlos Alcaide Corvo e5688ffc95 Chore icu 9088 desktop audit resolutions (#1757)
* chore: 🤖 Delete ansi-regex from resolutions

* chore: 🤖 Delete tar from resolutions in electron-app

* chore: 🤖 Delete nth-check from resolutions electron-app
2023-07-10 10:07:22 -07:00
Carlos Alcaide Corvo aa358c81b2 Chore icu 9082 audit resolutions (#1756)
* chore: 🤖 Delete node-fetch from resolutions

* chore: 🤖 Delete shelljs from resolutions
2023-07-10 09:42:42 -07:00
Carlos Alcaide Corvo 900f5de08c docs: ✏️ Add Projects info to main readme (#1755) 2023-07-10 09:00:43 -07:00
Carlos Alcaide Corvo 74eb68b007 Chore icu 9081 audit resolutions (#1753)
* chore: 🤖 modify resolutions for set-value

* chore: 🤖 Modify ansi-regex resolutions

* chore: 🤖 Delete ember-cli-babel from resolutions
2023-07-06 08:52:27 -07:00
Carlos Alcaide Corvo c3cc2137ab Chore icu 9080 audit resolutions (#1752)
* chore: 🤖 modify resolutions for set-value

* chore: 🤖 Modify ansi-regex resolutions

* chore: 🤖 Delete ember-cli-babel from resolutions
2023-07-05 13:51:02 -07:00
Devon Anderson 508d66e375 fix: 🐛 Removing status badging from desktop client (#1749)
* fix: 🐛 Removing status badging from desktop client

Removed status badges for `targets` and `sessions` in desktop client
app.

✅ Closes: ICU-9790

* refactor: 💡 Bring back status badging for session

Session status badging can stay due to session can only be canceled by
the user in desktop client and does give an immediate status to the
session.

✅ Closes: ICU-9790

* refactor: 💡 merge changes
2023-07-05 11:03:32 -04:00
Lisbet Alvarez f1e612385d refactor: 💡 add support for named block content in form actions (#1746)
* refactor: 💡 add support for named block content in form actions

✅ Closes: ICU-9507

* refactor: 💡 remove yielded variables
2023-06-29 12:54:04 -07:00
Carlos Alcaide Corvo 0127f7adbd Docs change enos destroy command (#1751)
* Change destroy enos command

* Run doc:toc
2023-06-29 11:16:40 -07:00
Zhihe Li c86e232eaa chore: 🤖 Update semver (#1750) 2023-06-29 12:53:03 -04: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
Carlos Alcaide CorvoandLisbet Alvarez 9126bbfda9 docs: ✏️ Add desktop troubleshooting content (#1745)
* docs: ✏️ Add desktop troubleshooting content

Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-06-27 08:54:34 -07:00
Zhihe Li 3c2b74684a fix: 🐛 Add header for dynamic host catalog hosts page (#1743)
✅ Closes: ICU-9629
2023-06-26 11:55:39 -04:00
Lisbet Alvarez b005b09cda chore: 🤖 use trusted SHA for atlassian/gajira-comment (#1739)
✅ Closes: ICU-9815
2023-06-23 11:59:10 -07:00
Zhihe Li cd557a86cc chore: 🤖 Add patch-package to fix ember-intl for windows builds (#1742)
✅ Closes: ICU-9914
2023-06-23 14:35:18 -04:00
Carlos Alcaide Corvo 4334d51da3 Chore icu 9079 audit resolutions (#1741)
* chore: 🤖 Delete path-parse from resolutions

* chore: 🤖 Modify nth-check resolutions

* chore: 🤖 Delete tmpl from resolutions
2023-06-23 11:03:57 -07:00
Carlos Alcaide Corvo 51d88af211 chore: 🤖 Upgrade semver within electron-app (#1740) 2023-06-23 10:03:56 -07:00
Lisbet Alvarez 6875e7c771 chore: 🤖 remove unnecessary steps in codeql analysis workflow (#1729)
* chore: 🤖 remove unnecessary steps in codeql analysis workflow

✅ Closes: ICU-9816

* refactor: 💡 undo strategy removal
2023-06-22 13:09:33 -07:00
Cameron Perera cdb5025fb9 chore: 🤖 add config for copywrite tool and compliance scan (#1734) 2023-06-22 14:41:50 -05:00
Carlos Alcaide Corvo eacfcebd6c Chore icu 9078 audit resolutions (#1737)
* chore: 🤖 Delete normalize-url from resolutions

* chore: 🤖 Modify glob-parent resolutions

* chore: 🤖 Delete Tar from resolutions
2023-06-22 12:16:26 -07:00
Carlos Alcaide Corvo f28b520ffa chore: 🤖 Deprecate cross-os (#1736)
Deprecate cross-os and use shx
2023-06-22 10:22:29 -07:00
Randall Morey 92aef2fd0d Merge pull request #1733 from hashicorp/compliance/add-headers
[COMPLIANCE] Add Copyright and License Headers
2023-06-20 06:49:37 -07:00
Randall Morey 2d521b1135 fix: 🐛 fix formatting issue for lint step 2023-06-19 11:19:45 -07:00
hashicorp-copywrite[bot] e8f15e2eab [COMPLIANCE] Add Copyright and License Headers 2023-06-19 16:23:53 +00:00
Carlos Alcaide Corvo c029962f43 Delete hosted-git-info from resolutions (#1732) 2023-06-16 15:18:04 -07:00
Randall Morey 2945446c63 Merge pull request #1720 from hashicorp/chore-upgrade-hds
chore: 🤖 upgrade to HDS 2.7
2023-06-16 13:38:34 -07:00
Randall Morey 1898fb3c34 Merge branch 'main' into chore-upgrade-hds 2023-06-16 12:57:48 -07:00
Randall Morey b12f748cfc chore: 🤖 update yarn lock 2023-06-16 12:01:34 -07:00
Carlos Alcaide Corvo 60c33bc6ec Chore icu 9123 upgrade storybook (#1727)
* chore: 🤖 Add new framework config object for storybook

* chore: 🤖 Fix an unmeet peer dependency

* chore: 🤖 Deprecate static dir flag. Upgrade Storybook to 6.4

* Changes after merging with main
2023-06-16 11:00:55 -07:00
Randall Morey 3625ff9bcf Merge branch 'main' into chore-upgrade-hds 2023-06-16 10:09:06 -07:00
Carlos Alcaide Corvo ab26d0c846 Chore icu 9077 audit resolutions (#1725)
* chore: 🤖 Modify clean-css resolutions

* chore: 🤖 Delete mem from resolutions

* chore: 🤖 Modify minimist resolutions

* Changes after merging with main
2023-06-16 09:45:06 -07:00
Carlos Alcaide Corvo 80e77d9b5a Chore icu 9076 audit resolutions (#1724)
* chore: 🤖 Modify browserslist resolution

* chore: 🤖 Modify ws resolutions

* chore: 🤖 Modify trim-newlines resolutions
2023-06-16 09:14:56 -07:00
Carlos Alcaide Corvo 82186d05da Chore icu 9075 audit resolutions (#1722)
* chore: 🤖 Modify underscore in resolutions

* chore: 🤖 Modify hosted-git-info resolutions

* chore: 🤖 Modify trim resolutions

* chore: 🤖 Change versioning type for trim sem ver
2023-06-16 08:44:22 -07:00
Randall Morey a8202bea25 chore: 🤖 cleanup styles and apply margin to button set 2023-06-15 17:23:29 -07:00
Randall Morey bedec5fc42 Merge branch 'main' into chore-upgrade-hds 2023-06-15 15:21:02 -07:00
Randall Morey 04fc1e9590 Merge pull request #1721 from hashicorp/merge-ent-main
Backport from ent main
2023-06-15 15:07:28 -07:00
Randall Morey 9cf347ed08 chore: 🤖 update yarn lock after ent merge 2023-06-15 13:37:38 -07:00
Randall Morey 5b8f79ace3 fix: 🐛 fix minor styling issues due to changes in HDS 2.7 2023-06-14 18:06:45 -07:00
Randall Morey 09f19b5c0f chore: 🤖 upgrade to HDS 2.7 2023-06-14 15:21:39 -07:00
hc-github-team-secure-boundary 82d748f2ab Merge pull request #343 from hashicorp/oss/merge-main-6a26093c182c1195118dc1091e405b056296314f
[main] OSS to ENT merge of (6a26093)
2023-06-14 17:11:24 -04:00
hc-github-team-secure-boundary 1c29ebf941 Merge pull request #342 from hashicorp/oss/merge-main-e5a03bcc910e38af73f01ed5b4abc167ea156d6f
[main] OSS to ENT merge of (e5a03bc)
2023-06-14 16:55:28 -04:00
github-team-secure-boundary e6a5668d22 Merge Boundary UI OSS branch 'main' at commit 6a26093c1 2023-06-14 20:41:59 +00:00
Carlos Alcaide Corvo 6a26093c18 Chore icu 9074 audit resolutions (#1717)
* chore: 🤖 Delete yargs-parser from resolutions

* chore: 🤖 Delete merge from resolutions

* chore: 🤖 Delete xmlhttprequest-ssl from resolutions
2023-06-14 13:41:27 -07:00
lisbet-alvarez bda7a46386 Merge branch 'main' into oss/merge-main-e5a03bcc910e38af73f01ed5b4abc167ea156d6f 2023-06-14 13:36:34 -07:00
Carlos Alcaide Corvoandlisbet-alvarez 83ed0041c4 Add retrieving lost session recording link to docs. (#337)
* Add retrieving lost session recording link to docs

* Update ui/admin/app/templates/scopes/scope/session-recordings/session-recording/channels-by-connection/channel/index.hbs

Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-06-14 13:28:26 -07:00
github-team-secure-boundary 632fe571d5 Merge Boundary UI OSS branch 'main' at commit e5a03bcc9 2023-06-14 20:18:28 +00:00
lisbet-alvarez e5a03bcc91 chore: 🤖 remove deprecated set-output cmd from jira.yml (#1716)
* chore: 🤖 remove deprecated set-output cmd from jira.yml

✅ Closes: ICU-9783
2023-06-14 13:17:55 -07:00
hc-github-team-secure-boundary c856a31413 Merge pull request #341 from hashicorp/oss/merge-main-6f5203c61fe2aec0ac6f4852047f1624067bf04b
[main] OSS to ENT merge of (6f5203c)
2023-06-14 15:29:04 -04:00
github-team-secure-boundary 870d340185 Merge Boundary UI OSS branch 'main' at commit 6f5203c61 2023-06-14 19:12:37 +00:00
Carlos Alcaide Corvo 6f5203c61f Chore icu 9073 audit resolutions (#1715)
* Delete highlight.js from resolutions

* Delete hoek from resolutions

* Delete elliptic from resolutions
2023-06-14 12:12:05 -07:00
hc-github-team-secure-boundary a14c22cb12 Merge pull request #340 from hashicorp/oss/merge-main-d75877263ee031500e57d5108eed575da2bda462
[main] OSS to ENT merge of (d758772)
2023-06-13 16:24:30 -04:00
github-team-secure-boundary 999c992e6f Merge Boundary UI OSS branch 'main' at commit d75877263
# Conflicts:
#	yarn.lock
2023-06-13 20:06:11 +00:00
Carlos Alcaide Corvo d75877263e Chore icu 9072 audit resolutions (#1713)
* chore: 🤖 Delete caniuse-lite from resolutions

* chore: 🤖 Delete immer from resolutions

* chore: 🤖 Delete node-notifier from resolutions
2023-06-13 13:05:39 -07:00
Dharini Jeeva b6331adfa8 chore: 🤖 add doc links to storage buckets and session recording (#336)
* chore: 🤖 add doc links to storage buckets and session recording
2023-06-13 12:01:02 -07:00
Cameron Perera 4f51988891 refactor: 💡 fix border-radius styles of asciinema player (#339) 2023-06-13 13:03:55 -05:00
hc-github-team-secure-boundary aac65ef3d9 Merge pull request #338 from hashicorp/oss/merge-main-2680301f98d88e94b100f33e5548d5eb67fcdb20
[main] OSS to ENT merge of (2680301)
2023-06-12 19:48:44 -04:00
github-team-secure-boundary e58bfe7090 Merge Boundary UI OSS branch 'main' at commit 2680301f9 2023-06-12 23:30:20 +00:00
Zhihe Li 2680301f98 chore: 🤖 Update changelog and version for desktop (#1712) 2023-06-12 16:29:50 -07:00
hc-github-team-secure-boundary 07ec22c90d Merge pull request #335 from hashicorp/oss/merge-main-edf623adf07eaff5a730a728020ce3bc03ba6d7b
[main] OSS to ENT merge of (edf623a)
2023-06-12 13:06:16 -04:00
github-team-secure-boundary b965b830be Merge Boundary UI OSS branch 'main' at commit edf623adf 2023-06-12 15:39:35 +00:00
Dharini Jeeva edf623adf0 fix: 🐛 worker form navigation (#1711)
* fix: 🐛 Show done only when a worker is registered successfully, otherwise show cancel and navigate to the workers list
2023-06-12 08:38:55 -07:00
Randall Morey d48e702cd8 chore: 🤖 add placeholder to storage field (#332) 2023-06-09 01:52:37 +00:00
hc-github-team-secure-boundary 50a5ec0c43 Merge pull request #334 from hashicorp/oss/merge-main-37c0c55a6033e552bc8f4d5b707db731fb618b87
[main] OSS to ENT merge of (37c0c55)
2023-06-08 19:47:34 -04:00
github-team-secure-boundary a67719cbbc Merge Boundary UI OSS branch 'main' at commit 37c0c55a6 2023-06-08 23:31:46 +00:00
Dharini Jeeva 37c0c55a60 fix: 🐛 add margin for button sets (#1709) 2023-06-08 16:31:07 -07:00
Zhihe Li 178e92a812 fix: 🐛 Fix asciicast errors not being shown properly (#333)
✅ Closes: ICU-9673
2023-06-08 19:13:34 -04:00
lisbet-alvarez 2a6a41104a fix: 🐛 look at correct object to display error message (#330)
✅ Closes: ICU-9662
2023-06-08 10:12:39 -07:00
hc-github-team-secure-boundary 80d72ddb82 Merge pull request #331 from hashicorp/oss/merge-main-863c080196567e98841555d3b7c6b91a84b5825c
[main] OSS to ENT merge of (863c080)
2023-06-07 21:47:14 -04:00
github-team-secure-boundary e438ce227a Merge Boundary UI OSS branch 'main' at commit 863c08019 2023-06-08 01:29:12 +00:00
Randall Morey 863c080196 Optimise Desktop API queries (#1707)
* fix: 🐛 increase auth form width, which was too narrow

* chore: 🤖 optimize targets route queries

* chore: 🤖 optimize sessions route queries

* chore: 🤖 disable polling in sessions route

* chore: 🤖 disable polling in targets route

* refactor: 💡 update tests for new queries and removing timing
2023-06-07 18:28:33 -07:00
Dharini Jeeva 0cd4439b71 fix: 🐛 add storage bucket within target (#324)
* fix: 🐛 add storage bucket within target
2023-06-07 15:45:46 -07:00
Devon Anderson c0b590dad2 refactor: 💡 Refactor default option in scope field and desc (#328)
* refactor: 💡 Refactor default option in scope field and desc

Refactor default option for scope field to be 'Choose an option' instead
of 'Global', so user can explicitly select their scope.  Refactor scope
field descriptions to give different context based on if the selection
is 'global' or an 'org' scope.

✅ Closes: ICU-9641

* refactor: 💡 refactor translations

Added correct translations for default, global, and org. Added small bit
of logic to help with switch of text on `onChange` event.
2023-06-07 18:04:18 -04:00
Carlos Alcaide Corvo 596ae9d817 fix: 🐛 Storage bucket region field not editable (#329)
* fix: 🐛 Storage bucket region field not editable
2023-06-07 12:56:15 -07:00
Cameron Perera b01d5f0271 refactor: 💡 Show View instead of Play if channel not asciicast (#325)
* refactor: 💡 Show View instead of Play if channel not asciicast

✅ Closes: ICU-9524

* refactor: 💡 every third channel is missing mime_types

* refactor: 💡 create new abilities for channel-recording

* refactor: 💡 use abilities for button logic for channels

* test: 💍 update channel-recording ability tests

* refactor: 💡 fix ChannelRecording ability import name

* refactor: 💡 change ability name to canPlay from canPlayChannel

* refactor: 💡 update OverrideChannelRecording ability methods
2023-06-07 14:15:55 -05:00
hc-github-team-secure-boundary 0ac8ec0290 Merge pull request #327 from hashicorp/oss/merge-main-547d44f1bdbc02777ac5da13cb382abd96c3ba09
[main] OSS to ENT merge of (547d44f)
2023-06-06 21:33:24 -04:00
github-team-secure-boundary 882e73c3e5 Merge Boundary UI OSS branch 'main' at commit 547d44f1b 2023-06-07 01:16:28 +00:00
Randall Morey 547d44f1bd fix: 🐛 increase auth form width, which was too narrow (#1703) 2023-06-06 18:15:58 -07:00
Cameron Perera cf602c77d3 fix: 🐛 player test not waiting for player to initialize (#326)
* fix: 🐛 player test not waiting for player to initialize

* refactor: 💡 move back to channels assert out of waitUntil

* refactor: 💡 use includesText instead of hasAnyText
2023-06-06 18:08:49 -05:00
Cameron Perera 4071024853 refactor: 💡 fix indexed-display-name for readability (#323)
* refactor: 💡 fix indexed-display-name for readability

* refactor: 💡 rename reverse-indexed-display-name helper

from indexed-display-name to reverse-indexed-display-name
2023-06-06 12:52:07 -07:00
hc-github-team-secure-boundary 3a600b0b8c Merge pull request #321 from hashicorp/oss/merge-main-6e96676beb0b610a5d1f3f3ac53ffa0d9c0f9221
[main] OSS to ENT merge of (6e96676)
2023-06-05 18:10:36 -04:00
lisbet-alvarez 0d12d61044 Merge branch 'main' into oss/merge-main-6e96676beb0b610a5d1f3f3ac53ffa0d9c0f9221 2023-06-05 14:54:49 -07:00
Cameron Perera 9bd969c1f6 refactor: 💡 update indexed-display-name helper (#322) 2023-06-05 16:27:54 -05:00
Lisbet Alvarez 16b466d1de test: 💍 fix button selectors 2023-06-05 14:24:35 -07:00
github-team-secure-boundary 0d05de36fc Merge Boundary UI OSS branch 'main' at commit 6e96676be 2023-06-05 20:39:12 +00:00
lisbet-alvarezandRandall Morey 6e96676beb Icu 9412 refactor rose form actions to use hds buttons (#1697)
* refactor: 💡 use hds buttons in rose form actions

✅ Closes: ICU-9412

* test: 💍 fix form actions tests

* docs: ✏️ add new hds button attribute to storybook

* refactor: 💡 add ...attributes back in

* Update addons/rose/addon/components/rose/form/actions/edit-toggle/index.hbs

Co-authored-by: Randall Morey <randall@randallmorey.com>

* Update addons/rose/addon/components/rose/form/actions/index.hbs

Co-authored-by: Randall Morey <randall@randallmorey.com>

* refactor: 💡 remove @submitIsFullWidth option & add css instead

---------

Co-authored-by: Randall Morey <randall@randallmorey.com>
2023-06-05 13:38:41 -07:00
Carlos Alcaide Corvo 35f5547bf4 Use storage bucket ID if name is not present (#320)
* Use storage bucket ID if name is not present
2023-06-05 09:52:27 -07:00
Carlos Alcaide Corvo da01862910 Add description to disable credential rotation (#318) 2023-06-05 07:58:37 -07:00
Dharini Jeeva 857e455caa fix: 🐛 remove session recording fields from tcp target (#317)
* fix: 🐛 remove session recording fields from tcp target
2023-06-02 16:03:17 -07:00
Zhihe Li 1409ec9fa5 fix: 🐛 Fix deep linked channels not loading data correctly (#315)
✅ Closes: ICU-9562
2023-06-02 17:48:34 -04:00
hc-github-team-secure-boundary cdc66a13c1 Merge pull request #316 from hashicorp/oss/merge-main-de10b275d34c0e70e1641ba7ba657df9d2a8388f
[main] OSS to ENT merge of (de10b27)
2023-06-02 13:53:22 -04:00
github-team-secure-boundary 4271b13a35 Merge Boundary UI OSS branch 'main' at commit de10b275d 2023-06-02 17:34:24 +00:00
Zhihe Li de10b275d3 chore: 🤖 Update worker binary name to just boundary (#1704)
✅ Closes: ICU-9570
2023-06-02 13:33:51 -04:00
Zhihe Li 34b3b04e76 chore: 🤖 Remove artifact builds for session recording branch (#314) 2023-06-01 17:52:52 -04:00
Zhihe Li 15b738d4ad Merge pull request #313 from hashicorp/session-recording
Merge session recording feature branch
2023-06-01 16:06:28 -04:00
Dharini Jeeva 97c95153d3 chore: 🤖 add description and doc link (#311) 2023-06-01 12:32:52 -07:00
Zhihe Li d8b73c253a Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-06-01 15:00:26 -04:00
Carlos Alcaide Corvo 06cd27f974 Stop using format-date-iso-human which avoids T and timezone to use format-date-iso which includes T and TZ (#312) 2023-06-01 11:52:07 -07:00
hc-github-team-secure-boundary e6cc8a80c0 Merge pull request #310 from hashicorp/oss/merge-main-b94f3d164e4c9600e0fd985e45bbf7691d0ca1df
[main] OSS to ENT merge of (b94f3d1)
2023-06-01 13:31:46 -04:00
github-team-secure-boundary 77257e0d5d Merge Boundary UI OSS branch 'main' at commit b94f3d164 2023-06-01 17:13:40 +00:00
Carlos Alcaide Corvo b94f3d164e style: 💄 Delete old comment code (#1699)
Delete old comment code, seems isn't used for a couple of years
2023-06-01 10:13:03 -07:00
Randall Morey 8200c37842 chore: 🤖 add resource descriptions (#308) 2023-06-01 09:37:23 -07:00
hc-github-team-secure-boundary f8b25513f1 Merge pull request #309 from hashicorp/oss/merge-main-80748b28fb9fbd0a8804d0bbcc415844be272d04
[main] OSS to ENT merge of (80748b2)
2023-06-01 12:28:47 -04:00
github-team-secure-boundary bc44926ee0 Merge Boundary UI OSS branch 'main' at commit 80748b28f 2023-06-01 16:08:35 +00:00
Cameron Perera 80748b28fb refactor: 💡 remove type column from Workers table in Admin UI (#1702)
✅ Closes: ICU-9539
2023-06-01 11:07:57 -05:00
Zhihe Liandcameronperera 204d2537d7 refactor: 💡 Add loading substate for channels (#303)
* refactor: 💡 Add loading substate for channels

* refactor: 💡 Use conditional block for session recording player

* style: 💄 Use a unicode ellipsis instead of periods

* refactor: 💡 rename asciiCast to asciicast (#307)

---------

Co-authored-by: cameronperera <cameron.perera@hashicorp.com>
2023-06-01 14:15:38 +00:00
Zhihe Li e36ee56de1 Merge from main (#305)
Merge from main
2023-05-31 17:13:56 -07:00
Cameron Perera d130a019d7 refactor: 💡 update to new filesize package and output format (#306) 2023-05-31 18:36:37 -05:00
hc-github-team-secure-boundary e2caa0654c Merge pull request #304 from hashicorp/oss/merge-main-963b5d465d99cf7116e98e798bd5555dfaa6a2a8
[main] OSS to ENT merge of (963b5d4)
2023-05-31 18:52:00 -04:00
github-team-secure-boundary ef15f93f11 Merge Boundary UI OSS branch 'main' at commit 963b5d465 2023-05-31 22:33:59 +00:00
Zhihe Li 963b5d465d feat: 🎸 Add default client port to targets (#1700)
* feat: 🎸 Add default client port to targets

✅ Closes: ICU-9299
2023-05-31 18:33:27 -04:00
Cameron PereraandZhihe Li 63c6d24363 fix: 🐛 add message for channels that cannot be played back (#302)
* fix: 🐛 Fix isAsciicast check

✅ Closes: ICU-9511

* fix: 🐛 add message for channels that cannot be played back

* Update ui/admin/app/templates/scopes/scope/session-recordings/session-recording/channels-by-connection/channel.hbs

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 update not supported message

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-05-31 15:01:12 -05:00
Zhihe Li 4ac6259d2a fix: 🐛 Fix isAsciicast check (#301)
✅ Closes: ICU-9511
2023-05-31 15:27:30 -04:00
Randall MoreyandZhihe Li 2cd4995c92 Feature worker recording storage path (#299)
* refactor: 💡 refactor worker form fieldset to use HDS

* feat: 🎸 add recording_storage_path optional config for workers

* chore: 🤖 tweak language and add learn-more link

* chore: 🤖 add additional feature check

* Update addons/core/translations/resources/en-us.yaml

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* chore: 🤖 use hds inline link

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-05-31 11:28:27 -07:00
hc-github-team-secure-boundary c90566aa77 Merge pull request #300 from hashicorp/oss/merge-main-9d7a23fcc4db76c3c4f8da3ca4b85d060c57d73d
[main] OSS to ENT merge of (9d7a23f)
2023-05-31 13:17:41 -04:00
github-team-secure-boundary 041931c13e Merge Boundary UI OSS branch 'main' at commit 9d7a23fcc 2023-05-31 17:01:03 +00:00
Dharini Jeeva 9d7a23fcc4 fix: 🐛 radio card group name (#1701) 2023-05-31 10:00:28 -07:00
Carlos Alcaide Corvo 55b1ea7350 Change start_time for created_time (#297)
* Change started_time for created_time for session details within channels by connection
2023-05-30 13:15:04 -07:00
Randall Morey 998df39560 fix: 🐛 scopeModel should check for ID before calling peekRecord (#298) 2023-05-30 10:37:35 -07:00
Cameron Perera 3d9836a55b Icu 9482 add no connection message for session recording with no connections (#294)
* refactor: 💡 add controller for channels-by-connection/index

* feat: 🎸 show message for new session that have no connections

✅ Closes: ICU-9482

* feat: 🎸 add message for failed session with no connections (#296)

✅ Closes: ICU-9489

* refactor: 💡 remove '-' from 'in progress' usage
2023-05-30 11:34:07 -05:00
hc-github-team-secure-boundary 0614ce7b16 Merge pull request #293 from hashicorp/oss/merge-main-2a11d75ccf77ebe6a51b8448697840a6830c3083
[main] OSS to ENT merge of (2a11d75)
2023-05-26 14:34:11 -04:00
github-team-secure-boundary 520b369413 Merge Boundary UI OSS branch 'main' at commit 2a11d75cc 2023-05-26 18:15:31 +00:00
Zhihe Li 2a11d75ccf fix: 🐛 Fix serializing client secrets in oidc auth methods (#1698) 2023-05-26 14:14:58 -04:00
Cameron Perera 0aef13446b Update ember player (#290)
* chore: 🤖 update ember-asciinema-player

* refactor: 💡 update player styles after player update

* test: 💍 update class selector for player test

* refactor: 💡 remove custom border-width from player styles
2023-05-26 13:05:34 -05:00
Cameron Perera 9d7905402e Fix player fullscreen issue (#292)
* refactor: 💡 layout grid columns

* fix: 🐛 fix issue where player stays at fullscreen size on exit

✅ Closes: ICU-9456
2023-05-26 12:27:27 -05:00
Dharini Jeeva 0d161a5623 fix: 🐛 form abandon confirmation popup in enable session recording route (#289)
* fix: 🐛 form abandon confirmation popup
2023-05-25 15:54:32 -07:00
lisbet-alvarez abeee7dc1b refactor: 💡 disable uneditable storage bucket form fields (#279)
* refactor: 💡 disable uneditable storage bucket form fields

✅ Closes: ICU-9430

* refactor: 💡 update fields to be readOnly in edit mode & tests

* refactor: 💡 remove duplicate field
2023-05-25 14:43:20 -07:00
Cameron Perera 502eba304d refactor: 💡 hide metadata items if undefined (#288)
* refactor: 💡 hide metadata items if undefined

* refactor: 💡 hide channel metadata if undefined
2023-05-25 14:58:06 -05:00
Cameron Perera 33afb64476 feat: 🎸 add no channels message for empty connections (#287)
✅ Closes: ICU-9443
2023-05-25 10:31:51 -05:00
Dharini Jeeva bf13b71807 refactor: 💡 title case, remove ID (#286) 2023-05-24 16:02:39 -07:00
Zhihe Li c63c95fd51 chore: 🤖 Update serializer for storage buckets (#282) 2023-05-24 21:57:30 +00:00
Zhihe Li 67a23a50fe Merge pull request #285 from hashicorp/merge-from-main
Merge from main
2023-05-24 17:37:38 -04:00
Cameron Perera fe96668721 Icu 9442 add session recording status to details sidebar (#284)
* refactor: 💡 make icon not required for metadata list items

* refactor: 💡 update class name for SessionRecording Status badge

* feat: 🎸 display SessionRecording Status on Details sidebar

✅ Closes: ICU-9442
2023-05-24 16:26:19 -05:00
Zhihe Li 3170d52090 Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into merge-from-main 2023-05-24 15:18:02 -04:00
hc-github-team-secure-boundary f6120f2959 Merge pull request #283 from hashicorp/oss/merge-main-59183b9b209f57259bd263d3a5a97001a01d66bf
[main] OSS to ENT merge of (59183b9)
2023-05-24 14:41:56 -04:00
github-team-secure-boundary 309ab982d7 Merge Boundary UI OSS branch 'main' at commit 59183b9b2 2023-05-24 18:21:36 +00:00
dependabot[bot] 59183b9b20 chore(deps): bump socket.io-parser from 4.2.1 to 4.2.3 (#1696)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.1 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.1...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 14:21:00 -04:00
Cameron Perera 2659163b37 Icu 9418 hide play button if session recording is still in progress (#281)
* feat: 🎸 add isAvailable method to session recording model

✅ Closes: ICU-9418

* feat: 🎸 hide play button if session recording in-progress

* refactor: 💡 use translation for channel list play button

* refactor: 💡 move Play translation to actions from resources
2023-05-24 12:46:32 -05:00
7e2af27453 Add session-recording status component (#278)
* Add status component

* Update ui/admin/app/components/session-recording/status/index.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* refactor: 💡 update SessionRecording::Status component

* refactor: 💡 fix linting issues

---------

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-05-24 11:28:18 -05:00
Zhihe Li fd6931108d chore: 🤖 Update times/durations to more accurately reflect api (#277) 2023-05-23 18:57:47 -04:00
Cameron Perera a63776e76f Icu 9415 remove sorted computed value for connections channels (#276)
* refactor: 💡 remove sorted connections from session recording

Removed from session recording model and respective templates

✅ Closes: ICU-9415

* refactor: 💡 remove sorted channels from connections model

and removed from the appropriate templates and breadcrumb
2023-05-23 16:10:39 -05:00
hc-github-team-secure-boundary 041814d9e6 Merge pull request #275 from hashicorp/oss/merge-main-fde4ec4e05908939503fea866c5599132d67918d
[main] OSS to ENT merge of (fde4ec4)
2023-05-23 15:56:19 -04:00
github-team-secure-boundary 97ea2cbbaa Merge Boundary UI OSS branch 'main' at commit fde4ec4e0 2023-05-23 19:38:10 +00:00
lisbet-alvarez fde4ec4e05 Refactor type to use const values (#1695)
* refactor: 💡 use auth-method type consts
2023-05-23 12:37:35 -07:00
lisbet-alvarez 7cb9ae9f3b refactor: 💡 disable delete action for storage bucket (#273)
* refactor: 💡 disable delete action for storage bucket
2023-05-23 08:47:54 -07:00
Randall Morey 4e09aae653 chore: 🤖 pin ember-asciinema-player to latest and pass @poster (#272) 2023-05-22 16:42:40 -07:00
hc-github-team-secure-boundary f23b2eb4e5 Merge pull request #271 from hashicorp/oss/merge-main-8d77bc60b3bc5cd2234e90d76b2ab33eb1be1ae6
[main] OSS to ENT merge of (8d77bc6)
2023-05-22 19:05:41 -04:00
github-team-secure-boundary a3462d3c71 Merge Boundary UI OSS branch 'main' at commit 8d77bc60b 2023-05-22 22:46:45 +00:00
lisbet-alvarez 8d77bc60b3 Icu 9226 disable all actions for ldap accounts within users (#1688)
* refactor: 💡 disable all actions for ldap accounts within users

✅ Closes: ICU-9226
2023-05-22 15:46:13 -07:00
Zhihe Li 55f7406576 chore: 🤖 Update storage buckets to handle new api changes (#266) 2023-05-22 17:28:48 -04:00
Randall Morey 1a57e2b96d chore: 🤖 secret input should default to type password (#269)
* chore: 🤖 secret input should default to type password

* chore: 🤖 storage bucket aws key fields should be passwords
2023-05-22 12:27:06 -07:00
Carlos Alcaide Corvo 9f500b6627 Change the time we show, before we used start_time, now we use created_time (#263) 2023-05-22 11:36:14 -07:00
hc-github-team-secure-boundary d8ea78c4b0 Merge pull request #270 from hashicorp/oss/merge-main-379f317d8b03e573cc2e35ccde06b040d8dc1862
[main] OSS to ENT merge of (379f317)
2023-05-22 14:33:12 -04:00
github-team-secure-boundary 4928407310 Merge Boundary UI OSS branch 'main' at commit 379f317d8 2023-05-22 18:17:17 +00:00
lisbet-alvarez 379f317d8b Refactor account and user abilities (#1694)
* refactor: 💡 add abilities to user and remove from account
2023-05-22 11:16:48 -07:00
hc-github-team-secure-boundary 2e41abe67f Merge pull request #268 from hashicorp/oss/merge-main-fe81a626fa7c30647f6966cbadc56ac63954d5bc
[main] OSS to ENT merge of (fe81a62)
2023-05-22 11:55:05 -04:00
Randall Morey 8d883073e1 fix: 🐛 fix mismtach between fe/be feature flag strings (#264)
* fix: 🐛 fix mismtach between fe/be feature flag strings

* chore: 🤖 add development can helper to recompute on flags
2023-05-22 08:49:30 -07:00
github-team-secure-boundary 20fdabe738 Merge Boundary UI OSS branch 'main' at commit fe81a626f 2023-05-22 15:38:34 +00:00
Carlos Alcaide Corvo fe81a626fa Chore icu 9071 audit resolutions (#1693)
* Delete cryptiles from resolutions

* Delete prismjs from global resolutions and add a specific resolution

* Delete npm-user-validate from global resolutions
2023-05-22 08:38:01 -07:00
hc-github-team-secure-boundary 8ef8871a01 Merge pull request #267 from hashicorp/oss/merge-main-a2cc33d405f006a128fc0649e58d7ffc81f15651
[main] OSS to ENT merge of (a2cc33d)
2023-05-19 19:26:05 -04:00
github-team-secure-boundary c5032b0d82 Merge Boundary UI OSS branch 'main' at commit a2cc33d40 2023-05-19 23:11:27 +00:00
a2cc33d405 e2e Test documentation for FE onboarding (#1681)
* Add e2e documentation to faciltiate FE devs onboarding

Co-authored-by: Michael Li <michael.li@hashicorp.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>

---------

Co-authored-by: Michael Li <michael.li@hashicorp.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-05-19 16:10:55 -07:00
hc-github-team-secure-boundary 3c1eaf25e9 Merge pull request #265 from hashicorp/oss/merge-main-e6664b882faecacc4e9ffa64d18dedcb14534d61
[main] OSS to ENT merge of (e6664b8)
2023-05-19 17:53:00 -04:00
github-team-secure-boundary d37a8772f3 Merge Boundary UI OSS branch 'main' at commit e6664b882 2023-05-19 20:00:25 +00:00
Devon Anderson e6664b882f fix: 🐛 fix descriptions for targets list for desktop (#1692)
Target descriptions where not displaying due to some previous
refactoring.  Corrected `description` and `isActive` references.

✅ Closes: ICU-9375
2023-05-19 15:59:49 -04:00
Dharini Jeeva f0550290e2 fix: 🐛 target form width (#262) 2023-05-18 16:23:26 -07:00
Dharini Jeeva d9054a9ffe fix: 🐛 scope name (#261) 2023-05-18 15:31:53 -07:00
Zhihe Li a03202f51c chore: 🤖 Include created_time as part of session recordings (#260) 2023-05-18 17:27:32 -04:00
Carlos Alcaide Corvo 6802f4a4da refactor: 💡 Add template conditionals for dates and duration (#257)
Add template conditionals within session-recordings for start_date,
end_date and duration fields.
2023-05-18 09:08:44 -07:00
hc-github-team-secure-boundary 9f0b22ea34 Merge pull request #259 from hashicorp/oss/merge-main-6dd0423923dc66282f44c46257102840c0348504
[main] OSS to ENT merge of (6dd0423)
2023-05-17 17:49:48 -04:00
github-team-secure-boundary 6dd536a1f0 Merge Boundary UI OSS branch 'main' at commit 6dd042392 2023-05-17 21:31:42 +00:00
lisbet-alvarez 6dd0423923 refactor: 💡 account and auth-method abilities (#1691)
* refactor: 💡 account and auth-method abilities

* refactor: 💡 add update & delete abilities & unit tests
2023-05-17 14:31:12 -07:00
Randall Morey 1afe8af15a Session recording and storage bucket abilities cleanup (#256)
* refactor: 💡 cleanup session recording abilities

* refactor: 💡 use super call instead of duplicating check

* refactor: 💡 cleanup storage bucket abilities
2023-05-17 12:24:31 -07:00
Zhihe Li ed5416477d chore: 🤖 More updates for models and mirage (#253) 2023-05-17 12:01:34 -04:00
hc-github-team-secure-boundary 14f0cae2b0 Merge pull request #255 from hashicorp/oss/merge-main-e8a10b313135baf91a18066cf45f3b36bfee54df
[main] OSS to ENT merge of (e8a10b3)
2023-05-16 17:31:13 -06:00
github-team-secure-boundary 1b11dc986a Merge Boundary UI OSS branch 'main' at commit e8a10b313 2023-05-16 23:11:13 +00:00
lisbet-alvarez e8a10b3131 feat: 🎸 add ldap-auth-methods feature flag (#1690) 2023-05-16 16:10:38 -07:00
hc-github-team-secure-boundary 40bec2ed24 Merge pull request #254 from hashicorp/oss/merge-main-7d909551ac45a0649bd11adc10b8f8dbe270cce9
[main] OSS to ENT merge of (7d90955)
2023-05-16 10:54:40 -06:00
github-team-secure-boundary be33200c85 Merge Boundary UI OSS branch 'main' at commit 7d909551a 2023-05-16 16:38:24 +00:00
Dharini Jeeva 7d909551ac chore: Use HDS components in auth methods list view (#1686)
* chore: 🤖 use hds table and dropdown
2023-05-16 09:37:53 -07:00
hc-github-team-secure-boundary bd0361d611 Merge pull request #252 from hashicorp/oss/merge-main-3b3d6ab50fb690e307479b925302ad08f13d2732
[main] OSS to ENT merge of (3b3d6ab)
2023-05-11 16:31:42 -06:00
github-team-secure-boundary 5a75833b79 Merge Boundary UI OSS branch 'main' at commit 3b3d6ab50 2023-05-11 22:15:58 +00:00
lisbet-alvarez 3b3d6ab50f Icu 9202 disable all actions for ldap auth method (#1683)
* refactor: 💡 disable all actions for ldap auth-method

✅ Closes: ICU-9202
2023-05-11 15:15:31 -07:00
Randall Morey 6e0cc57509 chore: 🤖 enable UI build/cache on session-recording llb (#250) 2023-05-11 14:48:50 -07:00
hc-github-team-secure-boundary 88ce2b41e2 Merge pull request #251 from hashicorp/oss/merge-main-4c80f8d8ff3f2ddc7468283fd1ed77e058f7ab08
[main] OSS to ENT merge of (4c80f8d)
2023-05-11 15:13:56 -06:00
github-team-secure-boundary c5ec9e7300 Merge Boundary UI OSS branch 'main' at commit 4c80f8d8f 2023-05-11 20:55:59 +00:00
Randall Morey 4c80f8d8ff feat: 🎸 initial LDAP authentication support (#1645)
* feat: 🎸 initial LDAP authentication support
2023-05-11 13:55:27 -07:00
hc-github-team-secure-boundary f10eeb2294 Merge pull request #249 from hashicorp/oss/merge-main-b344c5fc18e51208dfaab6d166844770e8ad66db
[main] OSS to ENT merge of (b344c5f)
2023-05-10 16:28:12 -06:00
github-team-secure-boundary b44128c791 Merge Boundary UI OSS branch 'main' at commit b344c5fc1 2023-05-10 22:08:06 +00:00
lisbet-alvarez b344c5fc18 chore: 🤖 upgrade engine.io version to fix security alert (#1685) 2023-05-10 15:07:33 -07:00
hc-github-team-secure-boundary 6d6ccddc4e Merge pull request #248 from hashicorp/oss/merge-main-fd72b414e03fc9a319715b9c046fbb45b148cd8e
[main] OSS to ENT merge of (fd72b41)
2023-05-10 14:35:41 -07:00
github-team-secure-boundary 03c98a4c6f Merge Boundary UI OSS branch 'main' at commit fd72b414e 2023-05-10 21:14:56 +00:00
lisbet-alvarez fd72b414e0 chore: 🤖 update yaml version to fix security alert (#1684) 2023-05-10 14:13:30 -07:00
Zhihe Li 57cb86acad Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-05-10 10:53:20 -04:00
hc-github-team-secure-boundary d8f42098cb Merge pull request #247 from hashicorp/oss/merge-main-5723d8efb5e4f990ea4aa7eb54f4be11a5e9f6f1
[main] OSS to ENT merge of (5723d8e)
2023-05-09 15:23:24 -07:00
github-team-secure-boundary 005661ead5 Merge Boundary UI OSS branch 'main' at commit 5723d8efb 2023-05-09 22:07:10 +00:00
Randall Morey 5723d8efb5 fix: 🐛 support metadata access on another API host (#1682) 2023-05-09 15:06:32 -07:00
Dharini Jeeva 5844768f57 chore: 🤖 add disable cred rotation field to storage bucket creation form (#246)
* chore: 🤖 add disable cred rotation field
2023-05-09 14:06:05 -07:00
Zhihe Li 03fd24f1ec chore: 🤖 Update storage bucket aws plugin name (#245) 2023-05-08 18:25:42 +00:00
Zhihe Li 0dee7b5a02 chore: 🤖 Update session recording API (#243)
* chore: 🤖 Update session recording API

* chore: 🤖 Update usage of scope id for targets

* chore: 🤖 Update scope id usage for user in session recordings
2023-05-08 18:05:01 +00:00
Carlos Alcaide Corvo 308a393202 refactor: 💡 Refactor layout-sidebar (#238)
* refactor: 💡 Refactor layout-sidebar

Refactor layout-sidebar to assign a fix width to the sidebar part of the
layout

✅ Closes: ICU-9164
2023-05-05 15:05:02 -07:00
Cameron Perera d08e4be0c6 refactor: 💡 update how project & target are displayed in table (#242)
* refactor: 💡 update how project & target are displayed in table

✅ Closes: ICU-9165

* refactor: 💡 update gap to use rem

* refactor: 💡 update with PR feedback

* refactor: 💡 use flex-direction column instead of display block
2023-05-05 13:49:57 -05:00
hc-github-team-secure-boundary fbfad4e649 Merge pull request #244 from hashicorp/oss/merge-main-041990322fb625ae6517a9e6fe44303c4634714d
[main] OSS to ENT merge of (0419903)
2023-05-05 11:42:04 -07:00
github-team-secure-boundary d8da619b9c Merge Boundary UI OSS branch 'main' at commit 041990322 2023-05-05 18:27:36 +00:00
041990322f docs: ✏️ Add i18n documentation (#1679)
* docs: ✏️ Add i18n documentation

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-05-05 11:27:05 -07:00
Devon Anderson 1d3914e5ac refactor: 💡 changed title description for provider in storage buckets (#239)
* refactor: 💡 changed title description for provider

Change title from `AWS` to `Amazon S3` in the provider <InfoField /> for
storage buckets.

✅ Closes: ICU-9166

* refactor: 💡 quick refactor

Refactor of Amazon title in table description
2023-05-04 17:13:22 -04:00
Zhihe Li aed2bd5851 Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-05-04 15:48:59 -04:00
hc-github-team-secure-boundary 19793ae5d3 Merge pull request #241 from hashicorp/oss/merge-main-3d1ac0a4e024c9d8d8c72879cef034682fa90c7c
[main] OSS to ENT merge of (3d1ac0a)
2023-05-04 12:48:41 -07:00
github-team-secure-boundary f69cbf0e33 Merge Boundary UI OSS branch 'main' at commit 3d1ac0a4e 2023-05-04 19:14:37 +00:00
Zhihe Li 3d1ac0a4e0 feat: 🎸 Download latest HCP binary for worker config commands (#1680)
✅ Closes: ICU-7265
2023-05-04 15:14:00 -04:00
lisbet-alvarez bf0b7d56b7 refactor: 💡 update storage bucket scope helper text (#240)
✅ Closes: ICU-9167
2023-05-04 12:00:15 -07:00
Carlos Alcaide CorvoandZhihe Li bdc9f86394 Chore session recordings bits and pieces (#237)
* Add the word up & down to the bytes strings

* Add string duration to all the duration strings that are out of a table

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-05-03 10:56:24 -07:00
Cameron Perera 7c06d7f2d4 feat: 🎸 Update Channel identifiers and breadcrumb (#235)
* feat: 🎸 Update Channel identifiers and breadcrumb

* refactor: 💡 updates after PR feedback

* refactor: 💡 remove unneeded function

* refactor: 💡 move all of indexedDisplayName into plain function
2023-05-03 11:03:48 -05:00
Zhihe Li c8c111a7e9 Merge pull request #236 from hashicorp/merge-from-main
Merge from main
2023-05-02 17:57:51 -04:00
Zhihe Li d10b0a7bff Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into merge-from-main 2023-05-02 17:23:14 -04:00
Cameron Perera 49fb722a68 feat: 🎸 change Connection titles to Connection 1 vs the ID (#234)
* feat: 🎸 change Connection titles to Connection 1 vs the ID

✅ Closes: ICU-8667

* refactor: 💡 address PR feedback
2023-05-02 12:59:30 -05:00
hc-github-team-secure-boundary 880fba6844 Merge pull request #233 from hashicorp/oss/merge-main-ffd36003e0e6125eb3660a4ab89b4d28aa93537d
[main] OSS to ENT merge of (ffd3600)
2023-05-01 11:37:01 -07:00
github-team-secure-boundary 665e273a17 Merge Boundary UI OSS branch 'main' at commit ffd36003e 2023-05-01 18:16:53 +00:00
Carlos Alcaide Corvo ffd36003e0 Chore update embroider test setup (#1678)
* Update embroider/test-setup within addons/rose

* Update embroider/test-setup within addons/api, auth and core
2023-05-01 11:16:20 -07:00
Cameron Perera 1a7a91d899 refactor: 💡 use tranlations for list.Item text property (#232) 2023-04-28 14:34:04 -05:00
Cameron Perera 0c524019df Channels by connection screen updates (#231)
* feat: 🎸 add session recording id to details sidebar section

* refactor: 💡 change sidebar section headers to h2

* feat: 🎸 Add Channel ID under page title and modify spacing

* feat: 🎸 add relevant IDs to connection and channel screens
2023-04-28 13:23:12 -05:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] ee1c32da7e Result of tsccr-helper -pin-all-workflows . (#227)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-04-28 11:45:18 -04:00
hc-github-team-secure-boundary a42ef89c82 Merge pull request #230 from hashicorp/oss/merge-main-f6a9c4c526a74687c85af80f92bfbb7d714837eb
[main] OSS to ENT merge of (f6a9c4c)
2023-04-27 12:44:02 -07:00
github-team-secure-boundary 55fb9bc5c5 Merge Boundary UI OSS branch 'main' at commit f6a9c4c52 2023-04-27 19:25:10 +00:00
f6a9c4c526 Result of tsccr-helper -pin-all-workflows . (#1677)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-04-27 12:24:39 -07:00
Cameron Perera ed460e9231 refactor: 💡 remove link until we have a destination url (#228) 2023-04-27 13:55:40 -05:00
hc-github-team-secure-boundary e986847922 Merge pull request #229 from hashicorp/oss/merge-main-9bd356e9d1923a0953607b6c44db91469fafc01e
[main] OSS to ENT merge of (9bd356e)
2023-04-27 11:26:12 -07:00
github-team-secure-boundary 9d2fca27ca Merge Boundary UI OSS branch 'main' at commit 9bd356e9d 2023-04-27 18:07:31 +00:00
Carlos Alcaide Corvo 9bd356e9d1 ICU-8810: Audit 3 resolutions (#1676)
* Delete npm-registry-fetch from resolutions

* Delete tunnel-agent from resolutions
2023-04-27 11:06:53 -07:00
Cameron Perera 1c5c0c84fe feat: 🎸 add channel ID to channel table & copyable link for ID (#226)
* feat: 🎸 add channel ID to channel table & copyable link for ID

✅ Closes: ICU-9051

* feat: 🎸 add IDs to channels-by-connection template
2023-04-27 12:08:01 -05:00
Carlos Alcaide Corvo 0d9602f4ba refactor: 💡 Refactor session-recordings routes (#222)
* refactor: 💡 Refactor session-recordings routes
2023-04-27 09:35:52 -07:00
hc-github-team-secure-boundary 27bb249e1a Merge pull request #225 from hashicorp/oss/merge-main-46d8758fbad620963a9f9b360870121825d63edb
[main] OSS to ENT merge of (46d8758)
2023-04-26 12:54:36 -07:00
github-team-secure-boundary 993664f365 Merge Boundary UI OSS branch 'main' at commit 46d8758fb 2023-04-26 19:38:36 +00:00
Devon Anderson 46d8758fba refactor: 💡 refactored whitespace from layout (#1675)
* refactor: 💡 refactored whitespace from layout

Removed whitespace html formatting from layout in add-principals view.

✅ Closes: ICU-5987

* refactor: 💡 removed lint ignore

Removed lint ignore for whitespace formating.
2023-04-26 15:37:56 -04:00
Cameron Perera 451fcdbfeb feat: 🎸 add getAsciicast permission to channel route & template (#221)
✅ Closes: ICU-8695
2023-04-26 13:41:41 -05:00
hc-github-team-secure-boundary fd377815a0 Merge pull request #224 from hashicorp/oss/merge-main-a05d07919aefa81ec3508b46d16c1377ab516a8d
[main] OSS to ENT merge of (a05d079)
2023-04-26 10:56:09 -07:00
github-team-secure-boundary fadf055d9f Merge Boundary UI OSS branch 'main' at commit a05d07919 2023-04-26 17:38:33 +00:00
Devon AndersonandRandall Morey a05d07919a refactor: 💡 removed whitespace from layout in add-members view (#1673)
* refactor: 💡 removed whitespace from layout in add-members view

Removed whitespace from layout in `add-members` view by replacing
`Rose::Table` with `Hds::Table`.

✅ Closes: ICU-5986

* refactor: 💡 refactor table

Added custom styling to remove margin bottom from radio card field. That
is causing 1st column to not be valign center.

✅ Closes: ICU-5986

* refactor: 💡 refactor stylings to override.scss

Moved Hds custom syles to `overrides.scss`

✅ Closes: ICU-5986

* Update addons/rose/addon/styles/hds/overrides.scss

Co-authored-by: Randall Morey <randall@randallmorey.com>

* Update addons/rose/addon/styles/hds/overrides.scss

Co-authored-by: Randall Morey <randall@randallmorey.com>

* refactor: 💡 refactored app.scss for admin

Removed custom css for `.key-value-list` selector that is now being
served in `overrides.scss` globally.

* refactor: 💡 patched overrides

Ported Hds overrides from other repository.

---------

Co-authored-by: Randall Morey <randall@randallmorey.com>
2023-04-26 13:38:00 -04:00
hc-github-team-secure-boundary e66282e289 Merge pull request #223 from hashicorp/oss/merge-main-d0e00c9ea7e21ce8ccb441c64be0f6481e4c77a5
[main] OSS to ENT merge of (d0e00c9)
2023-04-26 09:41:33 -07:00
github-team-secure-boundary 3e62f9cbb3 Merge Boundary UI OSS branch 'main' at commit d0e00c9ea 2023-04-26 16:22:00 +00:00
Carlos Alcaide Corvo d0e00c9ea7 Chore audit 3 resolutions desktop (#1674)
* chore: 🤖 Audit 3 Desktop client resolution deps

✅ Closes: ICU-8811
2023-04-26 09:21:22 -07:00
+1 2d5323b07a Merge main into session recording (#219)
* fix: 🐛 add model hook to host route for dynamic host catalogs (#1659)

* fix: 🐛 add model hook to host route for dynamic host catalogs

✅ Closes: ICU-8594

* refactor: 💡 remove page formatting for host route

* [COMPLIANCE] Add Copyright and License Headers (#1660)

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>

* chore(deps-dev): bump webpack from 5.59.1 to 5.76.0 (#1654)

Bumps [webpack](https://github.com/webpack/webpack) from 5.59.1 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.59.1...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>

* 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>

* fix: 🐛 Fix missing translation (#1662)

Fix missing translation on the toggle color theme selector

* Resolutions audit: Delete 3 oldest resolutions (#1663)

* Delete bl from resolutions

* Delete tough-cookie from resolutions

* Delete npm from resolutions

* chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#1665)

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: 🤖 Update electron-forge/* packages (#1666)

Update electron-forge/* packages

* feat: 🎸 Add support to display external name for dynamic hosts (#1664)

* feat: 🎸 Add support to display external name for dynamic hosts

✅ Closes: ICU-8795

* test(admin/e2e): Add create target with address test (#1667)

* chore: 🤖 update design system package (#1668)

* test(admin/e2e): Define expected private key for vault credential store test (#1671)

* test: 💍 (admin-e2e): Add test to create different credentials (#1670)

* chore: 🤖 add json5 to resolutions per dependabot alerts (#1672)

* chore: 🤖 add json5 to resolutions per dependabot alerts

* fix: 🐛 remove unecessary resolutions

* chore: 🤖 upgrade @storybook/ember-cli-storybook to 0.6.0 (#1669)

* chore: 🤖 update @storybook/ember-cli-storybook to 0.6.0

✅ Closes: ICU-6588

* chore: 🤖 remove css-what from resolutions

* refactor: 💡 update selector for delete storage bucket test

* chore: 🤖 fix yarn.lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: github-team-secure-boundary <hc-github-team-secure-boundary@hashicorp.com>
Co-authored-by: hc-github-team-secure-boundary <82989682+hc-github-team-secure-boundary@users.noreply.github.com>
Co-authored-by: Stan Ryzhov <60649800+stasryzhov@users.noreply.github.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-04-25 16:22:12 -05:00
hc-github-team-secure-boundary 4e874419ef Merge pull request #218 from hashicorp/oss/merge-main-61269f901a3979c6b6db68557dfb0f8dee55c30b
[main] OSS to ENT merge of (61269f9)
2023-04-24 10:24:21 -07:00
Cameron Perera 1717968e59 Icu 9020 move connection channel sorting to model (#217)
* test: 💍 add tests for sorted connection and channels

* feat: 🎸 Add sorted property for connections and channels

✅ Closes: ICU-9020
2023-04-24 12:10:17 -05:00
github-team-secure-boundary cd4ede8f7c Merge Boundary UI OSS branch 'main' at commit 61269f901 2023-04-24 17:05:47 +00:00
lisbet-alvarez 61269f901a chore: 🤖 upgrade @storybook/ember-cli-storybook to 0.6.0 (#1669)
* chore: 🤖 update @storybook/ember-cli-storybook to 0.6.0

✅ Closes: ICU-6588

* chore: 🤖 remove css-what from resolutions
2023-04-24 10:05:15 -07:00
Zhihe Li 05830925d5 fix: 🐛 Fix scope model in nested users/targets (#214) 2023-04-24 12:07:23 -04:00
Carlos Alcaide Corvo df0cea890d refactor: 💡 Refactor Start date format within session-recording (#209)
* refactor: 💡 Refactor Start date format within session-recording
2023-04-24 08:37:09 -07:00
Carlos Alcaide CorvoandCameron Perera db408a9acd feat: 🎸 Add related info to session recording and player (#195)
* feat: 🎸 Add related info to session recording and player

---------

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-04-24 08:17:27 -07:00
Cameron Perera 87aea507f8 refactor: 💡 enable permission for listing session recordings (#215)
✅ Closes: ICU-9003
2023-04-21 16:39:13 -05:00
Cameron Perera 2de336186c refactor: 💡 Update session recording route model signature (#216) 2023-04-21 16:24:26 -05:00
Cameron Perera ebe504ff6a feat: 🎸 sort Connections and Channels by start_time (#213)
✅ Closes: ICU-8962
2023-04-21 12:20:25 -05:00
hc-github-team-secure-boundary 16b0e60488 Merge pull request #212 from hashicorp/oss/merge-main-6cb9c2ab1beb2366daa36b4a21471ebdd00e6087
[main] OSS to ENT merge of (6cb9c2a)
2023-04-20 15:54:39 -07:00
github-team-secure-boundary cabb88030e Merge Boundary UI OSS branch 'main' at commit 6cb9c2ab1 2023-04-20 22:38:20 +00:00
lisbet-alvarez 6cb9c2ab1b chore: 🤖 add json5 to resolutions per dependabot alerts (#1672)
* chore: 🤖 add json5 to resolutions per dependabot alerts

* fix: 🐛 remove unecessary resolutions
2023-04-20 15:37:45 -07:00
hc-github-team-secure-boundary 22992f126f Merge pull request #211 from hashicorp/oss/merge-main-3ea8ade8289807090f7776f3390e943b30e4d7ae
[main] OSS to ENT merge of (3ea8ade)
2023-04-20 12:01:01 -07:00
github-team-secure-boundary b7ae805180 Merge Boundary UI OSS branch 'main' at commit 3ea8ade82 2023-04-20 18:07:49 +00:00
Stan Ryzhov 3ea8ade828 test: 💍 (admin-e2e): Add test to create different credentials (#1670) 2023-04-20 14:07:20 -04:00
Carlos Alcaide Corvo f1fde7f2a4 fix: 🐛 Fix channel information (#210)
Fix Channel information, before we were using session-recording (wrong)
now we are using the channel-recording
2023-04-20 10:38:33 -07:00
Randall MoreyandDharini Jeeva c11aa3d4f2 refactor: 💡 loading of buckets in recordings routes could fail (#208)
* refactor: 💡 loading of buckets in recordings routes could fail

* Update ui/admin/app/controllers/scopes/scope/session-recordings/index.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* Update ui/admin/app/controllers/scopes/scope/session-recordings/index.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-04-19 14:06:18 -07:00
Zhihe Li 26d676f134 fix: 🐛 Fix deleted resources existing on session recordings (#205) 2023-04-19 15:51:56 -04:00
Cameron Perera 85651d4776 refactor: 💡 sort connection_recordings by start_time (#207)
* refactor: 💡 sort connection_recordings by start_time

✅ Closes: ICU-8961

* refactor: 💡 remove ember array cast for connection_recordings

* refactor: 💡 let to const
2023-04-19 13:46:23 -05:00
Zhihe Li 4c9811739c refactor: 💡 Update list session recording API (#203)
* refactor: 💡 Update list session recording API
2023-04-19 12:34:31 -04:00
hc-github-team-secure-boundary eabdd07d25 Merge pull request #206 from hashicorp/oss/merge-main-1c392f72b9a588bc6ba14449a90b73a9da4e8644
[main] OSS to ENT merge of (1c392f7)
2023-04-19 08:23:16 -07:00
github-team-secure-boundary e69e82f9a8 Merge Boundary UI OSS branch 'main' at commit 1c392f72b 2023-04-19 15:09:50 +00:00
Stan Ryzhov 1c392f72b9 test(admin/e2e): Define expected private key for vault credential store test (#1671) 2023-04-19 11:09:14 -04:00
hc-github-team-secure-boundary b1c727c8ca Merge pull request #204 from hashicorp/oss/merge-main-ec0b610f8bbe83c978938fb6efcf60cf8a5d3607
[main] OSS to ENT merge of (ec0b610)
2023-04-18 15:32:20 -07:00
github-team-secure-boundary b01e12d543 Merge Boundary UI OSS branch 'main' at commit ec0b610f8 2023-04-18 21:41:52 +00:00
Dharini Jeeva ec0b610f8b chore: 🤖 update design system package (#1668) 2023-04-18 14:41:18 -07:00
Carlos Alcaide Corvo 61a3e17c5e fix: 🐛 Use channel recording information (#202)
Use channel recording information instead of session recording when on
channel screen
2023-04-18 13:00:18 -07:00
Carlos Alcaide Corvo 40cddd829e refactor: 💡 Refactor link list panel (#199)
* refactor: 💡 Refactor link list panel
2023-04-18 10:58:04 -07:00
Cameron Perera a48fd5d9f4 refactor: 💡 remove Type column from channel table (#201)
* refactor: 💡 remove Type column from channel table

✅ Closes: ICU-8772

* refactor: 💡 remove Type reference from Channel details sidebar

* refactor: 💡 remove unused Type translation
2023-04-18 12:30:37 -05:00
Cameron Perera ceefb0b31c refactor: 💡 update start prompt styles to display none (#200) 2023-04-18 10:54:01 -05:00
Cameron Perera c05e7002d8 refactor: 💡 Update Asciinema player control bar styles (#197)
* refactor: 💡 Update Asciinema player control bar styles

✅ Closes: ICU-8416

* refactor: 💡 remove rem from bottom set to 0 (zero)

* style: 💄 fix stylesheet linter issues
2023-04-17 17:48:41 -05:00
hc-github-team-secure-boundary bd9ddac64b Merge pull request #198 from hashicorp/oss/merge-main-9795353545dd7491c14014519af11fba8afee967
[main] OSS to ENT merge of (9795353)
2023-04-17 13:29:42 -07:00
github-team-secure-boundary 0bf11a611d Merge Boundary UI OSS branch 'main' at commit 979535354 2023-04-17 20:15:37 +00:00
Stan Ryzhov 9795353545 test(admin/e2e): Add create target with address test (#1667) 2023-04-17 16:14:59 -04:00
Carlos Alcaide Corvo afd89bddb3 feat: 🎸 Add MetadataList component (#193)
Add MetadataList component and use of it within session-recordings

✅ Closes: ICU-8232
2023-04-17 12:49:08 -07:00
hc-github-team-secure-boundary 07d679ba3b Merge pull request #196 from hashicorp/oss/merge-main-054881dc4ee26f9dc13bc7a977bad0cce272ce24
[main] OSS to ENT merge of (054881d)
2023-04-17 10:35:10 -07:00
github-team-secure-boundary 51925b9947 Merge Boundary UI OSS branch 'main' at commit 054881dc4 2023-04-17 17:23:04 +00:00
Zhihe Li 054881dc4e feat: 🎸 Add support to display external name for dynamic hosts (#1664)
* feat: 🎸 Add support to display external name for dynamic hosts

✅ Closes: ICU-8795
2023-04-17 13:22:32 -04:00
hc-github-team-secure-boundary bc8d69cdf1 Merge pull request #194 from hashicorp/oss/merge-main-a4395b85a687af0bdbb215189fd55cd749ab8275
[main] OSS to ENT merge of (a4395b8)
2023-04-17 09:04:10 -07:00
github-team-secure-boundary 0773358abd Merge Boundary UI OSS branch 'main' at commit a4395b85a 2023-04-17 15:44:17 +00:00
Carlos Alcaide Corvo a4395b85a6 chore: 🤖 Update electron-forge/* packages (#1666)
Update electron-forge/* packages
2023-04-17 08:43:39 -07:00
Dharini Jeeva 09796ac8a3 target session recording enablement acceptance test (#192)
* test: 💍 target session recording enablement tests
2023-04-07 11:56:28 -07:00
lisbet-alvarez c91a33a796 feat: 🎸 delete action for storage bucket (#191)
* feat: 🎸 delete action for storage bucket

✅ Closes: ICU-8229
2023-04-07 10:44:48 -07:00
lisbet-alvarez 33af4cd7ea Icu 8801 update settings icon to link in target edit screen (#188)
* refactor: 💡 update settings icon to link in target edit screen

* style: 💄 whitespace

✅ Closes: ICU-8801

* test: 💍 remove unnecessary a11yAudit() check

* test: 💍 fix test

* refactor: 💡 fix translation

* refactor: 💡 settings link shouldn't be visible under button
2023-04-06 10:45:19 -07:00
hc-github-team-secure-boundary a4a97bc9e6 Merge pull request #190 from hashicorp/oss/merge-main-509925ff10a5176f9fdd08de6ce12d23390d5a93
[main] OSS to ENT merge of (509925f)
2023-04-06 12:47:26 -04:00
github-team-secure-boundary 149ad02fa4 Merge Boundary UI OSS branch 'main' at commit 509925ff1 2023-04-06 16:29:52 +00:00
dependabot[bot] 509925ff10 chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#1665)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 09:29:17 -07:00
hc-github-team-secure-boundary d9b585040b Merge pull request #189 from hashicorp/oss/merge-main-d5c8389ae28ed7ece7e749622cf917f295d24a90
[main] OSS to ENT merge of (d5c8389)
2023-04-05 21:22:35 -04:00
github-team-secure-boundary 8c580666f2 Merge Boundary UI OSS branch 'main' at commit d5c8389ae 2023-04-06 01:04:43 +00:00
Carlos Alcaide Corvo d5c8389ae2 Resolutions audit: Delete 3 oldest resolutions (#1663)
* Delete bl from resolutions

* Delete tough-cookie from resolutions

* Delete npm from resolutions
2023-04-05 18:04:14 -07:00
Randall Morey affcb420c7 chore: 🤖 add session-recording to licensedFeatures (#185) 2023-04-05 16:55:08 -07:00
lisbet-alvarezandZhihe Li 6a48c31d83 feat: 🎸 add storage bucket card on ssh target (#163)
* feat: 🎸 storage bucket card on ssh target

✅ Closes: ICU-8631

* Update ui/admin/app/routes/scopes/scope/targets/target/index.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-04-05 10:49:15 -07:00
Cameron Perera 9fc4be7b61 refactor: 💡 fix active link style issue with SR Player (#183)
* refactor: 💡 fix active link style issue with SR Player

✅ Closes: ICU-8774

* refactor: 💡 update player hds link to hds button and styles

* refactor: 💡 add translation for "Back to channels" text

* test: 💍 add Intl setup hook to player test
2023-04-05 10:02:19 -05:00
Dharini Jeeva 2c93c378c4 Fix feature flag session recording target (#187)
* chore: 🤖 wrap target session recording with feature flag

* fix: 🐛 test

* fix: 🐛 test

* fix: 🐛 use ember truth helper
2023-04-04 12:20:45 -07:00
Dharini Jeeva 639d57f927 Icu 8704 enable session recording route model hook (#180)
* feat: 🎸 target session recording toggle
2023-04-04 11:01:00 -07:00
Dharini JeevaandZhihe Li dc479d45b2 chore: 🤖 yarn lock up to date (#184)
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-04-04 09:44:25 -07:00
Cameron Perera cdaab19d1f test: 💍 fix flaky session-recording player render test (#186) 2023-04-04 11:10:28 -05:00
2a9c4507d2 Main to session recording (#178)
* fix: 🐛 add model hook to host route for dynamic host catalogs (#1659)

* fix: 🐛 add model hook to host route for dynamic host catalogs

✅ Closes: ICU-8594

* refactor: 💡 remove page formatting for host route

* [COMPLIANCE] Add Copyright and License Headers (#1660)

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>

* chore(deps-dev): bump webpack from 5.59.1 to 5.76.0 (#1654)

Bumps [webpack](https://github.com/webpack/webpack) from 5.59.1 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.59.1...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>

* 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>

* chore: 🤖 yarn.lock update

* fix: 🐛 fix test features

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: github-team-secure-boundary <hc-github-team-secure-boundary@hashicorp.com>
Co-authored-by: hc-github-team-secure-boundary <82989682+hc-github-team-secure-boundary@users.noreply.github.com>
2023-04-03 20:28:31 -07:00
lisbet-alvarez 7080b07ab3 Link list panel component (#182)
* chore: 🤖 update parent branch

* chore: 🤖 fix merge conflict

* chore: 🤖 merge conflict

* refactor: 💡 merge conflict

* chore: 🤖 update branch

* fix: 🐛 translation

* refactor: 💡 use <ul> & <li> and make entire row a link
2023-04-03 18:12:44 -07:00
hc-github-team-secure-boundary dd42866111 Merge pull request #181 from hashicorp/oss/merge-main-9fa816757b1d5de9c3d113706ae3ff1eaebfb3f8
[main] OSS to ENT merge of (9fa8167)
2023-04-03 10:45:09 -07:00
github-team-secure-boundary cbd866999a Merge Boundary UI OSS branch 'main' at commit 9fa816757 2023-04-03 17:34:14 +00:00
Carlos Alcaide Corvo 9fa816757b fix: 🐛 Fix missing translation (#1662)
Fix missing translation on the toggle color theme selector
2023-04-03 10:33:40 -07:00
Zhihe Li 811025bccb refactor: 💡 Remove session recording type check and update name (#179) 2023-04-03 11:56:05 -04:00
hc-github-team-secure-boundary b977c27280 Merge pull request #176 from hashicorp/oss/merge-main-7350c0e08c4c53464166c537534864a0629b1875
[main] OSS to ENT merge of (7350c0e)
2023-03-31 19:39:15 -07:00
github-team-secure-boundary b91c706948 Merge Boundary UI OSS branch 'main' at commit 7350c0e08 2023-04-01 02:21:13 +00:00
Randall MoreyandZhihe 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
ee1cd4100c chore(deps-dev): bump webpack from 5.59.1 to 5.76.0 (#1654)
Bumps [webpack](https://github.com/webpack/webpack) from 5.59.1 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.59.1...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-03-31 15:12:07 -07:00
Zhihe Li 62ec3fe914 refactor: 💡 Add channel ability for asciicasts (#174) 2023-03-31 21:19:46 +00:00
Carlos Alcaide Corvo 3bf2620b2c Feat get asciicast from model (#175)
* Get the asciicast from the model
2023-03-31 13:55:58 -07:00
Cameron Perera 8c01ec2f20 feat: 🎸 update player to allow routing to provided route (#173)
✅ Closes: ICU-8381
2023-03-31 14:10:36 -05:00
Dharini Jeeva 02d8b7e77c fix: 🐛 target enable session recording (#172)
* fix: 🐛 target enable session recording save

* fix: 🐛 remove from adapter
2023-03-31 10:14:19 -07:00
Carlos Alcaide Corvo e4944fac89 feat: 🎸 Add related channel information (#162)
* feat: 🎸 Add related channel information
2023-03-30 18:31:30 -07:00
Carlos Alcaide Corvo b9fea822d0 Feat - ICU 8234 helper format-bytes-size (#170)
* feat: 🎸 Add format-bytes-size helper
2023-03-30 17:00:02 -07:00
Cameron Perera 0349b4c804 feat: 🎸 add View text to session recording list item button (#171) 2023-03-30 15:02:00 -05:00
Cameron Perera 7faab01452 refactor: 💡 add permission to read a session recording (#167)
* refactor: 💡 add permission to read a session recording

* test: 💍 remove a11yAudit from test temporarily

* refactor: 💡 add aria-label to fix allyAudit violation (#168)

* refactor: 💡 add aria-label to fix allyAudit violation

* refactor: 💡 update standalone link to icon only button
2023-03-30 11:11:40 -05:00
Devon AndersonandZhihe Li ae66e68bad chore: 🤖 add related test for target sidebar (#166)
* chore: 🤖 add related test for target sidebar

Add related acceptance test for `session-recording` sidebar integration
into `target` form.

✅ Closes: ICU-8590

* Update read-test.js

* refactor: 💡 fix test

Fix failing test for sidebar component.

* Update ui/admin/tests/acceptance/targets/read-test.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update ui/admin/tests/acceptance/targets/read-test.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-30 08:29:52 -04:00
Devon Anderson 60de33598a feat: 🎸 create enable-session-recording view (#165)
* feat: 🎸 create enable-session-recording view

Create `enable-session-recording` ui view.

✅ Closes: ICU-8592

* refactor: 💡 refactor scss for enable-session-recording

Refactor scss to use `rem` instead of Rose mixins for sizing.

✅ Closes: ICU-8592

* refactor: 💡 removed integration test

Removed integration test for `form/enable-session-recording`. User
testing will come from targets acceptance test.

✅ Closes: ICU-8592
2023-03-29 15:45:40 -04:00
Cameron Perera 63c573964f feat: 🎸 add permissions check for session recording navigation (#164) 2023-03-29 12:30:05 -05:00
Zhihe Li 3693ee88c0 refactor: 💡 Change bytes to be strings (#161) 2023-03-28 16:20:40 -04:00
Cameron PereraandRandall Morey 179cc1d0e2 refactor: 💡 show "Storage Bucket" on session recording screen (#160)
* refactor: 💡 show "Storage Bucket" on session recording screen

if no storage bucket found

* Update ui/admin/app/templates/scopes/scope/session-recordings/session-recording/index.hbs

Co-authored-by: Randall Morey <randall@randallmorey.com>

* refactor: 💡 fix lint issue

---------

Co-authored-by: Randall Morey <randall@randallmorey.com>
2023-03-28 14:22:12 -05:00
hashicorp-copywrite[bot]andCarlos Alcaide Corvo f17b7d54d8 [COMPLIANCE] Add Copyright and License Headers (#1660)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2023-03-28 12:50:34 -05:00
lisbet-alvarez 087898c15a fix: 🐛 add model hook to host route for dynamic host catalogs (#1659)
* fix: 🐛 add model hook to host route for dynamic host catalogs

✅ Closes: ICU-8594

* refactor: 💡 remove page formatting for host route
2023-03-28 10:14:31 -07:00
Carlos Alcaide Corvo 502f04d02a refactor: 💡 Add Project name to session-recordings list (#152)
* refactor: 💡 Add Project name to session-recordings list
2023-03-28 09:48:22 -07:00
Cameron Perera 992be8c4fb feat: 🎸 add sidebar data for session recording screen (#158)
* feat: 🎸 add sidebar data for session recording screen

✅ Closes: ICU-8610

* refactor: 💡 add logic for no storage bucket linked to target

* refactor: 💡 update comments
2023-03-28 11:25:50 -05:00
Zhihe Li 1f581fcc75 chore: 🤖 Remove type on channel recordings (#155) 2023-03-28 16:08:15 +00:00
lisbet-alvarezandZhihe Li b3dc1f236d refactor: 💡 use secret input component for secret access key (#156)
* refactor: 💡 use secret input component for secret access key

use new component and update test files

✅ Closes: ICU-8645

* Update ui/admin/app/components/form/storage-bucket/index.hbs

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 revise translation wording

* style: 💄 fix linting space issue

* refactor: 💡 only rollback changes for specific attribute

* style: 💄 change button text color in dark mode for a11yAudit

* refactor: 💡 add function to cancel changes to secrets

* Update ui/admin/app/components/form/storage-bucket/index.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-28 15:46:25 +00:00
Zhihe Li 2f5da06eec fix: 🐛 Fix targets sometimes not having a storage bucket id (#159) 2023-03-28 11:12:58 -04:00
Dharini Jeeva 971ab2be61 feat: 🎸 target session recording configure on edit mode (#144)
* feat: 🎸 target session recording sidebar
2023-03-27 13:38:32 -07:00
Zhihe Li f0e1101479 feat: 🎸 Add abilities to target for storage buckets (#148)
✅ Closes: ICU-8081
2023-03-27 18:46:34 +00:00
Cameron Perera 983eee2742 feat: 🎸 move channel info to HDS table (#154)
* feat: 🎸 move channel info to HDS table

✅ Closes: ICU-8609

* refactor: 💡 change standalone link to hds.button

* refactor: 💡 use hds typography tokens for table titles
2023-03-27 11:43:05 -05:00
Zhihe Li 97588e88c7 refactor: 💡 Update mirage data (#157) 2023-03-27 15:11:38 +00:00
Carlos Alcaide Corvo 304b76cb69 fix: 🐛 Fix breadcrumb and field name (#153)
Fix breadcrumb and field name
2023-03-24 16:27:21 -07:00
Carlos Alcaide Corvo 20ef3a3b9e feat: 🎸 Add Channel data from mirage (#151)
* feat: 🎸 Add Channel data from mirage

✅ Closes: ICU-8635
2023-03-24 10:28:29 -07:00
Zhihe Li 581d49ab76 refactor: 💡 Update storage bucket route to use recursive (#150) 2023-03-24 11:51:55 -04:00
Devon AndersonandZhihe Li 85f2561a72 Icu 8559 use secret input component for access key (#146)
* feat: 🎸 create edit storage-bucket view

Create edit storage bucket view for single storage bucket

✅ Closes: ICU-8240

* Update ui/admin/tests/acceptance/storage-buckets/update-test.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update ui/admin/tests/acceptance/storage-buckets/update-test.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 merge upstream

merge upstream

✅ Closes: ICU-8240

* feat: 🎸 implement secret-input component

Implement `secret-input` component for `access_key_id` field in the
`storage-bucket` new and edit forms.

✅ Closes: ICU-8559

* refactor: 💡 refactored storage-bucket form

We will still conditionally render regular `Hds::Form::TextInput::Field`
for new `storage-bucket` and render `Form::Field::SecretInput` for
detail view and edit view.

✅ Closes: ICU-8559

* refactor: 💡 fixed failing test for storage bucket from

Fixed failing test for edit button now that secret-input has been
implemented

✅ Closes: ICU-8559

* Update ui/admin/app/components/form/storage-bucket/index.hbs

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update index.js

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-24 11:17:06 -04:00
Zhihe Li e460a5e429 chore: 🤖 Update models to new field names (#149) 2023-03-24 10:52:55 -04:00
Cameron Perera b5045f1851 feat: 🎸 add empty state views for session recordings screen (#145)
* chore: 🤖 rebase session-recording

* refactor: 💡 update calls to fetch recordings and buckets
2023-03-23 15:55:10 -05:00
Zhihe Li d503b614bc refactor: 💡 Fix mirage data (#147) 2023-03-23 16:18:45 -04:00
Devon AndersonandZhihe Li 458fd167e3 feat: 🎸 create edit storage-bucket view (#137)
* feat: 🎸 create edit storage-bucket view

Create edit storage bucket view for single storage bucket

✅ Closes: ICU-8240

* Update ui/admin/tests/acceptance/storage-buckets/update-test.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update ui/admin/tests/acceptance/storage-buckets/update-test.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 merge upstream

merge upstream

✅ Closes: ICU-8240

* Update update-test.js

removed unneeded await on assertion

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-23 12:33:31 -04:00
Zhihe Li 456a5944e0 feat: 🎸 Add mirage data for storage bucket id on targets (#141)
✅ Closes: ICU-8080
2023-03-23 12:09:39 -04:00
Dharini Jeeva a51a74875d Merge pull request #143 from hashicorp/add-feature-flag
chore: 🤖 add session-recording flag to updated configs
2023-03-23 21:15:48 +05:30
dharini b74c4ae03d chore: 🤖 add session-recording flag to updated configs 2023-03-23 11:44:57 +05:30
Dharini Jeeva ea5a8c1edc Merge pull request #132 from hashicorp/ICU-8523-create-secret-input-form-field
Icu 8523 create secret input form field
2023-03-23 11:08:02 +05:30
dharini e5b09c415f fix: 🐛 translation 2023-03-23 10:45:28 +05:30
dharini b8c38dd0b3 chore: 🤖 var names 2023-03-23 10:28:16 +05:30
Randall Morey 3f526d2770 Merge branch 'main' into session-recording 2023-03-22 17:20:53 -07:00
Carlos Alcaide Corvo a81540fae8 Merge pull request #139 from hashicorp/feat-add-breadcrumbs-session-recordings
Feat add breadcrumbs session recordings
2023-03-22 15:41:47 -07:00
Carlos Alcaide ca5b9f1d24 Add channels-by-connection to the breadcrumbs 2023-03-22 15:25:46 -07:00
Cameron Perera 84de198359 refactor: 💡 update player header styles (#136) 2023-03-22 17:07:46 -05:00
lisbet-alvarez c144275358 chore: 🤖 add new route enable session recording (#140)
✅ Closes: ICU-8542
2023-03-22 14:48:44 -07:00
Carlos Alcaide 9bf03b0fba Add acceptance test for session-recordings/session-recording/channels-by-connection/channel 2023-03-22 08:15:59 -07:00
Zhihe Li 31b0a57639 feat: 🎸 Add new target field for storage bucket (#133)
✅ Closes: ICU-8077
2023-03-22 10:52:33 -04:00
dharini fcc156a194 chore: 🤖 move component invocation to a separate PR 2023-03-22 16:52:58 +05:30
dharini 3f86f45869 fix: 🐛 undo change 2023-03-22 16:42:58 +05:30
dharini b33efbd5c3 chore: 🤖 style updates, incl var arg to make it read-write 2023-03-22 16:34:31 +05:30
Carlos Alcaide db2d26df9a Add acceptance test for session-recordings/session-recording controller 2023-03-21 17:35:43 -07:00
hc-github-team-secure-boundary e94a7370d4 Merge pull request #138 from hashicorp/oss/merge-main-ee2fa6df7d1eb70fa2f856750387d743500c4eae
[main] OSS to ENT merge of (ee2fa6d)
2023-03-21 18:54:27 -04:00
github-team-secure-boundary 1b2213ebc8 Merge Boundary UI OSS branch 'main' at commit ee2fa6df7 2023-03-21 22:41:59 +00:00
Randall Morey ee2fa6df7d refactor: 💡 remove explicit byow-pki-upstream, as it is default (#1658)
* refactor: 💡 consolidate ssh features into ssh-target flag

✅ Closes: ICU-8383

* refactor: 💡 factor out base edition

* feat: 🎸 dynamic feature edition enablement and toggling

* refactor: 💡 remove explicit byow-pki-upstream, as it is default

✅ Closes: ICU-8551

* refactor: 💡 extract feature flag config into separate file
2023-03-21 15:41:27 -07:00
Carlos Alcaide 2e06d01c39 Add breacrumbs for session-recording/channel-by-connection/channel 2023-03-21 13:20:13 -07:00
Carlos Alcaide 48031cca64 Add breadcrumbs to session-recording 2023-03-21 13:07:39 -07:00
Zhihe Li 1e7268ff54 feat: 🎸 Add mirage data for ascii casts and use fetch (#129)
* feat: 🎸 Add mirage data for ascii casts and use fetch

✅ Closes: ICU-8189
2023-03-21 15:52:58 -04:00
Carlos Alcaide Corvo 06af1a9fc4 Merge pull request #134 from hashicorp/feat-ICU-8419-session-recordings-list
feat: 🎸 Session recordings list
2023-03-21 10:59:20 -07:00
Carlos Alcaide a364407b27 Typo 2023-03-21 10:43:18 -07:00
lisbet-alvarez 638fc9afdf test: 💍 acceptance tests for creation of a storage bucket (#131)
* test: 💍 create acceptance tests for storage buckets

✅ Closes: ICU-8239
2023-03-21 10:42:38 -07:00
Carlos Alcaide 774d9a8bff Add acceptance test 2023-03-21 10:38:19 -07:00
Zhihe Li 3d6d474bd7 refactor: 💡 Return all storage buckets from mirage (#135) 2023-03-21 12:53:05 -04:00
dharini 96b2bcd6ff fix: 🐛 style, remove comment 2023-03-21 14:42:54 +05:30
Carlos Alcaide 0d47a37cdf Add breadcrumbs 2023-03-20 14:20:11 -07:00
Carlos Alcaide c08c9cc50d Change typographies within table 2023-03-20 14:13:46 -07:00
Carlos Alcaide 57d31d4ccf feat: 🎸 Session recordings list
Add session recordings list

✅ Closes: ICU-8419
2023-03-20 13:27:24 -07:00
dharini 5984a60ae1 chore: 🤖 scss lint 2023-03-20 23:36:27 +05:30
Zhihe Li a829727b1b Feat/update models (#128)
* feat: 🎸 Add mime types field

* feat: 🎸 Add duration field to models
2023-03-20 14:06:15 -04:00
dharini 2beb7ec4e3 chore: 🤖 undo 2023-03-20 23:15:16 +05:30
dharini 78497a87ea chore: 🤖 style 2023-03-20 23:14:03 +05:30
dharini a67093efdd feat: 🎸 secret input field 2023-03-20 22:48:37 +05:30
hc-github-team-secure-boundary 03ec3856aa Merge pull request #130 from hashicorp/oss/merge-main-acd719140dcb4aac4700316c6267bdc1961c39bc
[main] OSS to ENT merge of (acd7191)
2023-03-17 17:47:59 -04:00
github-team-secure-boundary 0cc5d9b7ec Merge Boundary UI OSS branch 'main' at commit acd719140 2023-03-17 21:35:14 +00:00
Randall Morey acd719140d Refactor edition enablement (#1657)
* refactor: 💡 consolidate ssh features into ssh-target flag

✅ Closes: ICU-8383

* refactor: 💡 factor out base edition

* feat: 🎸 dynamic feature edition enablement and toggling
2023-03-17 14:34:37 -07:00
lisbet-alvarez c81e3357d7 feat: 🎸 create form component for storage bucket (#118)
* feat: 🎸 create form component for storage bucket

✅ Closes: ICU-8235
2023-03-17 08:31:51 -07:00
lisbet-alvarez 2c97809730 test: 💍 add related acceptance tests (#122)
* test: 💍 modify acceptance tests for listing a bucket

✅ Closes: ICU-8230
2023-03-17 08:05:59 -07:00
Carlos Alcaide Corvo 8df181e00d Merge pull request #127 from hashicorp/refactor-use-new-session-recording-route
refactor: 💡 Stop using recording store to use session-recording
2023-03-16 14:42:39 -07:00
Zhihe Li 39d43daf7a Icu 8190 ember data recording asciicast (#124)
* feat: 🎸 Add asciicast getter and adapter

✅ Closes: ICU-8190
2023-03-16 15:25:16 -04:00
Carlos Alcaide c6bcfd32d5 refactor: 💡 Stop using recording store to use session-recording 2023-03-16 11:46:11 -07:00
Zhihe Li d08ce29e5a Chore/update model names (#125)
* chore: 🤖 Rename recording to session-recording

* chore: 🤖 Update names for connection models

* chore: 🤖 Update channel models to new name

* chore: 🤖 Update remaining models after merge conflict
2023-03-16 13:49:04 -04:00
Carlos Alcaide Corvo 24f50b3e2d Merge pull request #121 from hashicorp/feat-use-mirage-for-recordings-navigation
feat: 🎸 Use mirage data for simple navigation
2023-03-16 09:44:33 -07:00
Carlos Alcaide f2cd8ec742 Merge remote-tracking branch 'origin/session-recording' into feat-use-mirage-for-recordings-navigation 2023-03-16 09:12:20 -07:00
Zhihe Li 962b0d31ea Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-03-16 10:51:47 -04:00
hc-github-team-secure-boundary 4d2dc80044 Merge pull request #126 from hashicorp/oss/merge-main-bd6eee8eb38dad24018f58648883b0fbd1c73c33
[main] OSS to ENT merge of (bd6eee8)
2023-03-16 10:38:16 -04:00
github-team-secure-boundary 543b8bf5ae Merge Boundary UI OSS branch 'main' at commit bd6eee8eb 2023-03-16 14:20:08 +00:00
Devon Anderson bd6eee8eb3 refactor: 💡 refactored dark-mode styling for HDS (#1655)
Refactored boundary custom colors to be included in root instead of
unused mixin.
2023-03-16 10:19:20 -04:00
Carlos Alcaide Corvo 45a60dc5c4 Merge pull request #119 from hashicorp/feat-ICU-8233-format-time-duration
feat: 🎸 Add format-time-duration helper
2023-03-15 16:40:34 -07:00
Zhihe Li bf2029eb54 feat: 🎸 Add abilities for session recordings (#120)
* feat: 🎸 Add abilities for session recordings

✅ Closes: ICU-8079
2023-03-15 15:45:51 -04:00
Zhihe Li 5992829fa2 feat: 🎸 Add serializer and adapter for storage bucket (#117)
* feat: 🎸 Add serializer and adapter for storage bucket

✅ Closes: ICU-8358
2023-03-15 15:18:02 -04:00
Devon Anderson a28e7810e7 feat: 🎸 add edit functionality to list item for storage bucket (#116)
* feat: 🎸 add edit functionality to list item for storage bucket

Add edit option which navigates to the storage bucket details view.

✅ Closes: ICU-8228

* refactor: 💡 refactor styling for dropdown

Pushed some override stylings into `overrides.scss` in addon styles.

✅ Closes: ICU-8228

* refactor: 💡 commit to validate not box-shadow withouth override

This is just a commit to show a vercel view of dropdown without
overrides.

✅ Closes: ICU-8228

* refactor: 💡 refactor hds themes

Added `light-mode` mixin to the `.ember-application.rose-theme-light`
selector to fix missing `box-shadow` colors.

✅ Closes: ICU-8228
2023-03-15 12:23:14 -04:00
Carlos Alcaide 826a565a81 feat: 🎸 Use mirage data for simple navigation
Use provided mirage data for simple navigation from the list of session
recordings to a detailed channel within a connection
2023-03-14 14:37:41 -07:00
Carlos Alcaide e0a595c9ec Update test with new format 2023-03-14 12:41:43 -07:00
Carlos Alcaide 7782739d2d Change durationUnitFormat style from short to narrow 2023-03-14 12:28:54 -07:00
Carlos Alcaide 59850651b8 feat: 🎸 Add format-time-duration helper
Add format-time-duration helper to provide human-readable duration
string

✅ Closes: ICU-8233
2023-03-14 09:56:47 -07:00
Zhihe Li ce83346461 Icu 8073 mirage recording connection channel (#109)
* feat: 🎸 Add mirage data for recordings, connections, channels

✅ Closes: ICU-8073
2023-03-10 14:20:58 -05:00
lisbet-alvarezandZhihe Li 7af4625457 Icu 8226 create an empty screen when there are no storage buckets (#114)
* feat: 🎸 add new link to create storage bucket

✅ Closes: ICU-8225

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-03-10 11:03:29 -08:00
f65bf21a33 Icu 8227 display storage buckets (#113)
* create list UI for storage-buckets

* refactor: 💡 removed future code

Removed code that was used in testing

✅ Closes: ICU-8227

* Update app.scss

fixed lint

* Update ui/admin/app/templates/scopes/scope/storage-buckets/index.hbs

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update addons/core/translations/resources/en-us.yaml

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update ui/admin/app/templates/scopes/scope/storage-buckets/index.hbs

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update en-us.yaml

moving this into forms translation

* Update en-us.yaml

moving edit into `actions` translations for `storage-bucket` dropdown

* refactor: 💡 yaml cleanup

Refactored storage bucket list translations

✅ Closes: ICU-8227

* refactor: 💡 refactored storage-bucket list

Refactored `storage-bucket` list to have copyable id and removed
`border-collapse` from `reset.scss` that was causing `HDS::Table` not to
have rounded edges.

✅ Closes: ICU-8227

* Update ui/admin/app/routes/scopes/scope/storage-buckets.js

Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>

* refactor: 💡 quick refactor for scope.hbs

Refactored sidebar navigation for `storage-bucket` to include navigate
override ability for `storage-bucket`

✅ Closes: ICU-8227

* refactor: 💡 refactored hbs file for storage-bucket list

Removed unneeded storage bucket list wrapper div.

✅ Closes: ICU-8227

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2023-03-10 13:41:57 -05:00
Carlos Alcaide Corvo 9d8e2c94bb Merge pull request #115 from hashicorp/feat-add-side-bar-layout-to-channel-view
Feat add side bar layout to channel view
2023-03-09 12:41:39 -08:00
Carlos Alcaide 4bfb39dff8 Merge remote-tracking branch 'origin/session-recording' into feat-add-side-bar-layout-to-channel-view 2023-03-09 12:05:17 -08:00
Carlos Alcaide Corvo ff920229d0 Merge pull request #111 from hashicorp/ICU-8380-style-ember-asciinema-player-for-session-recording-player-component
refactor: 💡 style ember-asciinema-player
2023-03-09 12:02:50 -08:00
Carlos Alcaide 498091c550 Add Sidebar layout component within channel view 2023-03-09 11:58:26 -08:00
Carlos Alcaide 1ec6bd28f0 Fix lint issue 2023-03-09 11:45:28 -08:00
Carlos Alcaide 1d6b9275f0 Merge remote-tracking branch 'origin/session-recording' into ICU-8380-style-ember-asciinema-player-for-session-recording-player-component 2023-03-09 11:33:38 -08:00
Carlos Alcaide Corvo d2fd92affe Merge pull request #110 from hashicorp/feat-ICU-8145-component-sidebar
feat: 🎸 Add component sidebar in Admin UI
2023-03-09 11:30:06 -08:00
Carlos Alcaide 9f4e521534 Apply changes requested on PR 2023-03-09 09:34:16 -08:00
lisbet-alvarez 0aedfc1147 Icu 8225 create a new link to create storage bucket (#106)
* feat: 🎸 add new link to create storage bucket

✅ Closes: ICU-8225
2023-03-09 08:58:29 -08:00
lisbet-alvarez 4f0b3f71fd chore: 🤖 can abilities for storage bucket (#97)
* chore: 🤖 add can list, navigate, and create

✅ Closes: ICU-8244
2023-03-09 08:57:50 -08:00
Carlos Alcaide 6a5a27348b Change unit of measurement 2023-03-08 11:42:38 -08:00
Carlos Alcaide bd3cfab5fd Add media query to layour-sidebar, add grid gap and areas 2023-03-08 11:39:47 -08:00
Cameron Perera cb1524b6cc style: 💄 fix lint issues for player styles 2023-03-08 13:05:47 -06:00
Carlos Alcaide 634ec086f2 Delete sidebar inner styles 2023-03-08 11:05:35 -08:00
Cameron Perera 9e42712b9f refactor: 💡 style ember-asciinema-player
✅ Closes: ICU-8380
2023-03-08 12:30:58 -06:00
Carlos Alcaide 78392ff9b4 feat: 🎸 Add component sidebar in Admin UI
Add layout component sidebar in Admin UI and a view (Session recordings)
already using it

✅ Closes: ICU-8145
2023-03-08 10:02:42 -08:00
lisbet-alvarez 94c3027392 test: 💍 acceptance tests for navigation link (#102)
* test: 💍 acceptance tests for navigation link

✅ Closes: ICU-8224
2023-03-08 08:42:20 -08:00
Cameron Perera ef55d71a55 refactor: 💡 allow passthrough in mirage for asciicast data (#108) 2023-03-07 16:41:33 -06:00
Zhihe Li f878e3404e Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-03-07 17:29:37 -05:00
hc-github-team-secure-boundary 1a118c2589 Merge pull request #107 from hashicorp/oss/merge-main-3ba53dfc2e05ce4e02a27c99e67c8fbcb99ae24c
[main] OSS to ENT merge of (3ba53df)
2023-03-07 17:07:40 -05:00
github-team-secure-boundary 1cfe997ca9 Merge Boundary UI OSS branch 'main' at commit 3ba53dfc 2023-03-07 21:55:57 +00:00
Devon Anderson 3ba53dfc2e chore: 🤖 deprecate window object service (#1652)
* chore: 🤖 deprecate window object service

Deprecate `browser-object` service in favor of `ember-browser-services`

✅ Closes: ICU-7152

* refactor: 💡 cluster-url test fail

commit with cluster-url test failing

✅ Closes: ICU-7152

* refactor: 💡 refactor test to reflect changes

Refactor test to reflect `browser/window` service in `cluster-url` route

✅ Closes: ICU-7152

* refactor: 💡 refactor cluster url test

change logic of mockIPC to a function call

✅ Closes: ICU-7152
2023-03-07 16:55:24 -05:00
Zhihe Li b9cf61932b feat: 🎸 Add session recording models (#100)
* feat: 🎸 Add session recording models

✅ Closes: ICU-8075
2023-03-07 16:38:41 -05:00
Carlos Alcaide Corvo b91b7ef4bb Add navigation to Session Recordings (#105)
* Add navigation from Session recordings to session recording (detail)

* Add navigation from session recording (detail) to a specific channel detail

* Comment model code
2023-03-07 12:55:52 -06:00
Cameron Perera 449ea383c9 Icu 8329 create custom boundary wrapper for ember asciinema player (#103)
* refactor: 💡 fix broken page title translations

* feat: 🎸 create SessionRecording::Player component

✅ Closes: ICU-8329
2023-03-07 11:04:51 -06:00
Cameron Perera 1b5eb6c01f refactor: 💡 manually build ascii cast data for player (#104) 2023-03-07 11:04:33 -06:00
Carlos Alcaide Corvo 0c63951907 Merge pull request #99 from hashicorp/feat-ICU-8242-sidebar-navigation
feat: 🎸 Sidebar navigation to Session recordings
2023-03-06 09:30:54 -08:00
Carlos Alcaide a3502b489e feat: 🎸 Sidebar navigation to Session recordings 2023-03-03 13:16:27 -08:00
Carlos Alcaide Corvo 5d64460ca8 Merge pull request #98 from hashicorp/fix-outdated-yarn-lock
fix: 🐛 Outdated yarn.lock
2023-03-03 13:05:11 -08:00
lisbet-alvarez 6d6b4bee05 chore: 🤖 add storage bucket link on left sidebar (#94)
* chore: 🤖 update branch

* chore: 🤖 add storage bucket link to org scope as well

* refactor: 💡 remove link form org scope

✅ Closes: ICU-8222
2023-03-03 12:03:34 -08:00
Carlos Alcaide e735e6a487 fix: 🐛 Outdated yarn.lock 2023-03-03 10:57:15 -08:00
Zhihe Li cd30f4e5ce feat: 🎸 Add mirage data for storage buckets (#91)
* feat: 🎸 Add mirage data for storage buckets

✅ Closes: ICU-8074
2023-03-03 13:27:14 -05:00
Zhihe Li 4d62e67f2a feat: 🎸 Add storage bucket models (#85)
* feat: 🎸 Add storage bucket models

✅ Closes: ICU-8076
2023-03-03 12:56:28 -05:00
Devon Anderson c30bc3a554 chore: 🤖 create storage bucket route (#95)
* chore: 🤖 create storage bucket route

Create `storage-bucket` route and update `yaml` files

✅ Closes: ICU-8132

* refactor: 💡 removed future translations

Removed translations tha will be coming for new storage-bucket form.

✅ Closes: ICU-8217
2023-03-03 12:43:47 -05:00
Cameron Perera 75f0192540 Icu 8328 import ember asciinema player (#93)
* chore: 🤖 add @hashicorp/ember-asciinema-player to admin UI

✅ Closes: ICU-8328

* feat: 🎸 show ember-asciinema player in channels view

* chore: 🤖 remove @hashicorp/ember-asciinema-player as dependency

* chore: 🤖 fix ember-asciinema-player source URL for install

* chore: 🤖 update yarn.lock
2023-03-02 15:56:47 -06:00
Zhihe Li bf32231266 Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-03-02 14:28:15 -05:00
hc-github-team-secure-boundary b2b4de2633 Merge pull request #96 from hashicorp/oss/merge-main-0a761119441d26449fee25d08b476c0b54863471
[main] OSS to ENT merge of (0a76111)
2023-03-02 14:25:45 -05:00
github-team-secure-boundary 5f670ed46f Merge Boundary UI OSS branch 'main' at commit 0a761119 2023-03-02 19:08:22 +00:00
Carlos Alcaide Corvo 0a76111944 chore: 🤖 Upgrade Stylelint within desktop client (#1653)
Upgrade Stylelint within desktop client to be consistent with the same
version we use in Admin UI.

✅ Closes: ICU-3276
2023-03-02 11:07:41 -08:00
hc-github-team-secure-boundary c1eb2ea5e6 Merge pull request #92 from hashicorp/oss/merge-main-c7546af207e38f1223388f5c603f25476e64b368
[main] OSS to ENT merge of (c7546af)
2023-03-02 10:44:22 -05:00
github-team-secure-boundary 75a7eae35b Merge Boundary UI OSS branch 'main' at commit c7546af2 2023-03-02 15:26:14 +00:00
Zhihe Li c7546af207 fix: 🐛 Fix vault worker filter description (#1651)
✅ Closes: ICU-8192
2023-03-02 10:25:37 -05:00
Devon Anderson 32e7b45f4a refactor: 💡 revise storage buckets route (#86)
* refactor: 💡 revise storage buckets route

Move `storage-buckets` route outside of nested `session-recordings`

✅ Closes: ICU-8307

* Update en-us.yaml

removed unneeded resource

* Update en-us.yaml

* refactor: 💡 clean up translations

Cleaned up multiple readable strings in translations.

✅ Closes: ICU-8307
2023-03-02 10:08:13 -05:00
Cameron Perera c74d53931c feat: 🎸 create routes for session-recording and channels (#89)
* feat: 🎸 create routes for session-recording and channels

✅ Closes: ICU-8241

* refactor: 💡 add hardcoded ids to make route navigation possible

these are temporary and will be removed upon feature completion

* refactor: 💡 rename channels route to channels-by-connection
2023-03-01 15:58:59 -06:00
Zhihe Li 319591b2e8 Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-03-01 16:46:59 -05:00
hc-github-team-secure-boundary 2cadbfe83b Merge pull request #90 from hashicorp/oss/merge-main-7eb6a101a2dd43279de0ffe8372c00ee41668dca
[main] OSS to ENT merge of (7eb6a10)
2023-03-01 11:46:05 -05:00
github-team-secure-boundary f7daf83ec0 Merge Boundary UI OSS branch 'main' at commit 7eb6a101 2023-03-01 16:30:10 +00:00
Michael Li 7eb6a101a2 chore: Add missing compliance headers (#1649) 2023-03-01 11:29:33 -05:00
hc-github-team-secure-boundary 3742b92ad6 Merge pull request #87 from hashicorp/oss/merge-main-3d610427d09106956402a117a235337d1e03ac57
[main] OSS to ENT merge of (3d61042)
2023-03-01 10:55:48 -05:00
github-team-secure-boundary 83fbc8bf1c Merge Boundary UI OSS branch 'main' at commit 3d610427 2023-03-01 15:40:23 +00:00
hashicorp-copywrite[bot]andCameron 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
Zhihe Li 07a260431d Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-02-28 18:05:59 -05:00
lisbet-alvarez 4631906508 add storage buckets route (#82) 2023-02-28 13:20:31 -08:00
hc-github-team-secure-boundary c796da65d2 Merge pull request #84 from hashicorp/oss/merge-main-a0fe6c86f6b3460f645efb6f5cad5b05c1f02ecf
[main] OSS to ENT merge of (a0fe6c8)
2023-02-28 16:13:12 -05:00
github-team-secure-boundary ecd73b9ded Merge Boundary UI OSS branch 'main' at commit a0fe6c86f 2023-02-28 20:56:13 +00:00
Michael Li a0fe6c86f6 test(admin/e2e): Update DHC test to catch host issue (#1648) 2023-02-28 15:55:41 -05:00
Devon Anderson 0386e9fc11 Merge pull request #81 from hashicorp/ICU-8270-create-session-recording-route
chore: 🤖 create session-recording route
2023-02-28 13:23:57 -05:00
Devon Anderson 458e02b23a Update session-recordings.js 2023-02-28 13:03:58 -05:00
dvonanderson 3d0477b957 chore: 🤖 added all of the uncommitted files
Session-recording files
2023-02-28 11:27:40 -05:00
Devon Anderson e26c0aa264 Merge pull request #79 from hashicorp/ICU-8215-create-session-recording-route
chore: 🤖 added session-recordings route
2023-02-28 11:23:12 -05:00
dvonanderson 774377db76 chore: 🤖 create session-recording route
Create `session-recording` route with empty landing page. Added
translations to `resources.yaml` file.

✅ Closes: ICU-8270
2023-02-28 11:18:50 -05:00
lisbet-alvarez b0c3bd11f7 ICU-8130 add session-recording feature flag (#78)
* ICU-8130 add session-recording feature flag
2023-02-28 08:09:08 -08:00
hc-github-team-secure-boundary 1ab518f50d Merge pull request #80 from hashicorp/oss/merge-main-f5cb07248d36080bb63e5b184ac4ee8ba198bb5f
[main] OSS to ENT merge of (f5cb072)
2023-02-28 10:31:25 -05:00
github-team-secure-boundary a11e562821 Merge Boundary UI OSS branch 'main' at commit f5cb0724 2023-02-28 15:14:56 +00:00
Michael Li f5cb07248d test(admin/e2e): Add login tests (#1647) 2023-02-28 10:14:22 -05:00
Devon Anderson 18ecef4c0b Update en-us.yaml
changed `session-recordings` to `session-recording` in resources.yaml
2023-02-27 19:05:19 -05:00
dvonanderson 32719d38a2 chore: 🤖 added session-recordings route
Created new `session-recordings` and `sessions-recordings/index` route

✅ Closes: ICU-8215
2023-02-27 17:56:44 -05:00
hc-github-team-secure-boundary beac9e4465 Merge pull request #77 from hashicorp/oss/merge-main-2dc50570b780b921a7149ed3c6e53977dd1e6464
[main] OSS to ENT merge of (2dc5057)
2023-02-27 14:12:48 -05:00
github-team-secure-boundary 9660f1fb12 Merge Boundary UI OSS branch 'main' at commit 2dc50570 2023-02-27 18:54:48 +00:00
Michael Li 2dc50570b7 test(admin/e2e): Add tests for Credential Stores (#1643) 2023-02-27 13:54:12 -05:00
hc-github-team-secure-boundary 695dbed7e3 Merge pull request #76 from hashicorp/oss/merge-main-1f3a8ef135d1eadcfe6cc9428e80d32e1dbd223a
[main] OSS to ENT merge of (1f3a8ef)
2023-02-24 14:19:47 -05:00
github-team-secure-boundary b7cb9a36fe Merge Boundary UI OSS branch 'main' at commit 1f3a8ef1 2023-02-24 19:00:06 +00:00
Michael Li 1f3a8ef135 test(admin/e2e): Add test for AWS Dynamic Host Catalogs (#1641) 2023-02-24 13:59:30 -05:00
hc-github-team-secure-boundary 184a3f7d84 Merge pull request #75 from hashicorp/oss/merge-main-a8bbf91a0aaeb889a7073639f120a7f5f8b87a42
[main] OSS to ENT merge of (a8bbf91)
2023-02-24 13:27:51 -05:00
github-team-secure-boundary 35b831c60f Merge Boundary UI OSS branch 'main' at commit a8bbf91a 2023-02-24 18:11:57 +00:00
Zhihe Li a8bbf91a0a fix: 🐛 Fix generic-vault getting extra null fields when saving (#1640)
* fix: 🐛 Fix generic-vault getting extra null fields when saving

✅ Closes: ICU-8141
2023-02-24 13:11:17 -05:00
hc-github-team-secure-boundary d16f787aa0 Merge pull request #74 from hashicorp/oss/merge-main-7816772ef2e1e57125fa905c12450b0f17a39b2e
[main] OSS to ENT merge of (7816772)
2023-02-23 18:46:46 -05:00
github-team-secure-boundary 0a7b4d28ba Merge Boundary UI OSS branch 'main' at commit 7816772e 2023-02-23 23:31:21 +00:00
Michael Li 7816772ef2 test(admin/e2e): Add first playwright test (#1637)
Adds an end-to-end test for the Admin UI using Playwright. This test uses the Admin UI to create the necessary resources to connect to a target. The test then uses the CLI to start a session and checks in the Admin UI that a session is created
2023-02-23 18:30:51 -05:00
hc-github-team-secure-boundary 9d620e3d99 Merge pull request #73 from hashicorp/oss/merge-main-7fbdefba59d332217da9a8a6eefbb5016a43d285
[main] OSS to ENT merge of (7fbdefb)
2023-02-23 15:34:52 -05:00
github-team-secure-boundary 7f7d0ccafd Merge Boundary UI OSS branch 'main' at commit 7fbdefba 2023-02-23 20:22:19 +00:00
Carlos Alcaide Corvo 7fbdefba59 fix: 🐛 Update yarn.lock (#1642) 2023-02-23 12:21:40 -08:00
hc-github-team-secure-boundary a8bcd9d521 Merge pull request #72 from hashicorp/oss/merge-main-0b992bb0117168fda7cffbb5b8828983f4943000
[main] OSS to ENT merge of (0b992bb)
2023-02-22 15:30:33 -05:00
github-team-secure-boundary 1700f8aabb Merge Boundary UI OSS branch 'main' at commit 0b992bb0 2023-02-22 20:14:40 +00:00
Carlos Alcaide Corvo 0b992bb011 fix: 🐛 Fix failure in GH Actions Workflows (#1639) 2023-02-22 12:14:04 -08:00
Carlos Alcaide Corvo 5efc1af76d test: 💍 Swap playwright to @playwright/test package (#1635)
Playwright documentation recommends to use @playwright/test now as the
only playwright package
2023-02-21 11:50:59 -08:00
hc-github-team-secure-boundary 75ef4c04fa Merge pull request #70 from hashicorp/oss/merge-main-7db1edda1ce4001353b7785a6e129ce0f4570c98
[main] OSS to ENT merge of (7db1edd)
2023-02-16 17:34:46 -05:00
github-team-secure-boundary f072e38c27 Merge Boundary UI OSS branch 'main' at commit 7db1edda 2023-02-16 22:07:13 +00:00
Dharini Jeeva 7db1edda1c chore: use structuredClone instead of ember-copy addon (#1634) 2023-02-16 14:06:37 -08:00
hc-github-team-secure-boundary 2b98c8164c Merge pull request #69 from hashicorp/oss/merge-main-76147af3574f1e584c835de5905570de9536b048
[main] OSS to ENT merge of (76147af)
2023-02-15 15:31:28 -05:00
github-team-secure-boundary 73a1abf0dc Merge Boundary UI OSS branch 'main' at commit 76147af3 2023-02-15 19:42:24 +00:00
Zhihe Li 76147af357 chore: 🤖 Pin storybook docs addon to a minor version (#1631)
The storybook docs addon is broken in 6.5.x currently. Pinning it to
6.3.x lets us to continue using storybook. See this github issue:
https://github.com/storybookjs/storybook/issues/17527

✅ Closes: ICU-7791
2023-02-15 14:41:53 -05:00
hc-github-team-secure-boundary cb7a7624e8 Merge pull request #68 from hashicorp/oss/merge-main-2d1ed7b8bde405fafd9aaa104e00f2263d094223
[main] OSS to ENT merge of (2d1ed7b)
2023-02-15 14:40:27 -05:00
github-team-secure-boundary 876e6c9fae Merge Boundary UI OSS branch 'main' at commit 2d1ed7b8 2023-02-14 21:32:54 +00:00
Cameron PereraandRandall Morey 2d1ed7b8bd refactor: 💡 rename div around ordered-series-diagram (#1633)
* refactor: 💡 rename div around ordered-series-diagram

* refactor: 💡 remove margin top and add to min-height

* refactor: 💡 simplify diagrams

---------

Co-authored-by: Randall Morey <randall@randallmorey.com>
2023-02-14 15:32:19 -06:00
Zhihe Li eea5844691 Merge pull request #67 from hashicorp/oss/merge-main-e1432c2750936d589362debf474fd2a6dedbd912
[main] OSS to ENT merge of (e1432c2)
2023-02-13 19:15:52 -05:00
Zhihe Li ec63519058 Merge pull request #66 from hashicorp/oss/merge-main-deb9bba3ef364fecdb30a5266a7c71d5e1a4fa8d
[main] OSS to ENT merge of (deb9bba)
2023-02-13 19:14:24 -05:00
github-team-secure-boundary fcb2beb654 Merge Boundary UI OSS branch 'main' at commit e1432c27 2023-02-13 19:20:51 +00:00
Zhihe Li e1432c2750 chore: 🤖 Update changelog and version for desktop client (#1625)
Upgrade CLI version for desktop client to 0.12.0
2023-02-13 14:18:36 -05:00
github-team-secure-boundary 9b1051f74f Merge Boundary UI OSS branch 'main' at commit deb9bba3 2023-02-13 18:39:18 +00:00
Sarah Thompson deb9bba3ef update release triggers to call new GHA workflow (#1632)
* update release triggers to call new GHA workflow

* update workflow file name

* address feedback
2023-02-13 18:38:48 +00:00
hc-github-team-secure-boundary e5db4e6fa1 Merge pull request #65 from hashicorp/oss/merge-main-49f2a4a08ba541bf7d477281b20c31b3848e5c9a
[main] OSS to ENT merge of (49f2a4a)
2023-02-10 17:39:14 -05:00
github-team-secure-boundary 3e12c50baa Merge Boundary UI OSS branch 'main' at commit 49f2a4a0 2023-02-10 22:39:07 +00:00
Dharini Jeeva 49f2a4a08b Target form refactor (#1627)
* refactor: 💡 target form
2023-02-10 14:38:31 -08:00
hc-github-team-secure-boundary 6bcdb1e84d Merge pull request #64 from hashicorp/oss/merge-main-3adfb08cb32911cf3cb9dcf1c68b93d6585c8b4b
[main] OSS to ENT merge of (3adfb08)
2023-02-09 17:44:39 -05:00
github-team-secure-boundary 6bba06393e Merge Boundary UI OSS branch 'main' at commit 3adfb08c 2023-02-09 22:44:33 +00:00
Cameron Perera 3adfb08cb3 fix: 🐛 fix diagram width so explainer text stays below it (#1629) 2023-02-09 16:44:01 -06:00
hc-github-team-secure-boundary 9da3b967eb Merge pull request #63 from hashicorp/oss/merge-main-540c9e21026b3aa426b8c7fd26dd1c1c6524997e
[main] OSS to ENT merge of (540c9e2)
2023-02-09 17:01:04 -05:00
github-team-secure-boundary cbce11a263 Merge Boundary UI OSS branch 'main' at commit 540c9e21 2023-02-09 22:00:57 +00:00
Cameron Perera 540c9e2102 refactor: 💡 Update how WorkerDiagram is used in Target form (#1626)
* refactor: 💡 Update how WorkerDiagram is used in Target form

* refactor: 💡 remove extra div wrappers

Remove div wrappers for worker diagrams that were no longer needed

* refactor: 💡 rename worker diagram attributes to be more clear

* refactor: 💡 remove style changes out of scope for updates

* refactor: 💡 update logic for how HCP diagram is shown

* chore: 🤖 Add multi-hop flags to OSS block for verbosity
2023-02-09 16:00:19 -06:00
hc-github-team-secure-boundary 9b1501d294 Merge pull request #62 from hashicorp/oss/merge-main-aff993b2b5150a9d33278420c88ef96db646ba0e
[main] OSS to ENT merge of (aff993b)
2023-02-09 13:58:34 -05:00
github-team-secure-boundary eae7d5a784 Merge Boundary UI OSS branch 'main' at commit aff993b2 2023-02-09 18:58:27 +00:00
Carlos Alcaide CorvoandZhihe Li aff993b2b5 docs: ✏️ Add how to debug binary to docs (#1628)
* docs: ✏️ Add how to debug binary to docs

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-02-09 10:57:54 -08:00
hc-github-team-secure-boundary fe1dc865f1 Merge pull request #61 from hashicorp/oss/merge-main-823de4f59811b27b637d175eef2e5569f1328454
[main] OSS to ENT merge of (823de4f)
2023-02-06 14:16:46 -05:00
github-team-secure-boundary 91066d4e0f Merge Boundary UI OSS branch 'main' at commit 823de4f5 2023-02-06 19:16:39 +00:00
dependabot[bot]andZhihe Li 823de4f598 chore(deps): bump http-cache-semantics in /ui/desktop/electron-app (#1621)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  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-02-06 14:16:03 -05:00
hc-github-team-secure-boundary 00f104427f Merge pull request #60 from hashicorp/oss/merge-main-df4590de96184be6224b9530faf961402746a027
[main] OSS to ENT merge of (df4590d)
2023-02-06 13:48:16 -05:00
github-team-secure-boundary 1eba9d3e77 Merge Boundary UI OSS branch 'main' at commit df4590de 2023-02-06 18:48:10 +00:00
Dharini Jeeva df4590de96 chore: 🤖 clean up isRequired/isOptional boolean (#1624) 2023-02-06 10:47:34 -08:00
hc-github-team-secure-boundary f2989cb29b Merge pull request #59 from hashicorp/oss/merge-main-d0beb6eabde64a8d0310321491aa584867490295
[main] OSS to ENT merge of (d0beb6e)
2023-02-06 12:46:50 -05:00
github-team-secure-boundary eb5dad4079 Merge Boundary UI OSS branch 'main' at commit d0beb6ea 2023-02-06 17:46:44 +00:00
dependabot[bot]andZhihe Li d0beb6eabd chore(deps): bump jszip from 3.7.1 to 3.10.1 in /ui/desktop/electron-app (#1618)
Bumps [jszip](https://github.com/Stuk/jszip) from 3.7.1 to 3.10.1.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/main/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.7.1...v3.10.1)

---
updated-dependencies:
- dependency-name: jszip
  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-02-06 12:46:10 -05:00
hc-github-team-secure-boundary 3f43c9d60c Merge pull request #58 from hashicorp/oss/merge-main-e6548f4d59b849343cc98dd0db6311fabd4e3602
[main] OSS to ENT merge of (e6548f4)
2023-02-06 10:29:00 -05:00
github-team-secure-boundary f8a429480a Merge Boundary UI OSS branch 'main' at commit e6548f4d 2023-02-06 15:28:53 +00:00
Zhihe Li e6548f4d59 fix: 🐛 Fix undefined values from resource filter (#1622)
* fix: 🐛 Fix undefined values from resource filter
2023-02-06 10:28:00 -05:00
hc-github-team-secure-boundary 7d2fb2a302 Merge pull request #57 from hashicorp/oss/merge-main-82bee42959b84a72644826b2b2ceecafe21239c0
[main] OSS to ENT merge of (82bee42)
2023-02-03 17:54:07 -05:00
github-team-secure-boundary b33c37a8a3 Merge Boundary UI OSS branch 'main' at commit 82bee429 2023-02-03 22:54:02 +00:00
Zhihe Li 82bee42959 fix: 🐛 Fix null date time erroring out (#1623)
* fix: 🐛 Fix null date time erroring out

* style: 💄 Remove braces in if statement
2023-02-03 17:53:30 -05:00
hc-github-team-secure-boundary 8fa5a57efd Merge pull request #56 from hashicorp/oss/merge-main-2d6e26de8462c783b5888ead62be764ba7c8d0e1
[main] OSS to ENT merge of (2d6e26d)
2023-02-03 09:50:11 -05:00
github-team-secure-boundary 2688c4292e Merge Boundary UI OSS branch 'main' at commit 2d6e26de 2023-02-03 14:50:05 +00:00
Zhihe Li 2d6e26de84 style: 💄 Cleanup grammar of target address modal (#1620) 2023-02-03 09:49:34 -05:00
hc-github-team-secure-boundary 9643c3ad0b Merge pull request #55 from hashicorp/oss/merge-main-277e5ce19788f0783bc002cc4f56695ddb0adaba
[main] OSS to ENT merge of (277e5ce)
2023-02-02 13:08:54 -05:00
github-team-secure-boundary 986f0a91d3 Merge Boundary UI OSS branch 'main' at commit 277e5ce1 2023-02-02 18:08:47 +00:00
Carlos Alcaide Corvo 277e5ce197 Change the way we declare icon color (#1619) 2023-02-02 10:08:12 -08:00
hc-github-team-secure-boundary 3c69443a0c Merge pull request #54 from hashicorp/oss/merge-main-f0530e1f8f8d36441d210d3608a9c761d8aaf086
[main] OSS to ENT merge of (f0530e1)
2023-02-01 10:46:59 -08:00
github-team-secure-boundary 0c1543e13c Merge Boundary UI OSS branch 'main' at commit f0530e1f 2023-02-01 18:46:53 +00:00
Zhihe Li f0530e1f8f Vault SSH Cert Feature (#1596)
* feat: 🎸 Update models for vault ssh cert feature (#1591)

✅ Closes: ICU-7546

* feat: 🎸 Setup types in cred library forms and use HDS component (#1597)

* feat: 🎸 Setup types in cred library forms and use HDS component

✅ Closes: ICU-7673

* feat: 🎸 Add vault ssh cert type for credential library (#1608)

* feat: 🎸 Add vault ssh cert type for credential library

✅ Closes: ICU-7678

* feat: 🎸 Enable feature flag for vault ssh cert work (#1614)

* fix: 🐛 Change fields to optional as they get default by backend (#1615)

* Chore/cleanup vault ssh cert (#1616)
2023-02-01 13:46:23 -05:00
hc-github-team-secure-boundary a0c5c067be Merge pull request #53 from hashicorp/oss/merge-main-e3772352ea9d50f42e248297456ec58855ec8e80
[main] OSS to ENT merge of (e377235)
2023-01-31 14:02:52 -08:00
github-team-secure-boundary 5c6171ea52 Merge Boundary UI OSS branch 'main' at commit e3772352 2023-01-31 22:02:46 +00:00
Cameron Perera e3772352ea chore: 🤖 fix broken host set links (#1613) 2023-01-31 16:02:05 -06:00
hc-github-team-secure-boundary 6bc9482914 Merge pull request #52 from hashicorp/oss/merge-main-007fc4960b16ab8f6290e37fe816126c6a480cd0
[main] OSS to ENT merge of (007fc49)
2023-01-31 12:08:04 -08:00
github-team-secure-boundary 3aed54cb33 Merge Boundary UI OSS branch 'main' at commit 007fc496 2023-01-31 20:07:58 +00:00
Carlos Alcaide Corvo 007fc4960b chore: 🤖 Refactor onboarding (#1586)
* chore: 🤖 Refactor onboarding

Refactor onboarding

✅ Closes: ICU-7558
2023-01-31 12:05:52 -08:00
hc-github-team-secure-boundary 3941c92f52 Merge pull request #51 from hashicorp/oss/merge-main-9b998ece1b04fb35091b1991aa8048828a850cfb
[main] OSS to ENT merge of (9b998ec)
2023-01-27 06:48:22 -08:00
github-team-secure-boundary 1c591b2d0b Merge Boundary UI OSS branch 'main' at commit 9b998ece 2023-01-27 14:48:17 +00:00
Cameron Perera 9b998ece1b chore: 🤖 Enable Multi-hop & Network Address for Targets feature (#1607)
* chore: 🤖 Enable Multi-hop feature

* chore: 🤖 Enable target network address feature
2023-01-27 08:47:40 -06:00
hc-github-team-secure-boundary b27ff9c12b Merge pull request #50 from hashicorp/oss/merge-main-f71418732e511bfe546bafca494717cc7b765895
[main] OSS to ENT merge of (f714187)
2023-01-27 06:35:31 -08:00
github-team-secure-boundary d4db9cd848 Merge Boundary UI OSS branch 'main' at commit f7141873 2023-01-27 14:35:25 +00:00
Dharini Jeeva f71418732e fix: 🐛 worker section margin and reduce layout shift (#1610) 2023-01-27 08:34:51 -06:00
hc-github-team-secure-boundary 096ddb1061 Merge pull request #49 from hashicorp/oss/merge-main-d7f54af7e486cff41cc9875fd5e52fe5ae743593
[main] OSS to ENT merge of (d7f54af)
2023-01-25 15:12:57 -08:00
github-team-secure-boundary 566b89275a Merge Boundary UI OSS branch 'main' at commit d7f54af7 2023-01-25 23:12:51 +00:00
Dharini Jeeva d7f54af7e4 target workers UI Enterprise and HCP workflow (#1601)
adds ingress filter to target worker filter
2023-01-25 15:12:14 -08:00
hc-github-team-secure-boundary b04f80af37 Merge pull request #48 from hashicorp/oss/merge-main-de986c3df49c0b72f36a4d3b67883dcb756bc77e
[main] OSS to ENT merge of (de986c3)
2023-01-25 12:49:00 -08:00
github-team-secure-boundary c1feb0894f Merge Boundary UI OSS branch 'main' at commit de986c3d 2023-01-25 20:48:55 +00:00
Randall Morey de986c3df4 refactor: 💡 logically separate save steps for targets (#1604)
* refactor: 💡 logically separate save steps for targets

* Update ui/admin/app/routes/scopes/scope/targets.js

Oops, delete actions should catch.

* chore: 🤖 rename ids var
2023-01-25 12:48:23 -08:00
hc-github-team-secure-boundary 5543e3bde5 Merge pull request #47 from hashicorp/oss/merge-main-df70c76b29698e2c8759e45df184e932cc753f71
[main] OSS to ENT merge of (df70c76)
2023-01-23 15:28:04 -08:00
github-team-secure-boundary d733054059 Merge Boundary UI OSS branch 'main' at commit df70c76b 2023-01-23 23:27:58 +00:00
Dharini Jeeva df70c76b29 fix: 🐛 empty member ids within managed groups (#1600) 2023-01-23 15:27:23 -08:00
hc-github-team-secure-boundary e442454db8 Merge pull request #46 from hashicorp/oss/merge-main-57fcab4c535501cdf9c86edb93e77c06b98e6590
[main] OSS to ENT merge of (57fcab4)
2023-01-23 14:49:05 -08:00
github-team-secure-boundary 4b26e454bc Merge Boundary UI OSS branch 'main' at commit 57fcab4c 2023-01-23 22:49:00 +00:00
Dharini Jeeva 57fcab4c53 Tests target update create (#1594)
* test: 💍 add test cases for create and update target
2023-01-23 14:48:29 -08:00
hc-github-team-secure-boundary cbf17aa0d1 Merge pull request #45 from hashicorp/oss/merge-main-b41b6ee3e320c03b8dd8a43abb61586eb320aebf
[main] OSS to ENT merge of (b41b6ee)
2023-01-23 14:29:19 -08:00
github-team-secure-boundary 3b8c5164af Merge Boundary UI OSS branch 'main' at commit b41b6ee3 2023-01-23 22:29:13 +00:00
Dharini Jeeva b41b6ee3e3 Icu 7301 UI target oss workflow (#1589)
Icu 7301 UI target OSS workflow (#1589)
2023-01-23 14:28:37 -08:00
hc-github-team-secure-boundary 178a8a8187 Merge pull request #44 from hashicorp/oss/merge-main-da59684f254aafeba5cdd80575fdc69644bd4bf3
[main] OSS to ENT merge of (da59684)
2023-01-23 11:34:08 -08:00
github-team-secure-boundary 3c8641d6f3 Merge Boundary UI OSS branch 'main' at commit da59684f 2023-01-23 19:34:03 +00:00
Zhihe Li da59684f25 refactor: 💡 Move save back to route to unblock other work (#1598) 2023-01-23 14:32:31 -05:00
hc-github-team-secure-boundary cf654f2aaf Merge pull request #43 from hashicorp/oss/merge-main-cf16bf8e3388fa72c48fdb80c7b1026e3d2dc331
[main] OSS to ENT merge of (cf16bf8)
2023-01-23 08:30:19 -08:00
github-team-secure-boundary 59ced85765 Merge Boundary UI OSS branch 'main' at commit cf16bf8e 2023-01-23 16:30:11 +00:00
Devon AndersonandCameron Perera cf16bf8e33 chore: 🤖 fix incorrect url (#1599)
* chore: 🤖 fix incorrect url

Fix incorrect hcp worker ui download instructions that still referenced
old version.

* Update ui/admin/app/components/form/worker/create-worker-led/index.js

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-01-23 11:29:31 -05:00
hc-github-team-secure-boundary aaa1960994 Merge pull request #42 from hashicorp/oss/merge-main-67219d07ebc2c3ecda4d9b27a8a9892b70705996
[main] OSS to ENT merge of (67219d0)
2023-01-23 07:25:56 -08:00
github-team-secure-boundary 61d7d13046 Merge Boundary UI OSS branch 'main' at commit 67219d07 2023-01-23 15:25:51 +00:00
Devon Anderson 67219d07eb refactor: 💡 update hcp worker instructions (#1587)
Update HCP binary download instructions to reflect 0.12.0 version

✅ Closes: ICU-7603
2023-01-23 10:25:13 -05:00
hc-github-team-secure-boundary ca09da3861 Merge pull request #41 from hashicorp/oss/merge-main-812e509003bd7914ad0969ddc21a05eca942e434
[main] OSS to ENT merge of (812e509)
2023-01-20 10:45:31 -08:00
github-team-secure-boundary ddd906acaf Merge Boundary UI OSS branch 'main' at commit 812e5090 2023-01-20 18:45:25 +00:00
Devon Anderson 812e509003 chore: 🤖 create target worker explainer element (#1595)
* chore: 🤖 create target worker explainer element

Create a element that will explain what the filters and diagrams mean
when toggled and on screen.

* refactor: 💡 add logic directly to worker-diagram

* refactor: 💡 added logic to all worker diagrams

Added logic to all worker diagrams
2023-01-20 12:44:48 -06:00
hc-github-team-secure-boundary 60f373d010 Merge pull request #40 from hashicorp/oss/merge-main-54d5d34981adc521c98e47b29410d432a85a001c
[main] OSS to ENT merge of (54d5d34)
2023-01-19 16:53:40 -08:00
github-team-secure-boundary 4a63e9ed40 Merge Boundary UI OSS branch 'main' at commit 54d5d349 2023-01-20 00:53:33 +00:00
Randall Morey 54d5d34981 test: 💍 fixes flaky theme selection test (#1592)
✅ Closes: icu-7597
2023-01-19 16:53:02 -08:00
hc-github-team-secure-boundary 173776ecb9 Merge pull request #39 from hashicorp/oss/merge-main-ee854971829fc9a57c4de27d78b16299ebacd173
[main] OSS to ENT merge of (ee85497)
2023-01-19 12:47:21 -08:00
github-team-secure-boundary caa9d86808 Merge Boundary UI OSS branch 'main' at commit ee854971 2023-01-19 20:47:16 +00:00
Cameron Pereraanddvonanderson ee85497182 feat: 🎸 Add HCP logic to Worker Diagram component (#1585)
* feat: 🎸 create Worker Diagram for OSS

✅ Closes: ICU-7579

* refactor: 💡 change ordered series icon to have white background

* feat: 🎸 Create Worker Diagram for egress and ingress filters

✅ Closes: ICU-7592

* feat: 🎸 Add HCP logic to Worker Diagram component

✅ Closes: ICU-7594

* refactor: 💡 remove wrapping divs and update data-test attrs

* refactor: 💡 revert HDS icon background color change

* refactor: 💡 make data-test attr more verbose

* test: 💍 fix data-test selectors for dual filter tests

* refactor: 💡 refactor test for worker-diagram dual-filter

Seperate test for `worker-diagram/dual-filter` into tow seperate test.
One for HCP and one for Enterprise.

✅ Closes: ICU-7594

* chore: 🤖 actual test for last commit

actual test for last commit

* chore: 🤖 split woker-diagram dual-filter into two components

Split worker-diagram-dual-filter component into two seperate component
and fixed test to reflect changes.

✅ Closes: ICU-7594

* refactor: 💡 quick test refactor

Refactor test for `worker-diagram-dual-filter`

* refactor: 💡 refactor dual-filter test

Refactor worker-diagram-dual-filter test to better align with if the
diagram exist, rather than what the text inside of the diagram states.

✅ Closes: ICU-7594

Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
2023-01-19 14:46:40 -06:00
hc-github-team-secure-boundary d13d6cccbe Merge pull request #38 from hashicorp/oss/merge-main-a6b2acc14d0de00ff5b8aa2a3568f1d57db99393
[main] OSS to ENT merge of (a6b2acc)
2023-01-18 20:27:12 -08:00
github-team-secure-boundary 7b62b2447d Merge Boundary UI OSS branch 'main' at commit a6b2acc1 2023-01-19 04:27:06 +00:00
Dharini Jeeva a6b2acc14d Oss workflow target egress filter (#1590)
* chore: 🤖 add egress filters to target
2023-01-18 20:26:28 -08:00
hc-github-team-secure-boundary 799ba95258 Merge pull request #37 from hashicorp/oss/merge-main-06b96c0315181d2b27d473686a79351f1d6f0bd8
[main] OSS to ENT merge of (06b96c0)
2023-01-18 09:18:46 -08:00
github-team-secure-boundary 024724a8ef Merge Boundary UI OSS branch 'main' at commit 06b96c03 2023-01-18 17:18:38 +00:00
Devon Anderson 06b96c0315 chore: 🤖 enable feature flag (#1588)
Enable json-credential feature-flag for 0.12 release

✅ Closes: ICU-6832
2023-01-18 12:18:06 -05:00
hc-github-team-secure-boundary 5fb6a90741 Merge pull request #36 from hashicorp/oss/merge-main-3d0be5ef483e94d4a1f489e3d8d9fc05c5045f8d
[main] OSS to ENT merge of (3d0be5e)
2023-01-17 14:08:50 -08:00
github-team-secure-boundary ce949c7fc8 Merge Boundary UI OSS branch 'main' at commit 3d0be5ef 2023-01-17 22:08:44 +00:00
Zhihe Li 3d0be5ef48 refactor: 💡 Simplify template for confirmation dialog (#1580) 2023-01-17 17:08:08 -05:00
hc-github-team-secure-boundary cb1a20146a Merge pull request #35 from hashicorp/oss/merge-main-07cf9fc533e6e525973e0ebdeba2aa6d3ac1d5e0
[main] OSS to ENT merge of (07cf9fc)
2023-01-17 12:40:34 -08:00
github-team-secure-boundary e331b6e4db Merge Boundary UI OSS branch 'main' at commit 07cf9fc5 2023-01-17 20:40:29 +00:00
Cameron Perera 07cf9fc533 Create Worker Diagram for egress and ingress filters (#1584)
* feat: 🎸 create Worker Diagram for OSS

✅ Closes: ICU-7579

* refactor: 💡 change ordered series icon to have white background

* feat: 🎸 Create Worker Diagram for egress and ingress filters

✅ Closes: ICU-7592

* refactor: 💡 remove wrapping divs and update data-test attrs

* refactor: 💡 revert HDS icon background color change

* refactor: 💡 make data-test attr more verbose
2023-01-17 14:39:54 -06:00
hc-github-team-secure-boundary 8f1a223c67 Merge pull request #34 from hashicorp/oss/merge-main-0cecb0d85690d53d6f56f6d42f5bea0f31d0786a
[main] OSS to ENT merge of (0cecb0d)
2023-01-17 12:01:28 -08:00
github-team-secure-boundary a326d8981d Merge Boundary UI OSS branch 'main' at commit 0cecb0d8 2023-01-17 20:01:23 +00:00
Zhihe Li 0cecb0d856 Icu 7490 UI add new address field to target (#1579)
* feat: 🎸 Add network address field to targets

✅ Closes: ICU-7490
2023-01-17 15:00:43 -05:00
hc-github-team-secure-boundary d5ae49558d Merge pull request #33 from hashicorp/oss/merge-main-bfc275e0f6e92b54f2226dd2d8fc107cc179248c
[main] OSS to ENT merge of (bfc275e)
2023-01-17 10:45:07 -08:00
github-team-secure-boundary 756e060a1b Merge Boundary UI OSS branch 'main' at commit bfc275e0 2023-01-17 18:45:01 +00:00
Cameron Perera bfc275e0f6 feat: 🎸 create Worker Diagram for OSS (#1583)
* feat: 🎸 create Worker Diagram for OSS

✅ Closes: ICU-7579

* refactor: 💡 remove wrapping divs and update data-test attrs
2023-01-17 12:44:24 -06:00
hc-github-team-secure-boundary a4803199c5 Merge pull request #32 from hashicorp/oss/merge-main-1f229fb44467f674c1599b09f31a115bb93ee6ac
[main] OSS to ENT merge of (1f229fb)
2023-01-13 15:16:28 -08:00
github-team-secure-boundary 5da52b1d14 Merge Boundary UI OSS branch 'main' at commit 1f229fb4 2023-01-13 23:16:24 +00:00
Zhihe Li 1f229fb444 feat: 🎸 Add feature flag for vault ssh certificate (#1581)
* feat: 🎸 Add feature flag for vault ssh certificate

✅ Closes: ICU-7547
2023-01-13 15:15:44 -08:00
hc-github-team-secure-boundary 03f6715724 Merge pull request #31 from hashicorp/oss/merge-main-583d6de49b509246a3595f893c05294e4e3a58e0
[main] OSS to ENT merge of (583d6de)
2023-01-13 13:17:59 -08:00
github-team-secure-boundary dac8f2398c Merge Boundary UI OSS branch 'main' at commit 583d6de4 2023-01-13 21:17:52 +00:00
Carlos Alcaide Corvo 583d6de49b chore: 🤖 Deprecate ember-test-selectors usage (#1578)
Deprecate ember-test-selectors usage.

✅ Closes: ICU-7572
2023-01-13 13:17:20 -08:00
hc-github-team-secure-boundary 1527c0fb18 Merge pull request #30 from hashicorp/oss/merge-main-cf66235948af6d0e8306e77f0644f8019fa8ecc6
[main] OSS to ENT merge of (cf66235)
2023-01-13 10:22:57 -08:00
github-team-secure-boundary fc06cb6cd2 Merge Boundary UI OSS branch 'main' at commit cf662359 2023-01-13 18:22:50 +00:00
Devon AndersonandRandall Morey cf66235948 feat: 🎸 OrderedSeriesDiagram component (#1573)
* feat: 🎸 OrderedSeriesDiagram component

Created `orderd-series-diagram` component to look a the state of the
ingress and egress filters and determine which diagram should be
displayed.

✅ Closes: ICU-6459

* refactor: 💡 sass lint fix

Fixed sass lint errors

✅ Closes: ICU-7347

* Update app.scss

added closing tag

* refactor: 💡 refactor of styling and test

Refactored styling for `ordered-series-diagram` to match mocks, and
fixed indent errors in test.

✅ Closes: ICU-7347

* refactor: 💡 clean up testing errors

Clean up testing errors for `ordered-series-diagram`

* refactor: 💡 refactor series diagram (#1577)

* refactor: 💡 merge refactor changes and fix test

Merged refactor changes to ordered series diagram and fix tests

✅ Closes: ICU-7347

Co-authored-by: Randall Morey <randall@randallmorey.com>
2023-01-13 13:22:16 -05:00
hc-github-team-secure-boundary a810dcb5b6 Merge pull request #29 from hashicorp/oss/merge-main-b02dc0aa43d37e319338ecb0f755d5c37dfd1e63
[main] OSS to ENT merge of (b02dc0a)
2023-01-12 14:29:24 -08:00
github-team-secure-boundary cf91e67d2e Merge Boundary UI OSS branch 'main' at commit b02dc0aa 2023-01-12 22:29:18 +00: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
hc-github-team-secure-boundary 3870a19a27 Merge pull request #28 from hashicorp/oss/merge-main-f7c80c88697661ec510f307bf66dc5cd1b7fd51e
[main] OSS to ENT merge of (f7c80c8)
2023-01-11 13:47:34 -08:00
github-team-secure-boundary ceffe48c79 Merge Boundary UI OSS branch 'main' at commit f7c80c88 2023-01-11 21:47:28 +00:00
Cameron Perera f7c80c8869 UI target worker filter deprecation message (#1574)
* feat: 🎸 Add worker_filter deprecation message to target form

* test: 💍 fix test selectors for worker_filter message
2023-01-11 15:46:47 -06:00
hc-github-team-secure-boundary bb04329b48 Merge pull request #27 from hashicorp/oss/merge-main-c31f9e98be58d9264ad796c9400dbb323dd910e9
[main] OSS to ENT merge of (c31f9e9)
2023-01-11 10:04:46 -08:00
github-team-secure-boundary beb16a0540 Merge Boundary UI OSS branch 'main' at commit c31f9e98 2023-01-11 18:04:41 +00:00
Carlos Alcaide Corvo c31f9e98be refactor: 💡 Clean up prettier config files (#1571)
Clean up prettier config files

✅ Closes: ICU-6851
2023-01-11 10:04:03 -08:00
hc-github-team-secure-boundary 4a901247c9 Merge pull request #26 from hashicorp/oss/merge-main-b58eda11223f1035fd2eabb2c66853903c6aadcf
[main] OSS to ENT merge of (b58eda1)
2023-01-11 08:56:21 -08:00
github-team-secure-boundary 2e708d4a5d Merge Boundary UI OSS branch 'main' at commit b58eda11 2023-01-11 16:56:16 +00:00
Carlos Alcaide Corvo b58eda1122 refactor: 💡 Deprecate htmlbars-inline-precompile within addons (#1563)
* refactor: 💡 Deprecate htmlbars-inline-precompile within addons
2023-01-11 08:55:35 -08:00
hc-github-team-secure-boundary d654fb6522 Merge pull request #25 from hashicorp/oss/merge-main-7509fa345b88bdde29887bfcc5897d5e3825dd78
[main] OSS to ENT merge of (7509fa3)
2023-01-10 15:25:52 -08:00
github-team-secure-boundary c36f9041ac Merge Boundary UI OSS branch 'main' at commit 7509fa34 2023-01-10 23:25:46 +00:00
Zhihe Li 7509fa345b Chore/parallelize tests (#1556) 2023-01-10 18:25:09 -05:00
hc-github-team-secure-boundary 9e3d067033 Merge pull request #24 from hashicorp/oss/merge-main-ad37b489b7b13a688392969a54c01d459b6a6b78
[main] OSS to ENT merge of (ad37b48)
2023-01-10 14:19:12 -08:00
github-team-secure-boundary 1a978f804b Merge Boundary UI OSS branch 'main' at commit ad37b489 2023-01-10 22:19:05 +00:00
Cameron Perera ad37b489b7 refactor: 💡 Migrate Target form to use HDS components (#1562)
* refactor: 💡 Migrate Target form to use HDS components

* chore: 🤖 add ember-test-selectors to remove data-test attribute

Removes data-test attributes in production builds

* refactor: 💡 Default Port marked requried or optional by type
2023-01-10 16:18:28 -06:00
hc-github-team-secure-boundary 764e67b208 Merge pull request #23 from hashicorp/oss/merge-main-63f619b1ffb16f62716683aab19e09b0285c619c
[main] OSS to ENT merge of (63f619b)
2023-01-10 13:29:03 -08:00
github-team-secure-boundary 868adf096a Merge Boundary UI OSS branch 'main' at commit 63f619b1 2023-01-10 21:28:57 +00:00
Cameron Perera 63f619b1ff Add egress and ingress worker filters to target model (#1554)
* feat: 🎸 add egress and ingress worker filter to target model

✅ Closes: ICU-7300

* chore: 🤖 update mirage to include ingress/egress worker filter

* refactor: 💡 update target mirage config for worker filters

* refactor: 💡 update how target id is set in mirage factory

* refactor: 💡 update target id and default_port mirage setup

* test: 💍 fix missing address attribute in new tests
2023-01-10 15:28:20 -06:00
hc-github-team-secure-boundary b87912944c Merge pull request #22 from hashicorp/oss/merge-main-f41631c745b7c470974ef5bd6cfe28bc832ab4dd
[main] OSS to ENT merge of (f41631c)
2023-01-10 13:08:00 -08:00
github-team-secure-boundary a51b13c48f Merge Boundary UI OSS branch 'main' at commit f41631c7 2023-01-10 21:07:55 +00:00
Dharini Jeeva f41631c745 chore: 🤖 disable csp meta for prod (#1560) 2023-01-10 13:07:22 -08:00
hc-github-team-secure-boundary 6bff44211a Merge pull request #21 from hashicorp/oss/merge-main-1bd057bb4c39d8911f83054e1584336eaab8a2ef
[main] OSS to ENT merge of (1bd057b)
2023-01-10 09:57:40 -08:00
github-team-secure-boundary 36b826858b Merge Boundary UI OSS branch 'main' at commit 1bd057bb 2023-01-10 17:57:30 +00:00
Devon AndersonandCameron Perera 1bd057bb4c refactor: 💡 desktop display of complex nested secrets (#1551)
* refactor: 💡 desktop display of complex nested secrets

A quick solution for displaying JSON secret objects in connection modal.

✅ Closes: ICU-7409

* refactor: 💡 refactor hidden-secret.js and test

Guard against null for in `typeof` return.

✅ Closes: ICU-7409

* Update ui/desktop/app/styles/app.scss

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>

* refactor: 💡 test

Changed test to check for secret output after clicking on reveal

* refactor: 💡 fix style for hidden-secret and test

Refactor hidden-secret span styling to have content centered and
refactored testing for assert.dom instead of find

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-01-10 12:56:52 -05:00
hc-github-team-secure-boundary 26b895d4d9 Merge pull request #20 from hashicorp/oss/merge-main-6a8d563e06e4a7ac3803aae5f891e452e0a54ffc
[main] OSS to ENT merge of (6a8d563)
2023-01-10 07:47:35 -08:00
github-team-secure-boundary c52d39d7e8 Merge Boundary UI OSS branch 'main' at commit 6a8d563e 2023-01-10 15:47:29 +00:00
Cameron Perera 6a8d563e06 chore: 🤖 add json credential to desktop mirage scenario (#1561)
Now when connecting to a target a JSON credential will be included as
one of the credential sources via mirage
2023-01-10 09:46:43 -06:00
hc-github-team-secure-boundary 7afd8d759d Merge pull request #19 from hashicorp/oss/merge-main-2c72f85da1536accabd9f7504d430d14d6f77c1a
[main] OSS to ENT merge of (2c72f85)
2023-01-09 11:33:17 -08:00
github-team-secure-boundary b5e802ee6c Merge Boundary UI OSS branch 'main' at commit 2c72f85d 2023-01-09 19:33:12 +00:00
Dharini Jeeva 2c72f85da1 Add support for managed groups in add-principals list (#1548)
chore: 🤖 add managed groups to add-principals view
2023-01-09 11:32:37 -08:00
hc-github-team-secure-boundary 6d418a81f9 Merge pull request #18 from hashicorp/oss/merge-main-73be8268a69fdcf0ee2c17dd69093c707662c2c2
[main] OSS to ENT merge of (73be826)
2023-01-09 10:42:02 -08:00
github-team-secure-boundary 3d32811cbe Merge Boundary UI OSS branch 'main' at commit 73be8268 2023-01-09 18:41:55 +00:00
Zhihe Li 73be8268a6 chore: 🤖 Add feature flag for target network address feature (#1558)
✅ Closes: ICU-7493
2023-01-09 13:41:20 -05:00
Zhihe Li 6d048d8e10 feat: 🎸 Update target model for address (#1557)
✅ Closes: ICU-7489
2023-01-09 12:35:42 -05:00
hc-github-team-secure-boundary 777b5186f5 Merge pull request #16 from hashicorp/oss/merge-main-c21f011bb29f32ffa99a8bdad5db8fb09e1e20e5
[main] OSS to ENT merge of (c21f011)
2023-01-09 08:49:30 -08:00
github-team-secure-boundary 273be2a715 Merge Boundary UI OSS branch 'main' at commit c21f011b 2023-01-09 16:49:25 +00:00
c21f011bb2 Refactor upgrade ember 4 (#1501)
Upgrade Ember 4

Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-01-09 08:48:49 -08:00
hc-github-team-secure-boundary f5eff16c01 Merge pull request #15 from hashicorp/oss/merge-main-ed91b268617a38d5c5e8f68ede1ca8edd1e6b5dc
[main] OSS to ENT merge of (ed91b26)
2023-01-06 11:52:04 -05:00
github-team-secure-boundary 322d795e26 Merge Boundary UI OSS branch 'main' at commit ed91b268 2023-01-06 16:51:59 +00:00
Zhihe Li ed91b26861 chore: 🤖 Update dependencies to fix minimatch vulnerability (#1553) 2023-01-06 11:50:34 -05:00
hc-github-team-secure-boundary 9e6c31de06 Merge pull request #14 from hashicorp/oss/merge-main-044bd14e21b2750e959ca07e3ed3b351677e4e6b
[main] OSS to ENT merge of (044bd14)
2023-01-05 15:33:28 -05:00
github-team-secure-boundary 434fb56d6b Merge Boundary UI OSS branch 'main' at commit 044bd14e 2023-01-05 20:33:21 +00:00
Zhihe Li 044bd14e21 chore: 🤖 Remove yarn test from commit hook (#1555) 2023-01-05 15:32:35 -05:00
Randall Morey 984d444edc chore: 🤖 remove GH pages workflow 2023-01-04 15:03:14 -08:00
hc-github-team-secure-boundary bc52070f2a Merge pull request #13 from hashicorp/oss/merge-main-d8d1c797f5d2a277ac12def72cefd28f1ff3aca1
[main] OSS to ENT merge of (d8d1c79)
2023-01-03 16:40:55 -05:00
github-team-secure-boundary 82e8ebb9ac Merge Boundary UI OSS branch 'main' at commit d8d1c797 2023-01-03 21:40:49 +00:00
Cameron Perera d8d1c797f5 chore: 🤖 add target multi-hop flags to environment config (#1546)
* chore: 🤖 add target multi-hop flags to environment config

✅ Closes: ICU-7299

* chore: 🤖 rename feature flag to target-dual-worker

* chore: 🤖 update multi-hop flags to target-worker-filters-v2
2023-01-03 15:39:27 -06:00
hc-github-team-secure-boundary 03a95baed3 Merge pull request #12 from hashicorp/oss/merge-main-49ce67b69e5907931c448f0b80ab1aeac6e3e790
[main] OSS to ENT merge of (49ce67b)
2023-01-03 14:43:29 -05:00
github-team-secure-boundary d49ca59187 Merge Boundary UI OSS branch 'main' at commit 49ce67b6 2023-01-03 19:43:24 +00:00
Carlos Alcaide Corvo 49ce67b69e Update latest dependency changes (#1552) 2023-01-03 11:42:47 -08:00
hc-github-team-secure-boundary 542aa40630 Merge pull request #11 from hashicorp/oss/merge-main-5612abce4ae1c598c650f4391ee9bfbb9aaa5868
[main] OSS to ENT merge of (5612abc)
2023-01-03 14:15:36 -05:00
github-team-secure-boundary f5be679612 Merge Boundary UI OSS branch 'main' at commit 5612abce 2023-01-03 19:15:31 +00:00
Zhihe Li 5612abce4a chore: 🤖 Update electron deps (#1547) 2023-01-03 14:14:55 -05:00
Randall Morey 438b9dd11d fix: 🐛 fix build step 2022-12-24 17:29:48 -05:00
Randall Morey cb89d0102d fix: 🐛 fix workflow build step 2022-12-24 17:27:40 -05:00
Randall Morey 5caf2ff4c3 fix: 🐛 fix gh pages build path 2022-12-24 16:35:36 -05:00
Randall Morey 3951a8e2d1 Merge pull request #7 from hashicorp/chore-gh-pages
chore: 🤖 add gh pages workflow
2022-12-24 15:40:19 -05:00
Randall Morey edf4cbdce1 chore: 🤖 add gh pages workflow 2022-12-24 15:39:10 -05:00
hc-github-team-secure-boundary 60cae87c73 Merge pull request #6 from hashicorp/oss/merge-main-07e64a7406e9c211731888cdc40f3fab9d01bc07
[main] OSS to ENT merge of (07e64a7)
2022-12-23 15:12:18 -05:00
github-team-secure-boundary ddef715d08 Merge Boundary UI OSS branch 'main' at commit 07e64a74 2022-12-23 20:12:12 +00:00
Zhihe Li 07e64a7406 chore: 🤖 Pin request to latest version to fix qs vulnerability (#1550) 2022-12-23 15:11:40 -05:00
hc-github-team-secure-boundary 8d53bb3568 Merge pull request #4 from hashicorp/oss/merge-main-2393698d0d6db903d4534910bc5bb0659db87d10
[main] OSS to ENT merge of (2393698)
2022-12-23 11:34:33 -05:00
github-team-secure-boundary 643df25e12 Merge Boundary UI OSS branch 'main' at commit 2393698d 2022-12-23 16:34:26 +00:00
Zhihe Li 2393698d0d chore: 🤖 Update engine.io version to fix security vuln (#1549) 2022-12-23 11:33:54 -05:00
hc-github-team-secure-boundary 3a9d629b9d Merge pull request #3 from hashicorp/oss/merge-main-f3dbd7cdab52fc382af402f4192ebbe0ab2985ae
[main] OSS to ENT merge of (f3dbd7c)
2022-12-22 17:41:55 -05:00
github-team-secure-boundary 1b6a5879f1 Merge Boundary UI OSS branch 'main' at commit f3dbd7cd 2022-12-22 22:41:50 +00:00
Dharini Jeeva f3dbd7cdab Add links to role principals with ability (#1545)
chore: 🤖 add links to role/principals
2022-12-22 14:41:00 -08:00
hc-github-team-secure-boundary 1907f1600b Merge pull request #2 from hashicorp/oss/merge-main-f2c0458fb5cb8d42dcd8a6a63e3b4b52259b9049
[main] OSS to ENT merge of (f2c0458)
2022-12-22 17:10:47 -05:00
github-team-secure-boundary fc642bfc6a Merge Boundary UI OSS branch 'main' at commit f2c0458f 2022-12-22 22:10:39 +00:00
Dharini Jeeva f2c0458fb5 Add model support for managed groups (#1544)
* chore: 🤖 streamline managed groups getter on role
2022-12-22 14:09:56 -08:00
Michele Degges e24a481548 OSS->ENT merge (#1) 2022-12-22 16:21:14 -05:00
Dharini Jeeva 392da009d0 Add mirage support principal managed groups (#1542)
* chore: 🤖 mocks for principals/managed-groups & roles
2022-12-22 10:23:49 -08:00
Zhihe Li 1006680060 chore: 🤖 Update xmldom to patch security vulnerability (#1541) 2022-12-22 11:05:31 -05:00
Dharini Jeeva e9f1de91a1 chore: 🤖 update role form fields to hds (#1539) 2022-12-21 09:42:13 -08:00
Randall Morey 7dd9fb80d5 chore: 🤖 add role readPrincipal ability (#1540) 2022-12-20 16:31:39 -05:00
Randall Morey 69dfc7c784 refactor: 💡 use constants for target types (#1538)
* refactor: 💡 use constants for target types

* chore: 🤖 import types rather than *

* chore: 🤖 use capitalized TYPES_TARGET constant name
2022-12-20 12:07:52 -05:00
Zhihe Li 473ebcc397 chore: 🤖 Bump loader-utils to 2.0.4 (#1537) 2022-12-20 11:29:13 -05:00
Randall Moreyanddvonanderson 54c5c7fdc5 Chore tweak target type content (#1529)
* fix: 🐛 refactor info-field component

Overall context of how the `<InfoField/>` was changed to the correct
order.  Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.

* refactor: 💡 refactor styling for icon to be center

refactor will get the icon as close to center as possible.

* chore: 🤖 ssh type first; update names and descriptions

* chore: 🤖 tweak info field styles

* chore: 🤖 fix formatting/linting issue

* refactor: 💡 credential stylistic changes per PR feedback

* chore: 🤖 reuse configPath

* fix: 🐛 fix lint error

* chore: 🤖 add target type field helper text

Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
2022-12-19 16:59:51 -05:00
Randall Morey 51c1aba794 chore: 🤖 cleanup json creds code / tests (#1535) 2022-12-16 15:06:19 -05:00
Michele Degges f1b7a9cd84 OSS->ENT merge trigger (#1520) 2022-12-16 09:42:40 -08: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
Dharini Jeeva 92db4d4947 chore: 🤖 remove rose radiocard and styles (#1521)
chore: 🤖 remove rose radio card and styles
2022-12-15 09:11:01 -08:00
Randall Moreyanddvonanderson ed9e674823 Refactor info field component (#1527)
* fix: 🐛 refactor info-field component

Overall context of how the `<InfoField/>` was changed to the correct
order.  Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.

* refactor: 💡 refactor styling for icon to be center

refactor will get the icon as close to center as possible.

* chore: 🤖 tweak info field styles

Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
2022-12-14 18:55:11 -05: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
Carlos Alcaide Corvo f6cad6a9ee chore: 🤖 Upgrade ember-focus-trap (#1530)
Upgrade ember-focus-trap (need for Ember 4 work)
2022-12-14 10:28:54 -08:00
c4a70e9e9e Icu 7083 add stylelint to admin (#1519)
* Added styelint to `ui/admin'

* refactor: 💡 quick refactor

Refactor attribute name back to original

✅ Closes: ICU-7083

* Update _notify.scss

for got to set the calling of the animation back in the selector

* refactor: 💡 quick refactor for stylelintrc file

possible pattern selector settings

* refactor: 💡 added rule for selector class pattern

Added rule for kebab-case, HDS, and CodeMirror

✅ Closes: ICU-7083

* Update app.scss

fixed linting errors.

* refactor: 💡 refactor stylelintrc

Simplify regex for `stylelintrc` and added
comments that details what
the regex is doing.

✅ Closes: ICU-7083

* Update ui/admin/.stylelintrc.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2022-12-14 12:22:44 -05: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
3c2d5e6c7a chore(deps): bump express from 4.17.1 to 4.18.2 (#1514)
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-12-14 03:16:16 -05:00
88f195d02d chore(deps): bump qs from 6.5.2 to 6.5.3 in /ui/desktop/electron-app (#1513)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-12-14 01:04:54 -05:00
Dharini Jeeva 7d3727dc34 Radio card migration - hostcatalog hosts host sets (#1503)
* chore: 🤖 radio card migration
2022-12-13 17:45:26 -08: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
Devon Anderson fb89cbb4cf fix: 🐛 refactor info-field component (#1525)
* fix: 🐛 refactor info-field component

Overall context of how the `<InfoField/>` was changed to the correct
order.  Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.

* refactor: 💡 refactor styling for icon to be center

refactor will get the icon as close to center as possible.
2022-12-13 15:49:22 -05:00
dependabot[bot]andCarlos Alcaide Corvo 2192794089 chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#1510)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2022-12-13 11:57:36 -08:00
Cameron Perera 66ae9eb5b0 feat: 🎸 Update byow install boundary command for hcp edition (#1522)
* feat: 🎸 Update byow install boundary command for hcp edition

* refactor: 💡 update version in download url for boundary worker
2022-12-12 18:55:28 -06:00
lisbet-alvarezandCameron 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
Dharini Jeeva e18b30a54e chore: 🤖 radio card migration - target and Credentials (#1502)
chore: 🤖 radio card migration - target and Credentials
2022-12-08 11:17:44 -08:00
Dharini Jeeva 28a43251ac migrate credential store radio card component (#1492)
chore: 🤖 cred store radio card migration
2022-12-07 13:52:49 -08:00
lisbet-alvarez 5474465463 refactor: 💡 acceptance tests in scopes folder (#1509)
✅ Closes: ICU-7126
2022-12-07 10:32:08 -08:00
Zhihe Li 8ae6506abf Icu 6896 upgrade ember data (#1511)
* chore: 🤖 Upgrade ember data to 3.28.12

✅ Closes: ICU-6896
2022-12-06 14:29:58 -05:00
Devon AndersonandRandall Morey 764f4703e0 chore: 🤖 brokered and injected credential associations (#1512)
* chore: 🤖 brokered and injected credential associations

Verified JSON credentials show up as a source that can be added to a
target as `brokered`, and not show up as a source that can be added to a
target as `injected`.

✅ Closes: ICU-6833, ICU-6834, ICU-6835, ICU-6836

* Update ui/admin/app/controllers/scopes/scope/targets/target/add-injected-application-credential-sources.js

Co-authored-by: Randall Morey <randall@randallmorey.com>

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-12-06 13:37:55 -05:00
Cameron Perera c62eb751e4 Icu 6680 UI code editor for secrets (#1499)
* feat: 🎸 initial secret editor

* feat: 🎸 Create Secret Editor for JSON Credentials

✅ Closes: ICU-6680

* style: 💄 Fix sass lint errors

* style: 💄 Appease sass-lint rule for using --size in stylesheet

* refactor: 💡 Set Icon size via component attribute

* refactor: 💡 remove computed decorators for Secret Editor

* refactor: 💡 update editor styles to using sizing variables

* refactor: 💡 update styles and add comments

* refactor: 💡 clean up styling for secret editor

* refactor: 💡 update class names to be more verbose

* chore: 🤖 move jsonlint import to rose index.js

* refactor: 💡 remove duplicate margin style for skeleton body

* refactor: 💡 add comments to SecretEditor component class

* refactor: 💡 large updates to secret json editor

* refactor: 💡 Move JSON Secret to form/field/ directory

* style: 💄 fix padding for Secret Editor line numbers

* chore: 🤖 disable property-sort-oder in .sasslintrc

* refactor: 💡 reorder app.scss styles

* test: 💍 Add integration tests for JSON Secret and Skeleton
2022-12-02 13:58:04 -06:00
Zhihe Li c3d9fd8fc5 Icu 6657 auth method model fragments refactor (#1507)
* refactor: 💡 Remove fragment usage for arrays in auth method
* chore: 🤖 Remove ember-data-model-fragments

✅ Closes: ICU-6657
2022-12-02 14:29:53 -05:00
Zhihe Li f8429b15e9 Chore/cleanup filter attribute (#1500)
* refactor: 💡 Rename attributes called filter

* refactor: 💡 Remove adapter handling of old attribute errors

* refactor: 💡 Check for undefined in serializer instead of falsy
2022-12-02 13:44:11 -05:00
lisbet-alvarez b1f14e5c62 refactor: 💡 acceptance tests in targets folder (#1505)
* refactor: 💡 acceptance tests in targets folder

✅ Closes: ICU-6974

* refactor: 💡 update a few test cases
2022-11-30 14:01:23 -08:00
Dharini Jeeva caeb6f9008 Host catalog infofield (#1508)
* chore: 🤖 use infofield in host catalog
2022-11-30 13:13:36 -08:00
Devon AndersonandRandall Morey 0015745d41 feat: 🎸 Custom information field (#1493)
* feat: 🎸 Custom information field

Create custom information component for views that need read-only
information listed.

✅ Closes: ICU-6957 ICU-6981

* refactor: 💡 fix setup for info-field component

Added conditional icon as a yield to `Hds::Form::TextInput::Field` to
avoid over complicating the css for `info-field` component.

✅ Closes: ICU-6957

* refactor `username_password` index.hbs

`@value` on `<InfoField>` was pointing to wrong variable.

* fix: 🐛 fixed lint

Lint errors

* fix: 🐛 linting errors fixed

linting errors fixed

* chore: 🤖 tweak info field styles and layout for icons

* refactor: 💡 switched `grid-area` in css to match design

Switched `grid-area`'s to match Design

* refactor: 💡 removed grid attribute from field wrapper

Removed display grid from `vertical` wrapper

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-11-30 14:38:12 -05:00
lisbet-alvarez fbc023da65 refactor: 💡 acceptance tests in create-test.js for users (#1476)
* refactor: 💡 acceptance tests in create-test.js for users

✅ Closes: ICU-6965

* refactor: 💡 use this.server.schema instead of this.server.db
2022-11-30 10:06:04 -08:00
lisbet-alvarez 6cc5f43b48 refactor: 💡 acceptance tests in update-test.js for user (#1475)
* refactor: 💡 acceptance tests in update-test.js for user

✅ Closes: ICU-6969

* refactor: 💡 use this.server.schema instead of this.server.db
2022-11-28 16:08:56 -08:00
lisbet-alvarez 2cef6ebe44 refactor: 💡 acceptance tests in delete-test.js for users (#1474)
✅ Closes: ICU-6895
2022-11-28 15:04:18 -08:00
lisbet-alvarezandCameron 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
Zhihe Li ff7a1fedea Icu 6794 refactor attributes using the newer is nested attribute annotation (#1481) 2022-11-23 14:40:07 -05:00
Zhihe Li ff6e2bb4cf fix: 🐛 Fix claims map dropdown not having a default value (#1497) 2022-11-23 12:50:46 -05:00
Dharini Jeeva cd8a627c46 chore: 🤖 quick setup layout (#1496) 2022-11-23 09:00:21 -08:00
Dharini Jeeva 2b3f9b3cf0 fix: 🐛 add state to oidc form (#1491) 2022-11-22 12:06:49 -08:00
Dharini Jeeva 7120a5c54e chore: 🤖 deprecate warning to rose radiocard (#1486)
* chore: 🤖 add deprecation warning message to rose radiocard component
2022-11-22 08:37:54 -08:00
Randall MoreyandZhihe Li f7c1523adb Refactor host set fragment arrays (#1464)
* refactor: 💡 change host_ids to a simple attribute

* refactor: 💡 manually manage host set array model attributes

* refactor: 💡 Fix host set IDs usage

* style: 💄 Fix comment and add braces for if statements

* refactor: 💡 Add back in empty array for normalizer

* refactor: 💡 Move attributes to generated model

* refactor: 💡 Update array actions when creating new host sets

* test: 💍 Add a few create tests for azure and aws host sets

* test: 💍 Add update tests for azure and aws host sets

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2022-11-21 19:07:46 -05:00
Devon AndersonandCameron Perera e3d44eb813 chore: 🤖 JSON credential data modeling (#1485)
* chore: 🤖 JSON credential data modeling

Added json type to credential model, created `json_object` attribute for
`json` type, updated credential serializer to handle `json_object`
attribute data being sent to backend and updated normalizer to handlle
secret untracked 'json_object'.

✅ Closes: ICU-6653, ICU-6684, ICU-6685, ICU-6802, ICU-6803

* Update en-us.yaml

fixed spelling

* Update addons/api/addon/models/credential.js

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>

* refactor: 💡 refactor credential serializer and .yaml

Refactored credential serializer to check for `json_object` existence
before serializing and changed help variable in `.yaml` file for
credentials.

* refactor: 💡 refactor for credential serializer

Refactor credential serializer removed redundant code,

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-11-21 16:28:10 -05:00
Carlos Alcaide Corvo 6b166401a1 chore: 🤖 Upgrade ember-browser-services (#1478)
Upgrade ember-browser-services
2022-11-18 10:52:48 -08:00
Dharini Jeeva 65efe58481 fix: 🐛 hds select field width (#1479) 2022-11-17 13:38:51 -08:00
Dharini Jeeva c9254b4463 Remove rose badge styles (#1473)
* chore: 🤖 remove rose badge stylesheets
2022-11-17 10:44:04 -08:00
Zhihe Li fa7b5bd00b fix: 🐛 Fix accounts not displaying correctly in auth methods (#1477) 2022-11-17 11:52:53 -05:00
lisbet-alvarez 232699cad0 refactor: 💡 acceptance tests in read-test.js for users (#1467)
* refactor: 💡 acceptance tests in read-test.js for users

✅ Closes: ICU-6892

* Update ui/admin/tests/acceptance/users/read-test.js
2022-11-16 12:10:38 -08:00
lisbet-alvarezandRandall Morey 37ad4b6a32 refactor: 💡 acceptance tests in list-test.js for users (#1466)
* refactor: 💡 acceptance tests in list-test.js for users

✅ Closes: ICU-6893

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-11-16 11:39:45 -08:00
Dharini Jeeva 42169b070c Remove rose badge (#1465)
chore: 🤖 delete rose badge component
2022-11-16 10:07:40 -08:00
dependabot[bot] 5e48fdaaf8 chore(deps): bump loader-utils from 1.4.1 to 1.4.2 (#1470)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 08:35:43 -08:00
Devon AndersonandRandall Morey cf3acad084 feat: 🎸 Credential type selector refactor (#1452)
* feat: 🎸 Credential type selector refactor

When editing a credential or viewing the details screeen, the credential
type should be displayed as a readonly text field

✅ Closes: ICU-6839

* refactor: 💡 refactored disabled argument for credential type

BREAKING CHANGE: 🧨 ICU-6839

✅ Closes: ICU-6839

* refactor: 💡 Refactored credential-type-field

Refactored credential type card ui to look more like a message element
than a disabled input

✅ Closes: ICU-6839

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-11-15 19:57:39 -08:00
Dharini Jeeva b8cbbceff6 chore: 🤖 deprecation workflow (#1462)
* chore: 🤖 rebase main

* test: 💍 rebase

* test: 💍 rebase

* test: 💍 rebase

* test: 💍 rebase
2022-11-15 19:36:30 -08:00
Dharini Jeeva 58a47c8375 chore: 🤖 remove console log (#1463)
* chore: 🤖 remove console log
2022-11-15 10:41:43 -08:00
Randall Morey 9875899875 refactor: 💡 migrate set-password form to HDS text input (#1461)
* refactor: 💡 update scope form to use HDS input and textarea

* chore: 🤖 tweak "optional" label text color in dark mode

* fix: 🐛 add HDS field margins and fix form tests

* fix: 🐛 fix acceptance tests and add TextInput event handlers

* refactor: 💡 migrate change-password form to HDS inputs

* fix: 🐛 use input event and fix set-from-event to handle empty

* chore: 🤖 reverse order of isRequired and isOptional

* fix: 🐛 use @type as required by HDS

* chore: 🤖 fix linting

* refactor: 💡 migrate set-password form to HDS text input

✅ Closes: icu-6918
2022-11-15 10:14:05 -08:00
Randall Morey aae85c44d2 Migrate change-password form to HDS input fields. (#1460)
* refactor: 💡 update scope form to use HDS input and textarea

* chore: 🤖 tweak "optional" label text color in dark mode

* fix: 🐛 add HDS field margins and fix form tests

* fix: 🐛 fix acceptance tests and add TextInput event handlers

* refactor: 💡 migrate change-password form to HDS inputs

* fix: 🐛 use input event and fix set-from-event to handle empty

* chore: 🤖 reverse order of isRequired and isOptional

* fix: 🐛 use @type as required by HDS

* chore: 🤖 fix linting
2022-11-15 09:34:25 -08:00
Randall Morey b08d3affe4 refactor: 💡 update scope form to use HDS input and textarea (#1459)
* refactor: 💡 update scope form to use HDS input and textarea

* chore: 🤖 tweak "optional" label text color in dark mode

* fix: 🐛 add HDS field margins and fix form tests

* fix: 🐛 fix acceptance tests and add TextInput event handlers

* fix: 🐛 use input event and fix set-from-event to handle empty

* fix: 🐛 fix linting and add @type='text' on HDS text input

* fix: 🐛 fix HDS field margin overrides

* chore: 🤖 simplify selector
2022-11-15 08:53:10 -08:00
Randall Morey bdc36b1e59 fix: 🐛 fix broken relative datetime live render tests (#1469) 2022-11-15 07:53:01 -08:00
Dharini Jeeva e0f9b8723b Migrate rest of the badges in admin UI (#1454)
* chore: 🤖 migrate rest of the badges in admin ui
2022-11-14 17:14:33 -08:00
lisbet-alvarezandZhihe Li b3a02a3d6e refactor: 💡 update acceptance tests for host-catalogs (#1451)
* refactor: 💡 refactor update acceptance tests for host-catalogs

✅ Closes: ICU-6648

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2022-11-14 16:07:12 -08:00
Dharini Jeeva 9bb9edc36b Storybook badge updates (#1453)
* chore: 🤖 storybook updates for badge
2022-11-14 13:52:23 -08:00
lisbet-alvarez 0aa7a5f494 Icu 6647 acceptance host catalogs list (#1450)
* refactor: 💡 list acceptance tests for host catalogs

✅ Closes: ICU-6647

* refactor: 💡 adjust selector for asserts that use .doesNotExist

✅ Closes: ICU-6647
2022-11-14 13:24:09 -08:00
Cameron PereraandRandall Morey 84077b5d8a Icu 6800 api is secret data modeling (#1448)
* refactor: 💡 Add isSecret option for model attributes

Move secret attribute logic to application serializer that will remove
the key/value pair if the value is null or empty

✅ Closes: ICU-6800

* refactor: 💡 Add isSecret option to credential store token

* Update addons/api/addon/serializers/credential.js

Remove unneeded serialize method for credentials

Co-authored-by: Randall Morey <randall@randallmorey.com>

* refactor: 💡 add type check for serializing secret attributes

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-11-14 14:45:53 -06:00
lisbet-alvarez faec9aad73 refactor: 💡 delete acceptance tests for host catalogs (#1449)
✅ Closes: ICU-6649
2022-11-14 10:53:43 -08:00
Dharini Jeeva 399aeb1790 chore: 🤖 badge migrations in admin ui part 1 (#1439)
* chore: 🤖 badge migrations in admin ui part 1
2022-11-11 18:19:07 -08:00
Dharini Jeeva a1e35cdc99 chore: 🤖 badge migration in desktop (#1438)
* chore: 🤖 badge migration in desktop
2022-11-11 17:15:52 -08:00
Randall Morey 2709ce925f fix: 🐛 inlcude "addon" folder in rose style formatting command (#1458) 2022-11-11 15:24:14 -08:00
Dharini Jeeva ee8182e262 feat: 🎸 badge migration in sessions admin ui (#1437)
* chore: badge migration in sessions admin ui
2022-11-11 14:14:31 -08:00
Randall MoreyandDharini Jeeva 02b6afa5e7 refactor: migrate to HDS select form fields (#1447)
* chore: 🤖 install HDS and associated assets

* chore: 🤖 bump HDS version

* refactor: 💡 optimize hds/icon addon content build

* test: 💍 fix intermittent test failure

* refactor: 💡 replace auth method selects with HDS select

* refactor: 💡 update storybook and tests to reflect HDS selects

* style: 💄 fix style linting issue

* fix: 🐛 fix bad scss syntax

* fix: 🐛 fix scss syntax again

* refactor: 💡 remove references to rose/form/select

* chore: 🤖 experimental HDS dark mode

* refactor: 💡 add custom set helper to replace action helper

* chore: 🤖 remove HDS dark mode, to be implemented in another pr

* refactor: 💡 apply custom dark mode for HDS

* chore: 🤖 add tier 2 color tweaks for better dark mode contrast

* chore: 🤖 tweak HDS form borders in dark mode

* docs: ✏️ add set function comment

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-11-11 13:45:35 -08:00
Randall MoreyandDharini Jeeva 87b1fb1c5c refactor: 💡 apply custom dark mode for HDS (#1456)
* chore: 🤖 install HDS and associated assets

* chore: 🤖 bump HDS version

* refactor: 💡 optimize hds/icon addon content build

* test: 💍 fix intermittent test failure

* refactor: 💡 apply custom dark mode for HDS

* chore: 🤖 add tier 2 color tweaks for better dark mode contrast

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-11-11 11:31:46 -08:00
Randall MoreyandDharini Jeeva 9fa982d6d1 chore: 🤖 install HDS and associated assets (#1436)
* chore: 🤖 install HDS and associated assets

* chore: 🤖 bump HDS version

* refactor: 💡 optimize hds/icon addon content build

* test: 💍 fix intermittent test failure

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-11-10 20:52:12 -08:00
dependabot[bot] d7b7b014d4 chore(deps): bump socket.io-parser from 4.0.4 to 4.0.5 (#1446)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 16:53:33 -08:00
Carlos Alcaide Corvo 3810c281d3 chore: 🤖 Forgot addon upgrade to Ember 3.x (#1430)
Forgot addon upgrade to Ember 3.x
2022-11-10 11:32:08 -08:00
Devon Anderson fce82c6d9f chore: 🤖 Added json-credential feature flag (#1440)
Added JSON credential flag to help manage access to ui changess for
credential-store/credentials view and actions.

✅ Closes: ICU-6798
2022-11-09 16:36:04 -05:00
Cameron Perera 5e7e11fc6b feat: 🎸 Add links to Host Sets assigned to targets (#1434)
* feat: 🎸 Add links to Host Sets assigned to targets

The target host sources view can now link to the host sets associated
with that target

✅ Closes: ICU-6525

* test: 💍 Improve test assert for host sources links
2022-11-09 14:22:28 -06:00
lisbet-alvarez dfe3aee450 refactor: 💡 one acceptance test in scopes-test.js (#1406)
✅ Closes: ICU-6624
2022-11-09 11:02:57 -08:00
lisbet-alvarez 0b8f1aea17 refactor: 💡 targets read acceptance tests (#1405)
✅ Closes: ICU-6547
2022-11-09 10:13:17 -08:00
lisbet-alvarez 247be9b467 refactor: 💡 acceptance tests for sessions for admin ui (#1404)
✅ Closes: ICU-6623
2022-11-09 09:24:36 -08:00
Zhihe Li a9f6821a3a fix: 🐛 Fix styling for header icon CSS (#1431) 2022-11-08 15:25:53 -05:00
dependabot[bot]andRandall Morey 6b27d67122 chore(deps): bump loader-utils from 1.4.0 to 1.4.1 (#1428)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-11-08 10:48:36 -08:00
Randall Morey 561ed0b2e1 Refactor route action helper - icu-6773 (#1427)
* refactor: 💡 explicitly inject the store service - icu-6770

✅ Closes: icu-6770

* refactor: 💡 upgrade to ember-intl 6.0.1

includes locale initialization and smoke tests

* refactor: 💡 migrate admin and desktop to ember-intl 6.x

✅ Closes: icu-6771

* chore: 🤖 exclude cldr-core@38.1.0 from license checking

this license was manually checked

* fix: 🐛 fix text naming and linting

* refactor: 💡 pull route-action local and update for ember 4

✅ Closes: icu-6773
2022-11-08 09:14:04 -08:00
Randall Morey 0c819d6d12 Chore upgrade ember intl (#1425)
* refactor: 💡 explicitly inject the store service - icu-6770

✅ Closes: icu-6770

* refactor: 💡 upgrade to ember-intl 6.0.1

includes locale initialization and smoke tests

* refactor: 💡 migrate admin and desktop to ember-intl 6.x

✅ Closes: icu-6771

* chore: 🤖 exclude cldr-core@38.1.0 from license checking

this license was manually checked

* fix: 🐛 fix text naming and linting

* chore: 🤖 update to ember-intl beta
2022-11-07 16:18:02 -08:00
Randall MoreyandDharini Jeeva c107fa872c refactor: 💡 explicitly inject the store service - icu-6770 (#1424)
✅ Closes: icu-6770

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-11-07 15:17:23 -08:00
Randall MoreyandDharini Jeeva e538200720 chore: 🤖 improve credentials/new titling - icu-6724 (#1423)
✅ Closes: icu-6724

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-11-07 14:59:15 -08:00
Randall Morey e13aaaa4d6 chore: 🤖 improve credential-libraries/new titling - icu-6724 (#1422)
✅ Closes: icu-6724
2022-11-07 14:37:10 -08:00
Randall Morey b4dbefb79b chore: 🤖 improve credential-stores/new titling - icu-6723 (#1421)
✅ Closes: icu-6723
2022-11-07 13:27:43 -08:00
Randall Morey a7694bdd7f chore: 🤖 improve hosts/new titling - icu-6722 (#1419)
✅ Closes: icu-6722
2022-11-07 13:05:40 -08:00
Randall Morey a24f5b4107 chore: 🤖 improve host-sets/new titling - icu-6721 (#1418)
✅ Closes: icu-6721
2022-11-07 12:46:32 -08:00
Zhihe Li 2ec2c2934c Icu 6705 add stylelint to rose (#1410)
* chore: 🤖 Add stylelint packages

* style: 💄 Initial stylelint fixes

* style: 💄 Use suggested module

* style: 💄 Fix comment whitespace and remove unneeded ones

* style: 💄 Fix few more styles

* style: 💄 Ignore a few styles and fix the rest

* style: 💄 Fix scss/dollar-variable-pattern rule

* chore: 🤖 Remove stylelint order package

* style: 💄 Fix custom-property-pattern rule

* chore: 🤖 Add stylelintrc file to eslintrc

* refactor: 💡 Remove duplicated css selector
2022-11-07 15:23:06 -05:00
Carlos Alcaide Corvo 4481ec7f2a fix: 🐛 Fix missing yarn lock (#1426)
Fix missing yarn lock update
2022-11-07 11:53:02 -08:00
Randall Morey 2360c4124c chore: 🤖 improve host-catalogs/new titling - icu-6720 (#1417)
✅ Closes: icu-6720
2022-11-06 18:12:38 -08:00
Randall Morey ee3c550809 chore: 🤖 improve targets/new titling - icu-6719 (#1416)
✅ Closes: icu-6719
2022-11-06 17:44:06 -08:00
Randall Morey 063c047792 chore: 🤖 improve accounts/new titling - icu-6718 (#1415)
✅ Closes: icu-6718
2022-11-06 17:23:26 -08:00
Randall Morey 3c1a46c9ef chore: 🤖 improve auth-methods/new titling - icu-6717 (#1413)
✅ Closes: icu-6717
2022-11-04 20:08:25 -07:00
Randall Morey 579ebbe9fe chore: 🤖 improve roles/new title - icu-6716 (#1412)
✅ Closes: icu-6716
2022-11-04 19:27:11 -07:00
Randall Morey 5947c6e08a chore: improve titling for new groups - icu-6715 (#1411) 2022-11-04 19:09:07 -07:00
Carlos Alcaide Corvo 40346f2f09 Chore update ember to latest 3.x (#1409)
Update ember to latest 3.x patch
2022-11-04 14:15:31 -07:00
Randall Morey 5e3f693113 chore: 🤖 improve users/new title - icu-6713 (#1408)
✅ Closes: icu-6713
2022-11-03 18:52:43 -07:00
Randall Morey d32a854a94 chore: 🤖 improve scopes/new titling - icu-6714 (#1407)
* chore: 🤖 improve scopes/new titling - icu-6714

✅ Closes: icu-6714

* chore: 🤖 improve new scope link text
2022-11-03 18:37:42 -07:00
Zhihe Li e8af948dc1 feat: 🎸 Auto-populate hcp cluster id (#1389)
✅ Closes: ICU-6200
2022-11-02 14:30:10 -04:00
lisbet-alvarez a91cbaf231 refactor: 💡 host set read acceptance tests (#1402)
* refactor: 💡 host set read acceptance tests

✅ Closes: ICU-6546
2022-11-02 11:11:02 -07:00
lisbet-alvarezandZhihe Li c18fb48637 refactor: 💡 hosts read acceptance tests (#1401)
* refactor: 💡 hosts read acceptance tests

✅ Closes: ICU-6545

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2022-11-02 09:49:21 -07:00
4b231f64f3 refactor: 💡 host-catalogs read acceptance test (#1400)
* refactor: 💡 host-catalogs read acceptance test

✅ Closes: ICU-6544

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-11-02 09:27:01 -07:00
Zhihe Li 1111cbd6a2 chore: 🤖 Update electron to latest version (#1399) 2022-11-02 11:51:26 -04:00
Devon AndersonandRandall Morey fa9f5476b5 feat: 🎸 Re-enabling footer for Boundary Admin UI (#1390)
* feat: 🎸 Re-enabling footer for Boundary `admin-ui`

Re-enable global footer and fix styling

✅ Closes: ICU-6454

* refactor: 💡 added media-query code

Added media-query code for footer to expand on smaller screens.

* refactor: 💡 refactor footer to exist in sidebar-layout

Improved overall layout of content with footer by moving it to the
sidebar-layout

* refactor: 💡 continuous refactor of admin ui footer

Refactored sidebar layout to include grid footer with layout,

* refactor: 💡 collapse sidebar when absent

* refactor: improve css grid column collapse approach

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-11-01 19:17:19 -04:00
Zhihe Li cc42de52a2 fix: 🐛 Fix electron appearance for desktop with mirage locally (#1394) 2022-11-01 18:50:40 -04:00
lisbet-alvarezandCameron Perera 0598be5df9 refactor: 💡 existing read credential store acceptance tests (#1396)
* refactor: 💡 existing credential store acceptance tests

✅ Closes: ICU-5517

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-10-31 13:07:58 -07:00
Randall Morey 0625d3b8a1 Refactor scss (#1397)
* refactor: 💡 upgrade sass and ember-cli-sass

* refactor: 💡 rose becomes dev dep of core

* refactor: 💡 migrate rose styles to rose/app/styles

* chore: 🤖 disable sass linting until stylelint can be installed
2022-10-27 15:32:44 -07:00
Carlos Alcaide Corvo 7d46215aa4 refactor: 💡 Delete ember-cli-template-lint (#1393)
Delete ember-cli-template-lint
2022-10-27 12:13:32 +02:00
bfc212440d chore: 🤖 auto-dismiss auth error notifications (#1384)
* chore: 🤖 auto-dismiss auth error notifications

* chore: 🤖 apply login error auto-dismiss to desktop

* Update addons/core/addon/decorators/notify.js

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>

* chore: 🤖 explain sticky defaulting

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2022-10-25 16:09:33 -07:00
Zhihe Li 3c05337832 Icu 6424 deprecate @storybook/addon knobs (#1386)
✅ Closes: ICU-6424
2022-10-25 11:41:20 -04:00
Carlos Alcaide Corvo 744a732f05 refactor: 💡 Deprecate renderTemplate in header-nav (#1385)
Deprecate the usage of renderTemplate in the application header-nav
2022-10-25 11:13:19 +02:00
Carlos Alcaide Corvo d5ad161dcf Refactor deprecate rendertemplate (#1382)
Refactor deprecate rendertemplate for host-catalogs
2022-10-19 13:18:31 +02:00
Carlos Alcaide Corvo f7a778b9af fix: 🐛 Forgotten session setup method in core (#1380)
Forgotten ember auth session setup method
2022-10-19 12:52:45 +02:00
Randall Morey 977469f30c Revert "feat: 🎸 remove animation when user specifies reduced motion (#1381)" (#1383)
This reverts commit 6cb587eccf.
2022-10-18 13:15:37 -07:00
lisbet-alvarez 6cb587eccf feat: 🎸 remove animation when user specifies reduced motion (#1381)
✅ Closes: ICU-4330
2022-10-17 11:32:14 -07:00
Carlos Alcaide Corvo 18325e5126 fix: 🐛 Session setup method deprecation message (#1374)
* fix: 🐛 Session setup method deprecation message
2022-10-17 14:57:30 +02:00
Dharini Jeeva 57dd1ac4d3 fix: 🐛 csp fix (#1369)
* fix: 🐛 csp fix
2022-10-14 10:45:37 -07:00
Zhihe Li 8571951548 * feat: 🎸 Add handlebars registration for syntax highlighting (#1378)
* feat: 🎸 Add handlebars registration for syntax highlighting

* style: 💄 Use handlebars format

* style: 💄 Reformat mdx files

* style: 💄 Fix broken formatting from merge
2022-10-14 11:25:27 -04:00
Zhihe Li 4fd9e41cc6 fix: 🐛 Disable add worker tag if there's no key (#1379) 2022-10-14 10:52:21 -04:00
Carlos Alcaide Corvo e02177f5b6 Chore rose storybook deprecations (#1371)
* Deprecate correct blobs in main.js, postcss usage, hierarchy separators in styleguide and scoped blocks import
2022-10-14 16:18:47 +02:00
Carlos Alcaide Corvo be1b16361d chore: 🤖 Upgrade ember-autofocus-modifier (#1377)
Upgrade ember-autofocus-modifier
2022-10-14 12:26:35 +02:00
Carlos Alcaide Corvo c9dd39ff3e Chore upgrate ember qunit (#1376)
* Upgrade ember-qunit and ember-exam
2022-10-14 12:07:26 +02:00
Dharini Jeeva 0ee997716f Icu 5602 clean up form actions (#1358)
* chore: 🤖 remove unused disabled attr
2022-10-13 12:41:15 -07:00
Carlos Alcaide Corvo 15e20c008f refactor: 💡 Clean old mirage code (#1373)
Clean from addon old mirage code that it is not used
2022-10-13 09:31:22 +02:00
Carlos Alcaide Corvo 5386aaad7f Chore update ember modifier (#1370)
* chore: 🤖 Update ember-modifier
2022-10-13 09:02:06 +02:00
Zhihe Li 1f1b064ee9 fix: 🐛 Fix mac intel cli download (#1375) 2022-10-12 18:52:36 -04:00
Zhihe Li 4dda7ee3ba refactor: 💡 Update how we use ENABLE_MIRAGE to be consistent (#1362)
✅ Closes: ICU-6038
2022-10-12 11:44:10 -04:00
hashicorp-copywrite[bot]andCalebAlbers afe1e3ba3e Add or update MPL 2.0 license (#1372)
Co-authored-by: CalebAlbers <CalebAlbers@users.noreply.github.com>
2022-10-12 10:39:10 +02:00
Dharini Jeeva 32c9becea7 chore: 🤖 clean form errors (#1363) 2022-10-07 09:31:51 -07:00
mcollao-hc 7661a77824 [ICU-6448] Update CSP to add frame-ancestors: self (#1367)
* update csp

* add csp for ui
2022-10-06 14:23:14 -05:00
Zhihe Li b55c50cf64 Chore/update linter (#1355)
* chore: 🤖 Update editor config settings

* chore: 🤖 Add back ember-template-lint-plugin-prettier

* style: 💄 Format admin

* style: 💄 Format desktop

* style: 💄 Format rose

* style: 💄 Format core

* style: 💄 Format api
2022-10-06 11:41:12 -04:00
Cameron PereraandDharini Jeeva ebb172c46a chore: 🤖 update mout resolution to 1.2.4 for security issue (#1341)
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-10-06 10:08:34 -05:00
Carlos Alcaide Corvo 67015346c6 Chore update ember cli dependency checker addon (#1365)
* Update ember-cli-dependency-checker.
2022-10-06 09:28:09 +02:00
Carlos Alcaide Corvo 4d8d42e80e docs: ✏️ Add debug desktop client documentation (#1359)
Add how to debug desktop client documentation.
2022-10-06 09:11:04 +02:00
Zhihe Li f46168f8de chore: 🤖 Allow retrieval of arm64 cli (#1356) 2022-10-05 15:07:04 -04:00
Cameron Perera b6b93c9cd8 style: 💄 Fix 2 translation typos (#1357) 2022-10-05 10:23:18 +02:00
Carlos Alcaide Corvo 4d6a878325 fix: 🐛 Fix SCSS lint issues (#1364)
Fix SCSS lint issues
2022-10-05 08:18:26 +02:00
Zhihe Li 7dfaff1538 fix: 🐛 Fix raw api output not displaying codemirror properly (#1354)
✅ Closes: ICU-6249
2022-09-28 14:49:09 -04:00
Zhihe Li e09b4fffe7 chore: 🤖 Update version and changelog for desktop (#1353) 2022-09-27 15:39:39 -04:00
Zhihe Li 3deec2ed50 fix: 🐛 Sort workers when filtering is enabled as well (#1352) 2022-09-27 09:15:42 -04:00
Dharini Jeeva 3fc22b4aa3 fix: 🐛 clear token on normalization (#1351)
* fix: 🐛 clear token on normalization
2022-09-26 18:25:02 -07:00
Cameron PereraandSusmitha Girumala 0cba914045 chore: 🤖 remove unused ssh-target feature flag (#1346)
Co-authored-by: Susmitha Girumala <susmitha@hashicorp.com>
2022-09-26 12:35:25 -05:00
Zhihe LiandCarlos Alcaide Corvo 4c4d4e2351 Fix bug dc token env (#1350)
* Add Boundary password as env variable. WIP

* Add Boundary password as env variable to the spawn process

* fix: 🐛 Fix token flag when connecting a target

Fix a token flag when connecting to a target. Now it uses an env
variable

* Add rest env variables to child processes

Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2022-09-26 12:39:49 -04:00
Zhihe Li e2fff61416 fix: 🐛 Add back div to fix tag icon badge layout (#1349) 2022-09-22 17:57:40 -04:00
Zhihe Li 82e531e836 feat: 🎸 Update workers list to be sorted (#1348)
✅ Closes: ICU-6185
2022-09-22 13:24:33 -04:00
Cameron Perera e6d68c2e4a refactor: 💡 fix routing for static credentials from targets (#1347)
* refactor: 💡 fix routing for static credentials from targets

✅ Closes: ICU-6155

* chore: 🤖 Add comment to isStatic credential helper method
2022-09-21 15:10:28 -05:00
Zhihe Li 9e55f5f157 chore: 🤖 Enable BYOW feature (#1345) 2022-09-21 09:30:07 -04:00
Zhihe Li eb539b9c5b Icu 6036 update filter dropdown for tags in list view (#1337)
✅ Closes: ICU-6036
2022-09-20 20:51:06 -04:00
Dharini JeevaandCameron Perera 5224512da0 Icu 6153 unknown credential support (#1344)
* feat: 🎸 Add support for unknown credential types

✅ Closes: ICU-6153

* fix: 🐛 add unknown cred type

* refactor: 💡 move credential type logic to a component

* chore: 🤖 fix component name

* fix: 🐛 update component name, remove unused translated string

* fix: 🐛 file name

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-09-20 19:31:16 -05:00
Zhihe Li 6aec408003 feat: 🎸 Make checkbox equality checks more general (#1335) 2022-09-20 20:13:26 -04:00
Randall Morey f937bbf282 fix: 🐛 stop sending scope_id on cred libraries (#1343) 2022-09-20 18:24:18 -04:00
Zhihe Li 7996d5439c chore: 🤖 Update public worker address wording (#1340) 2022-09-20 17:04:17 -04:00
Dharini Jeeva 3f2a17f59c chore: 🤖 update host catalog ui (#1342)
* chore: 🤖 update host catalog/hosts/host-set azure texts
2022-09-20 13:23:29 -07:00
Dharini Jeeva 24a99d0fb7 chore: 🤖 Host Set Updates (#1333)
host set text updates
2022-09-20 09:51:29 -07:00
Zhihe Li fdc4a13194 Icu 6034 update tags in create page to support multi input fields (#1325)
* feat: 🎸 Change tags to be multi part input fields

✅ Closes: ICU-6034
2022-09-20 10:56:18 -04:00
Devon Anderson 70bfd4c181 feat: 🎸 Update Detail Page to show Tags (#1327)
* feat: 🎸 Update Detail Page to show Tags

Update detailed worker view page to show tags in key:value pair format

✅ Closes: ICU-6037

* refactor: 💡 Fix duplicate yaml variables, and view

Refactor detailed view to have space after comma for value array, and
removed duplicate yaml variables for worker_tags

✅ Closes: ICU-6037

* change title and description translation variables
2022-09-20 09:11:57 -04:00
lisbet-alvarez 10a81f8590 refactor: 💡 translation fix (#1338) 2022-09-19 16:01:14 -07:00
Zhihe Li c75abc11dc feat: 🎸 Add optional icon for dropdown section (#1332) 2022-09-19 16:28:19 -04:00
Dharini Jeeva e17db2e0d6 Update fieldset (#1334)
* chore: 🤖 add helpertext to fieldset and update text
2022-09-19 13:07:31 -07:00
Cameron Perera d2b67fa76c chore: 🤖 enable SSH Targets and Static Credential Store support (#1336) 2022-09-19 09:50:59 -05:00
Cameron Perera 3af439f1e6 refactor: 💡 Update Host Catalog form labels and help text (#1331)
✅ Closes: ICU-6107
2022-09-16 15:14:26 -07:00
Cameron Perera f143ba3d58 refactor: 💡 Update Quick Setup Success screen button route (#1330)
Route to Target details screen now

✅ Closes: ICU-6096
2022-09-16 14:25:45 -05:00
Zhihe Li 82bbe798fd feat: 🎸 update the tags badge in workers list view (#1326)
* feat: 🎸 update the tags badge in workers list view

✅ Closes: ICU-6035
2022-09-16 14:53:29 -04:00
Dharini JeevaandCameron Perera 346e0d356a chore: 🤖 update quicksetup svg (#1329)
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-09-16 13:02:30 -05:00
Cameron Perera f603c405a7 refactor: 💡 Update Quick Setup resource names (#1328)
* refactor: 💡 Update Quick Setup resource names

✅ Closes: ICU-6094

* refactor: 💡 Fix target quick setup name
2022-09-16 12:17:36 -05:00
Dharini Jeeva 8eeab7e87b Icu 5991 UI add worker filter form field for vault type credential stores (#1318)
* chore: 🤖 add worker_filter to vault cred store
2022-09-14 12:06:34 -07:00
Randall Morey 3d32200cf3 chore: 🤖 disable features (#1317) 2022-09-14 09:49:06 -04:00
Cameron Perera 29d41efade chore: 🤖 Add new flag for vault-worker-filter, ENT/HCP only (#1316)
✅ Closes: ICU-6054
2022-09-13 14:09:10 -07:00
Devon Anderson 8efa3168c8 feat: 🎸 Update worker model (#1313)
* feat: 🎸 Update worker model

Update worker modeel for `release_version` field

✅ Closes: ICU-6044

* refactor: 💡 update mirage factory

Update mirage factory for worker and `release_version`

✅ Closes: ICU-6044

* feat: 🎸 Update detailed worker view (#1315)

Update detailer worker view to include read-only `release_version` field

✅ Closes: ICU-6046

* feat: 🎸 Update workers list-view (#1314)

Update workers list-view to include `release-version`

✅ Closes: ICU-6045
2022-09-13 16:49:48 -04:00
Cameron Perera cd9d3e91e5 refactor: 💡 Add worker_filter to vault credential stores (#1310)
* refactor: 💡 Add worker_filter to vault credential stores

Add worker_filter attribute to vault type credential store model

✅ Closes: ICU-5988

* refactor: 💡 Add worker_filter mirage mock for credential store (#1312)

✅ Closes: ICU-5990
2022-09-13 15:23:28 -05:00
Devon AndersonandZhihe Li 3c49dc1c48 feat: 🎸 Feature flag for oss and hcp binary (#1305)
* feat: 🎸 Feature flag for `oss` and `hcp` binary

Create feature flag for `oss` and `hcp` to change specific input fields
based on binary editions

✅ Closes: ICU

* Update ui/admin/app/components/form/worker/create-worker-led/index.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update ui/admin/app/components/form/worker/create-worker-led/index.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 Quick refactor

Refactor `create-worker-led/index.js`, and test.

✅ Closes: ICU-5903

* refactor: 💡 refactor for better readability

Refactor code for better readability

* refactor: 💡 rename filter function

rename array filter function to be more descriptive

✅ Closes: ICU-5903

* changed params name for  `convertCommaSeparatedValuesToArray`

* add ending new line

* Update ui/admin/app/components/form/worker/create-worker-led/index.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 yaml refactor

yaml refactor

* refactor: 💡 revert en-us.yaml file

revert en-us.yaml file

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2022-09-12 16:04:29 -04:00
Zhihe Li e6767b1e14 Chore/enable yaml formatting (#1307) 2022-09-12 15:17:21 -04:00
Carlos Alcaide Corvo 3347668b41 chore: 🤖 Add feature flags for dev and test environments (#1306) 2022-09-12 15:58:08 +02:00
Zhihe Li 34da192ef9 chore: 🤖 Enable stylistic linting rules (#1298) 2022-09-07 16:21:27 -04:00
Dharini Jeeva d930c3da3a chore: 🤖 enable ssh-target for production (#1302)
* chore: 🤖 enable ssh-target for production
2022-09-07 09:48:29 -07:00
lisbet-alvarez 0a2305bba9 feat: 🎸 Enable Static Credentials flag for Production (#1301)
✅ Closes: ICU-5952
2022-09-06 13:23:02 -07:00
Zhihe Li 86ab7331af fix: 🐛 Fix tag bug from moving where workers list is loaded (#1284)
* fix: 🐛 Fix tag bug from moving where workers list is loaded

* style: 💄 Remove unused import

* refactor: 💡 Use new setting to turn off auto refresh for filter
2022-09-06 13:45:22 -04:00
Dharini Jeeva c351452d71 test: 💍 acceptance tests for injected credentials (#1297)
test: 💍 acceptance tests for injected application credentials
2022-09-02 13:10:27 -07:00
Dharini Jeeva 8952541203 Add injected credentials tab (#1295)
* chore: 🤖 introduce injected application credentials on the UI
2022-09-02 12:29:39 -07:00
Devon Anderson 128b0ff492 refactor: 💡 Add tab navigation to detailed worker view page (#1288)
Added tab navigation to detailed worker view page.

✅ Closes: ICU-5901
2022-09-02 10:48:23 -04:00
Zhihe Li ccf462019b chore: 🤖 Add eol-last rule (#1296)
* chore: 🤖 Add eol-last rule

* style: 💄 Add newlines for core

* style: 💄 Add newlines to EOF in rose

* style: 💄 Add newlines for admin

* style: 💄 Add newlines in desktop templates
2022-09-01 17:43:30 -04:00
Zhihe Li a69d01c9fc Chore/enable quote rule (#1294)
* chore: 🤖 Add quote rule to use single quotes in templates
2022-09-01 16:39:56 -04:00
Randall MoreyandSusmitha Girumala a2e27b09c3 refactor: 💡 add standalone server mocks to auth tests (#1283)
* refactor: 💡 replace ember notify with flash in notify decorator

* refactor: 💡 remove embery-notify and replace last instance

* chore: 🤖 upgrade ember dependencies in anticipation of ember 4

* refactor: 💡 add standalone server mocks to auth tests

Co-authored-by: Susmitha Girumala <susmitha@hashicorp.com>
2022-09-01 15:40:00 -04:00
Randall Morey 3ff89279e6 chore: 🤖 add refreshRouteOnChange option to resource filters (#1289) 2022-09-01 13:27:34 -04:00
Dharini Jeeva 2614b311a1 Icu 5578 - introduce injected application credential on the api (#1269)
* chore: 🤖 include injected cred sources to the target model
2022-09-01 10:07:36 -07:00
Cameron Perera bd0854b0f6 refactor: 💡 update password input field to be a password type (#1291) 2022-08-31 17:26:47 -05:00
Cameron Perera e019b825ac refactor: 💡 update passphrase field to a password text input (#1292)
Update passphrase field to a text input to allow for adding a password
type
2022-08-31 17:08:34 -05:00
Zhihe Li 6fd0301635 chore: 🤖 Remove "ember-template-lint-plugin-prettier" (#1293)
* chore: 🤖 Remove "ember-template-lint-plugin-prettier"
2022-08-31 17:17:14 -04:00
Randall Morey 96cf75bfdb chore: 🤖 upgrade ember dependencies in anticipation of ember 4 (#1280)
* refactor: 💡 replace ember notify with flash in notify decorator

* refactor: 💡 remove embery-notify and replace last instance

* chore: 🤖 upgrade ember dependencies in anticipation of ember 4
2022-08-31 11:41:50 -07:00
Randall Morey 4a6ed0b509 refactor: 💡 replace ember notify with flash in notify decorator (#1272)
* refactor: 💡 replace ember notify with flash in notify decorator

* refactor: 💡 remove embery-notify and replace last instance
2022-08-31 10:24:25 -07:00
Randall MoreyandZhihe Li cde6abd445 refactor: 💡 convert brokered cred IDs array to simple attribute (#1259)
* refactor: 💡 convert brokered cred IDs array to simple attribute

* fix: 🐛 missing test assertion

* fix: 🐛 simplify computed

* refactor: 💡 convert host sources array to simple attribute (#1260)

* refactor: 💡 convert host source IDs array to simple attribute

* fix: 🐛 host source tests

* Refactor role fragment arrays (#1262)

* refactor: 💡 convert grant strings to regular attribute

* refactor: 💡 convert principals array to simple attribute

* Update ui/admin/app/routes/scopes/scope/roles/role.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* fix: 🐛 remove unused import

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2022-08-31 09:55:59 -07:00
Cameron Perera 83c7b76f48 refactor: 💡 Update passphrase to private_key_passphrase (#1290)
✅ Closes: ICU-5916
2022-08-30 20:40:31 -05:00
lisbet-alvarezandZhihe 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
Dharini Jeeva 069a864cbb chore: 🤖 add abilities for injected app cred sources (#1285)
* chore: 🤖 add abilities for injected app cred sources
2022-08-30 12:01:59 -07:00
Dharini Jeeva a3337b3771 Add injected application credential support (#1282)
* fix: 🐛 credential application injection translations
2022-08-30 10:52:21 -07:00
Dharini Jeeva 9ee89585ec Remove unused console logs (#1286)
* fix: 🐛 remove unused logs
2022-08-30 09:49:34 -07:00
Devon Anderson 03b603be54 refactor: 💡 Disable read-only fields when editing worker (#1287)
Refactor detailed worker to not hide read-only fields when editing, but
leave them disabled

✅ Closes: ICU-5902
2022-08-30 12:11:19 -04:00
bc7ed3f0ed ICU 5247 detailed worker view and ICU 5248 edit worker view (#1246)
* feat: 🎸 Add list view for workers

✅ Closes: ICU-5251

* feat: 🎸 Add route for worker detail and include links in table

* refactor: 💡 Updated id display in table and fixed worker route

* test: 💍 Add workers list test

* feat: 🎸 Add worker detailed view and edit view

Added worker detailed view and editable form view for name and
description of worker

✅ Closes: ICU-5247 ICU-5248

* refactor: 💡 fixed conflict merge

fixed merge conflicts for scope/workers/worker

✅ Closes: ICU-5247

* Update ui/admin/app/routes/scopes/scope/workers.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* Update ui/admin/app/templates/scopes/scope/workers/worker/index.hbs

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* test: 💍 Test for worker/update-test.js

Created update-test.js and refactored worker/form.hbs for correct
display of last_seen

✅ Closes: ICU-5247

* Update ui/admin/app/routes/scopes/scope/workers.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update ui/admin/app/templates/scopes/scope/workers/worker/index.hbs

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* Update ui/admin/tests/acceptance/workers/read-test.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 code refactor and test creation

Refactored code for detailed worker view, created controller for
detailew worker view to display worker name in breadcrumbs, added test
for `delete`, `update`.

✅ Closes: ICU-5247

* refactor: 💡 Refactor test

Refactor update-test.js and clean up code.

✅ Closes: ICU-5247

* refactor: 💡 fixed workers/update-test.js

added local variable for better test coverage for cancel test in
workers/update-test.js

✅ Closes: ICU-5247

* refactor: 💡 fix test

Refactored yaml file for `last_seen.description`

✅ Closes: ICU-5247

* Update ui/admin/app/routes/scopes/scope/workers.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* removed `type` from  `<form.textarea/>` component

* Update ui/admin/app/controllers/scopes/scope/workers/worker.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* spacing for linter

* refactor: 💡 Refactor test

Refactored `worker/read-test.js` to to test correct authorization

✅ Closes: ICU-5247

* ci: 🎡 Fixed lint

fixed lint

✅ Closes: ICU-5247

* refactor: 💡 Added custom relatvie date to field

Added custom relative date to `last_status_time` input for worker view.

✅ Closes: ICU-5247

* refactor: 💡 refactored yaml file

changed delete dropdown for worker to `actions.delete`

✅ Closes: ICU-5247

* Removed unused services from workers.js

* merge changes from main

* fix lint

* fix lint

* Update index.hbs

lint issues

* refactor: 💡 fixed lint for hbs

fixed linting issues for hbs files

✅ Closes: ICU-5247 ICU-5249

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-08-29 10:24:41 -04:00
lisbet-alvarezandZhihe 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
Devon AndersonandZhihe Li a3517e53a8 chore: 🤖 create relative date helper (#1276)
* chore: 🤖 create relative date helper

Create a relative date helper that outputs "time" ago format.

✅ Closes: ICU-5847

* Update addons/core/addon/helpers/relative-datetime-live.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 refactor test for relative-date-helper

refactor test for relative-datetime-live helper

✅ Closes: ICU-5847

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2022-08-26 12:22:24 -04:00
Zhihe Li 3130831ae0 feat: 🎸 Add create worker page (#1244)
* feat: 🎸 Add create worker page

✅ Closes: ICU-5246
2022-08-26 11:50:53 -04:00
Zhihe Li dd0d37241c feat: 🎸 Add code editor to api response display (#1271)
✅ Closes: ICU-5767
2022-08-26 11:01:23 -04:00
Cameron Perera 9a10b68bbe refactor: 💡 update credential serializer to delete password (#1277)
* refactor: 💡 update credential serializer to delete password

update credential serializer to delete password attribute if empty
string or null allowing the user to update just the username if needed.

✅ Closes: ICU-5731

* refactor: 💡 update serializer comments and test names
2022-08-25 17:02:48 -05:00
Zhihe Li 30b9f65251 chore: 🤖 Update electron to v16 (#1267)
✅ Closes: ICU-4018
2022-08-25 12:04:59 -04: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
Zhihe Li 1ee83dd1e6 chore: 🤖 Cleanup rose (#1270)
* refactor: 💡 Clean up use of classnames in rose

* fix: 🐛 Fix form action story using wrong disabled field
2022-08-22 16:17:06 -04:00
Dharini Jeeva 359614517e fix: 🐛 add translation string (#1268) 2022-08-18 15:50:53 -07:00
Dharini Jeeva 9a8665a314 Refactor credential sources to brokered credential sources (#1264)
* chore: 🤖 refactor credential sources to brokered credential source
2022-08-18 09:11:38 -07:00
Dharini Jeeva f4f7c0e343 fix: 🐛 disable scope (#1265) 2022-08-18 08:23:43 -07:00
lisbet-alvarezandCameron Perera dae5174d2f feat: 🎸 Update the credentials route to support both types (#1263)
Add query param to the credential route in order to support the new ssh
private key type

✅ Closes: ICU-5649

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-08-17 14:48:52 -07:00
Cameron Perera 53eef5caeb feat: 🎸 Add SSH Private Key mirage support (#1261)
* feat: 🎸 Add SSH Private Key mirage support

Update mirage to mock SSH Private key credential types

✅ Closes: ICU-5647

* refactor: 💡 remove default case in credential mirage mock
2022-08-17 13:20:21 -05:00
Cameron Perera 50038cdf85 Icu 5646 serializer (#1257)
* feat: 🎸 Update Credential Serializer

Add support for SSH Private Key credentials

✅ Closes: ICU-5646

* test: 💍 Add normalize test for ssh private key credentials

* refactor: 💡 remove deletion of hmac attributes in serializer
2022-08-16 14:35:33 -05:00
Randall Morey 7386b2c9ed refactor: 💡 deauth should delete the auth token (#1256) 2022-08-15 11:22:27 -07:00
Dharini Jeeva e3324ad64a chore: 🤖 rename application_credentials_sources_ids to brokered (#1255) 2022-08-15 09:48:12 -07:00
Cameron Perera 39c0835a99 feat: 🎸 Update credential model with ssh private key attributes (#1254)
✅ Closes: ICU-5645
2022-08-12 15:56:19 -05:00
lisbet-alvarez 29e3e8b843 feat: 🎸 Enable SSH Targets for development (#1239)
Enable SSH Targets for development ENV. Already enabled for testing ENV.

✅ Closes: ICU-5553
2022-08-12 10:33:05 -07:00
lisbet-alvarez 72b7b85ad1 chore: 🤖 remove filter feature flag (#1252)
✅ Closes: ICU-5599
2022-08-12 10:02:05 -07:00
Dharini Jeeva 9a1d1225ca chore: 🤖 remove unused oidc-account-crud feature flag (#1249) 2022-08-12 09:43:19 -07:00
Dharini Jeeva 33728a6496 chore: 🤖 remove managed_groups feature flag (#1253) 2022-08-12 09:27:02 -07:00
lisbet-alvarez bf2a6aeb6a chore: 🤖 remove oidc-crud feature flag (#1248)
* chore: 🤖 remove oidc-crud feature flag

✅ Closes: ICU-5597

* Update environment.js to resolve confilicts
2022-08-11 16:01:47 -07:00
Dharini Jeeva 746426fc82 chore: 🤖 cleanup feature flags - OIDC (#1245)
* chore: 🤖 cleanup OIDC feature flag
2022-08-11 15:37:44 -07:00
Randall Morey d8b5056094 fix: 🐛 fixes host set attributes field types (#1251) 2022-08-11 16:10:42 -04:00
lisbet-alvarez bdc2238f17 chore: 🤖 add got package to resolutions (#1243) 2022-08-11 12:41:34 -07:00
Zhihe Li 1842631056 fix: 🐛 Add feature flag for BYOW (#1250) 2022-08-11 13:47:22 -04:00
lisbet-alvarez 6f2a04d4c6 chore: 🤖 add async to resolutions (#1242) 2022-08-10 12:28:55 -07:00
Randall Morey e0b59b7d8b fix: 🐛 icu-5258 filter field is not sent in payload (#1238) 2022-08-10 11:58:12 -07:00
lisbet-alvarez fbf6b2c201 chore: 🤖 chore(deps): upgrade got package version (#1241)
add got to resolutions
2022-08-10 10:41:39 -07:00
lisbet-alvarez 7b212efcf2 chore: 🤖 Add terser to resolutions (#1237)
* chore: 🤖 bump terser from 4.8.0 to 4.8.1

* chore: 🤖 Update all terser dependency instances to 5.14.2
2022-08-10 10:15:13 -07:00
Dharini Jeeva ecb34d7427 chore: 🤖 dependency update (#1240) 2022-08-10 09:46:48 -07:00
Zhihe Li 4ab7304411 feat: 🎸 Added list view for workers (#1234)
* feat: 🎸 Add list view for workers

✅ Closes: ICU-5251
2022-08-09 16:12:56 -04:00
Devon AndersonandDharini Jeeva 62077d3c25 feat: 🎸 Add worker serializer (#1230)
* feat: 🎸 Add worker serializer

Add worker serializer that focus' on `config_tags.type` and
`canonical_tags.type`.
[API](https://docs.google.com/document/d/1G-lfl8gk9NfoKFImSpHb90E3xC3CSEVDwVy3bJ9eOhA/edit#heading=h.9e06o4b8etpi)

✅ Closes: ICU-5241

* refactor: 💡 refactored `models/worker.js`

Because `canonical_tags` and `config_tags` are `readOnly` attributes, we
could use `attr` decorator instead of `fragment`.

✅ Closes: ICU-5241

* refactored `model/worker.js and deleted un-needed files

* refactor: 💡 Refactored model/worker.js and created test

Refactored model/worker.js to include custom method for POST route for
adding new worker.

BREAKING CHANGE: 🧨 no

✅ Closes: ICU-5241

* refactor: 💡 Refactored custom POST route method for worker

Refactored custom method on `model/worker.js` to include serialization
for `worker_genrated_auth_token`

BREAKING CHANGE: 🧨 no

✅ Closes: ICU-5241

* refactor: 💡 Refactor test

Refactor model/worker-test.js and serializers/worker.js

BREAKING CHANGE: 🧨 no

✅ Closes: ICU-5241

* Update addons/api/addon/serializers/worker.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* update worker.js documentation block

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-08-09 15:34:42 -04:00
Dharini Jeeva 1f0baceb5e Icu 5476 refactor target model serializer and mirage (#1235)
chore: 🤖 refactor target model to support credentials
2022-08-08 09:21:07 -07:00
Cameron Perera 2cda4f639e refactor: 💡 update onSubmit for add-credential-sources (#1233)
Remove submit action from form component and pass selected credential
IDs directly to the submit method
2022-08-04 14:53:44 -05:00
Cameron Perera 9f09f01f36 Icu 5253 add query to include credentials (#1227)
* refactor: 💡 add-credential-sources to include credentials

* refactor: 💡 update add-credential-sources template

Update to how AddCredentialSources form is rendered in the template

✅ Closes: ICU-5253

* refactor: 💡 Update add-credential-sources method signatures

* refactor: 💡 change how add-credential-source form is rendered

* refactor: 💡 Remove duplicate add-credential-sources message

Remove the duplicate No Credential Credential Sources message from
add-credential-sources form

* refactor: 💡 Move filter logic to controller

Move credential source filter logic from route to controller for
add-credential-sources

* test: 💍 Verify all available credential sources are listed
2022-08-02 11:55:26 -05:00
dependabot[bot]andRandall Morey c8a76078ec chore(deps): bump json-pointer from 0.6.1 to 0.6.2 (#1224)
Bumps [json-pointer](https://github.com/manuelstofer/json-pointer) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/manuelstofer/json-pointer/releases)
- [Commits](https://github.com/manuelstofer/json-pointer/commits)

---
updated-dependencies:
- dependency-name: json-pointer
  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: Randall Morey <randall@randallmorey.com>
2022-08-01 14:35:23 -07:00
Zhihe Li 96b0ae3b06 Icu 5245 add workers tab to navigation and initial overview (#1229)
* feat: 🎸 Add initial workers UI navigation page

✅ Closes: ICU-5245
2022-08-01 16:04:41 -04:00
Cameron Perera bc6f849270 fix: 🐛 Fix routing issue for new credential stores (#1232) 2022-08-01 14:41:24 -05:00
Carlos Alcaide Corvo 2fcfab7c1c refactor: 💡 Deprecate faker to use @faker-js (#1223) 2022-08-01 14:25:07 -04:00
lisbet-alvarez 210296f298 refactor: 💡 Remove helper text for Username & Password (#1231)
Remove helper text for username and password fields in Credential form
as requested in a previous conversation.

✅ Closes: ICU-5459
2022-08-01 10:47:36 -07:00
Randall Morey c675f790ef fix: 🐛 change password route should not error (#1228) 2022-07-29 15:18:57 -07:00
Zhihe Li b722fa361b * feat: 🎸 Add code-editor component (#1207)
* feat: 🎸 Add code-editor component

Added code editor component which was taken from HCP, tweaked styles and
imports to use boundary assets

✅ Closes: ICU-5167
2022-07-29 17:18:07 -04:00
Randall Morey 40184006cd chore: 🤖 introduce hcp edition for naming consistency (#1225) 2022-07-29 10:10:40 -07:00
Randall Morey ec56d2fbbe fix: 🐛 role discard should not error (#1226) 2022-07-28 17:49:51 -07:00
Randall Morey bfc433dc38 feat: 🎸 add scope filtering to role/add-principals route (#1211)
* feat: 🎸 add scope filtering to role/add-principals route

* fix: 🐛 remove unnecessary helper

* feat: 🎸 add scope filtering to group add-members route
2022-07-28 17:34:03 -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
Zhihe Li 2b58e82d6d feat: 🎸 Add worker mirage mocks (#1217)
✅ Closes: ICU-5240
2022-07-28 14:57:53 -04:00
Zhihe Li a84e8c693e feat: 🎸 Add worker model (#1213)
✅ Closes: ICU-5239
2022-07-28 14:33:23 -04:00
Michele Degges dcf24478bd [CI-only] Add build job for HCPb variant (#1221)
This new job mirrors the enterprise build job, but lets us keep the existing logic laid out in https://github.com/hashicorp/boundary/blob/main/.github/workflows/build.yml#L136 to download the right UI artifacts based on the boundary variant/edition.
2022-07-28 08:39:01 -07:00
Carlos Alcaide Corvo 04d14005c0 Fix runtime-settings to not access directly the private variable (#1220) 2022-07-27 11:14:59 -07:00
Carlos Alcaide Corvo 4fcb005a1f Refactor origin to cluster (#1210) 2022-07-27 10:25:01 -07:00
lisbet-alvarez 40ba4286d3 refactor: 💡 Edit a credentail (#1218)
Password input field is now only viewable after user clicks on "Edit
Form"

✅ Closes: ICU-5180
2022-07-27 09:20:03 -07:00
Dharini Jeeva 409e68de1e chore: 🤖 add delete and patch mirage request for credential (#1216) 2022-07-26 13:35:04 -07:00
Cameron Perera 32ba330889 fix: 🐛 spelling error in getting started on desktop redirect (#1215) 2022-07-26 13:39:39 -05:00
lisbet-alvarez f00da3d8d7 test: 💍 credential store CRUDL tests (#1212)
Revised acceptance tests to reflect two types of credential stores

✅ Closes: ICU-5329

* test: 💍 credential store CRUDL tests

* test: 💍 small addition to type of cred. store

* test: 💍 Add missing vault cred. store type tests

* fix: 🐛 rename variable in read-test.js
2022-07-26 10:02:29 -07:00
Cameron Perera f51c56b4a1 feat: 🎸 Add doc link to Credential screens (#1214)
✅ Closes: ICU-5317
2022-07-26 11:04:01 -05:00
Cameron Perera d996d085a1 Icu 5335 add doc link for credential store screens (#1208)
* feat: 🎸 Add doc links to Credential Store screens

✅ Closes: ICU-5335

* test: 💍 Add tests for Credential Store doc links
2022-07-25 12:03:21 -05:00
9274849622 feat: 🎸 display credentials for static credential store (#1205)
* feat: 🎸 Create Credential Model in API

✅ Closes: ICU-5229

* feat: 🎸 update credential model

Add attributes to credential model

✅ Closes: ICU-5229

* feat: 🎸 no verify

✅ Closes: ICU-5230

* feat: 🎸 Add credential serializer and tests

✅ Closes: ICU-5230

* feat: 🎸 Add credential serializer

Credential serializer along with unit tests were added.

✅ Closes: ICU-5230

* feat: 🎸 Credential serializer & unit tests

✅ Closes: ICU-5230

* chore: 🤖 lint

* chore: 🤖 lint

* chore: 🤖 lint

* feat: 🎸 display credentials for static credential store

* chore: 🤖 update translated string

* feat: 🎸 create a credential

* fix: 🐛 add dropdown link for create new credential

* Update new.js

* Update credentials.js

* chore: 🤖 remove the commented block

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2022-07-25 11:42:34 -05:00
Cameron Perera ae0ce2bfad fix: 🐛 Add missing mirage config urls for credentials (#1209) 2022-07-22 12:29:53 -05:00
lisbet-alvarezandCameron Perera 27a676774c Icu 5232 credential mirage mocks (#1204)
* feat: 🎸 Add mirage mocks for credential

✅ Closes: ICU-5232

* chore: 🤖 Update Credential Store factory to handle credentials

✅ Closes: ICU-5232

* feat: 🎸 Added mirage mocks for credential

✅ Closes: ICU-5232

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-07-21 13:48:16 -07:00
Randall MoreyandDharini Jeeva 379609217b fix: 🐛 roles and principals on projects should be visible (#1202)
* fix: 🐛 roles and principals on projects should be visible

* Update ui/admin/app/routes/scopes/scope/roles/role/index.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-07-21 13:09:03 -07:00
Dharini Jeeva b31a513ec1 Create static credentials tab (#1203)
Create static credentials tab  (#1203)
2022-07-21 10:03:13 -07:00
lisbet-alvarezandCameron Perera 821b9b56a7 Icu 5230 credential serializer (#1200)
* feat: 🎸 Create Credential Model in API

✅ Closes: ICU-5229

* feat: 🎸 update credential model

Add attributes to credential model

✅ Closes: ICU-5229

* feat: 🎸 no verify

✅ Closes: ICU-5230

* feat: 🎸 Add credential serializer and tests

✅ Closes: ICU-5230

* feat: 🎸 Add credential serializer

Credential serializer along with unit tests were added.

✅ Closes: ICU-5230

* feat: 🎸 Credential serializer & unit tests

✅ Closes: ICU-5230

* fix: 🐛 Resolved commit conflicts

✅ Closes: ICU-5230

* fix: 🐛 deleted password_hmac from inside the serializer

✅ Closes: ICU-5230

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-07-20 12:34:18 -07:00
Randall Morey c1e1b42672 Feature cross scope role principals (#1199)
* chore: 🤖 add scope column to role principals and group members

* chore: 🤖 add recursion and filtering to user and group mocks

* feat: 🎸 expose groups and roles on projects

* feat: 🎸 enable cross-scope assignment of group members

* chore: 🤖 query group members in a single call via filtering

* chore: 🤖 query role prinicipals in two calls via filtering

* chore: 🤖 use const instead of let

* feat: 🎸 support adding cross-scope principals to roles
2022-07-19 15:18:30 -07:00
lisbet-alvarezandCameron Perera bd0189cf10 Icu 5229 credential model (#1197)
* feat: 🎸 Create Credential Model in API

✅ Closes: ICU-5229

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-07-19 13:02:04 -07:00
Randall Morey ca1b2ce278 Chore optimize iam queries (#1198)
* chore: 🤖 add scope column to role principals and group members

* chore: 🤖 add recursion and filtering to user and group mocks

* feat: 🎸 expose groups and roles on projects

* feat: 🎸 enable cross-scope assignment of group members

* chore: 🤖 query group members in a single call via filtering

* chore: 🤖 query role prinicipals in two calls via filtering

* chore: 🤖 use const instead of let
2022-07-19 12:11:16 -07:00
Dharini Jeeva bc76d49729 create static credential store form and route updates (#1195)
* chore: 🤖 static cred store support to route and templates
2022-07-19 09:29:43 -07:00
Randall Morey 94530cec9c Feature cross scope group members (#1196)
* chore: 🤖 add scope column to role principals and group members

* chore: 🤖 add recursion and filtering to user and group mocks

* feat: 🎸 expose groups and roles on projects

* feat: 🎸 enable cross-scope assignment of group members
2022-07-18 16:36:43 -07:00
Randall Morey 31cf696902 Feature expose roles groups in projects - ICU-4512 (#1192)
* chore: 🤖 add scope column to role principals and group members

* chore: 🤖 add recursion and filtering to user and group mocks

* feat: 🎸 expose groups and roles on projects
2022-07-18 16:15:51 -07:00
Randall Morey c2083aefab chore: 🤖 add recursion and filtering to user and group mocks - ICU-4528 (#1190)
* chore: 🤖 add scope column to role principals and group members

* chore: 🤖 add recursion and filtering to user and group mocks
2022-07-18 15:53:34 -07:00
Randall MoreyandCarlos Alcaide Corvo 817d2a44e1 chore: 🤖 add scope column to role principals and group members (#1184)
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2022-07-18 14:26:26 -07:00
Randall Morey bdabcc119e Refactor base scope fragment (#1166)
* refactor: 💡 migrate managed-group off fragments

* refactor: 💡 migrate credential-store off fragments

* refactor: 💡 migrate credential-library off fragments

* refactor: 💡 migrate account off fragments

* refactor: 💡 convert base model scope field to simple attr

* fix: 🐛 skip broken test
2022-07-18 11:30:53 -07:00
Dharini Jeeva b6a811cbbd fix: 🐛 filter out scopes with no auth methods (#1115)
* fix: 🐛 filter out scopes with no authenticatable auth methods
2022-07-18 09:08:09 -07:00
Dharini Jeeva 6c3e5ba4a8 chore: 🤖 add static credential store support (#1191)
* chore: 🤖 add static credential store support to the API layer
2022-07-15 13:24:04 -07:00
lisbet-alvarez b18f21e6f9 feat: 🎸 Read a credential store (#1193)
This change includes making static type credential stores clickable when
listing all credential stores, along with view the individual credential
store.

✅ Closes: ICU-5173
2022-07-15 12:39:45 -07:00
lisbet-alvarezandCameron Perera ed7e24b328 refactor: 💡 existing vault form field to radio group (#1189)
Refactored existing vault form field to use radio card instead. This
change is seen on details tab of a static credential store.

✅ Closes: ICU-5171

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-07-14 15:53:12 -07:00
Carlos Alcaide Corvo 66d115ab06 fix: 🐛 Add Hawk to resolutions (#1186) 2022-07-14 10:29:25 -07:00
Cameron Perera 9ad8eb93c7 refactor: 💡 Remove credential-store feature flag references (#1188) 2022-07-14 09:42:09 -05:00
lisbet-alvarez 970101d5dc feat: 🎸 Added the static-credentials feature flag (#1187)
The static-credentials feature flag was added and set to true only for
dev and test modes.

✅ Closes: ICU-5203
2022-07-13 14:11:02 -07:00
Cameron PereraandDharini Jeeva 985566d8eb docs: ✏️ Create README for translations (#1182)
✅ Closes: ICU-3872

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-07-13 11:17:13 -05:00
Carlos Alcaide Corvo 7234a3841a fix: 🐛 Add shell-quote to resolutions (#1185) 2022-07-12 14:55:31 -07:00
Dharini Jeeva 28c9e600aa Update content security (#1173)
* chore: 🤖 upgrade ember content security policy
2022-07-12 10:12:06 -07:00
Carlos Alcaide Corvo 163bbc9fb8 refactor: 💡 Refactor default values for target creation (#1180) 2022-07-12 08:36:35 -07:00
Carlos Alcaide Corvo b54e68cb86 chore: 🤖 Update ember-auto-import (#1178) 2022-07-12 08:09:49 -07:00
78585d999b feat: 🎸 switch to new token type parameter (#1082)
Boundary is deprecating the use of the token_type
parameter to the Authenticate endpoint, instead
replacing it with the new type parameter.

See https://github.com/hashicorp/boundary/commit/80b2c9230fa84605d9aaf7c862f780b50690a36e
for more context.

Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
2022-07-11 16:39:20 -07:00
Carlos Alcaide Corvo ef9513fea9 fix: 🐛 Fix lock file discrepancy (#1183) 2022-07-11 14:47:04 -07:00
Dharini Jeeva 92fdacb635 test: 💍 onboarding tests (#1181) 2022-07-11 10:47:26 -07:00
Carlos Alcaide Corvo d16c50e33f chore: 🤖 Update ember-cli (#1176) 2022-07-11 09:49:50 -07:00
Zhihe Li 22e8971a5b chore: 🤖 Update git hook to not use commitizen on merges (#1177) 2022-07-07 15:58:39 -04:00
Carlos Alcaide Corvo f5c183a0bd chore: 🤖 Update Sinon to v14 (#1175) 2022-07-07 11:59:31 -07:00
Carlos Alcaide Corvo 49303469cb fix: 🐛 Fix ember-electron incorrect per dep (#1174) 2022-07-07 11:38:43 -07:00
Carlos Alcaide Corvo 6f8afbb7af Chore update eslint and plugins update (#1171) 2022-07-07 11:18:51 -07:00
Carlos Alcaide Corvo 923526ad26 chore: 🤖 Update electron to v15 (#1172) 2022-07-07 11:03:50 -07:00
Dharini Jeeva c21b8fdb64 chore: 🤖 update changelog (#1170)
* chore: 🤖 update changelog and bump up the binary version to 0.9.1
2022-07-06 13:13:57 -07:00
Carlos Alcaide CorvoandRandall Morey 60005f0233 chore: 🤖 Update @babel/plugin-proposal-decorators (#1157)
Update @babel/plugin-proposal-decorators

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-30 08:52:07 -04:00
Randall Morey da89e2f82e fix: 🐛 unable to filter for terminated sessions (#1169)
* fix: 🐛 unable to filter for terminated sessions

* fix: 🐛 reenable sessions mocks
2022-06-29 20:42:12 -04:00
Carlos Alcaide CorvoandRandall Morey c9d6f37343 chore: 🤖 Update @ember/test-helpers (#1159)
Update @ember/test-helpers

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-29 17:35:17 -04:00
Carlos Alcaide CorvoandRandall Morey 85e4b46821 Chore update doctoc (#1165)
* chore: 🤖 Update doc toc

Update doc toc

* chore: 🤖 Fix doctoc within core

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-29 16:26:36 -04:00
Carlos Alcaide CorvoandRandall Morey d464419e47 chore: 🤖 Update Cross OS (#1164)
Update Cross OS

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-29 15:28:46 -04:00
Carlos Alcaide CorvoandRandall Morey 021803942f chore: 🤖 Update babel-loader (#1163)
Update babel-loader

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-29 15:10:41 -04:00
Randall Morey eeba8dceb6 fix: 🐛 merge conflict in yarn.lock (#1168) 2022-06-29 14:10:59 -04:00
Carlos Alcaide CorvoandRandall Morey 8764633111 chore: 🤖 Update @hashicorp/flight-icons (#1162)
Update @hashicorp/flight-icons

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-29 13:00:27 -04:00
Carlos Alcaide CorvoandRandall Morey 9becadd3f1 chore: 🤖 Update @glimmer (#1161)
Update @glimmer

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-29 12:08:00 -04:00
Carlos Alcaide CorvoandRandall Morey 9f45a9a955 chore: 🤖 Update @ember/render-modifiers (#1158)
Update @ember/render-modifiers

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-29 11:34:31 -04:00
Carlos Alcaide CorvoandRandall Morey 51b94f7ac8 Chore update babel eslint parser (#1155)
* chore: 🤖 Fix merging conflicts

* chore: 🤖 Fix merging conflicts

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-06-29 10:51:41 -04:00
Randall Morey 890cfe5168 Refactor attributes fragments (#1156)
* refactor: 💡 migrate managed-group off fragments

* refactor: 💡 migrate credential-store off fragments

* refactor: 💡 migrate credential-library off fragments

* refactor: 💡 migrate account off fragments
2022-06-28 19:30:26 -04:00
Dharini Jeeva fe225653ec fix: 🐛 overflow dropdown ui issue (#1160) 2022-06-28 13:13:09 -07:00
Carlos Alcaide Corvo dce7447880 chore: 🤖 Upgrade @babel/core (#1153)
Upgrade @babel/core
2022-06-28 11:08:16 -07:00
Carlos Alcaide Corvo 330c3de256 Chore upgrade desktop dependencies 2 (#1152) 2022-06-28 10:27:47 -07:00
Carlos Alcaide Corvo 2d15a62990 fix: 🐛 Lock file discrepancy (#1154)
Lock file discrepancy
2022-06-27 14:38:51 -07:00
Zhihe Li 62af6e2f6e Use precommit hooks (#1150)
* chore: 🤖 Add husky and hooks

* chore: 🤖 Add lint staged for fixing lint issues

* chore: 🤖 Use prettier and disable conflicting prettier rules

* docs: ✏️ Update commit documentation in README
2022-06-27 14:35:52 -04:00
Carlos Alcaide Corvo f50acc9913 Chore upgrade desktop dependencies (#1151) 2022-06-27 09:33:10 -07:00
Dharini Jeeva 2900692c6c chore: bump up release version and Update change log (#1141)
* chore: 🤖 update to changelog and release version
2022-06-20 13:15:34 -07:00
Cameron PereraandDharini Jeeva 193a7e9600 refactor: 💡 Remove template file to fix onboarding flow titles (#1148)
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-06-20 12:01:25 -05:00
Dharini Jeeva 6b3091ea1b chore: 🤖 update to credential source (#1146) 2022-06-20 09:45:50 -07:00
Randall Morey 26baf8a80b fix: grant scope field should be functional (#1147) 2022-06-20 12:28:13 -04:00
Randall Moreyanddharini 4ef66fdd29 Add minimum support for static credential stores to admin UI (#1145)
* cred store read ability

* filter out static cred stores and credentials from credential libraries

* chore: 🤖 finish up minimum static cred store support

Co-authored-by: dharini <dharini@hashicorp.com>
2022-06-18 10:56:25 -04:00
Cameron Perera 52904dc639 Chore add onboarding role (#1142)
* chore: generate a role authorized to access the generated onboarding target
2022-06-16 16:11:11 -07:00
Cameron Perera f3a5ef5b7c refactor: 💡 Update routing to use project id in quick-start (#1140)
✅ Closes: ICU-4821
2022-06-15 15:06:09 -05:00
Randall Morey 7d8012ef1f chore: apply darker color theme to sidebar (#1139)
* chore: apply darker color theme to sidebar

* chore: hide global footer for now due to sidebar change
2022-06-15 14:27:08 -05:00
Cameron Perera 18434d4203 chore: 🤖 Disable ssh feature work (#1138)
Disable ssh feature
2022-06-15 10:42:49 -07:00
Cameron Perera d7e458ab85 refactor: 💡 Remove default value for IP address and port (#1137)
* refactor: 💡 Remove default value for IP address and port
2022-06-14 20:39:50 -07:00
Cameron Perera c5416e770a feat: 🎸 Add Controller URL component to Success screen (#1135)
* feat: 🎸 Add Controller URL component to Success screen

✅ Closes: ICU-4785

* style: 💄 Update Success screen styles to match wireframe

* refactor: 💡 Update class names to be more descriptive

* refactor: 💡 Update styles for Success card

* test: 💍 Fix failing test
2022-06-14 16:36:11 -05:00
Dharini Jeeva 2bb1c9cfec Chore onboarding route (#1136)
* fix: onboarding redirects
2022-06-14 14:21:48 -07:00
Dharini Jeeva 8bdd4416fc transition to target lists when the resource creation is successful (#1134)
* feat: 🎸  redirect the user to target lists within the project after successfully creating a resource.
2022-06-14 12:32:04 -07:00
Cameron Pereraanddharini a5da593f07 Create successful resource creation screen (#1132)
* feat: 🎸 Create successful resource creation screen

Create a screen with helpful information about Boundary once resources
have been created for the user

✅ Closes: ICU-4558

* style: 💄 remove stale comment

* chore: 🤖 resolve conflicts and merge main

Co-authored-by: dharini <dharini@hashicorp.com>
2022-06-14 09:33:51 -05:00
Randall MoreyandCameron Perera 15dc735322 chore: move onboarding to top level (#1131)
* chore: move onboarding to top level

* chore: add types

* Update ui/admin/app/routes/onboarding.js

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>

* fix: broken paths

* chore: fix broken success route and simplify error handling

* fix: tests

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-06-13 16:38:18 -04:00
Dharini Jeeva d69b0f90d8 Icu 4556 create a quick setup screen (#1129)
* feat: 🎸 Create a resource onboarding form
2022-06-10 15:43:20 -07:00
Cameron Perera 0bb5989259 feat: 🎸 Create form to choose onboarding guide path (#1124)
* feat: 🎸 Create onboarding welcome form
2022-06-09 15:47:07 -07:00
Carlos Alcaide Corvo 106999746f docs: ✏️ Update docs for yarn scripts (#1101) 2022-06-08 14:05:56 -07:00
Carlos Alcaide Corvo d60ae81bdc Fix rose peer dependencies (#1128)
Fix Rose peer dependency warnings
2022-06-08 09:25:28 -07:00
Carlos Alcaide Corvo c7cb1fbbd8 chore: 🤖 Update electron from 13 to 14 (#1125)
Update electron from 13 to 14
2022-06-08 09:09:18 -07:00
Dharini Jeeva 8a05dbbc56 create new image component (#1127)
* feat:  create image component
2022-06-08 08:45:59 -07:00
Randall Morey dc78fe9028 Chore include terminated (#1126)
* chore: 🤖 add include_terminated=true when filtering terminated

* chore: 🤖 add include_terminated=true when filtering terminated
2022-06-07 15:40:33 -04:00
Randall MoreyandDharini Jeeva 24f630f084 Chore onboarding routing logic (#1123)
* chore: 🤖 stub out onboarding routes

* chore: initial onboarding routing logic

* chore: initial routing logic and resource creation

* chore: route "manual" to new org

* Update en-us.yaml

* fix: linting

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-06-03 13:25:53 -04:00
Cameron Perera d4ac887f7a Create CODEOWNERS file (#1122)
* chore: Create CODEOWNERS file

* chore: update CODEOWNERS

* chore: 🤖 finalize CODEOWNERS changes
2022-06-03 09:44:45 -05:00
Randall Morey 9fe8ce2c00 chore: 🤖 stub out onboarding routes (#1118) 2022-06-02 08:48:34 -04:00
Randall Morey af3cfb7298 chore: 🤖 generate more realistic mock IDs (#1117)
* chore: 🤖 generate more realistic mock IDs

* Update id.js
2022-06-01 14:02:18 -04:00
Zhihe Li df609dcf2c refactor: 💡 Update deprecated new window handler (#1111)
✅ Closes: ICU-4037
2022-05-20 12:53:52 -04:00
Zhihe Li 1b9f774937 fix: 🐛 Use more common hasOwnProperty and don't modify payload (#1112) 2022-05-19 17:52:10 -04:00
Randall Morey 509215f787 chore: 🤖 display auth method names in auth form, if available (#1113) 2022-05-19 15:56:48 -04:00
Carlos Alcaide Corvo 698160d423 refactor: 💡 Rename Admin UI enterprise artifact (#1110)
Rename Admin UI generated artifact for the enterprise edition.
2022-05-17 07:03:22 -07:00
Cameron PereraandDharini Jeeva 12b18510b9 refactor: 💡 Update language to use Sign In and Sign Out (#1109)
* refactor: 💡 Update language to use Sign In and Sign Out

Update authenticate/deauthenticate language to sign in and sign out
respectively

✅ Closes: ICU-3941

* refactor: 💡 Change translation keys back to (de)authenticate

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-05-16 17:28:45 -05:00
aa52b6f9bc fix: 🐛 Update validateOrigin to throw error on bad request (#1107)
* fix: 🐛 Update validateOrigin to throw error on bad request

If the result from netRequestPromise is successful but a not a 200
response, validateOrigin will throw an error

✅ Closes: ICU-4238

* Update ui/desktop/electron-app/src/models/runtime-settings.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

* refactor: 💡 Add comment as to why we don't throw error for 3xxs

* Update ui/desktop/electron-app/src/models/runtime-settings.js

Co-authored-by: Randall Morey <randall@randallmorey.com>

* Update ui/desktop/electron-app/src/models/runtime-settings.js

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-05-16 12:20:56 -05:00
Dharini Jeeva ee47f8e19e fix: 🐛 add featureflag to target creation template (#1108)
* fix: 🐛 add featureflag to target creation template

* refactor: 💡 remove else block
2022-05-13 10:57:52 -07:00
Zhihe Li 97196368cb Fix Users page not updating fields correctly (#1105)
* fix: 🐛 Normalize update responses to track removed fields

✅ Closes: ICU-4189
2022-05-12 10:16:14 -04:00
Carlos Alcaide Corvo 7e792d3f76 Refactor UI generated artifacts creation. (#1104)
* Refactor UI generated artifacts creation. Now we generate OSS and enterprise specific artifacts

* Split builds in two separate jobs
2022-05-11 13:28:30 -07:00
Randall Morey f4df337761 chore: update github actions validator to depend on previous jobs (#1081) 2022-05-06 10:32:11 -04:00
Cameron Perera de44863d02 chore: 🤖 Add lzma-native to resolutions (#1103)
* chore: 🤖 Add lzma-native and appdmg to resolutions

* chore: 🤖 Remove appdmg resolution from electron-app

Tested that CI steps passed.
2022-05-05 17:35:53 -05:00
Cameron Perera e3f9feb474 Update polling interval to 300 seconds (5 minutes) (#1102)
Update polling interval to 300 seconds (5 minutes)
2022-05-05 11:43:07 -05:00
Carlos Alcaide Corvo 57410b7bb6 refactor: 💡 Avoid lint warning (#1095)
* refactor: 💡 Avoid lint warning
2022-05-05 08:28:41 -07:00
Carlos Alcaide Corvo 5e2c6ca0fd feat: 🎸 Add feature editions (#1094)
* feat: 🎸 Add feature editions
2022-05-05 07:42:02 -07:00
Carlos Alcaide Corvo eb36cde137 Update polling intervarl (#1100) 2022-05-04 09:51:16 -07:00
Cameron PereraandZhihe Li ccb266ea7c chore: 🤖 bump binary version and update changelog (#1099)
* chore: 🤖 bump binary version and update changelog

* chore: 🤖 Update Desktop app release date

* chore: 🤖 Update release date

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2022-05-04 10:32:42 -05:00
ZedandRandall Morey 8545697b43 Add toolbar regions to align refresh button to the right (#1098)
* feat: 🎸 implement toolbar regions and apply to admin sessions

* feat: 🎸 Add toolbar regions for desktop sessions and targets

✅ Closes: ICU-4198

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-05-03 09:46:47 -04:00
Zed a8ae8d28df fix: 🐛 Reduce extra padding in tables (#1091)
✅ Closes: ICU-4046
2022-05-02 10:14:21 -04:00
Cameron Perera 952b894a32 feat: 🎸 Add ToolbarRefresher component to targets in desktop (#1093)
✅ Closes: ICU-4134
2022-04-29 18:06:11 -05:00
Cameron Perera 6f449b3b9b feat: 🎸 Add ToolbarRefresher component to sessions in admin (#1092)
✅ Closes: ICU-4133
2022-04-29 17:54:08 -05:00
Cameron PereraandRandall Morey 0f3c2f043b style: 💄 Update Refresh Button to animate when loading (#1089)
* style: 💄 Update Refresh Button to animate when loading

* refactor: 💡 Move temporary animation styles to app level styles

Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-04-29 15:29:53 -05:00
Dharini Jeeva 82c94518d9 feat: refresh sessions view in admin ui (#1078) 2022-04-29 14:28:50 -04:00
Randall Morey 68a269efac feature: add toolbar refresher component (#1088) 2022-04-29 13:51:47 -04:00
Zed 75ef323e6d fix: 🐛 Desktop client not correctly loading ember app url (#1090) 2022-04-29 13:38:25 -04:00
Carlos Alcaide Corvo ccde5e88da fix: 🐛 Mac os window lifecycle (#1067) 2022-04-29 09:03:40 -07:00
Carlos Alcaide Corvo 1071241604 chore: 🤖 Increase polling time Admin UI (#1085) 2022-04-29 07:47:03 -07:00
Zed 316f0907fc fix: 🐛 Fix scrollbar for the sidebar in desktop client (#1076)
Fixed scroll bar always appearing in sidebar on macOS for desktop client
and sidebar not staying fixed in windows and linux

✅ Closes: ICU-4143
2022-04-29 10:16:34 -04:00
Cameron Perera 3bdae6dce8 feat: 🎸 refresh targets list view in desktop (#1087)
✅ Closes: ICU-4024
2022-04-28 17:35:52 -05:00
Carlos Alcaide Corvo 367545fd4d refactor: 💡 Encapsulate desktop client window creation (#1066)
Encapsulate desktop client window creation to reuse the creation of new
windows.
2022-04-28 15:23:43 -07:00
Randall Morey 702ad64716 Style toolbar buttons (#1086)
* chore: 🤖 move loading-button component to core addon

* style: toolbar buttons should align with Structure

* fix: buttons should have consistent font
2022-04-28 17:59:43 -04:00
Randall Morey 043dbc3736 chore: 🤖 move loading-button component to core addon (#1083) 2022-04-28 17:49:03 -04:00
Cameron Perera 01e4ec0a07 feat: 🎸 Add minimum refresh time to refresh button for sessions (#1077) 2022-04-28 16:35:46 -04:00
Randall Morey a7b3da2231 feat: 🎸 implement live relative datetime component (#1080) 2022-04-28 16:23:44 -04:00
Randall Morey de6416efbd feat: 🎸 add non-interactive rose toolbar info component (#1075) 2022-04-28 16:01:50 -04:00
76befc0c1d chore: 🤖 Increaase polling time desktop client (#1074)
Increase polling time within desktop client.

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
2022-04-28 15:48:33 -04:00
Carlos Alcaide Corvo f71d01902a Revert "feat: 🎸 Add feature editions (#1072)" (#1079)
This reverts commit 56d84d652b.
2022-04-28 12:14:27 -07:00
Carlos Alcaide Corvo 56d84d652b feat: 🎸 Add feature editions (#1072)
Add feature editions
2022-04-28 10:23:35 -07:00
Dharini Jeeva 9cf216179a feat: refresh sessions list view in desktop (#1069)
* feat: 🎸 add a refresh button to sessions list view in desktop
2022-04-28 08:49:37 -07:00
Zed 050cfdd056 fix: 🐛 Fix scrollbars not being dark in dark mode (#1068)
✅ Closes: ICU-4022
2022-04-27 18:18:24 -04:00
Carlos Alcaide Corvo 79fb0db882 docs: ✏️ Update node supported versions (#1071)
Update node supported versions
2022-04-26 17:06:10 -07:00
Cameron Perera a2c6bc643d chore: 🤖 Update the .template-lintrc.js file in addons/rose (#1073)
✅ Closes: ICU-4123
2022-04-26 14:56:13 -05:00
Zed 07ed40ce03 fix: 🐛 Adjusted dark mode gray scale and fixed radio card colors (#1065)
Adjusted dark mode gray scale to be a bit darker and 
made the active selected radio card lighter in dark mode

✅ Closes: ICU-4021
2022-04-26 11:28:02 -04:00
Cameron Perera e0cbbefb41 fix: 🐛 Fix new target navigation issue (#1070)
Fix issue where trying to leave the new target form via the discard
changes dialog would cause the user to have to refresh screen.

✅ Closes: ICU-4047
2022-04-26 08:21:11 -05:00
Carlos Alcaide Corvo 2a1e4858fa chore: 🤖 Update Electron from 12.x to 13.x (#1063) 2022-04-21 12:46:41 -07:00
Cameron Perera 7b154b223a feat: 🎸 Update Target types help text (#1064)
* feat: 🎸 Update Target types help text

✅ Closes: ICU-4014

* refactor: 💡 Update how radio cards determine height

Radio cards will now fill up the entire height of the fieldset they are
in

* style: 💄 Update radio card padding
2022-04-21 13:51:47 -05:00
Carlos Alcaide Corvo 550cadf612 Revert "fix: 🐛 Disable polling for sessions on Desktop (#1058)" (#1062)
This reverts commit 26e074dbef.
2022-04-19 13:22:47 -07:00
Carlos Alcaide Corvo 95cece1481 Revert "fix: 🐛 Disable polling for targets on Desktop (#1059)" (#1061)
This reverts commit 6249e945b8.
2022-04-19 13:06:42 -07:00
Carlos Alcaide Corvo 94a3c1fcf1 Revert "disable polling in admin UI (#1057)" (#1060)
This reverts commit 90c9fa8b73.
2022-04-19 12:51:03 -07:00
Cameron PereraandDharini Jeeva f2b53d2f45 chore: 🤖 Updated pr-template to include Jira base url (#1055)
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-04-19 09:35:14 -05:00
Cameron Perera 6249e945b8 fix: 🐛 Disable polling for targets on Desktop (#1059)
✅ Closes: ICU-3954
2022-04-19 09:22:13 -05:00
Cameron Perera 26e074dbef fix: 🐛 Disable polling for sessions on Desktop (#1058)
✅ Closes: ICU-3953
2022-04-19 09:10:09 -05:00
Dharini Jeeva 90c9fa8b73 disable polling in admin UI (#1057)
* fix: 🐛 disable sessions polling

* increase sessions count

* fix: 🐛 undo mirage test
2022-04-18 18:08:23 -04:00
Zed 215bf00407 test: 💍 Verify target worker filter is created correctly (#1056)
✅ Closes: ICU-3893
2022-04-15 16:00:03 -04:00
Cameron Perera d8efefc2b3 test: 💍 Verify target worker filter can be edited (#1054)
✅ Closes: ICU-3892
2022-04-15 13:52:31 -05:00
Cameron Perera 95ed2c0fda feat: 🎸 Add worker filter field in target form (#1053)
* feat: 🎸 Add worker filter field in target form

✅ Closes: ICU-3891

* feat: 🎸 Add Learn More link to Worker Filter input field
2022-04-14 15:27:36 -05:00
Carlos Alcaide Corvo 8776b46277 Chore update eslint (#1045)
Update eslint and eslint-plugin-ember to their latest versions.
2022-04-13 14:17:46 -07:00
Zed 670f38df74 feat: 🎸 Add mirage data for the worker_filter (#1051)
* feat: 🎸 Add mirage data for the "worker_filter" attribute

✅ Closes: ICU-3888
2022-04-12 17:42:13 -04:00
Cameron PereraandDharini Jeeva 226475a47d feat: 🎸 Add "worker_filter" attribute to target model (#1049)
* feat: 🎸 Add "worker_filter" attribute to target model

✅ Closes: ICU-3887

* feat: 🎸 Add missing attribute description for worker_filter

* feat: 🎸 Update worker_filter description

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2022-04-12 16:16:51 -05:00
Dharini Jeeva 1072be1eff refactor: 💡 improve target creation (#1050)
* refactor: 💡 improve target creation UX
2022-04-12 14:05:16 -07:00
Carlos Alcaide Corvo 22d8af72ae Feat add build admin UI workflow (#1048)
* chore: 🤖 Add build admin UI workflow
2022-04-08 14:57:20 -07:00
Cameron Perera 79596010e9 feat: 🎸 Update Success Dialog when connecting to target (#1046)
Updated the Success Dialog in desktop app when connecting to a target to
dynamically show target type

✅ Closes: ICU-3647
2022-04-08 14:15:32 -05:00
Carlos Alcaide Corvo 8e884d53ae Revert "chore: 🤖 Add build admin UI workflow (#1043)" (#1047)
This reverts commit 505820eb6c.
2022-04-08 09:06:22 -07:00
Carlos Alcaide Corvo 505820eb6c chore: 🤖 Add build admin UI workflow (#1043)
* chore: 🤖 Add build admin UI workflow
2022-04-08 08:41:48 -07:00
Carlos Alcaide Corvo 4b09c7014b Chore update babel parser (#1044)
Update babel-parser and dependencies.
2022-04-07 14:39:59 -07:00
Cameron Perera f4535c8307 test: 💍 Add tests specific to SSH target creation
* test: 💍 Add tests specific to SSH target creation

* test: 💍 creating new SSH target when enabled or disabled

Verifying the link to create new SSH targets is not present when
ssh-targets is not enabled

* refactor: update create targets acceptance test names
2022-04-06 09:30:49 -05:00
Dharini Jeeva 9fae8f2a9f feat: create ssh type target in admin-ui (#1027)
* feat: 🎸 create ssh type target in admin-UI
2022-03-31 15:34:24 -07:00
Carlos Alcaide Corvo a7bcc0c332 chore: 🤖 Update plist version on desktop (#1040)
Update plist version resolutions on desktop as per dependabot alert.
2022-03-31 10:40:57 -07:00
Dharini Jeeva f877477cd7 feat: 🎸 update target route to support ssh type (#1038)
* feat: 🎸 update target route to support ssh type
2022-03-31 09:50:03 -07:00
Carlos Alcaide Corvo 335df22a38 chore: 🤖 Update plist on admin resolutions (#1039)
Update plist version on admin resolutions as per dependabot alert.
2022-03-31 09:06:34 -07:00
Carlos Alcaide Corvo ca09b538f7 chore: 🤖 Add minimist to desktop resolutions (#1034)
Add minimist to desktop resolutions as per dependabot alert.
2022-03-28 14:10:33 -07:00
Carlos Alcaide Corvo 68ba653984 chore: 🤖 Add minimist to admin resolutions (#1032)
Add minimist to admin resolutions
2022-03-28 13:47:32 -07:00
Michele Degges 5a90533a2e [RelAPI Onboarding] Add release API metadata file (#1031) 2022-03-24 13:52:26 -07:00
Carlos Alcaide Corvo 3d7b8537e1 chore: 🤖 Resolutions ansi-html (#1030)
Add ansi-html to resolutions
2022-03-22 07:23:11 -07:00
Carlos Alcaide Corvo 8d6669c8a1 chore: 🤖 Update git-cz (#1029)
Update git-cz
2022-03-18 14:12:35 -07:00
Dharini Jeeva 7c3f57c7fa chore: display sync interval seconds on host-set plugin forms (#1014)
* chore: 🤖 display sync_interval_seconds toggle on the forms

* chore: 🤖 remove comment

* chore: 🤖 remove extra spacing

* fix: 🐛 update title and add a description for sync_interval

* fix: 🐛 lint in translation

* chore: 🤖 fix typo, remove duplicate code

* chore: 🤖 simplify sync interval field, remove toggling

* fix: 🐛 use correct error code

* fix: 🐛 move sync interval translation to forms

* fix: 🐛 use appropiate translations label
2022-03-17 13:49:18 -07:00
Cameron Perera 2543d14c5a Chore: Add a PR template file (#1028)
* chore: 🤖 Add a PR template file

* chore: 🤖 update pr template

* chore: 🤖 final pr template update

* Update .github/pull_request_template.md

Move JIRA ticket link to the top
2022-03-17 14:00:44 -05:00
Carlos Alcaide Corvo fe7cb014a0 feat: 🎸 Add default custom Model for mirage (#1013)
* feat: 🎸 Add default custom Model for mirage
2022-03-17 11:05:41 -07:00
Carlos Alcaide Corvo adcfb00131 chore: 🤖 Bump binary version and update changelog (#1026)
Bump binary version and update changelog.
2022-03-16 14:41:41 -07:00
Cameron Perera 772e02a738 feat: 🎸 List SSH targets in Admin (#1025)
✅ Closes: ICU-3642
2022-03-15 14:47:44 -05:00
Carlos Alcaide Corvo f3242f9150 chore: 🤖 Add plist to resolutions (#1024)
Add plist to resolutions
2022-03-15 12:10:32 -07:00
Carlos Alcaide Corvo fd8a23dd76 chore: 🤖 Add plist to desktop resolutions (#1023)
Add plist dependency to resolutions in desktop client.
2022-03-15 11:47:59 -07:00
Carlos Alcaide Corvo 5319726cba chore: 🤖 Refactor cache for dependencies within CI (#1022)
Refactor CI:
- Refactor the usage of cache.
- Add a step to deal with npm dependencies. The rest of the steps will assume dependencies are available.
2022-03-15 11:27:39 -07:00
Dharini Jeeva e153cf1be6 chore: 🤖 Update mirage responses to support SSH targets (#1021)
* feat: 🎸 add type check helper methods to target model

* chore: 🤖 include ssh type to target mirage data
2022-03-14 11:35:10 -07:00
Dharini JeevaandCameron Perera a9a82079ac feat: 🎸 add type check helper methods to target model (#1018)
* feat: 🎸 add type check helper methods to target model

* Update addons/api/tests/unit/models/target-test.js

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>

* Update addons/api/tests/unit/models/target-test.js

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>

Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2022-03-14 09:53:57 -07:00
Carlos Alcaide Corvo a0c3ad7256 Merge pull request #1019 from hashicorp/chore-upgrade-node-version-gh-action-validate-monorepo
chore: 🤖 Update node version used in GH actions
2022-03-10 17:30:23 -06:00
Carlos Alcaide Corvo ce4aa12a34 chore: 🤖 Update node version used in GH actions
Update node version from 12.x LTS to 16.x LTS for the github action
workflow validate-monorepo.
2022-03-09 13:27:44 -08:00
Cameron Perera ad2a4df70b Merge pull request #1016 from hashicorp/ssh-target-feature-flag
chore: 🤖 add ssh-target feature flag for admin
2022-03-08 13:47:34 -06:00
Dharini Jeeva 13633f6582 Merge branch 'main' into ssh-target-feature-flag 2022-03-08 10:36:50 -08:00
Dharini Jeeva 70fc371644 Merge pull request #1017 from hashicorp/ICU-3651-add-a-new-ssh-target-feature-flag-to-desktop
chore: 🤖 add feature flag for ssh target feature
2022-03-08 10:36:39 -08:00
cameronperera 5640eeb86b chore: 🤖 update ssh-target feature flag
change ssh-target feature flag to false by default and true only for
development

✅ Closes: ICU-3652
2022-03-08 12:06:43 -06:00
dharini 634a0a2af5 chore: 🤖 add feature flag for ssh target feature 2022-03-08 10:03:56 -08:00
cameronperera b16a4effd3 chore: 🤖 add ssh-target feature flag for admin
✅ Closes: ICU-3652
2022-03-08 11:45:46 -06:00
Dharini Jeeva da1cea8263 Merge pull request #1012 from hashicorp/ICU-3484-missing-sync-interval-seconds-attribute-in-plugin-host-sets
feat: 🎸 add sync_interval_seconds to plugin host-sets
2022-03-03 14:45:42 -08:00
dharini 8f60066cc8 fix: 🐛 remove sync_interval_seconds attribute from static type 2022-03-03 14:17:11 -08:00
dharini fa9c3d317e chore: 🤖 remove default value from sync_interval_seconds 2022-03-03 12:48:51 -08:00
Dharini Jeeva 9f21e94712 Merge branch 'main' into ICU-3484-missing-sync-interval-seconds-attribute-in-plugin-host-sets 2022-03-02 14:09:06 -08:00
Cameron Perera b6a3f0f72a Merge pull request #1011 from hashicorp/move-ip-addresses-form-label-in-translations
refactor: 💡 move ip_addresses label into the form translation
2022-03-02 12:31:44 -06:00
dharini d50b3a5625 feat: 🎸 add sync_interval_seconds to plugin host-sets 2022-03-02 09:44:30 -08:00
cameronperera 8a920faaf0 refactor: 💡 move ip_addresses label into the form translation 2022-03-02 10:18:03 -06:00
Cameron Perera 42cce22e99 Merge pull request #1007 from hashicorp/ICU-3529-add-boundary-does-not-yet-support-rotating-credentials-warning-message-for-azure-provider
feat: 🎸 ICU-3529 add rotating credentials warning for azure
2022-03-01 13:31:34 -06:00
Cameron Perera d9f6426d45 Merge branch 'main' into ICU-3529-add-boundary-does-not-yet-support-rotating-credentials-warning-message-for-azure-provider 2022-03-01 12:37:40 -06:00
Dharini Jeeva 06a6496403 Merge pull request #995 from hashicorp/ICU-3528-add-aws-helper-doc-links
updates to AWS and Azure doc links
2022-03-01 10:34:06 -08:00
Dharini Jeeva 1a6c4da395 Merge branch 'main' into ICU-3528-add-aws-helper-doc-links 2022-03-01 10:09:49 -08:00
Dharini Jeeva ffed3104aa Merge branch 'main' into ICU-3529-add-boundary-does-not-yet-support-rotating-credentials-warning-message-for-azure-provider 2022-03-01 10:06:44 -08:00
cameronperera f62f2e288e refactor: 💡 Update choose a provider translations
Update choose a provider translations to concat provider specific text
when appropriate

✅ Closes: ICU-3529
2022-03-01 11:47:40 -06:00
Carlos Alcaide Corvo ef9b486e12 Merge pull request #1008 from hashicorp/chore-update-changelog
Update changelog
2022-03-01 10:54:17 -06:00
Carlos Alcaide Corvo 5ebca6ff6f Update changelog
Update changelog to point next version of desktop client rather than specific.
2022-03-01 08:28:52 -08:00
Cameron Perera c626267977 Merge branch 'main' into ICU-3529-add-boundary-does-not-yet-support-rotating-credentials-warning-message-for-azure-provider 2022-03-01 10:05:13 -06:00
Dharini Jeeva 2666f6a0b6 Merge branch 'main' into ICU-3528-add-aws-helper-doc-links 2022-02-28 15:35:07 -08:00
cameronperera d12c38e885 feat: 🎸 ICU-3529 add rotating credentials warning for azure
Add "Boundary does not yet support rotating credentials" warning message
for Azure provider

✅ Closes: ICU-3529
2022-02-28 15:16:39 -06:00
Carlos Alcaide Corvo d6fbff246b Merge pull request #1006 from hashicorp/chore-resolutions-prism-js
chore: 🤖 Update prism js resolutions version
2022-02-28 15:09:25 -06:00
Carlos Alcaide Corvo ba4ed746e0 Merge branch 'main' into chore-resolutions-prism-js 2022-02-28 14:59:38 -06:00
Randall Morey 29c9796439 Merge branch 'main' into ICU-3528-add-aws-helper-doc-links 2022-02-28 14:52:11 -05:00
Carlos Alcaide Corvo c7c74c81cb Merge pull request #998 from hashicorp/feature-combine-columns-target-hosts-list-desktop
feat: 🎸 Combine columns on target host list for desktop
2022-02-28 13:51:35 -06:00
Carlos Alcaide Corvo eb59d36c32 chore: 🤖 Update prism js resolutions version 2022-02-28 11:49:18 -08:00
Carlos Alcaide Corvo 9521bc4ec8 Add badge for dynamic type label 2022-02-28 10:53:23 -08:00
Dharini Jeeva 2d6141af0f Merge branch 'main' into ICU-3528-add-aws-helper-doc-links 2022-02-28 09:33:50 -08:00
Carlos Alcaide Corvo c8550550ab Merge pull request #1003 from hashicorp/refactor-deprecate-ember-source-channel-url
chore: 🤖 Deprecate ember-source-channel-url
2022-02-28 11:33:30 -06:00
dharini 8121b12386 refactor: 💡 simplify the way to pass doc links to components 2022-02-27 16:02:53 -08:00
dharini b4c109a28d Merge branch 'main' into ICU-3528-add-aws-helper-doc-links 2022-02-27 15:43:01 -08:00
Carlos Alcaide Corvo 5ac06afc3f Merge branch 'main' into refactor-deprecate-ember-source-channel-url 2022-02-25 16:14:08 -06:00
Carlos Alcaide Corvo 9c85b1c119 Merge pull request #1002 from hashicorp/refactor-deprecate-ember-try
refactor: 💡 Deprecate ember-try
2022-02-25 16:09:33 -06:00
Carlos Alcaide Corvo a99887a052 Merge branch 'main' into refactor-deprecate-ember-try 2022-02-25 15:58:58 -06:00
Cameron Perera bc4d668abe Merge pull request #1004 from hashicorp/ICU-3488-show-dns-names-for-aws-hosts-in-admin-ui
feat: 🎸 Display DNS names for AWS hosts in Admin UI
2022-02-25 15:44:02 -06:00
cameronperera 38efef0685 refactor: 💡 Update form.dns_names.label to "Latest DNS Names" 2022-02-25 14:10:29 -06:00
cameronperera cab70b5955 feat: 🎸 Display DNS names for AWS hosts in Admin UI
✅ Closes: ICU-3488
2022-02-25 12:58:23 -06:00
Carlos Alcaide Corvo 6f1c21b14c Merge branch 'main' into refactor-deprecate-ember-try 2022-02-25 12:43:04 -06:00
Carlos Alcaide Corvo 94f77177bd chore: 🤖 Deprecate ember-source-channel-url 2022-02-25 10:38:37 -08:00
Carlos Alcaide Corvo 3ed91b26a0 Merge pull request #1000 from hashicorp/chore-update-ember-page-title
chore: 🤖 Update ember-page-title
2022-02-25 12:27:50 -06:00
Carlos Alcaide Corvo b1b0a3dfe6 Merge branch 'main' into chore-update-ember-page-title 2022-02-25 12:11:29 -06:00
Carlos Alcaide Corvo 6500019835 Merge pull request #997 from hashicorp/chore-resolutions-update-follow-redirects
chore: 🤖 Update resolutions follow-redirects
2022-02-25 12:11:04 -06:00
Carlos Alcaide Corvo 426cb61277 Merge branch 'main' into chore-resolutions-update-follow-redirects 2022-02-25 11:59:31 -06:00
Carlos Alcaide Corvo d53f532412 Merge pull request #996 from hashicorp/chore-resolutions-nanoid
chore: 🤖 Add nanoid to resolutions
2022-02-25 11:59:09 -06:00
Carlos Alcaide Corvo d19f79858b refactor: 💡 Deprecate ember-try 2022-02-25 09:54:56 -08:00
Carlos Alcaide Corvo 140b008447 chore: 🤖 Update ember-page-title 2022-02-24 10:23:31 -08:00
Carlos Alcaide Corvo b0dd8e4635 chore: 🤖 Update resolutions follow-redirects 2022-02-24 08:23:24 -08:00
Carlos Alcaide Corvo c716e8e5b4 chore: 🤖 Add nanoid to resolutions 2022-02-24 08:08:54 -08:00
Carlos Alcaide Corvo 6c314cb449 Merge pull request #993 from hashicorp/chore-resolutions-mout
chore: 🤖 Add resolutions mout
2022-02-23 17:56:45 -06:00
Carlos Alcaide Corvo 0c8ead139f Merge branch 'main' into chore-resolutions-mout 2022-02-23 17:42:13 -06:00
Carlos Alcaide Corvo b708f28577 Merge pull request #992 from hashicorp/chore-resolutions-markdown-it
chore: 🤖 Add resolutions markdown it
2022-02-23 16:35:20 -06:00
Carlos Alcaide Corvo beded286a2 Merge branch 'main' into chore-resolutions-markdown-it 2022-02-23 16:15:58 -06:00
Carlos Alcaide Corvo 4c5ce5e627 Merge pull request #994 from hashicorp/chore-update-flight-icons
chore: 🤖 Update flight icons
2022-02-23 16:15:29 -06:00
dharini f72447f1e2 refactor: 💡 azure/aws doc link keys 2022-02-23 10:50:20 -08:00
Carlos Alcaide Corvo 540139644c Merge branch 'main' into chore-resolutions-markdown-it 2022-02-23 12:37:12 -06:00
Carlos Alcaide Corvo 3d782582e5 chore: 🤖 Update flight icons 2022-02-23 10:35:03 -08:00
dharini e3400ec5ab chore: 🤖 add doc links for aws and update azure doc key 2022-02-23 10:28:35 -08:00
Carlos Alcaide Corvo 937a8a6b0d Merge pull request #991 from hashicorp/chore-resolutions-engine-io
chore: 🤖 Add resolutions engine.io
2022-02-23 12:20:18 -06:00
Carlos Alcaide Corvo 23bdd10ce5 Merge branch 'main' into chore-resolutions-engine-io 2022-02-23 12:03:10 -06:00
Randall Morey 920971ee98 Merge pull request #977 from hashicorp/chore-add-host-route
chore: 🤖 add read-only host route for dynamic hosts
2022-02-23 12:56:19 -05:00
Carlos Alcaide Corvo c5d21ee09d Merge branch 'main' into chore-resolutions-engine-io 2022-02-23 11:46:09 -06:00
Randall Morey b54cbc96ad Merge branch 'main' into chore-add-host-route 2022-02-23 12:44:21 -05:00
Randall Morey 694dadb203 Merge pull request #944 from hashicorp/chore-radio-template
refactor: 💡 upgrade ember-radio-button to fix deprecations
2022-02-23 12:42:11 -05:00
Carlos Alcaide Corvo c75800514f Merge branch 'main' into chore-resolutions-engine-io 2022-02-23 11:39:27 -06:00
Carlos Alcaide Corvo 7e28dee0ab chore: 🤖 Add resolutions mout 2022-02-23 09:31:11 -08:00
Randall Morey 05be4c1349 Merge branch 'main' into chore-radio-template 2022-02-23 12:29:45 -05:00
Susmitha Girumala dad2d2d05e Merge pull request #949 from hashicorp/refactor-breadcrumbs-component
Refactor breadcrumbs component
2022-02-23 12:27:35 -05:00
Susmitha Girumala 7c85310318 Merge pull request #945 from hashicorp/refactor-breadcrumbs-link
refactor: 💡 resolve legacy-attribute-arguments deprecations
2022-02-23 12:26:22 -05:00
Susmitha Girumala e9580ba85e Merge pull request #943 from hashicorp/chore-argument-less-helper-paren-less-invocation
chore: 🤖 satisfy argument-less-helper-paren-less-invocation
2022-02-23 12:25:26 -05:00
Randall Morey efbf868a0a Merge branch 'main' into chore-argument-less-helper-paren-less-invocation 2022-02-23 12:14:29 -05:00
Carlos Alcaide Corvo d10bb377b0 Merge branch 'main' into chore-resolutions-markdown-it 2022-02-23 10:18:42 -06:00
Carlos Alcaide Corvo 34c1adeba2 chore: 🤖 Add resolutions markdown it 2022-02-23 08:17:12 -08:00
Carlos Alcaide Corvo 85744200f7 chore: 🤖 Add resolutions engine.io 2022-02-23 08:03:32 -08:00
Carlos Alcaide Corvo ec64d4f045 Merge pull request #989 from hashicorp/chore-update-ember-named-blocks-polyfill
chore: 🤖 Update ember named blocks polyfill
2022-02-23 09:57:54 -06:00
Carlos Alcaide Corvo d30091db47 Merge branch 'main' into chore-update-ember-named-blocks-polyfill 2022-02-23 09:44:47 -06:00
Carlos Alcaide Corvo cdaf44f8eb Merge pull request #988 from hashicorp/chore-update-ember-composable-helpers
chore: 🤖 Update ember-composable-helpers
2022-02-23 09:44:33 -06:00
Randall Morey 9a91cc2ea8 Merge branch 'main' into chore-argument-less-helper-paren-less-invocation 2022-02-23 10:09:43 -05:00
Carlos Alcaide Corvo a8fb814855 Merge branch 'main' into chore-update-ember-composable-helpers 2022-02-22 17:29:52 -06:00
Carlos Alcaide Corvo 01d1271562 Merge pull request #986 from hashicorp/chore-update-doctoc
chore: 🤖 Update doctoc
2022-02-22 17:28:18 -06:00
Carlos Alcaide Corvo 3929f0ef58 Merge branch 'main' into chore-update-doctoc 2022-02-22 17:09:27 -06:00
Carlos Alcaide Corvo 447dabf853 Merge pull request #985 from hashicorp/chore-update-ember-test-helpers
feat: 🎸 Update @ember/test-helpers
2022-02-22 17:09:11 -06:00
Carlos Alcaide Corvo 3deaf18902 Merge branch 'main' into chore-update-ember-test-helpers 2022-02-22 16:53:04 -06:00
Carlos Alcaide Corvo c468468427 Merge pull request #984 from hashicorp/chore-update-babel-plugin-ember-modules-api-polyfill
chore: 🤖 Update babel-plugin-ember-modules-api-polyfill
2022-02-22 16:52:46 -06:00
Carlos Alcaide Corvo 2b401ebb5e Merge branch 'main' into chore-update-ember-composable-helpers 2022-02-22 16:35:24 -06:00
Carlos Alcaide Corvo 9da46928e6 Merge branch 'main' into chore-update-babel-plugin-ember-modules-api-polyfill 2022-02-22 16:34:44 -06:00
Carlos Alcaide Corvo 9971d6f823 Merge pull request #990 from hashicorp/revert-987-chore-update-ember-cli-htmlbars
Revert "chore: 🤖 Update ember-cli-htmlbars"
2022-02-22 16:34:32 -06:00
Carlos Alcaide Corvo 6bd7023776 Revert "chore: 🤖 Update ember-cli-htmlbars" 2022-02-22 14:21:28 -08:00
Carlos Alcaide Corvo 3749c4c148 Merge branch 'main' into chore-update-babel-plugin-ember-modules-api-polyfill 2022-02-22 16:17:31 -06:00
Carlos Alcaide Corvo 92dd707811 Merge branch 'main' into chore-update-ember-composable-helpers 2022-02-22 16:13:39 -06:00
Carlos Alcaide Corvo 74178b8437 Merge pull request #987 from hashicorp/chore-update-ember-cli-htmlbars
chore: 🤖 Update ember-cli-htmlbars
2022-02-22 16:12:53 -06:00
Dharini Jeeva ca26e39668 Merge branch 'main' into chore-update-ember-test-helpers 2022-02-22 13:44:48 -08:00
Dharini Jeeva 864d6b139b Merge branch 'main' into chore-update-doctoc 2022-02-22 13:44:44 -08:00
Dharini Jeeva 298546829a Merge branch 'main' into chore-update-ember-cli-htmlbars 2022-02-22 13:44:06 -08:00
Dharini Jeeva 22fa670d9b Merge branch 'main' into chore-update-ember-composable-helpers 2022-02-22 13:44:03 -08:00
Dharini Jeeva c48961cc89 Merge branch 'main' into chore-update-ember-named-blocks-polyfill 2022-02-22 13:43:56 -08:00
Carlos Alcaide Corvo 23a353d68a chore: 🤖 Update ember named blocks polyfill 2022-02-22 13:10:07 -08:00
Carlos Alcaide Corvo ca587da91f Merge branch 'main' into chore-update-babel-plugin-ember-modules-api-polyfill 2022-02-22 14:48:03 -06:00
Carlos Alcaide Corvo ebe73db6ae Merge pull request #983 from hashicorp/chore-update-ember-cli-storybook
chore: 🤖 Update ember-cli-storybook dep
2022-02-22 14:47:49 -06:00
Carlos Alcaide Corvo 4fdd4d777d chore: 🤖 Update ember-composable-helpers 2022-02-22 12:09:15 -08:00
Carlos Alcaide Corvo ab9581ea12 chore: 🤖 Update ember-cli-htmlbars 2022-02-22 10:25:55 -08:00
Carlos Alcaide Corvo 48bb575b8f chore: 🤖 Update doctoc 2022-02-22 09:45:14 -08:00
Carlos Alcaide Corvo ea9e286de4 feat: 🎸 Update @ember/test-helpers 2022-02-22 09:31:20 -08:00
Carlos Alcaide Corvo aa62348503 chore: 🤖 Update babel-plugin-ember-modules-api-polyfill 2022-02-22 08:46:29 -08:00
Carlos Alcaide Corvo a5f0674e9d chore: 🤖 Update ember-cli-storybook dev 2022-02-22 08:30:28 -08:00
Dharini Jeeva d0255fe4e1 Merge pull request #982 from hashicorp/bump-binary-version
feat: 🎸 Bump binary version
2022-02-17 11:55:28 -08:00
Carlos Alcaide Corvo d66b40ad9b feat: 🎸 Bump binary version
Bump binary version + update changelog
2022-02-17 11:41:35 -08:00
Susmitha Girumala 9eac6cdc8b Merge pull request #981 from hashicorp/fix-host-address-field-dynamic-if-plugin-type
fix: 🐛 Host address field shows value for type plugin
2022-02-17 12:40:08 -05:00
Carlos Alcaide Corvo f6a29597af fix: 🐛 Host address field shows value for type plugin
Host address field shows Dynamic value on list when it is not type
static
2022-02-17 09:12:34 -08:00
Randall Morey 8496c05488 Merge pull request #980 from hashicorp/chore-radio-card-width
chore: make radio cards a bit narrower
2022-02-17 10:42:55 -05:00
Randall Morey 6ca69fee1b Merge branch 'main' into chore-radio-card-width 2022-02-17 09:22:09 -05:00
Randall Morey 7af9aac902 chore: make radio cards a bit narrower 2022-02-17 09:20:30 -05:00
Carlos Alcaide Corvo eca47f14f9 Merge pull request #978 from hashicorp/fix-hosts-lists-missing-value
Delete unnecessary else clause in host list within targets
2022-02-16 16:28:01 -06:00
Dharini Jeeva ecd573ea37 Merge branch 'main' into fix-hosts-lists-missing-value 2022-02-16 14:14:51 -08:00
Dharini Jeeva ae589f7af1 Merge pull request #974 from hashicorp/chore-add-pref-endpoints
chore: 🤖 add preferred endpoitns
2022-02-16 14:14:33 -08:00
Dharini Jeeva 13c349b996 Merge branch 'main' into chore-add-pref-endpoints 2022-02-16 14:04:07 -08:00
Randall Morey cb22248fc8 Merge pull request #979 from hashicorp/chore-normalize-non-array-filters
chore: support `filters` when it is a string by converting to an array
2022-02-16 17:03:57 -05:00
dharini 731ce40850 undo change 2022-02-16 13:53:58 -08:00
Randall Morey c5601a5c63 chore: support filters when it is a string by converting to an array 2022-02-16 16:48:01 -05:00
dharini f4aa98f362 resolve conflict 2022-02-16 13:47:57 -08:00
dharini 1dcfc67e0a remove attr from input 2022-02-16 13:47:02 -08:00
Dharini Jeeva 8f554706bc Update index.stories.mdx 2022-02-16 13:36:49 -08:00
Dharini Jeeva bf5006c4fe Merge branch 'main' into chore-add-pref-endpoints 2022-02-16 13:36:09 -08:00
dharini af0903b126 Merge branch 'chore-add-pref-endpoints' of github.com:hashicorp/boundary-ui into chore-add-pref-endpoints 2022-02-16 13:35:43 -08:00
dharini 595443bccf fix: 🐛 add placeholder to input 2022-02-16 13:35:20 -08:00
Carlos Alcaide Corvo 8e03ccf337 Merge branch 'main' into fix-hosts-lists-missing-value 2022-02-16 15:32:41 -06:00
Carlos Alcaide Corvo 22e3a3e6db Delete unnecessary else clause in host list within targets 2022-02-16 13:31:38 -08:00
Carlos Alcaide Corvo d31aaa28e7 Merge pull request #975 from hashicorp/fix-hosts-lists-missing-value
fix: 🐛 Fix host list table missing address field
2022-02-16 15:10:28 -06:00
Carlos Alcaide Corvo 63eb2c3589 Merge branch 'main' into fix-hosts-lists-missing-value 2022-02-16 14:37:38 -06:00
Randall Morey c6d9f5a824 Merge branch 'main' into chore-add-host-route 2022-02-16 15:21:29 -05:00
Randall Morey e15198d944 chore: add missing breadcrumb 2022-02-16 15:20:27 -05:00
Dharini Jeeva 5486b80c67 Merge branch 'main' into chore-add-pref-endpoints 2022-02-16 12:18:49 -08:00
Randall Morey 4994b8256b chore: 🤖 add read-only host route for dynamic hosts 2022-02-16 15:05:35 -05:00
Dharini Jeeva 8d0db2b74a Merge pull request #976 from hashicorp/fix-desc
fix helper text for secret acc value
2022-02-16 12:03:16 -08:00
dharini 8e9b783b06 fix helper text for secret acc value 2022-02-16 11:52:39 -08:00
Dharini Jeeva 399c31f34c Merge branch 'main' into chore-add-pref-endpoints 2022-02-16 11:39:13 -08:00
dharini e0b8f7d796 remove unused 2022-02-16 11:38:16 -08:00
dharini 7818575115 fix: 🐛 lint 2022-02-16 11:37:16 -08:00
Carlos Alcaide Corvo e1dab6ac31 fix: 🐛 Fix host list table missing address field
Fix address missing field for static hosts in the host list
2022-02-16 11:33:33 -08:00
dharini ad2e8bdd6c chore: 🤖 add preferred endpoitns 2022-02-16 11:10:40 -08:00
Dharini Jeeva 2feeb28999 Merge pull request #973 from hashicorp/fix-val
fix: 🐛 missed value field
2022-02-16 10:43:33 -08:00
dharini a44c859414 fix: 🐛 missed value field 2022-02-16 10:30:31 -08:00
Dharini Jeeva 5a815ca619 Merge pull request #965 from hashicorp/add-client-secret-id
fix: 🐛 add client secret value field
2022-02-16 09:42:05 -08:00
Dharini Jeeva f768ff20ea Merge branch 'main' into add-client-secret-id 2022-02-16 09:26:39 -08:00
Carlos Alcaide Corvo 1dae46b2e7 Merge pull request #972 from hashicorp/fix-actions-for-host-set
fix: 🐛 Refactor host-set dropdown separator
2022-02-16 11:19:57 -06:00
Carlos Alcaide Corvo 114ea66899 Merge branch 'main' into fix-actions-for-host-set 2022-02-16 10:59:59 -06:00
Dharini Jeeva 0762ff8240 Merge branch 'main' into add-client-secret-id 2022-02-16 08:58:28 -08:00
Dharini Jeeva 8689672e47 Merge pull request #971 from hashicorp/fix-labels
fix: 🐛 multiple labels
2022-02-16 08:56:27 -08:00
dharini 6de0c07549 fix key 2022-02-16 08:51:07 -08:00
Carlos Alcaide Corvo 8c81b3d60d fix: 🐛 Refactor host-set dropdown separator
Refactor host-set actions dropdown separator to not be show when there
is just 1 option.
2022-02-16 08:49:11 -08:00
dharini 88b4a1a243 fix: 🐛 multiple labels 2022-02-16 08:33:47 -08:00
Susmitha Girumala 77c6bead71 Merge pull request #970 from hashicorp/add-link
Add link
2022-02-16 10:34:26 -05:00
dharini 55199277cb resolve conflicts 2022-02-15 19:15:02 -08:00
Dharini Jeeva bdddd84c66 Merge pull request #968 from hashicorp/show-ip-address
chore: 🤖 show ip_address in host aws and azure
2022-02-15 19:06:55 -08:00
dharini 8b338f0288 chore: 🤖 add doc links 2022-02-15 18:56:50 -08:00
dharini 8c2ff4d2e9 chore: 🤖 add doc link 2022-02-15 18:56:50 -08:00
dharini 1f4b577dcb conflict 2022-02-15 18:55:42 -08:00
dharini 9861db3c26 Merge branch 'show-ip-address' of github.com:hashicorp/boundary-ui into show-ip-address 2022-02-15 16:12:19 -08:00
dharini 5f1df8a0a0 chore: 🤖 show latest ip addresses 2022-02-15 16:12:05 -08:00
dharini 92eb0a4be2 Merge branch 'main' into show-ip-address 2022-02-15 15:43:04 -08:00
Carlos Alcaide Corvo 8815dca31a Merge pull request #969 from hashicorp/fix-host-mock-data-attributes
fix: 🐛 Fix host mock data attributes
2022-02-15 17:33:30 -06:00
Randall Morey 790d047692 chore: move form fields 2022-02-15 18:23:25 -05:00
Carlos Alcaide Corvo 46c54fb22d fix: 🐛 Fixt host mock data attributes
Refactor ip_addresses, dns_names and external_id to not be nested under
attributes: {} when generating mock data.
2022-02-15 15:12:20 -08:00
Dharini Jeeva 2bb22a3dd7 Merge branch 'main' into show-ip-address 2022-02-15 14:58:28 -08:00
dharini 220370cc18 update attr name 2022-02-15 14:48:08 -08:00
dharini d0fec6e30e chore: 🤖 resolve conflicts 2022-02-15 14:30:19 -08:00
Randall Morey ea85879cfc Merge pull request #967 from hashicorp/feature-disable-credential-rotation
Expose disable credential rotation field
2022-02-15 17:18:14 -05:00
dharini 6d358a565f chore: 🤖 show ip_addresses in host aws and azure 2022-02-15 14:05:59 -08:00
dharini 6d6e8757e9 updates 2022-02-15 13:17:17 -08:00
Randall Morey 7a4b568ac7 Merge branch 'feature-disable-credential-rotation' of https://github.com/hashicorp/boundary-ui into feature-disable-credential-rotation 2022-02-15 15:58:37 -05:00
Randall Morey fb266d548c fix: 🐛 use @checked 2022-02-15 15:58:31 -05:00
dharini c132f6e73c Merge branch 'add-client-secret-id' of github.com:hashicorp/boundary-ui into add-client-secret-id 2022-02-15 12:55:56 -08:00
dharini 3c9105c071 fix: 🐛 move translations 2022-02-15 12:55:40 -08:00
Dharini Jeeva 38843329a2 Merge branch 'main' into add-client-secret-id 2022-02-15 12:23:51 -08:00
Randall Morey f540f052ba Merge branch 'main' into feature-disable-credential-rotation 2022-02-15 15:23:37 -05:00
dharini 24d1764310 chore: 🤖 refactor translations 2022-02-15 12:23:17 -08:00
Randall Morey e5e231f93a feat: 🎸 add disable_credential_rotation field to forms 2022-02-15 15:08:59 -05:00
Dharini Jeeva 5d2e70ed8d Merge pull request #960 from hashicorp/chore-update-to-plugin
chore: 🤖 updates to labels
2022-02-15 11:50:08 -08:00
Randall Morey 58731f1448 refactor: 💡 simplify new host catalog creation steps 2022-02-15 14:36:54 -05:00
dharini 79f242c4aa refactor translations 2022-02-15 11:32:40 -08:00
dharini 35fd198ceb fix: 🐛 refactor 2022-02-15 11:32:27 -08:00
Dharini Jeeva 9a7a0d5c4e Merge branch 'main' into add-client-secret-id 2022-02-15 09:05:00 -08:00
dharini c9ef425152 Merge branch 'chore-update-to-plugin' of github.com:hashicorp/boundary-ui into chore-update-to-plugin 2022-02-15 08:39:24 -08:00
dharini 960cf319f6 chore: 🤖 use hostcatalogtypebadge component 2022-02-15 08:39:08 -08:00
Randall Morey 9fd8e7ef54 Merge branch 'main' into chore-update-to-plugin 2022-02-15 07:29:04 -05:00
Randall Morey a1494be628 Merge pull request #962 from hashicorp/fix-plugin-type-param
fix: append ?plugin_name to dynamic host catalog create requests
2022-02-15 07:21:58 -05:00
dharini 52dafcb672 fix: 🐛 add client secret value field 2022-02-14 19:21:39 -08:00
dharini fb80069d4e Merge branch 'chore-update-to-plugin' of github.com:hashicorp/boundary-ui into chore-update-to-plugin 2022-02-14 19:02:21 -08:00
dharini 4c7f92f035 resolve conflict 2022-02-14 19:02:00 -08:00
Randall Morey 0dd0fc8592 Merge branch 'main' into fix-plugin-type-param 2022-02-14 19:08:57 -05:00
Dharini Jeeva ffd4352106 Merge pull request #964 from hashicorp/refactor-type-badges
refactor: 💡 consolidate host catalog type badges to component
2022-02-14 16:01:36 -08:00
Randall Morey 939a6fa83d Merge branch 'main' into fix-plugin-type-param 2022-02-14 18:58:45 -05:00
Dharini Jeeva aca197b1bd Merge branch 'main' into chore-update-to-plugin 2022-02-14 15:43:40 -08:00
dharini 9bd581477f Merge branch 'refactor-type-badges' of github.com:hashicorp/boundary-ui into refactor-type-badges 2022-02-14 15:40:41 -08:00
dharini 2a2364b52f Merge branch 'main' into refactor-type-badges 2022-02-14 15:40:24 -08:00
Dharini Jeeva b054d5a6b2 Merge branch 'main' into refactor-type-badges 2022-02-14 15:39:57 -08:00
Dharini Jeeva 7503a7d055 Merge pull request #961 from hashicorp/host-set-filter-ui
updates to host-set plugin filters
2022-02-14 15:38:51 -08:00
dharini bbd25cd42f chore: 🤖 use hostcatalogbadge component 2022-02-14 15:37:12 -08:00
Randall Morey ed248f583f refactor: 💡 consolidate host catalog type badges to component 2022-02-14 18:06:12 -05:00
Randall Morey 2dda76a470 Merge branch 'main' into fix-plugin-type-param 2022-02-14 17:11:20 -05:00
Randall Morey e0989fffe3 test: 💍 add missing adapter test 2022-02-14 17:10:54 -05:00
Dharini Jeeva 50aa6f5c17 Merge branch 'main' into host-set-filter-ui 2022-02-14 14:02:21 -08:00
Carlos Alcaide Corvo 318103b745 Merge pull request #959 from hashicorp/refactor-serializer-cleanup
Refactor nested fields serialisation.
2022-02-14 16:02:04 -06:00
dharini 4438a6719f fix: 🐛 lint 2022-02-14 13:55:34 -08:00
Randall Morey f4c3bc7eba Merge branch 'main' into refactor-serializer-cleanup 2022-02-14 16:44:16 -05:00
Dharini Jeeva a3ba4ddb83 Merge branch 'main' into chore-update-to-plugin 2022-02-14 13:42:32 -08:00
dharini 616c7c73fb fix: 🐛 updates 2022-02-14 13:37:30 -08:00
Dharini Jeeva 38ad758110 Merge pull request #963 from hashicorp/fix-address-attr
fix: 🐛 static host creation address field
2022-02-14 13:34:11 -08:00
dharini b15c8b056f fix: 🐛 error name 2022-02-14 12:55:07 -08:00
dharini 0b44a649b7 typo 2022-02-14 12:45:32 -08:00
Dharini Jeeva 21aef6a722 Update new.js 2022-02-14 12:40:32 -08:00
Dharini Jeeva ea5ab02d70 Update host-set.js 2022-02-14 12:39:48 -08:00
dharini 83cf084ee6 fix: 🐛 fix address 2022-02-14 12:34:05 -08:00
Randall Morey 021097ad44 fix: append ?plugin_name to dynamic host catalog create requests 2022-02-14 14:57:34 -05:00
dharini 4e513cbb9f translations 2022-02-14 11:39:06 -08:00
dharini 18dcd341c7 fix: 🐛 remove duplicate types from host/host-set 2022-02-14 11:21:14 -08:00
dharini 5b245a3ce1 lint 2022-02-14 10:37:58 -08:00
dharini 9ccae001d3 fix: 🐛 lint 2022-02-14 10:20:00 -08:00
dharini e0f81f1e61 Merge branch 'main' into host-set-filter-ui 2022-02-14 09:51:34 -08:00
dharini d5394f3206 Merge branch 'main' into host-set-filter-ui 2022-02-14 09:50:42 -08:00
Dharini Jeeva f2b91e3011 Merge branch 'main' into chore-update-to-plugin 2022-02-14 09:46:41 -08:00
Dharini Jeeva a119c97a3b Merge pull request #948 from hashicorp/feat-typed-host
Feat typed host
2022-02-14 09:46:21 -08:00
dharini 0e4f8718a2 chore: 🤖 updates to labels 2022-02-14 09:15:11 -08:00
Randall Morey 93fd52954f chore: 🤖 explicitly set secrets to null when missing 2022-02-14 11:50:39 -05:00
Randall Morey ac215e200f refactor: 💡 simplify host catalog modeling and normalization 2022-02-14 11:24:58 -05:00
Randall Morey d53cfbcc33 refactor: 💡 simplify nested fields normalization 2022-02-14 11:14:52 -05:00
dharini 361bdf02a4 updates to host-set plugin filters 2022-02-13 22:42:34 -08:00
Dharini Jeeva 13903fe8b9 Merge branch 'main' into feat-typed-host 2022-02-11 15:56:47 -08:00
Carlos Alcaide Corvo edec68e677 Merge pull request #957 from hashicorp/feat-add-host-fields-to-mirage
feat: 🎸 Add host fields to mirage
2022-02-11 15:31:50 -06:00
Carlos Alcaide Corvo fe3310ddd1 Simplify conditional 2022-02-11 13:18:19 -08:00
dharini 2f37581aed Merge branch 'feat-typed-host' of github.com:hashicorp/boundary-ui into feat-typed-host 2022-02-11 12:04:38 -08:00
dharini 9a13cd2279 chore: 🤖 translations 2022-02-11 12:04:25 -08:00
Dharini Jeeva 1cdc4a0092 Merge branch 'main' into feat-add-host-fields-to-mirage 2022-02-11 12:03:01 -08:00
Dharini Jeeva a128882d46 Merge branch 'main' into feat-typed-host 2022-02-11 11:45:43 -08:00
dharini 56bc05eba1 Merge branch 'feat-typed-host' of github.com:hashicorp/boundary-ui into feat-typed-host 2022-02-11 11:45:16 -08:00
dharini 3693829e96 chore: 🤖 translation updat4e 2022-02-11 11:44:55 -08:00
Dharini Jeeva 4c997982be Merge pull request #955 from hashicorp/consolidate-translation
Consolidate plugin provider translations
2022-02-11 11:37:27 -08:00
dharini 31c4dc32d3 Merge branch 'consolidate-translation' into feat-typed-host 2022-02-11 11:34:44 -08:00
Dharini Jeeva 1394e7c15f Merge branch 'main' into consolidate-translation 2022-02-11 11:27:43 -08:00
Dharini Jeeva 4d6456dc4d Merge branch 'main' into feat-typed-host 2022-02-11 11:27:31 -08:00
dharini 3ff51b30f0 fix: 🐛 add a comment 2022-02-11 11:26:22 -08:00
Carlos Alcaide Corvo cdaf6a84e0 Merge branch 'main' into feat-add-host-fields-to-mirage 2022-02-11 12:35:41 -06:00
Carlos Alcaide Corvo 92356c0c6e Merge pull request #956 from hashicorp/fix-mirage-filter-field-for-host-set
fix: 🐛 Fix filter field for host-set in mirage
2022-02-11 12:35:26 -06:00
Carlos Alcaide Corvo da3d94816b Merge branch 'main' into fix-mirage-filter-field-for-host-set 2022-02-11 12:23:37 -06:00
Carlos Alcaide Corvo 0b4b9b405f Merge pull request #953 from hashicorp/fix-broken-host-catalog-serializer
refactor: 💡 Refactor app normalize and host catalog normalize
2022-02-11 12:21:08 -06:00
Carlos Alcaide Corvo 7cde322926 Merge branch 'main' into feat-add-host-fields-to-mirage 2022-02-11 12:17:32 -06:00
Carlos Alcaide Corvo 44f81118ec feat: 🎸 Add host fields to mirage
Add host new fields to mirage.
2022-02-11 10:16:23 -08:00
dharini be747bc8c7 chore: 🤖 translation fix 2022-02-11 09:42:42 -08:00
Carlos Alcaide Corvo 5f44c569d0 Merge branch 'main' into fix-broken-host-catalog-serializer 2022-02-11 11:40:25 -06:00
Dharini Jeeva 21569bcc60 Merge branch 'main' into fix-mirage-filter-field-for-host-set 2022-02-11 09:23:31 -08:00
Dharini Jeeva 2d479239c1 Merge pull request #954 from hashicorp/chore-hide-actions
chore: 🤖 hide actions for plugin typed hosts
2022-02-11 09:22:40 -08:00
Carlos Alcaide Corvo 8546275249 fix: 🐛 Fix filter field for host-set in mirage
Fix the filter field for host-set in mirage. It was returning an error
rather than a string.
2022-02-11 08:51:22 -08:00
dharini 449181390e lint 2022-02-10 18:44:40 -08:00
dharini 591f05d72f consolidate provider translations 2022-02-10 18:34:41 -08:00
dharini 2459f97e4a consolidate provider translations 2022-02-10 18:33:51 -08:00
Dharini Jeeva 0776ec1af9 Update hosts.hbs 2022-02-10 18:24:30 -08:00
dharini b6f8e001f0 chore: 🤖 hide actions for plugin host 2022-02-10 18:22:14 -08:00
dharini 537b43317b Merge branch 'feat-typed-host' of github.com:hashicorp/boundary-ui into feat-typed-host 2022-02-10 18:08:04 -08:00
dharini 445e98d455 updates 2022-02-10 18:07:52 -08:00
dharini 7e731a8008 fix: 🐛 render static 2022-02-10 17:57:19 -08:00
Dharini Jeeva 2c5231d2ab Merge branch 'main' into feat-typed-host 2022-02-10 17:36:34 -08:00
Carlos Alcaide Corvo 7d98438ee9 Merge branch 'main' into fix-broken-host-catalog-serializer 2022-02-10 16:16:59 -06:00
Dharini Jeeva 0416badcfd Merge pull request #952 from hashicorp/feat-typed-host-set-create
Feat: typed host set creation
2022-02-10 13:40:04 -08:00
Dharini Jeeva e62a921cf4 Merge branch 'main' into feat-typed-host-set-create 2022-02-10 13:30:46 -08:00
Dharini Jeeva ec61bf8081 Merge pull request #947 from hashicorp/feat-typed-host-set
Feat: typed host-set form components - edit and view
2022-02-10 13:30:34 -08:00
Dharini Jeeva 200c3d54b1 Merge branch 'main' into feat-typed-host 2022-02-10 12:23:37 -08:00
Carlos Alcaide Corvo e1282bb870 Fix conditional to check for undefined 2022-02-10 11:47:30 -08:00
Carlos Alcaide Corvo b33a4d0b1d refactor: 💡 Refactor app normalize and host catalog normalize
Refactor app normalize to deal with nestedAttributes and nestedSecrets
as expected, before it was not working as expected. Refactor the host
catalog normalize method. Add normalize test on host catalog to validate
changes on normalize methods.
2022-02-10 11:43:30 -08:00
Dharini Jeeva e68d174410 Merge branch 'main' into feat-typed-host-set 2022-02-10 08:45:17 -08:00
Carlos Alcaide Corvo 37849ecf36 Merge pull request #946 from hashicorp/chore-refactor-host-catalog-mirage-data
chore: 🤖 Refactor mirage for GET host-catalog
2022-02-10 09:06:30 -06:00
Carlos Alcaide Corvo 5633502d8e Merge branch 'main' into chore-refactor-host-catalog-mirage-data 2022-02-10 08:53:41 -06:00
Carlos Alcaide Corvo 9ae037debf Merge pull request #941 from hashicorp/feat-add-new-fields-hosts
feat: 🎸 Add new fields to host
2022-02-10 08:53:21 -06:00
Carlos Alcaide Corvo e2ca9f5a7a Merge branch 'main' into feat-add-new-fields-hosts 2022-02-10 08:41:04 -06:00
dharini 0c5f6c1743 Merge branch 'feat-typed-host-set-create' of github.com:hashicorp/boundary-ui into feat-typed-host-set-create 2022-02-09 22:19:38 -08:00
dharini 6193fb8d8d Merge branch 'feat-typed-hs-create' into feat-typed-host-set-create 2022-02-09 22:18:56 -08:00
dharini 8c95e804e6 Merge commit 'a93bf5d4aa831299e50ffc5b52190b9d767cd83c' into feat-typed-hs-create 2022-02-09 22:17:38 -08:00
dharini b5ea82caaa feat: 🎸 host-set: updates to fields 2022-02-09 22:15:49 -08:00
dharini b00055a38f split host-set into static, aws and azure 2022-02-09 22:15:04 -08:00
dharini 1be4dba3db Merge branch 'feat-typed-host-set' of github.com:hashicorp/boundary-ui into feat-typed-host-set 2022-02-09 18:52:40 -08:00
dharini 64ad424a3a Merge branch 'feat-typed-host-set-create' of github.com:hashicorp/boundary-ui into feat-typed-host-set-create 2022-02-09 18:50:52 -08:00
dharini a93bf5d4aa feat: 🎸 allow host set typed creation 2022-02-09 18:50:31 -08:00
dharini 3437d4e665 fix: 🐛 translations 2022-02-09 18:50:31 -08:00
dharini cdf83c7de6 chore: 🤖 placeholder for filters 2022-02-09 18:50:31 -08:00
dharini 5e837fd2d5 fix: 🐛 remove links for now 2022-02-09 18:50:31 -08:00
dharini 98e9d8ef24 feat: 🎸 host-set: updates to fields 2022-02-09 18:50:31 -08:00
dharini 8ad078622f split host-set into static, aws and azure 2022-02-09 18:50:31 -08:00
dharini eb7dc62e9b fix: 🐛 translations 2022-02-09 18:50:09 -08:00
dharini d205f0f345 chore: 🤖 placeholder for filters 2022-02-09 18:50:09 -08:00
dharini 791a6e9d55 fix: 🐛 remove links for now 2022-02-09 18:50:09 -08:00
dharini 460c77994f feat: 🎸 host-set: updates to fields 2022-02-09 18:50:09 -08:00
dharini 4c32cee466 split host-set into static, aws and azure 2022-02-09 18:50:09 -08:00
dharini 43ebe5bf25 Merge branch 'feat-typed-host-set' of github.com:hashicorp/boundary-ui into feat-typed-host-set 2022-02-09 18:48:24 -08:00
dharini f4c62e59a9 Merge branch 'main' into feat-typed-host-set 2022-02-09 18:48:03 -08:00
dharini 42e754ab26 feat: 🎸 allow host set typed creation 2022-02-09 18:44:43 -08:00
dharini fb05d3ebd8 Merge branch 'main' into feat-typed-host-set-create 2022-02-09 17:02:45 -08:00
dharini b69dda5b82 Merge branch 'feat-typed-host' of github.com:hashicorp/boundary-ui into feat-typed-host 2022-02-09 16:55:39 -08:00
dharini 9623806206 fix translations, split into three components 2022-02-09 16:55:27 -08:00
dharini b647ff5d49 Merge branch 'main' into feat-typed-host 2022-02-09 15:02:54 -08:00
Dharini Jeeva 0ffb39ed9f Merge branch 'main' into feat-typed-host-set 2022-02-09 14:53:03 -08:00
dharini f7b3ea3547 fix: 🐛 translations 2022-02-09 14:52:22 -08:00
Randall Morey 965c28a008 Merge pull request #950 from hashicorp/chore-reuse-new-hc-fields
chore: 🤖 reuse name/description when changing instance type
2022-02-09 17:39:03 -05:00
dharini 1188c7567c chore: 🤖 placeholder for filters 2022-02-09 14:03:54 -08:00
Randall Morey 74d1b352b1 chore: 🤖 reuse name/description when changing instance type 2022-02-09 13:51:38 -05:00
Dharini Jeeva a6e34cce5c Merge branch 'main' into feat-typed-host 2022-02-09 10:07:09 -08:00
dharini 0d8752fbea fix: 🐛 show latest address in azure and aws 2022-02-09 09:59:44 -08:00
Carlos Alcaide Corvo 46246441aa Refactor some readOnly attributes to have no type. Stop nesting plugin type fields. Refactor serializer/normalizer tests 2022-02-09 08:55:10 -08:00
Carlos Alcaide Corvo 75f75878a1 Add real payload and real expectations on host normalisation unit test 2022-02-09 08:55:10 -08:00
Carlos Alcaide Corvo 12277c5557 Move new fields attributes from host generated model to plain host model. Add normalization tests 2022-02-09 08:55:10 -08:00
Carlos Alcaide Corvo f8c4eb470f feat: 🎸 Add new fields to host
Add new fields to host and refactor field address to use no more
fragment-host-attribute-model
2022-02-09 08:55:10 -08:00
Randall Morey f0065ddc13 refactor: 💡 pull breadcrumbs fully local and remove dep 2022-02-09 11:06:26 -05:00
dharini 203a4b3a55 feat: 🎸 host typed forms 2022-02-08 19:37:21 -08:00
dharini ab84787961 Merge branch 'feat-typed-host-set' of github.com:hashicorp/boundary-ui into feat-typed-host-set 2022-02-08 17:28:26 -08:00
dharini 52d6d1c4bf fix: 🐛 remove links for now 2022-02-08 17:26:43 -08:00
Dharini Jeeva 5584577673 Merge branch 'main' into feat-typed-host-set 2022-02-08 17:01:20 -08:00
dharini 6e36c85299 Merge branch 'main' into feat-typed-host-set 2022-02-08 16:59:51 -08:00
Carlos Alcaide Corvo ee06a9c825 chore: 🤖 Refactor mirage for GET host-catalog
Refactor mirage data for GET host-catalog method.
2022-02-08 16:08:20 -08:00
Dharini Jeeva 6f8d424bed Merge pull request #942 from hashicorp/add-aws-azure-attrs
chore: host catalog form- add rest of the AWS and Azure fields
2022-02-08 16:05:44 -08:00
dharini dad3918d44 feat: 🎸 host-set: updates to fields 2022-02-08 14:51:59 -08:00
Randall Morey 932e2e7b50 docs: fix nav link titles 2022-02-08 16:56:21 -05:00
Randall Morey df071e0815 refactor: 💡 resolve legacy-attribute-arguments deprecations 2022-02-08 16:47:49 -05:00
Dharini Jeeva 168e6e8700 Merge branch 'main' into add-aws-azure-attrs 2022-02-08 13:01:30 -08:00
Randall Morey 44b5d7427a refactor: 💡 upgrade ember-radio-button to fix deprecations 2022-02-08 15:50:29 -05:00
dharini ad6baf2b3b Merge branch 'main' into feat-typed-host-set 2022-02-08 12:30:33 -08:00
dharini d108baccfc split host-set into static, aws and azure 2022-02-08 12:30:14 -08:00
Dharini Jeeva 6634d868c9 Merge pull request #940 from hashicorp/feat-typed-hc
Feat: typed host catalog form components for admin UI
2022-02-08 12:24:37 -08:00
Randall Morey a585fc7a9a chore: 🤖 satisfy argument-less-helper-paren-less-invocation 2022-02-08 14:56:54 -05:00
dharini 6872bc264a Merge branch 'add-aws-azure-attrs' into feat-typed-host 2022-02-08 11:03:20 -08:00
dharini f2ea864c0d Merge branch 'feat-typed-hc' of github.com:hashicorp/boundary-ui into feat-typed-hc 2022-02-08 10:31:15 -08:00
dharini 353a7f94ad test: 💍 update tests 2022-02-08 10:30:11 -08:00
Randall Morey 92d7380f83 chore: 🤖 clean up unused new instances 2022-02-08 13:11:08 -05:00
dharini 1b70f9acfb fix: 🐛 field names 2022-02-07 23:37:40 -08:00
dharini 2bcfb55db9 chore: 🤖 translations 2022-02-07 23:10:36 -08:00
dharini 9987888edd Merge branch 'feat-typed-hc' into add-aws-azure-attrs 2022-02-07 22:32:45 -08:00
dharini 4559c1b650 fix: 🐛 label and padding 2022-02-07 22:31:58 -08:00
dharini d0f8da1f81 add rest of the AWS and azure fields 2022-02-07 21:27:38 -08:00
dharini 00aa86cfb7 fix: 🐛 translation order 2022-02-07 20:59:27 -08:00
dharini aee519aa75 lint fic 2022-02-07 14:21:52 -08:00
dharini 14838fc87f translation label fix 2022-02-07 14:10:12 -08:00
dharini ab95378f6e fix: 🐛 radioGroup names 2022-02-07 14:04:03 -08:00
dharini 2f89d928b1 fix: 🐛 move out route-action from the components 2022-02-07 12:48:32 -08:00
dharini bf35789bd3 Merge branch 'main' into feat-typed-hc 2022-02-07 11:14:23 -08:00
dharini feb9c7aee1 Merge branch 'feat-typed-hc' of github.com:hashicorp/boundary-ui into feat-typed-hc 2022-02-07 10:32:28 -08:00
dharini a1ac704649 chore: 🤖 update names 2022-02-07 10:32:13 -08:00
Carlos Alcaide Corvo b5b527e01a Merge pull request #938 from hashicorp/feat-add-new-fields-host-set
feat: 🎸 Add new fields to host-set model
2022-02-07 10:12:19 -06:00
Carlos Alcaide Corvo e52093c6ed PR suggestions applied 2022-02-04 09:26:26 -08:00
Carlos Alcaide Corvo 4f14891c84 Add new fields to mirage 2022-02-03 14:31:21 -08:00
Dharini Jeeva d62a8afd3b Update create-test.js 2022-02-03 13:48:29 -08:00
dharini 4c1e090619 Merge branch 'feat-typed-hc' of github.com:hashicorp/boundary-ui into feat-typed-hc 2022-02-03 13:47:00 -08:00
dharini 7dd96334c3 Merge branch 'feat-host-catalog-integration' into feat-typed-hc 2022-02-03 13:45:12 -08:00
dharini cbda678a65 Merge branch 'main' into feat-host-catalog-integration 2022-02-03 13:44:43 -08:00
Dharini Jeeva c1eaed32bd Merge branch 'main' into feat-typed-hc 2022-02-03 13:41:16 -08:00
Carlos Alcaide Corvo 5e12566a65 Refactor tests 2022-02-03 11:27:08 -08:00
Carlos Alcaide Corvo 5e918cdddc Add all the new fields. Refactor serializer to fit new changes. Work in progress with normalize 2022-02-03 11:27:08 -08:00
Carlos Alcaide Corvo f64f6bfd05 feat: 🎸 Add new fields to host-set model
Add new fields to host-set model
2022-02-03 11:27:08 -08:00
dharini 8f11f2536b chore: 🤖 remove helper text, fix test 2022-02-03 10:38:10 -08:00
Randall Morey de58328125 Merge pull request #939 from hashicorp/chore-disable-non-static-host-navigation
Disable non-static hosts navigation
2022-02-03 10:27:39 -05:00
Randall Morey b4693b821e Merge branch 'main' into chore-disable-non-static-host-navigation 2022-02-03 08:42:03 -05:00
dharini 323945d760 names 2022-02-02 18:14:02 -08:00
dharini 2aa1142034 Merge branch 'feat-typed-hc' of github.com:hashicorp/boundary-ui into feat-typed-hc 2022-02-02 18:13:42 -08:00
dharini b3bde173ba add missing translations 2022-02-02 18:11:01 -08:00
Dharini Jeeva 3fbb9e8847 Merge branch 'main' into feat-typed-hc 2022-02-02 17:44:22 -08:00
dharini aa51b62134 fix: 🐛 host catalog creation tests 2022-02-02 17:39:22 -08:00
dharini aed6efe565 add translations 2022-02-02 14:39:08 -08:00
Randall Morey dd1d211d41 chore: 🤖 disallow catalog -> host list for dynamic catalogs 2022-02-02 17:38:57 -05:00
Randall Morey a7bf8008a7 chore: 🤖 more realistic mock grants for dynamic host catalogs 2022-02-02 17:04:09 -05:00
dharini bd5a7c0aa9 pull from int branch 2022-02-02 12:09:13 -08:00
dharini 096b7ea142 remove unused file, lint 2022-02-02 11:05:48 -08:00
Susmitha Girumala f7a2dd14e3 chore: Integrate compositetypes into route 2022-02-01 22:35:00 -05:00
Susmitha Girumala 137f4ee3c8 Merge remote-tracking branch 'origin/feat-typed-hc' into feat-host-catalog-integration 2022-02-01 21:17:28 -05:00
dharini 55acdc76b6 move up component logic 2022-02-01 11:12:33 -08:00
Carlos Alcaide Corvo 29ddca21b8 Merge pull request #936 from hashicorp/chore-add-shelljs-to-resolutions
chore: 🤖 Add shelljs to resolutions
2022-01-31 15:23:37 -06:00
dharini fdef23de89 rebase main 2022-01-31 13:16:03 -08:00
Carlos Alcaide Corvo 1c9e77938e Merge branch 'main' into chore-add-shelljs-to-resolutions 2022-01-31 15:09:31 -06:00
Carlos Alcaide Corvo 8894617709 Merge pull request #935 from hashicorp/chore-add-node-fetch-desktop-resolutions
chore: 🤖 Add node-fetch desktop resolutions
2022-01-31 15:04:05 -06:00
Carlos Alcaide Corvo 645af9502d Merge branch 'main' into chore-add-node-fetch-desktop-resolutions 2022-01-31 14:44:40 -06:00
Carlos Alcaide Corvo cc1dcc5b5b Merge pull request #934 from hashicorp/chore-add-node-fetch-to-resolutions
chore: 🤖 Add node-fetch to resolutions for security vul
2022-01-31 14:44:30 -06:00
Carlos Alcaide Corvo 20b76f5afe Merge branch 'main' into chore-add-node-fetch-to-resolutions 2022-01-31 14:28:08 -06:00
Carlos Alcaide Corvo 70949a4cd9 Merge pull request #933 from hashicorp/fix-babel-plugin-ember-unmet-peer-dep
fix: 🐛 Fix babel plugin unmet peer dependency in Rose
2022-01-31 14:27:54 -06:00
Carlos Alcaide Corvo 99ba4f59c0 Merge branch 'main' into fix-babel-plugin-ember-unmet-peer-dep 2022-01-31 14:13:08 -06:00
Carlos Alcaide Corvo d5911ec942 Merge pull request #932 from hashicorp/chore-add-translations-to-badges-type
chore: 🤖 Add translations to host set and host type
2022-01-31 14:12:56 -06:00
dharini 73566b0583 show provider info when dynamic is selected 2022-01-31 12:01:52 -08:00
dharini 1e80414b32 unknown type 2022-01-31 12:01:23 -08:00
dharini 043b760cd6 more updates 2022-01-31 11:59:32 -08:00
dharini ce633ec0c0 typed host catalog init 2022-01-31 11:56:00 -08:00
dharini 19f48b2ca3 show provider info when dynamic is selected 2022-01-31 11:41:35 -08:00
dharini 36eab2e0f1 unknown type 2022-01-31 11:41:15 -08:00
dharini 0577cdec76 more updates 2022-01-31 11:40:56 -08:00
Susmitha Girumala 67c4440a90 fix: Reflect catalog type in creation url 2022-01-31 11:39:54 -08:00
Susmitha Girumala b2b2f63bf3 feat: Add missing queryParam to hostcatalog create controller 2022-01-31 11:39:28 -08:00
Susmitha Girumala 2de2a79e7c fix: Protect catalog type selectors in edit mode 2022-01-31 11:39:26 -08:00
Susmitha Girumala 46b6c51f5d feat: Question on default host catalog type value 2022-01-31 11:38:58 -08:00
Susmitha Girumala cc56fb9636 feat: Trigger update to host catalog type 2022-01-31 11:38:58 -08:00
Susmitha Girumala c1d71e5166 feat: Add type param support to creation form of host catalog 2022-01-31 11:38:55 -08:00
dharini d595b6c899 further updates 2022-01-31 11:38:07 -08:00
dharini e0f569229b static form with radioCards 2022-01-31 11:38:05 -08:00
dharini f13a3ee18c split host catalog into other types 2022-01-31 11:37:38 -08:00
dharini feec5d96f3 typed host catalog init 2022-01-31 11:37:38 -08:00
dharini 99cb449ff7 Merge branch 'main' into feat-host-catalog-integration 2022-01-31 11:27:50 -08:00
Carlos Alcaide Corvo 896b45910e Merge branch 'main' into chore-add-translations-to-badges-type 2022-01-31 13:19:14 -06:00
Randall Morey a8202081e9 Merge pull request #937 from hashicorp/refactor-abilities
Unify model and collection abilities
2022-01-31 14:14:54 -05:00
Randall Morey 2bb63c3775 refactor: 💡 merge model and collection abilities 2022-01-31 12:02:37 -05:00
Randall Morey 9e74c137b7 refactor: 💡 remove capabilities feature flag 2022-01-31 10:40:16 -05:00
Carlos Alcaide Corvo 40ee7c56d4 chore: 🤖 Add shelljs to resolutions
Add shelljs to resolutions to avoid security vulnerability
2022-01-28 16:11:01 -08:00
Carlos Alcaide Corvo e0653c559b chore: 🤖 Add node-fetch desktop resolutions
Add node-fetch desktop resolutions to avoid security vulnerability.
2022-01-28 15:46:19 -08:00
Carlos Alcaide Corvo ed5ac46329 chore: 🤖 Add node-fetch to resolutions for security vul
Add node-fetch to resolutions to avoid security vulnerability
2022-01-28 15:27:51 -08:00
Carlos Alcaide Corvo 2bf38b1257 fix: 🐛 Fix babel plugin unmet peer dependency in Rose
Fix babel plugin unmet peer dependency in Rose
2022-01-28 15:16:02 -08:00
Carlos Alcaide Corvo b96e998fc9 chore: 🤖 Add translations to host set and host type 2022-01-28 14:47:42 -08:00
Carlos Alcaide Corvo 78bff7f0d8 Merge pull request #931 from hashicorp/feat-add-type-badges-host
feat: 🎸 Add type badges to host
2022-01-28 16:47:03 -06:00
Carlos Alcaide Corvo ff9a7b3969 Merge branch 'main' into feat-add-type-badges-host 2022-01-28 15:40:14 -06:00
Carlos Alcaide Corvo a43065ec1c Merge pull request #928 from hashicorp/feature-add-host-type-basic-support
feat: 🎸 Add host type basic support
2022-01-28 15:25:20 -06:00
Dharini Jeeva c5ced9f36f Merge branch 'main' into feature-add-host-type-basic-support 2022-01-28 08:47:53 -08:00
Randall Morey cd71c53ff2 Merge pull request #929 from hashicorp/chore-unknown-type
Add support for "unknown" dynamic host catalogs
2022-01-28 11:46:34 -05:00
Carlos Alcaide Corvo 8c47612977 feat: 🎸 Add type badges to host
Add type badges to host
2022-01-27 12:35:04 -08:00
Carlos Alcaide Corvo e150b15f00 Add default value for type in mirage 2022-01-27 11:36:29 -08:00
Carlos Alcaide Corvo 10806da5c2 Merge branch 'main' into chore-unknown-type 2022-01-27 12:59:00 -06:00
dharini cbf5cc44f6 Merge remote-tracking branch 'origin/create-host-catalog-supports-static-catalog' into feat-host-catalog-integration 2022-01-27 10:37:31 -08:00
Carlos Alcaide Corvo da1056d222 Refactor host model comments 2022-01-27 10:17:34 -08:00
Carlos Alcaide Corvo 6ad42a5eaa Move plugin field generation from generated to a factory 2022-01-27 10:17:34 -08:00
Carlos Alcaide Corvo bb9d99eefb Add mirage support 2022-01-27 10:17:34 -08:00
Carlos Alcaide Corvo 929b020cf7 feat: 🎸 Add host type basic support 2022-01-27 10:17:34 -08:00
Carlos Alcaide Corvo d269d27e2c Merge pull request #927 from hashicorp/feature-add-type-badges-host-set
feat: 🎸 Add type badges for host-set
2022-01-27 12:04:06 -06:00
Carlos Alcaide Corvo 056bd8666c Merge branch 'main' into feature-add-type-badges-host-set 2022-01-27 11:49:33 -06:00
Carlos Alcaide Corvo 5e25ee1368 Merge pull request #925 from hashicorp/feature-add-host-set-type-basic-support
feat: 🎸 Add basic type support for host-set
2022-01-27 11:31:32 -06:00
Carlos Alcaide Corvo b3675ec0f0 Merge branch 'main' into feature-add-host-set-type-basic-support 2022-01-27 11:20:41 -06:00
Dharini Jeeva f74e2a6e2c Merge pull request #924 from hashicorp/add-radioCard-support
feat:  add radiocard support to group
2022-01-27 08:58:14 -08:00
Randall Morey a011278c41 chore: 🤖 tweak storybook names and fix word breaking 2022-01-27 10:03:17 -05:00
Dharini Jeeva f9e3656ce9 Update _radio-card.scss 2022-01-26 16:19:51 -08:00
Dharini Jeeva bfd0b32cb3 Update _radio-card.scss 2022-01-26 16:19:21 -08:00
Dharini Jeeva f454ef988f Update _radio-card.scss 2022-01-26 15:51:05 -08:00
dharini 27582e7c19 needs more bottom margin when used in CRUD forms 2022-01-26 15:28:16 -08:00
Carlos Alcaide Corvo e7cf4c99a5 Refactor type in host-set factory 2022-01-26 14:41:39 -08:00
dharini bb0eacb108 border-color change 2022-01-26 13:55:19 -08:00
Carlos Alcaide Corvo 92b4dccf78 Default state for type, then if there is host-catalog as parent, inherit its type 2022-01-26 13:42:58 -08:00
dharini 87bb8e3e39 add margin bottom 2022-01-26 13:38:31 -08:00
dharini f28f113509 fix: 🐛 adjust margin 2022-01-26 13:27:47 -08:00
Carlos Alcaide Corvo f0b2152130 Inherit type from host-catalog 2022-01-26 12:34:31 -08:00
Carlos Alcaide Corvo cbc732e9dd Move mirage plugin field to a factory. Now plugin inherits from host-catalog 2022-01-26 12:30:21 -08:00
dharini 36375ae0be fix: 🐛 remove wrapper and make card always inline 2022-01-26 11:43:30 -08:00
Randall Morey 6f0d5fd338 chore: 🤖 disallow read on unknown catalogs 2022-01-26 13:27:25 -05:00
Carlos Alcaide Corvo 676c3e0ad0 Type gets inherit from host-catalog 2022-01-26 10:11:25 -08:00
Randall Morey 6e77ea655f chore: 🤖 add support for "unknown" dynamic host catalogs 2022-01-26 13:03:21 -05:00
dharini 005690f838 Merge branch 'add-radioCard-support' of github.com:hashicorp/boundary-ui into add-radioCard-support 2022-01-26 09:36:57 -08:00
Dharini Jeeva f1b053871d Merge branch 'main' into add-radioCard-support 2022-01-26 09:36:46 -08:00
dharini 8de98a55f8 Merge branch 'main' into add-radioCard-support 2022-01-26 09:36:33 -08:00
Carlos Alcaide Corvo 3c794dfa4b feat: 🎸 Add type badges for host-set
Add type badges for host-set
2022-01-26 08:26:32 -08:00
Carlos Alcaide Corvo 995c79804a Add random type values in mirage 2022-01-26 08:02:54 -08:00
Carlos Alcaide Corvo 26887b3cfe feat: 🎸 Add basic type support for host-set
Add basic type support for host-set
2022-01-26 08:02:54 -08:00
Susmitha Girumala 07b2c646b1 feat: Question on default host catalog type value 2022-01-26 10:56:38 -05:00
Susmitha Girumala 9255d6dd98 feat: Trigger update to host catalog type 2022-01-26 10:49:48 -05:00
Susmitha Girumala 6a8bbcad9d feat: Add type param support to creation form of host catalog 2022-01-26 10:49:48 -05:00
Susmitha Girumala a380bccbf1 Merge pull request #907 from hashicorp/feat-create-radio-card-component
Feat: create radio card component
2022-01-26 10:27:57 -05:00
dharini de4955eb60 fix: 🐛 add radiocard support to group 2022-01-25 16:12:03 -08:00
Carlos Alcaide Corvo 7b3c39d275 Merge branch 'main' into feat-create-radio-card-component 2022-01-25 17:25:41 -06:00
Randall Morey 9add540104 Merge pull request #918 from hashicorp/refactor-credentials-render-template
Remove renderTemplate usage from credential stores & libraries resources
2022-01-25 18:19:11 -05:00
Dharini Jeeva eafb21ddb9 Merge branch 'main' into refactor-credentials-render-template 2022-01-25 13:48:21 -08:00
Dharini Jeeva 45dc7c0b52 Merge branch 'main' into feat-create-radio-card-component 2022-01-25 13:47:37 -08:00
dharini 02c3fadfdd Merge branch 'feat-create-radio-card-component' of github.com:hashicorp/boundary-ui into feat-create-radio-card-component 2022-01-25 13:47:21 -08:00
dharini d1b8318dbe fix: 🐛 border-radius, error state, vertically align radiobtn 2022-01-25 13:47:12 -08:00
Carlos Alcaide Corvo 04c8d7d10d Merge pull request #919 from hashicorp/chore-add-follow-redirects-resolutions
chore: 🤖 Add follow-redirects to resolutions
2022-01-25 15:44:09 -06:00
Carlos Alcaide Corvo a7ef430ccd Merge branch 'main' into chore-add-follow-redirects-resolutions 2022-01-25 15:09:14 -06:00
Randall Morey b178e6cec8 Merge branch 'main' into refactor-credentials-render-template 2022-01-25 15:47:26 -05:00
Randall Morey 8e8292ecfb Merge pull request #917 from hashicorp/refactor-groups-render-template
Remove renderTemplate usage from groups resource
2022-01-25 15:47:16 -05:00
Randall Morey 285e1b0fe4 Merge branch 'main' into refactor-groups-render-template 2022-01-25 15:25:14 -05:00
Randall Morey 798f9a7430 Merge pull request #916 from hashicorp/refactor-roles-render-template
Remove renderTemplate usage from roles resource
2022-01-25 15:25:03 -05:00
Randall Morey 274fd96541 Merge branch 'main' into chore-add-follow-redirects-resolutions 2022-01-25 14:32:56 -05:00
Randall Morey e665d61071 Merge branch 'main' into feat-create-radio-card-component 2022-01-25 14:29:48 -05:00
Randall Morey 75fcdc1f93 Merge branch 'main' into refactor-credentials-render-template 2022-01-25 14:27:39 -05:00
Randall Morey 14dc77b546 Merge branch 'main' into refactor-groups-render-template 2022-01-25 14:27:29 -05:00
Randall Morey 10503450e2 Merge branch 'main' into refactor-roles-render-template 2022-01-25 14:27:15 -05:00
Carlos Alcaide Corvo b5ce0843ec Merge pull request #922 from hashicorp/revert-915-chore-update-ember-cli-htmlbars
Revert "chore: 🤖 Update ember cli htmlbars"
2022-01-25 13:22:31 -06:00
Carlos Alcaide Corvo 979acfdcda Revert "chore: 🤖 Update ember cli htmlbars" 2022-01-25 10:57:46 -08:00
Dharini Jeeva 0255e651d3 Merge branch 'main' into feat-create-radio-card-component 2022-01-25 10:14:24 -08:00
dharini a04b9d90dd fix: 🐛 refactor 2022-01-25 10:13:34 -08:00
Dharini Jeeva 3b3e2c21e2 Merge branch 'main' into refactor-credentials-render-template 2022-01-25 09:27:15 -08:00
Dharini Jeeva 54e31c10a3 Merge branch 'main' into refactor-groups-render-template 2022-01-25 09:25:19 -08:00
Dharini Jeeva 54205e010e Merge branch 'main' into refactor-roles-render-template 2022-01-25 09:24:47 -08:00
Carlos Alcaide Corvo 7a3fe9d74f Merge branch 'main' into chore-add-follow-redirects-resolutions 2022-01-25 10:43:25 -06:00
Carlos Alcaide Corvo d68a465d8f Merge pull request #915 from hashicorp/chore-update-ember-cli-htmlbars
chore: 🤖 Update ember cli htmlbars
2022-01-25 10:28:05 -06:00
Carlos Alcaide Corvo a0a8aae139 chore: 🤖 Add follow-redirects to resoltuions
Add follow-redirect to resolutions to avoid security vulnerability
2022-01-25 08:22:26 -08:00
Randall Morey ef018aac59 refactor: 💡 remove renderTemplate usage from creds resources 2022-01-25 10:18:10 -05:00
Randall Morey 2febf3ac3c refactor: 💡 remove renderTemplate usage from groups resource 2022-01-25 09:40:30 -05:00
Randall Morey 41b3a99617 refactor: 💡 remove renderTemplate usage from roles resource 2022-01-25 09:13:09 -05:00
dharini c8ae0de083 Merge branch 'feat-create-radio-card-component' of github.com:hashicorp/boundary-ui into feat-create-radio-card-component 2022-01-24 16:55:19 -08:00
dharini 7b2acf162d fix: 🐛 updates 2022-01-24 16:54:45 -08:00
Dharini Jeeva 5544f87cc2 Update _radio-card.scss 2022-01-24 16:01:48 -08:00
dharini 9806415030 Merge branch 'feat-create-radio-card-component' of github.com:hashicorp/boundary-ui into feat-create-radio-card-component 2022-01-24 15:44:03 -08:00
dharini ff514b076b fix: 🐛 sizing var consistency 2022-01-24 15:43:44 -08:00
Carlos Alcaide Corvo b5e5b9164f Merge branch 'main' into chore-update-ember-cli-htmlbars 2022-01-24 17:07:14 -06:00
Carlos Alcaide Corvo 01ac40228d Merge branch 'main' into feat-create-radio-card-component 2022-01-24 15:38:30 -06:00
Carlos Alcaide Corvo bc9526f008 Merge pull request #913 from hashicorp/feature-add-new-fields-host-catalog
feat: 🎸 Add fields to host-catalog model
2022-01-24 15:36:35 -06:00
Carlos Alcaide Corvo ffb00c708f Refactor mirage factory. Rephrase test description. Refactor some tests to not test secret fields 2022-01-24 10:01:17 -08:00
dharini bd7834ca81 fix: 🐛 name 2022-01-23 22:28:20 -08:00
dharini e374213553 refactor: 💡 refactor component layouts 2022-01-23 21:13:00 -08:00
Carlos Alcaide Corvo 12bb8203c2 Change mirage attributes to factory 2022-01-21 14:45:21 -08:00
Carlos Alcaide Corvo af291d279d chore: 🤖 Update ember cli htmlbars
Update ember-cli-htmlbars
2022-01-21 13:41:32 -08:00
Carlos Alcaide Corvo 614be72a6e Add isNestedSecret option to model, add secrets field to model, add isNestedSecert serialization. Change tests to the last changes 2022-01-21 12:55:04 -08:00
Randall Morey 712607cb0c fix: variable name 2022-01-21 15:26:27 -05:00
Randall Morey 44ea5e329b chore: always delete nested secrets from main payload 2022-01-21 15:24:38 -05:00
Randall Morey cd02f6aec3 chore: add isNestedSecret support 2022-01-21 15:22:59 -05:00
Carlos Alcaide Corvo 6eccb0ea6c Simplified tests code 2022-01-21 10:05:04 -08:00
Carlos Alcaide Corvo cc07df5806 Delete old comment 2022-01-21 09:57:58 -08:00
Carlos Alcaide Corvo 72dcd0d3ae Fix unit test for azure host-catalog plugin 2022-01-21 09:57:36 -08:00
Carlos Alcaide Corvo bab8c8ea44 Add update tests for serializer 2022-01-21 09:49:48 -08:00
Randall Morey d8aaddfcca chore: convert writeOnce to writeOnly 2022-01-21 12:43:45 -05:00
dharini dd8cb5a77e fix: 🐛 add helpertext in storybook component 2022-01-20 16:29:17 -08:00
dharini 2cc0e735fb Merge branch 'feat-create-radio-card-component' of github.com:hashicorp/boundary-ui into feat-create-radio-card-component 2022-01-20 16:08:05 -08:00
dharini b85a4dd719 fix: 🐛 lint 2022-01-20 16:07:48 -08:00
Dharini Jeeva afdec9a6ed Merge branch 'main' into feat-create-radio-card-component 2022-01-20 15:58:35 -08:00
dharini 823066e6b4 refactor: 💡 use standard color, helpers for size, space 2022-01-20 15:38:53 -08:00
Randall Morey cd60c0bbc3 chore: add writeOnce field support 2022-01-20 17:20:24 -05:00
Randall Morey 1889dd0090 chore: tweak dynamic fields serialization 2022-01-20 16:47:46 -05:00
Carlos Alcaide Corvo 10c364264c Merge branch 'main' into feature-add-new-fields-host-catalog 2022-01-20 15:06:38 -06:00
Carlos Alcaide Corvo 9558f2e480 Modify serializer test to not test field exclusion. Add to mirage more host-catalogs. Add to mirage new fields per host-catalog 2022-01-20 12:55:31 -08:00
Randall Morey f6e5f5d9e7 Merge pull request #912 from hashicorp/chore-update-ember-cli
chore: 🤖 Update ember-cli to 4.1
2022-01-20 14:21:09 -05:00
Randall Morey c0ba8bfae3 chore: manual merge from main 2022-01-20 14:05:37 -05:00
Randall Morey 6b0a1d6e2f Merge pull request #911 from hashicorp/fix-jest-unmet-peer-dependency
fix: 🐛 Fix jest unmet peer dependency
2022-01-20 13:38:58 -05:00
Randall Morey f2934472c8 Merge branch 'main' into fix-jest-unmet-peer-dependency 2022-01-20 11:45:27 -05:00
Carlos Alcaide Corvo cd96313857 feat: 🎸 Add fields to host-catalog model
Add new fields to host-catalog model for plugin type host-catalog.
Fields are corresponding to Azure and Aws plugins.
2022-01-20 08:35:41 -08:00
Randall Morey fdc69b8a25 Merge pull request #905 from hashicorp/refactor-render-template-auth-methods
Refactor auth methods usage of renderTemplate
2022-01-20 10:52:05 -05:00
Randall Morey 2595ea7f2e Merge branch 'main' into refactor-render-template-auth-methods 2022-01-20 10:37:55 -05:00
Randall Morey 2973d7ee11 Merge pull request #904 from hashicorp/refactor-render-template-users
Refactor user usage of renderTemplate
2022-01-20 10:37:43 -05:00
Susmitha Girumala b6386ddbee Merge branch 'main' into refactor-render-template-users 2022-01-20 09:33:38 -05:00
Susmitha Girumala 21820dda9b Merge pull request #901 from hashicorp/feat-radio-helper-text
Feat: Add support for helper text to radios
2022-01-20 09:33:15 -05:00
dharini 521250b6cb fix: 🐛 color label 2022-01-19 16:13:30 -08:00
Dharini Jeeva 0177c8bc0a Merge branch 'main' into feat-create-radio-card-component 2022-01-19 15:33:02 -08:00
dharini 2738dcfef3 fix: 🐛 lint 2022-01-19 14:17:23 -08:00
Carlos Alcaide Corvo 2db364feb7 Merge branch 'main' into chore-update-ember-cli 2022-01-19 16:01:56 -06:00
Carlos Alcaide Corvo efb5c9111b Merge branch 'main' into fix-jest-unmet-peer-dependency 2022-01-19 16:01:42 -06:00
dharini f0becdcdc4 refactor: 💡 use scss variables 2022-01-19 13:44:25 -08:00
Dharini Jeeva e6928fe66f Merge branch 'main' into feat-radio-helper-text 2022-01-19 11:23:46 -08:00
dharini 537d8f107f fix: 🐛 vertical layout shift 2022-01-19 11:08:50 -08:00
Randall Morey 305d5e6825 Merge pull request #910 from hashicorp/feature-nested-attributes
Support nested attributes with no dependencies
2022-01-19 12:26:52 -05:00
Randall Morey 121129ffd2 fix: 🐛 include nulls 2022-01-19 12:16:57 -05:00
Carlos Alcaide Corvo 1fd6c8a27e Merge branch 'main' into feature-nested-attributes 2022-01-19 10:11:39 -06:00
Dharini Jeeva 6ad1691750 Update _radioCard.scss 2022-01-18 16:13:00 -08:00
Dharini Jeeva ecf460d89b Update index.hbs 2022-01-18 16:12:36 -08:00
dharini b1ec40d72a refactor: 💡 updates to css 2022-01-18 15:57:59 -08:00
Carlos Alcaide Corvo 506ca35ba1 chore: 🤖 Update ember-cli to 4.0
Update ember-cli to 4.0
2022-01-18 14:58:24 -08:00
Carlos Alcaide Corvo 2ee68136f7 Merge branch 'main' into fix-jest-unmet-peer-dependency 2022-01-18 16:11:07 -06:00
Carlos Alcaide Corvo 4a178fd300 Merge pull request #909 from hashicorp/fix-storybook-theming-unmet-peer-dependency
fix: 🐛 Fix storybook theming unmet peer dependency
2022-01-18 16:10:45 -06:00
Carlos Alcaide Corvo baf742c980 Merge branch 'main' into feature-nested-attributes 2022-01-18 16:10:02 -06:00
Carlos Alcaide Corvo 0717df8f27 Merge branch 'main' into fix-storybook-theming-unmet-peer-dependency 2022-01-18 15:35:08 -06:00
Carlos Alcaide Corvo 279848439a Merge pull request #908 from hashicorp/bug-fix-unmet-peer-dependency
fix: 🐛 Fix unmet peer dependency
2022-01-18 15:34:29 -06:00
Carlos Alcaide Corvo 4b30eefd94 fix: 🐛 Fix jest unmet peer dependency
Fix jest unmet peer dependency
2022-01-18 11:57:27 -08:00
dharini bda7c7c88e add separate story files 2022-01-18 11:35:53 -08:00
Randall Morey d70ff06891 chore: 🤖 add support for nested attributes errors 2022-01-18 14:32:03 -05:00
Carlos Alcaide Corvo d332a21266 fix: 🐛 Fix storybook theming unmet peer dependency
Fix storybook theming unmet peer dependency
2022-01-18 11:30:22 -08:00
dharini 299c1cdd06 Merge branch 'feat-create-radio-card-component' of github.com:hashicorp/boundary-ui into feat-create-radio-card-component 2022-01-18 11:11:24 -08:00
dharini 4837cb353e fix: 🐛 lint 2022-01-18 11:10:38 -08:00
Carlos Alcaide Corvo 66df38d81d fix: 🐛 Fix unmet peer dependency
Fix unmeet peer dependency for @storybook/core-events
2022-01-18 10:48:54 -08:00
Dharini Jeeva 70f8080837 Merge branch 'main' into feat-create-radio-card-component 2022-01-18 10:44:56 -08:00
Randall Morey ac14e8786d feat: 🎸 support isNestedAttribute in models 2022-01-18 13:44:27 -05:00
dharini 7b5070115e lint again 2022-01-18 10:32:52 -08:00
dharini 0fcd55ef41 fix: 🐛 lint 2022-01-18 10:19:45 -08:00
dharini 5c4d7e29fd feat: 🎸 add tile and wide radiocard field 2022-01-18 09:49:18 -08:00
dharini 172c9dde69 add tile and wider radiocard 2022-01-18 00:00:12 -08:00
dharini e3c2452199 Merge branch 'feat-radio-helper-text' of github.com:hashicorp/boundary-ui into feat-radio-helper-text 2022-01-16 18:50:54 -08:00
dharini a3fd2ff03c fix: 🐛 use button lineheight 2022-01-16 18:50:43 -08:00
Dharini Jeeva 06684a7da2 Merge branch 'main' into feat-radio-helper-text 2022-01-16 18:08:56 -08:00
dharini 2c1cdf6c9c Merge branch 'feat-radio-helper-text' of github.com:hashicorp/boundary-ui into feat-radio-helper-text
:wq
:wq especially if it merges an updated upstream into a topic branch.
2022-01-16 18:07:06 -08:00
dharini c571dc23e0 fix: 🐛 remove classname 2022-01-16 18:06:43 -08:00
dharini bf09c9b0b8 more updates 2022-01-16 16:37:55 -08:00
Carlos Alcaide Corvo ec8a55be31 Merge pull request #903 from hashicorp/chore-update-flight-icons
chore: 🤖 Update flight icons to 2.0
2022-01-14 17:06:53 -06:00
Carlos Alcaide Corvo 8a641cd6b7 Merge branch 'main' into chore-update-flight-icons 2022-01-14 16:58:17 -06:00
Randall Morey cd30e05e2e refactor: 💡 replace renderTemplate with components 2022-01-14 16:56:59 -05:00
Dharini Jeeva 66ef638086 Merge branch 'main' into feat-radio-helper-text 2022-01-14 13:48:16 -08:00
Carlos Alcaide Corvo 57d6be8b84 Merge pull request #900 from hashicorp/feature-add-host-catalog-type-support
feat: 🎸 Add host catalog type basic support
2022-01-14 15:44:33 -06:00
Carlos Alcaide Corvo d2e914cba9 Fix lint errors 2022-01-14 13:32:38 -08:00
Carlos Alcaide Corvo 949560826e Merge branch 'main' into feature-add-host-catalog-type-support 2022-01-14 15:28:40 -06:00
Carlos Alcaide Corvo df673ad29b Use compositeType properly on tests 2022-01-14 13:28:13 -08:00
Carlos Alcaide CorvoandRandall Morey 8007762bd1 Update addons/api/mirage/generated/factories/host-catalog.js
Co-authored-by: Randall Morey <randall@hashicorp.com>
2022-01-14 15:15:13 -06:00
Carlos Alcaide CorvoandRandall Morey bdc9dacdce Update addons/api/mirage/generated/factories/host-catalog.js
Co-authored-by: Randall Morey <randall@hashicorp.com>
2022-01-14 15:15:08 -06:00
Carlos Alcaide Corvo cc20e5a076 Use compositeType in isAws and isAzure 2022-01-14 13:14:50 -08:00
Randall Morey 0d1dfb23b2 refactor: 💡 replace renderTemplate with components 2022-01-14 15:09:15 -05:00
Dharini Jeeva 76bc6833a1 Merge pull request #902 from hashicorp/migrate-class-to-comp-property
updates to rose radio component
2022-01-14 11:25:55 -08:00
Carlos Alcaide Corvo d6b01e8308 chore: 🤖 Update flight icons to 2.0
Update flight icons to 2.0
2022-01-14 08:21:25 -08:00
Carlos Alcaide Corvo 4c0cc5375b Add set compositeType. Add tests for get and set compositeType 2022-01-13 18:31:17 -08:00
dharini c807af02f4 add padding to label and align it 2022-01-13 14:19:43 -08:00
dharini 1a48bb180f Merge branch 'feat-radio-helper-text' of github.com:hashicorp/boundary-ui into feat-radio-helper-text 2022-01-13 13:43:45 -08:00
dharini 403880107d style: 💄 updates to helper text 2022-01-13 13:43:24 -08:00
Carlos Alcaide Corvo 2d263734d8 Delete unnecesary return 2022-01-13 13:22:09 -08:00
Dharini Jeeva 9821f1ffc7 Delete _radioCard.scss 2022-01-13 12:01:17 -08:00
dharini 6d83163951 fix: 🐛 clean up specificity, lineheight 2022-01-13 10:53:56 -08:00
dharini af9bb1c618 updates to card style 2022-01-13 09:06:09 -08:00
dharini 03b8e2875f feat: 🎸 merge recent main 2022-01-12 15:44:07 -08:00
Carlos Alcaide Corvo b3c49c43ea feat: 🎸 Add basic type support for host catalog 2022-01-12 15:34:12 -08:00
dharini c239830765 fix: 🐛 lint 2022-01-12 15:21:06 -08:00
dharini eeb74d8437 chore: 🤖 updates 2022-01-12 15:12:25 -08:00
dharini 95bad02ce6 fix: 🐛 class name 2022-01-12 14:31:45 -08:00
Dharini Jeeva f84752aa9c Merge branch 'main' into feat-radio-helper-text 2022-01-12 13:50:48 -08:00
dharini e2578a4577 updates 2022-01-12 13:37:14 -08:00
Carlos Alcaide Corvo eb36be3688 feat: 🎸 Add host catalog type basic support
Add host catalog type basic support. Delete previous conditional
rendering to just render static types
2022-01-11 15:34:22 -08:00
dharini 95c2f4a74d feat: 🎸 add support for helper text to radio component 2022-01-11 14:24:22 -08:00
Randall Morey ff9c659ada Merge pull request #899 from hashicorp/chore-update-render-modifiers
chore: 🤖 Update ember render modifiers
2022-01-11 14:02:51 -05:00
Randall Morey d9564f5f89 Merge branch 'main' into chore-update-render-modifiers 2022-01-11 13:35:54 -05:00
Randall Morey 942cb82921 Merge pull request #896 from hashicorp/refactor-render-targets
Refactor render targets
2022-01-11 13:35:45 -05:00
Carlos Alcaide Corvo 9918d20838 Merge branch 'main' into chore-update-render-modifiers 2022-01-11 11:10:57 -06:00
Carlos Alcaide Corvo b1ea3af02a chore: 🤖 Update ember render modifiers
Update Ember render modifiers
2022-01-11 09:09:16 -08:00
Randall Morey 660218220f Merge branch 'main' into refactor-render-targets 2022-01-11 11:58:21 -05:00
Randall Morey cf2326140e Merge pull request #898 from hashicorp/chore-node-version
chore: 🤖 specify only LTS node versions in packages
2022-01-11 11:57:59 -05:00
Randall Morey 9df6b56ae9 chore: 🤖 specify only LTS node versions in packages 2022-01-10 11:27:00 -05:00
dharini 9e09be0e5f radio-helper text init 2022-01-07 15:34:06 -08:00
Susmitha Girumala e0bc36a376 Merge branch 'main' into refactor-render-targets 2022-01-07 12:59:28 -05:00
Susmitha Girumala fd770b7a25 Merge pull request #893 from hashicorp/refactor-render-template
refactor: 💡 remove deprecated renderTemplate usage in desktop
2022-01-07 12:59:16 -05:00
Susmitha Girumala 0bdc5e6f2f Merge branch 'main' into refactor-render-template 2022-01-07 12:48:58 -05:00
Susmitha Girumala a4d39d465d Merge pull request #892 from hashicorp/refactor-router-events
refactor: 💡 refactor due to router events deprecations
2022-01-07 12:48:45 -05:00
Susmitha Girumala 5541c7bf1f Merge branch 'main' into refactor-router-events 2022-01-07 12:34:51 -05:00
Dharini Jeeva f888e6eb03 Merge pull request #897 from hashicorp/feat-helpr-txt-support-inp-txtarea
Feat: Add support for helper links to inputs, and textareas
2022-01-07 09:25:59 -08:00
Susmitha Girumala 7a95600456 Merge branch 'main' into refactor-router-events 2022-01-07 12:15:08 -05:00
Dharini Jeeva 2a41ed1153 Merge branch 'main' into feat-helpr-txt-support-inp-txtarea 2022-01-07 09:09:08 -08:00
Dharini Jeeva 6226464ffc Merge pull request #895 from hashicorp/feat-helper-text
Feat: add link support to helper text component
2022-01-07 09:07:34 -08:00
dharini e8c491cf95 Merge branch 'feat-helpr-txt-support-inp-txtarea' of github.com:hashicorp/boundary-ui into feat-helpr-txt-support-inp-txtarea 2022-01-06 10:59:04 -08:00
dharini b6721152b2 fix: 🐛 lint 2022-01-06 10:58:39 -08:00
dharini 22700688b6 feat: 🎸 show a tag only if href and link are present 2022-01-06 10:42:06 -08:00
Dharini Jeeva 97d6384115 Merge branch 'main' into feat-helper-text 2022-01-05 11:45:08 -08:00
Dharini Jeeva a0a75e1e42 Update index.stories.mdx 2022-01-05 11:44:58 -08:00
Dharini Jeeva 6a140b5d21 Update index.stories.mdx 2022-01-05 11:37:24 -08:00
Dharini Jeeva f5f0916135 Update index.stories.mdx 2022-01-05 11:36:41 -08:00
Dharini Jeeva 7cd59dcf37 Update index.stories.mdx 2022-01-04 15:32:12 -08:00
Dharini Jeeva 174b6246c7 Update index.stories.mdx 2022-01-04 15:31:47 -08:00
Dharini Jeeva 2005a9f1bb Update index.hbs 2022-01-04 15:31:29 -08:00
Dharini Jeeva c7059ae210 Delete jsconfig.json 2022-01-04 15:25:03 -08:00
dharini cf1e5aa429 feat: 🎸 add helper text support to inp & textarea 2022-01-04 15:12:19 -08:00
dharini 44e3ba4d76 Merge branch 'feat-helper-text' into feat-helpr-txt-support-inp-txtarea 2022-01-04 10:50:32 -08:00
Randall Morey 9ef4a14801 Merge branch 'main' into refactor-router-events 2022-01-04 12:53:55 -05:00
Dharini Jeeva bb20027b42 Merge pull request #894 from hashicorp/fix-field-name
fix: 🐛 update field name
2022-01-04 09:43:00 -08:00
Dharini Jeeva c0d64cd2a1 Merge branch 'main' into fix-field-name 2022-01-04 09:21:07 -08:00
Randall Morey 70be930f8e refactor: 💡 remove renderTemplate in favor of components 2022-01-04 10:50:09 -05:00
Randall Morey b4f5f86544 Merge branch 'main' into refactor-router-events 2022-01-04 10:36:31 -05:00
Randall Morey bc6064bb2e Merge pull request #891 from hashicorp/refactor-transitions
Refactor transitions
2022-01-04 10:36:12 -05:00
Susmitha Girumala 7e9e8b8960 Merge pull request #890 from hashicorp/chore-upgrade-loading
chore: upgrade to ember-loading 2.0.0
2022-01-04 09:39:38 -05:00
Susmitha Girumala 7f2b753295 Merge pull request #889 from hashicorp/refactor-polling
Replace ember-concurrency with ember-pollster
2022-01-04 09:38:13 -05:00
Susmitha Girumala d9d1305b7f Merge pull request #888 from hashicorp/chore-upgrade-babel
chore: 🤖 upgrade babel deps
2022-01-04 09:36:55 -05:00
Susmitha Girumala e08c717a12 Merge branch 'main' into chore-upgrade-babel 2022-01-04 09:09:42 -05:00
Susmitha Girumala d65db18266 Merge pull request #887 from hashicorp/refactor-copyable
refactor: 💡 copyable component no longer uses ember-concurrency
2022-01-04 09:09:15 -05:00
dharini 4410f32625 feat: 🎸 fix lint 2022-01-03 17:22:40 -08:00
dharini 47b0c87d89 fix: 🐛 update field name 2022-01-03 16:06:28 -08:00
dharini 52570b48fb feat: 🎸 add support for href 2022-01-03 15:32:36 -08:00
Randall Morey 9a8c47024e refactor: 💡 remove deprecated renderTemplate usage in desktop 2022-01-03 16:17:56 -05:00
Randall Morey 4c20571268 refactor: 💡 refactor due to router events deprecations 2022-01-03 13:59:24 -05:00
Randall Morey af92c65f60 refactor: 💡 migrate resource filtering transitionTo 2022-01-03 12:52:29 -05:00
Randall Morey 8bfa454df5 refactor: 💡 migrate to router.transitionTo due to deprecations 2022-01-03 12:35:48 -05:00
Randall Morey 7e354df44c refactor: 💡 migrate to router.replaceWith due to deprecations 2022-01-03 12:12:53 -05:00
Randall Morey 046e9fdf4c chore: upgrade to ember-loading 2.0.0 2022-01-03 09:28:24 -05:00
Randall Morey ebf2a0f115 chore: remove ember-concurrency dependency 2022-01-02 22:38:32 -05:00
Randall Morey b480cb8263 Merge branch 'refactor-copyable' into refactor-polling 2022-01-02 22:37:17 -05:00
Randall Morey 28de23b517 refactor: 💡 rewrite OIDC polling for ember pollster 2022-01-02 22:36:53 -05:00
Randall Morey a3bb788716 refactor: rewrite OIDC polling for ember pollster 2022-01-02 22:02:56 -05:00
Randall Morey 71361799f7 refactor: rewrite targets polling for ember-pollster 2022-01-02 19:40:45 -05:00
Randall Morey fe509d2e86 refactor: 💡 rewrite sessions polling for ember-pollster 2022-01-02 19:21:03 -05:00
Randall Morey 618d418093 refactor: 💡 rewrite sessions polling for ember-pollster 2022-01-02 15:55:05 -05:00
Randall Morey 4d8e628402 chore: 🤖 upgrade babel deps 2022-01-02 15:11:59 -05:00
Randall Morey 4f27332479 refactor: 💡 remoe copyable dep on ember-concurrency 2022-01-02 14:07:25 -05:00
Carlos Alcaide Corvo 83c2e84647 Merge pull request #884 from hashicorp/chore-bump-binary-version
Chore bump binary version
2021-12-16 17:10:06 -06:00
Carlos Alcaide Corvo 429665a1e0 Add PR to changelog 2021-12-16 14:56:10 -08:00
Carlos Alcaide Corvo a174c332f3 Bump CLI version and update changelog 2021-12-16 14:53:24 -08:00
Carlos Alcaide Corvo d26b668b38 chore: 🤖 Bump CLI version
Bump the CLI version the desktop client uses
2021-12-16 14:53:24 -08:00
Carlos Alcaide Corvo a8bd89fafd Merge pull request #883 from hashicorp/feature-desktop-target-filters
Add targets filtering by projects in Desktop
2021-12-16 16:53:08 -06:00
Carlos Alcaide Corvo 33256f4c64 Merge branch 'main' into feature-desktop-target-filters 2021-12-16 16:44:36 -06:00
Randall Morey fc3b574425 Merge pull request #882 from hashicorp/refactor-scope-filter-ux
Improve project resource filtering for sessions in Desktop
2021-12-16 17:39:33 -05:00
Randall Morey ba10451293 fix: skip flawed test 2021-12-16 17:38:37 -05:00
Randall Morey 4dee759674 docs: add groupBy helper doc comment 2021-12-16 17:09:00 -05:00
Randall Morey 02858bbacb fix: broken development mocks 2021-12-16 16:56:35 -05:00
Randall Morey 69ac051786 feature: implement project filtering in desktop targets 2021-12-16 16:37:19 -05:00
Randall Morey 2c998bbb2b chore: add support for contains clauses in filter store 2021-12-16 16:02:00 -05:00
Randall Morey a79823d3b1 Merge branch 'main' into refactor-scope-filter-ux 2021-12-16 09:48:57 -05:00
Randall Morey 30d029a223 Merge pull request #878 from hashicorp/feature-host-catalogs-only-supports-static-type
feat: 🎸 Host catalogs only supports host type static
2021-12-15 13:26:42 -05:00
Randall Morey 9ce25b8e83 Merge branch 'main' into feature-host-catalogs-only-supports-static-type 2021-12-15 13:15:43 -05:00
Randall Morey ac5710979a refactor: 💡 apply type to host catalog and distribute down 2021-12-15 13:15:31 -05:00
Carlos Alcaide Corvo af749b57bc Merge pull request #881 from hashicorp/feature-add-targets-hosts-list-table-header
feat: 🎸 Add table header for hosts list within targets
2021-12-15 11:50:57 -06:00
Randall Morey 646125f039 fix: 🐛 sessions should poll 2021-12-15 10:10:18 -05:00
Randall Morey 53aade5322 refactor: 💡 improve project filter UX 2021-12-15 09:43:20 -05:00
Carlos Alcaide Corvo be20491d2e Delete type column on hosts list within targets. Change test back to its initial state 2021-12-14 16:18:18 -08:00
Carlos Alcaide Corvo 7d3a5227d6 Delete type column on hosts list 2021-12-14 15:44:51 -08:00
Carlos Alcaide Corvo 8daf6129d1 feat: 🎸 Add table header for hosts list within targets
Add table header for hosts list within targets
2021-12-14 10:39:15 -08:00
Carlos Alcaide Corvo 6cec91b09b Change test to filter the hosts list by type 2021-12-14 09:22:33 -08:00
Carlos Alcaide Corvo bc0af27afa Add conditional on template 2021-12-14 08:35:13 -08:00
Carlos Alcaide Corvo f4cdbfc99c Fix lint error 2021-12-14 08:13:18 -08:00
Carlos Alcaide Corvo aaa205b4e0 Add different host types in Mirage. Add conditional in admin host-catalog hosts list to just show type=static 2021-12-14 08:08:15 -08:00
Carlos Alcaide Corvo c8b49beba6 feat: 🎸 Host list in targets shows just type static 2021-12-14 08:08:15 -08:00
Carlos Alcaide Corvo 6c2694999c feat: 🎸 Host catalogs only supports host type static
Host Catalogs will just show the hosts with type: static
2021-12-14 08:08:15 -08:00
Randall Morey dfc3989a38 Merge pull request #880 from hashicorp/feature-desktop-sessions-project-filter
Desktop sessions filtering
2021-12-14 09:29:53 -05:00
Randall Morey d1fdfb2496 fix: 🐛 tweak helper usage to include both filters 2021-12-13 13:50:40 -05:00
Randall Morey 7b594ca906 chore: allow bexpr filtering of scope mocks 2021-12-13 13:34:28 -05:00
Randall Morey 88bb34828b feature: initial project filtering UX in desktop sessions 2021-12-10 17:29:50 -05:00
Randall Morey 3086cbf4e7 refactor: use resource filter store in projects route 2021-12-10 16:33:05 -05:00
Randall Morey d7a4dd40ea Merge pull request #879 from hashicorp/chore-mock-desktop-sessions
chore: 🤖 ensure mock sessions appear in desktop
2021-12-10 16:00:23 -05:00
Randall Morey 7238a698a1 chore: 🤖 ensure mock sessions appear in desktop 2021-12-09 15:21:24 -05:00
Randall Morey a7c5332a99 Merge pull request #877 from hashicorp/refactor-resource-filters
Refactor resource filters
2021-12-08 17:09:32 -05:00
Randall Morey e7b1d29d9d Merge branch 'main' into refactor-resource-filters 2021-12-08 14:49:15 -05:00
Carlos Alcaide Corvo 4f7e5bb732 Merge pull request #876 from hashicorp/chore-add-json-schema-global-resolutions
chore: 🤖 Add json-schema to global resolutions
2021-12-08 10:41:14 -08:00
Randall Morey 77aaacc8b3 Merge branch 'main' into refactor-resource-filters 2021-12-08 13:36:04 -05:00
Randall Morey ddc7fe939d refactor: 💡 more renaming 2021-12-06 17:26:36 -05:00
Carlos Alcaide Corvo 767be30476 chore: 🤖 Add json-schema to global resolutions
Add json-schema to global resolutions (root package.json). Apart from
our direct dependency within electron, in the admin, json-schema is a
dependency of a dependency.
2021-12-06 14:13:18 -08:00
Randall Morey 400b0b5f0b refactor: 💡 more resource filtering name changes 2021-12-06 16:50:45 -05:00
Randall Morey b3d0bf5685 refactor: support dynamic resource filters and apply to auth methods 2021-12-03 13:58:12 -05:00
Carlos Alcaide Corvo 5cb8826f4e Merge pull request #872 from hashicorp/chore-json-schema-resolutions
chore: 🤖 Add json-schema to desktop resolutions
2021-12-02 13:31:59 -08:00
Carlos Alcaide Corvo fd1b5cfd74 Merge branch 'main' into chore-json-schema-resolutions 2021-11-30 13:42:17 -08:00
Carlos Alcaide Corvo 6ef055bb15 Merge pull request #873 from hashicorp/chore-jsonpointer-desktop-resolutions
chore: 🤖 Add jsonpointer desktop resolutions
2021-11-30 13:32:07 -08:00
Carlos Alcaide Corvo 5293a21e03 Merge branch 'main' into chore-jsonpointer-desktop-resolutions 2021-11-30 13:19:22 -08:00
Randall Morey 01a90a4d75 Merge branch 'main' into refactor-resource-filters 2021-11-30 15:19:27 -05:00
Randall Morey 5dc99ef5ad refactor: 💡 move resource filter logic into dedicated class 2021-11-30 15:18:59 -05:00
Randall Morey 488e724745 Merge branch 'main' into chore-json-schema-resolutions 2021-11-30 09:39:14 -05:00
Randall Morey 126b8944c4 Merge pull request #864 from hashicorp/chore-update-vagrantfile
chore: update vm to node 14 and increase video memory
2021-11-30 09:38:32 -05:00
Carlos Alcaide Corvo b6b6eeff53 chore: 🤖 Add jsonpointer desktop resolutions
Add jsonpointer desktop resolution as per dependabot alert.
2021-11-24 14:26:33 -08:00
Carlos Alcaide Corvo 44078a78ad chore: 🤖 Add json-schema to desktop resolutions
Add json-schema to desktop resolution as per dependabot alert
2021-11-24 14:06:53 -08:00
Dharini Jeeva 39ece5a2c0 Merge branch 'main' into chore-update-vagrantfile 2021-11-22 15:34:13 -08:00
Carlos Alcaide Corvo 02fc874ef5 Merge pull request #859 from hashicorp/chore-bump-jsonpointer
chore: 🤖 resolve jsonpointer for dependabot
2021-11-22 16:09:32 -06:00
Carlos Alcaide Corvo 5f83fa53cf Merge branch 'main' into chore-bump-jsonpointer 2021-11-22 15:58:40 -06:00
Susmitha Girumala f7a2f28e06 Merge pull request #869 from hashicorp/cli-version-bump-desktop-client
Bump desktop client version
2021-11-18 22:18:20 -05:00
Carlos Alcaide Corvo 6f5e6e2b92 Bump desktop client version 2021-11-18 18:39:45 -08:00
Dharini Jeeva c19037c04d Merge pull request #868 from hashicorp/enable-filter-desktop
chore: 🤖 enable filters on desktop
2021-11-18 09:19:28 -08:00
dharini e5a12a99d0 chore: 🤖 enable filters on desktop 2021-11-18 09:05:47 -08:00
Susmitha Girumala 7cde3c1143 Merge pull request #867 from hashicorp/doc-changelog
docs:  update changelog for 1.4.0
2021-11-18 10:13:17 -05:00
Susmitha Girumala 7463f5875f Merge branch 'main' into doc-changelog 2021-11-18 10:01:22 -05:00
Randall Morey da3321cd2d docs: update changelog for 1.4.0 2021-11-18 09:59:47 -05:00
Susmitha Girumala c460e29f75 Merge pull request #866 from hashicorp/fix-cli-version
Fix: Trim CLI version in Desktop Config
2021-11-18 09:58:06 -05:00
Susmitha Girumala 9191b413d5 fix: Trim cli version 2021-11-18 09:45:46 -05:00
Susmitha Girumala ee40b2bbef Fix: remove newline in version file 2021-11-18 09:39:42 -05:00
Dharini Jeeva c5e6eb5bb7 Merge pull request #865 from hashicorp/bump-version
Change CLI version
2021-11-17 15:49:06 -08:00
Carlos Alcaide Corvo 8985528343 Change CLI version 2021-11-17 15:17:07 -08:00
Carlos Alcaide Corvo 097abcd3eb Merge branch 'main' into chore-bump-jsonpointer 2021-11-17 13:25:08 -08:00
Susmitha Girumala 1f4e60ce97 Merge branch 'main' into chore-update-vagrantfile 2021-11-16 18:09:16 -05:00
Dharini Jeeva 8193aac845 Merge pull request #863 from hashicorp/add-default-filters
Add default filters
2021-11-16 13:42:53 -08:00
Randall Morey e22c53ea27 chore: update vm to node 14 and increase video memory 2021-11-16 16:33:36 -05:00
Dharini Jeeva 4500e7cfe8 Merge branch 'main' into add-default-filters 2021-11-16 13:32:34 -08:00
Susmitha Girumala 5e84ffa663 Merge pull request #861 from hashicorp/feature-activate-feature-flag-production
feat: 🎸 Add managed groups featuer flag for production
2021-11-16 16:30:43 -05:00
Carlos Alcaide Corvo 08b994a4eb Activate managed-groups feature flag by default, remove environment specific flags 2021-11-16 13:00:13 -08:00
Carlos Alcaide Corvo b9351cec5b feat: 🎸 Add managed groups featuer flag for production 2021-11-16 12:59:19 -08:00
Dharini Jeeva 48f65b1389 Merge branch 'main' into add-default-filters 2021-11-16 12:47:02 -08:00
Susmitha Girumala 4b00b28814 Merge pull request #862 from hashicorp/enable-resource-filters-admin
feat: enable resource filter flags and clean up dev flags
2021-11-16 15:46:55 -05:00
dharini 5a4e9d17ec add default filters to desktop sessions 2021-11-16 12:42:22 -08:00
dharini 018733b1b9 Merge branch 'main' into add-default-filters 2021-11-16 12:39:56 -08:00
dharini 1b662a40df chore: 🤖 add default filters to sessions admin 2021-11-16 12:39:16 -08:00
Susmitha Girumala b64eff482f Merge branch 'main' into enable-resource-filters-admin 2021-11-16 15:31:03 -05:00
Susmitha Girumala 3c4a093bf7 Merge pull request #860 from hashicorp/feature-desktop-sessions-filter
Feature desktop sessions filter
2021-11-16 15:30:53 -05:00
dharini 3921e69fa8 chore: 🤖 cleanup dev flags 2021-11-16 11:02:29 -08:00
dharini 6efebd7f45 fix: 🐛 undo dev mode 2021-11-16 10:40:14 -08:00
dharini 3e87ea6c1b feat: 🎸 add toolbar to desktop sessions 2021-11-16 10:30:00 -08:00
dharini e25b36d50e Merge branch 'main' into feature-desktop-sessions-filter 2021-11-16 09:25:47 -08:00
dharini 6c3a3ecb71 updates 2021-11-16 09:08:00 -08:00
Dharini Jeeva ff5f6c42f3 Merge pull request #858 from hashicorp/fix-bexp-generator
fix: 🐛 eliminate null clauses from expression output
2021-11-16 09:06:40 -08:00
Randall Morey 425234148e chore: 🤖 resolve jsonpointer for dependabot 2021-11-16 11:48:10 -05:00
Randall Morey e6fe453222 fix: 🐛 eliminate null clauses from expression output 2021-11-16 11:27:59 -05:00
Dharini Jeeva 327dc71c00 Merge pull request #857 from hashicorp/feature-sessions-admin-filters
Feature sessions admin filters
2021-11-15 14:38:36 -08:00
dharini ac3d42ba41 chore: 🤖 add feature flag to toolbar 2021-11-15 13:49:19 -08:00
dharini bfa240cc9e fix: 🐛 lint 2021-11-15 11:42:02 -08:00
Dharini Jeeva cdba23e4cc Update index.hbs 2021-11-15 11:26:48 -08:00
Dharini Jeeva 6310a26661 Update index.hbs 2021-11-15 11:26:13 -08:00
dharini 9c7b0e529e fix: 🐛 lint again! 2021-11-15 11:19:22 -08:00
dharini 3ce3e598bf fix: 🐛 lint 2021-11-15 11:06:16 -08:00
dharini c0164f7e66 fix: 🐛 lint 2021-11-15 10:57:38 -08:00
dharini 63872ce36c feat: 🎸 add filters to sessions 2021-11-15 10:38:21 -08:00
dharini a096824b20 init 2021-11-15 10:11:07 -08:00
Randall Morey 297f2b158b Merge pull request #845 from hashicorp/feature-auth-methods-filters
Auth methods filters
2021-11-15 09:39:43 -05:00
Randall Morey 22b522dba1 Merge branch 'main' into feature-auth-methods-filters 2021-11-13 09:45:51 -05:00
Randall Morey 0ac7d96919 Merge pull request #853 from hashicorp/checkbox-style-updates
Checkbox style updates
2021-11-13 09:45:09 -05:00
Randall Morey 374614b7d1 make dropdown badge darker 2021-11-13 09:41:39 -05:00
dharini a763498b1f Merge branch 'checkbox-style-updates' of github.com:hashicorp/boundary-ui into checkbox-style-updates 2021-11-12 15:16:04 -08:00
dharini 743b281c72 fix: 🐛 vertically align checkbox 2021-11-12 15:15:52 -08:00
Dharini Jeeva 6d47193fcc Merge branch 'main' into checkbox-style-updates 2021-11-12 14:49:16 -08:00
Randall Morey 9c95e77597 Merge branch 'main' into feature-auth-methods-filters 2021-11-12 17:37:04 -05:00
dharini ece0a09872 fix: 🐛 add padding 2021-11-12 14:16:38 -08:00
Susmitha Girumala a5650ea104 Merge pull request #855 from hashicorp/feature-managed-groups-members
feat: List accounts within a managed group
2021-11-12 17:10:50 -05:00
dharini 5bb4cfc853 fix: 🐛 updates to checkbox- border color, size 2021-11-12 13:43:44 -08:00
Carlos Alcaide Corvo ba048922bb Get back a deleted file 2021-11-12 13:37:44 -08:00
Carlos Alcaide Corvo 16daed592d Delete commented code 2021-11-12 13:24:31 -08:00
Carlos Alcaide Corvo b3809b2051 Refactor members controller location 2021-11-12 13:21:46 -08:00
Carlos Alcaide Corvo 7700603735 Refactor translation files 2021-11-12 13:17:57 -08:00
Randall Morey f7dd4e6b99 feature: add clear all filters feature 2021-11-12 16:11:45 -05:00
Carlos Alcaide CorvoandSusmitha Girumala c22a4c08f5 Update addons/core/translations/resources/en-us.yaml
Co-authored-by: Susmitha Girumala <susmitha@hashicorp.com>
2021-11-12 12:57:33 -08:00
Carlos Alcaide CorvoandSusmitha Girumala 27d25808f0 Update addons/core/translations/resources/en-us.yaml
Co-authored-by: Susmitha Girumala <susmitha@hashicorp.com>
2021-11-12 12:57:26 -08:00
Randall Morey f44c3d783f feature: show filter selection count in auth methods 2021-11-12 15:37:58 -05:00
Randall Morey be866ecf0c feat: 🎸 dropdown should support @count to display a count badge 2021-11-12 15:33:29 -05:00
dharini 79d1936755 undo outline changes 2021-11-12 11:37:08 -08:00
dharini 3191197cbf Merge branch 'checkbox-style-updates' of github.com:hashicorp/boundary-ui into checkbox-style-updates 2021-11-12 11:33:04 -08:00
dharini a71c31b685 style: 💄 make style consistent 2021-11-12 11:32:50 -08:00
Carlos Alcaide Corvo 7223f5a468 Merge branch 'main' into feature-managed-groups-members 2021-11-12 11:18:39 -08:00
Carlos Alcaide Corvo 21a70217f4 refactor: 💡 Refactor accounts to members 2021-11-12 11:18:03 -08:00
Carlos Alcaide Corvo 9e005a73bb Remove accounts route in favour of members 2021-11-12 10:31:13 -08:00
Carlos Alcaide Corvo 23c461fd3e Create members route 2021-11-12 10:24:46 -08:00
Dharini Jeeva 53abd4a941 Merge branch 'main' into checkbox-style-updates 2021-11-12 09:23:19 -08:00
Susmitha Girumala 651a9140e0 Merge pull request #850 from hashicorp/test-managed-groups-create
test: 💍 Add acceptance tests to create managed groups
2021-11-12 11:22:57 -05:00
Susmitha Girumala be5f033712 feat: List accounts within a managed group 2021-11-12 11:22:16 -05:00
Randall Morey 655d590353 chore: 🤖 reduce mock auth methods in global to 1 2021-11-12 10:26:30 -05:00
Susmitha Girumala cc151b001b test: Removed skipped managed group error notification test 2021-11-12 09:27:07 -05:00
Randall Morey 6b363b9dad Merge branch 'main' into feature-auth-methods-filters 2021-11-12 09:26:33 -05:00
Randall Morey 665e7445d3 feat: 🎸 add "no results" messaging when filtering down to zero 2021-11-12 09:25:43 -05:00
Susmitha Girumala df843b9632 Merge branch 'main' into test-managed-groups-create 2021-11-12 09:15:57 -05:00
dharini 58106a3f45 checkbox style updates 2021-11-11 16:43:43 -08:00
dharini c3c5282a04 fix: 🐛 checkbox filter
--
2021-11-11 16:41:08 -08:00
Susmitha Girumala ff5cc71f60 Merge pull request #854 from hashicorp/feature-managed-groups-edit
Managed Groups Edit Integration
2021-11-11 18:11:56 -05:00
Susmitha Girumala 590c19e839 Merge branch 'main' into feature-managed-groups-edit 2021-11-11 17:59:23 -05:00
Susmitha Girumala 6ba9ffc3af chore: Managed groups edit integration fix 2021-11-11 17:58:08 -05:00
Susmitha Girumala a63218131c Merge pull request #848 from hashicorp/feature-managed-groups-breadcrumbs
feat: 🎸 Add breadcrumbs to managed groups
2021-11-11 17:08:46 -05:00
Susmitha Girumala afec300c99 Merge branch 'main' into feature-managed-groups-breadcrumbs 2021-11-11 16:57:43 -05:00
Susmitha Girumala 8061bff752 Merge pull request #847 from hashicorp/feature-managed-groups-capabilities
feat: 🎸 Add capabilities to managed groups
2021-11-11 16:57:35 -05:00
Susmitha Girumala fa9e3e576b Merge pull request #849 from hashicorp/test-managed-groups-list
test: 💍 Add acceptance test to list managed groups
2021-11-11 16:57:07 -05:00
Susmitha Girumala dec18e3d6a Merge pull request #851 from hashicorp/test-managed-groups-delete
test: 💍 Add acceptance test to delete managed groups
2021-11-11 16:20:16 -05:00
Susmitha Girumala d1dbc3090c Merge pull request #852 from hashicorp/test-managed-groups-read
test: 💍 Add acceptance test to read managed groups
2021-11-11 15:56:49 -05:00
Susmitha Girumala d328e3ce69 Merge branch 'main' into feature-managed-groups-capabilities 2021-11-11 15:56:07 -05:00
Randall Morey d1726e9907 Merge pull request #844 from hashicorp/feature-resource-filter-system
Resource filter param system
2021-11-11 14:56:39 -05:00
Dharini Jeeva 75d7f7dac7 Merge branch 'main' into feature-resource-filter-system 2021-11-11 10:55:45 -08:00
Dharini Jeeva 6d8fddc3cb Merge branch 'main' into checkbox-style-updates 2021-11-11 10:52:46 -08:00
dharini 4d3fb11606 Merge branch 'checkbox-style-updates' of github.com:hashicorp/boundary-ui into checkbox-style-updates 2021-11-11 10:52:15 -08:00
dharini 6b2286a66c lint 2021-11-11 10:52:10 -08:00
Dharini Jeeva 8714627d6f Update _item.scss 2021-11-11 10:47:37 -08:00
Dharini Jeeva 2cbde35248 Update index.stories.mdx 2021-11-11 10:32:46 -08:00
dharini 1ff91f5757 style: 💄 right align checkbox and toggle outline 2021-11-11 09:51:41 -08:00
Susmitha Girumala 19f4ea609a Merge branch 'main' into feature-managed-groups-capabilities 2021-11-11 11:45:40 -05:00
Susmitha Girumala b7214c55a4 Merge pull request #846 from hashicorp/feature-managed-group-create
Feature managed group create
2021-11-11 11:45:22 -05:00
Susmitha Girumala 05cf14e8b4 style: Remove commented mirage config for managed groups 2021-11-11 10:05:04 -05:00
Susmitha Girumala 80520a2f4d Merge branch 'main' into feature-managed-group-create 2021-11-11 09:36:01 -05:00
Susmitha Girumala e11ae54f4d Merge pull request #842 from hashicorp/feature-managed-group-delete
feat: 🎸 Add managed groups delete CRUD operation
2021-11-11 09:35:36 -05:00
dharini a4dca84e62 dropdown- checkbox styles 2021-11-10 21:36:42 -08:00
Carlos Alcaide Corvo 50a9a980ed test: 💍 Add acceptance test to read managed groups
Add acceptance test to read managed groups
2021-11-10 17:34:31 -08:00
Carlos Alcaide Corvo 19d8bc44c8 Fix lint error 2021-11-10 17:26:27 -08:00
Carlos Alcaide Corvo bf8392ff9f test: 💍 Add acceptance test to delete managed groups
Add acceptance test to delete managed groups
2021-11-10 17:19:04 -08:00
Carlos Alcaide Corvo 74d161f6f5 test: 💍 Add acceptance tests to create managed groups
Add acceptance test to create managed groups
2021-11-10 16:49:41 -08:00
Carlos Alcaide Corvo b646e78e0f test: 💍 Add acceptance test to list managed groups
Add acceptance tests to list managed groups
2021-11-10 16:07:18 -08:00
Carlos Alcaide Corvo 412f4a8008 Merge branch 'main' into feature-managed-group-delete 2021-11-10 15:18:23 -08:00
Carlos Alcaide Corvo ba73a89d8f feat: 🎸 Add breadcrumbs to managed groups
Add breadcrumbs to managed groups
2021-11-10 15:10:51 -08:00
Carlos Alcaide Corvo 1225774806 Fix lint error 2021-11-10 14:51:17 -08:00
Carlos Alcaide Corvo 6cb056eba3 Merge pull request #841 from hashicorp/feature-managed-group-read
Feature managed groups read CRUD
2021-11-10 14:49:31 -08:00
Carlos Alcaide Corvo 07aaa8fcde Fix typo on description 2021-11-10 14:40:16 -08:00
Carlos Alcaide Corvo 8a11a76b49 feat: 🎸 Add capabilities to managed groups
Add capabilities to managed groups
2021-11-10 14:24:46 -08:00
Randall Morey 08c5f1db22 chore: i18n filters 2021-11-10 16:18:41 -05:00
Susmitha Girumala 7c762c1050 fix: Mirage post issue for managed-groups 2021-11-10 16:12:42 -05:00
Randall Morey bbd0847a21 chore: 🤖 initial auth methods resource filtering by type 2021-11-10 12:40:07 -05:00
Carlos Alcaide Corvo 4e41ac531d WIP fixing creation mirage model error 2021-11-10 09:07:17 -08:00
Randall Morey a47657edf4 fix: checkboxgroup should be exposed on form 2021-11-10 11:46:48 -05:00
Randall Morey 1935771a70 apply filtering to auth-methods mocks and fix null handling 2021-11-10 11:25:02 -05:00
Randall Morey 80a82ea925 fix: use paramsFor 2021-11-10 11:01:00 -05:00
Carlos Alcaide Corvo deb9847617 feat: 🎸 Add managed groups create CRUD operation 2021-11-10 07:54:49 -08:00
Carlos Alcaide Corvo 2f1feab9d3 feat: 🎸 Add managed groups delete CRUD operation 2021-11-10 07:49:50 -08:00
Carlos Alcaide Corvo f3d8db6aaf Fix typo 2021-11-10 07:47:51 -08:00
Carlos Alcaide Corvo 259840808c Fix linting errors 2021-11-10 07:47:51 -08:00
Carlos Alcaide Corvo 9541d2ed5c Add helper text for filter field 2021-11-10 07:47:51 -08:00
Carlos Alcaide Corvo f8bb37e5af Add managed groups to auth method JUST if is type oidc. Within auth method, show the managed groups tabs JUST if type is oidc 2021-11-10 07:47:51 -08:00
Carlos Alcaide Corvo b7bf44b997 feat: 🎸 Add managed groups read CRUD
Add managed groups Read CRUD operation
2021-11-10 07:47:51 -08:00
Randall Morey f21627a9ba fix: value handling and helper recomputation 2021-11-10 10:38:16 -05:00
Carlos Alcaide Corvo 6bedc710d3 Merge pull request #838 from hashicorp/feature-list-managed-groups
Add managed-groups basic list route to admin
2021-11-10 07:09:15 -08:00
Randall Morey dca54b2040 fix: key names 2021-11-10 09:59:28 -05:00
Randall Morey c1b60c634e fix: currentroute again 2021-11-10 09:45:53 -05:00
Randall Morey 1562f0ff07 fix: router 2021-11-10 09:37:46 -05:00
Randall Morey 4f8ea30d9d fix: bad variable name 2021-11-10 09:35:19 -05:00
Randall Morey 4472b17fc5 chore: add export 2021-11-10 09:31:59 -05:00
Randall Morey 9ae05e3cc4 chore: add support for defaultValue 2021-11-10 09:12:02 -05:00
Randall Morey 84511ba6d4 feat: 🎸 initial resource filter param system 2021-11-09 20:09:23 -05:00
Carlos Alcaide Corvo 1fc0d3eae8 Merge branch 'main' into feature-list-managed-groups 2021-11-09 11:38:23 -08:00
Randall Morey ac1d54565c Merge pull request #840 from hashicorp/filterable-store-api-addon
ResourceFilterStoreService
2021-11-09 14:30:16 -05:00
Randall MoreyandDharini Jeeva c2ebbcb735 Update addons/api/addon/services/resource-filter-store.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2021-11-09 13:50:10 -05:00
Randall Morey d1ce2ac9ea docs: improve doc comments 2021-11-09 13:34:35 -05:00
Randall Morey 27e0daaee0 Merge branch 'main' into filterable-store-api-addon 2021-11-09 12:44:49 -05:00
Randall Morey 751a72a2d8 feat: 🎸 tweak resource-filter service and apply to sessions 2021-11-09 12:42:39 -05:00
Carlos Alcaide Corvo ff88e97bfe feat: 🎸 List managed groups 2021-11-08 11:16:32 -08:00
Carlos Alcaide Corvo 288b32f862 Add managed-groups basic route to admin. Wrap all in a feature flag 2021-11-08 07:48:57 -08:00
Carlos Alcaide Corvo 31575b900b Merge pull request #829 from hashicorp/feature-mirage-managed-groups
feat: 🎸 API managed groups mock mirage
2021-11-08 07:39:58 -08:00
Carlos Alcaide Corvo 8c0dbd0558 Merge branch 'main' into feature-mirage-managed-groups 2021-11-08 07:22:25 -08:00
Carlos Alcaide Corvo aa066b197c Merge pull request #827 from hashicorp/feature-api-modeling-managed-groups
Feature API modeling managed groups
2021-11-08 07:22:05 -08:00
Carlos Alcaide Corvo 6e8fd95cdb Merge branch 'main' into feature-api-modeling-managed-groups 2021-11-08 07:04:17 -08:00
Randall Morey d7c9d0f45b Merge pull request #837 from hashicorp/refactor-remove-get-config
Remove ember-get-config
2021-11-07 08:52:31 -05:00
Carlos Alcaide Corvo 7890513889 Delete sub collection of managed-group 2021-11-05 13:21:57 -07:00
Carlos Alcaide Corvo d417a084ed Merge branch 'main' into feature-api-modeling-managed-groups 2021-11-05 11:55:38 -07:00
Randall Morey 824188977d Merge branch 'main' into refactor-remove-get-config 2021-11-05 14:51:59 -04:00
Randall Morey bb605564ea Merge pull request #836 from hashicorp/fix-link-button
fix: 🐛 fix broken LinkButton component and associated new tests
2021-11-05 14:50:43 -04:00
Randall Morey 4496a42b16 refactor: 💡 remove last get-config use case 2021-11-05 14:50:29 -04:00
Randall Morey 02b97f8734 Merge branch 'fix-link-button' into refactor-remove-get-config 2021-11-05 14:25:25 -04:00
Randall Morey c68e1d9f49 fix: 🐛 fix broken LinkButton component and associated new tests 2021-11-05 14:23:20 -04:00
Carlos Alcaide Corvo 5534b25fa3 feat: 🎸 Refactor managed-groups to managed-group
Refactor naming from managed-groups to managed-group
2021-11-05 10:42:09 -07:00
Carlos Alcaide Corvo 202a22a170 feat: 🎸 Refactor managed-groups mirage serializer and model
Refactor managed-groups mirage serializer and model. Accomodate factory
and admin UI acceptance test.
2021-11-05 10:42:09 -07:00
Carlos Alcaide Corvo ef73f8dacd Refactor auth-method and managhed-group factory. This work is not finish. 2021-11-05 10:42:09 -07:00
Carlos Alcaide Corvo 101e6653d4 Suggestions from PR 2021-11-05 10:42:09 -07:00
Carlos Alcaide Corvo bd8b9d738f Add authMethodId to the mirage model 2021-11-05 10:42:09 -07:00
Carlos Alcaide Corvo 52b5739cdc feat: 🎸 API managed groups mock mirage
Add API managed groups mock in mirage
2021-11-05 10:42:09 -07:00
Carlos Alcaide Corvo 148b40195e Fix typo in key/value object for testing 2021-11-05 10:32:32 -07:00
Randall Morey 8000002b1b refactor: 💡 remove ember-get-config dep from core 2021-11-05 13:20:45 -04:00
Randall Morey 3aae7c124b chore: 🤖 remove lingering get-config instance 2021-11-05 12:33:09 -04:00
Carlos Alcaide Corvo 087e1346d3 feat: 🎸 Refactor serializer and model for managed-group
Refactor serializer and model with suggestions from previous PR for
managed-group.
2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo 14623a6386 feat: 🎸 Refactor all managed-group plurals to singular
Refactor all file names and classes declaration from managed-groups
(plural) to managed-group (singular)
2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo d506d4a015 Change typo on tests 2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo 285f711e78 Delete default value at model level for managed group type 2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo 5df6b6de11 feat: 🎸 Refactor modeling
Remove OIDC as default value for fragment field filter. Applied default
value OIDC to type field. Accomodate tests for the changes. Add a
readOnly serializer test. Delete from fragment serializer not
serializing readOnly, because that is a case it will never reproduce on
such model.
2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo 2620607cc3 feat: 🎸 Finish fragment serializer and tests
Finish fragment serializer and refactor the tests of the model to
accomadate the change.
2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo 499432522a Unfinished fragment managed groups modeling 2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo 6022d7fc36 Made member_ids readOnly 2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo 360bf0ffdd Refactor model 2021-11-05 08:55:37 -07:00
Carlos Alcaide Corvo 322828ccc4 First iteration API modeling managed groups 2021-11-05 08:55:37 -07:00
Randall Morey 9ad9bdbf5e refactor: 💡 remove dependency on ember-get-config 2021-11-05 11:52:12 -04:00
Randall Morey ae50e27725 Merge pull request #834 from hashicorp/chore-deprecations
Address deprecations
2021-11-04 14:37:21 -04:00
Randall Morey 91b8516cf0 Merge branch 'main' into chore-deprecations 2021-11-04 13:35:13 -04:00
Randall Morey 74c5e1593d Merge pull request #833 from hashicorp/chore-drop-ie11
Drop IE11 support
2021-11-04 13:35:03 -04:00
Randall Morey c1ae2e1c5b Merge branch 'main' into chore-drop-ie11 2021-11-04 11:23:18 -04:00
Randall Morey 76913eb2e3 Merge pull request #817 from hashicorp/chore-storybook-enhancement
add a11y addon to rose storybook
2021-11-04 11:22:00 -04:00
Randall Morey 6f35594f2a chore: 🤖 manual merge from main 2021-11-04 10:46:12 -04:00
Randall Morey fcfcc4e42a chore: convert LinkButton to template-only 2021-11-03 13:12:04 -04:00
Randall Morey fa50bb425a chore: 🤖 resolve to ember-cli-babel v7.26.6 2021-11-03 11:49:40 -04:00
Randall Morey 1f0720ecb4 chore: drop IE11 support 2021-11-03 11:15:55 -04:00
Susmitha Girumala cd6f87b796 test: Skip WIP test 2021-11-01 20:25:33 -04:00
Susmitha Girumala 82636e3ee9 feat: Refactor to ResourceFilteringStore service 2021-11-01 20:23:26 -04:00
Dharini Jeeva cedaad95c2 Merge pull request #831 from hashicorp/integration-toolbar
feat: 🎸 integrate toolbar onto session admin
2021-11-01 13:58:34 -07:00
dharini 35e0e969e2 feat: 🎸 integrate toolbar onto session admin 2021-11-01 12:05:09 -07:00
Susmitha Girumala 8c4a076367 test: Init filter store test for sessions 2021-11-01 15:01:12 -04:00
Susmitha Girumala df7bd5671a feat: Refactor to a filterable-store 2021-11-01 15:01:11 -04:00
Susmitha Girumala 8bf9a5f21e Merge pull request #810 from hashicorp/toolbar
feat: 🎸 toolbar component
2021-11-01 14:04:57 -04:00
dharini 0dbe073fc3 Merge branch 'toolbar' of github.com:hashicorp/boundary-ui into toolbar 2021-10-28 12:45:27 -07:00
dharini bdde9cc21d chore: 🤖 branch out sessions int logiv 2021-10-28 12:45:02 -07:00
Dharini Jeeva 2c8370a8a8 Merge branch 'main' into toolbar 2021-10-28 12:04:17 -07:00
Carlos Alcaide Corvo 766d232022 Merge pull request #825 from hashicorp/fix-forgot-run-yarn-install
fix: 🐛 Missed yarn.lock update
2021-10-28 12:02:59 -07:00
Carlos Alcaide Corvo 97d0d9057b fix: 🐛 Missed yarn.lock update
We miss to run `yarn install` at root level after deps change so did not
reflect changes on yarn.lock
2021-10-28 11:47:28 -07:00
Randall Morey 184aaa8f64 Merge pull request #824 from hashicorp/tweak-toolbar
Tweak toolbar
2021-10-28 13:08:16 -04:00
Randall Morey 6ed14cb1f1 chore: linting 2021-10-28 12:46:56 -04:00
Randall Morey c040f1188d chore: merge 2021-10-28 12:44:51 -04:00
dharini 715681b020 resolve merge conflicts 2021-10-28 09:19:20 -07:00
dharini 3254f4a050 fix: 🐛 remove grid layout 2021-10-28 09:10:31 -07:00
Randall Morey 324c5dd98c chore: fix formatting and update yarn lock 2021-10-28 11:53:31 -04:00
Randall Morey e9e6ad31fb Merge branch 'toolbar' into tweak-toolbar 2021-10-28 11:50:15 -04:00
Dharini Jeeva 1518b32a43 Update _toolbar.scss 2021-10-27 15:00:54 -07:00
Randall Morey 3209ac3a52 chore: 🤖 merge from main 2021-10-27 17:53:16 -04:00
Randall Morey ca03aca886 chore: 🤖 tweak tests and remove unused class file 2021-10-27 17:35:00 -04:00
dharini dfb2673c91 refactor: 💡 refactoring toolbar style using grid 2021-10-27 14:27:42 -07:00
Randall Morey 4328b4c6da tweak filter i18n label 2021-10-27 17:23:18 -04:00
dharini 6645eca25d chore: 🤖 enable feature flags in dev n test 2021-10-27 10:33:55 -07:00
dharini cf070fd5c4 Merge branch 'toolbar' of github.com:hashicorp/boundary-ui into toolbar 2021-10-26 10:42:49 -07:00
dharini 81a381b1e7 chore: 🤖 add feature flag for filter 2021-10-26 10:42:28 -07:00
Dharini Jeeva 95bea7a83b Merge branch 'main' into toolbar 2021-10-26 09:15:07 -07:00
dharini 085e901512 fix: 🐛 use sizing variable 2021-10-26 09:14:46 -07:00
Randall Morey b421d15e4e Merge pull request #822 from hashicorp/feature-checkbox-group
feat: 🎸 implement checkbox group component
2021-10-26 12:14:32 -04:00
Randall Morey 03b6d1aa9b chore: 🤖 update yarn lock 2021-10-26 10:42:46 -04:00
Randall Morey 5efc617299 Merge branch 'main' into feature-checkbox-group 2021-10-26 10:29:53 -04:00
Randall Morey f4065d9b6e Merge pull request #823 from hashicorp/chore-filter-deprecations
chore: 🤖 silence deprecation warnings
2021-10-26 10:28:48 -04:00
Randall Morey 544531a325 chore: 🤖 silence deprecation warnings 2021-10-26 09:02:33 -04:00
Carlos Alcaide Corvo 29939f02fe Merge pull request #816 from hashicorp/fix-rose-webpack-unmeet-peer-dep
fix: 🐛 Fix rose webpack unmet peer dep
2021-10-25 14:08:41 -07:00
Randall Morey f3a3c24542 feat: 🎸 implement checkbox group component 2021-10-25 16:56:16 -04:00
Carlos Alcaide Corvo 051add8e7d fix: 🐛 Fix rose webpack unmet peer dep
Fix Rose webpack unmet peer dependency
2021-10-25 13:24:34 -07:00
Randall Morey dda80dbb25 Merge pull request #821 from hashicorp/chore-ember-upgrade
Upgrade to Ember 3.28
2021-10-25 16:22:26 -04:00
Randall Morey ffa774e972 Merge branch 'main' into chore-ember-3.28 2021-10-25 15:07:00 -04:00
Randall Morey 449cdfe190 chore: 🤖 change let to const 2021-10-25 15:06:51 -04:00
Randall Morey 2d3c94b57e Merge pull request #818 from hashicorp/refactor-checkbox-changed
refactor: 💡 pass @onChange to checkbox components
2021-10-25 14:36:33 -04:00
Susmitha Girumala 3ede705fe1 Merge branch 'main' into refactor-checkbox-changed 2021-10-24 22:38:45 -04:00
Susmitha Girumala 119efb6911 Merge pull request #813 from hashicorp/fix-storybook-components-unmet-dep
fix: 🐛 Fix storybook/components unmet peer dependency
2021-10-24 22:35:16 -04:00
Susmitha Girumala 234793b06d Merge branch 'main' into fix-storybook-components-unmet-dep 2021-10-24 22:21:46 -04:00
Susmitha Girumala 984b3f6bce Merge pull request #815 from hashicorp/test-add-login-test-helper
Test add login test helper
2021-10-24 22:21:36 -04:00
Dharini Jeeva bfee928e45 Merge branch 'main' into toolbar 2021-10-24 16:32:37 -07:00
dharini 76975942de fix: 🐛 move store logic to route, replace height with padding 2021-10-24 16:19:29 -07:00
dharini 093019ba33 move store logic to route 2021-10-23 22:18:20 -07:00
Randall Morey 682ec89ddc chore: 🤖 upgrade to ember source 3.28 2021-10-23 12:55:23 -04:00
Randall Morey 0879a0430d chore: 🤖 upgrade deps for ember 3.28 and fix qunit lint errors 2021-10-23 11:48:10 -04:00
Randall Morey 22c5140dce chore: 🤖 remove ember-cli-update deps 2021-10-23 10:44:46 -04:00
Randall Morey 6397acb103 refactor: 💡 pass @onChange to checkbox components
this enables contextual usage
2021-10-22 18:06:32 -04:00
Carlos Alcaide Corvo eb5c88ac85 Merge branch 'main' into test-add-login-test-helper 2021-10-22 14:51:41 -07:00
Randall Morey d8dd0cf8bb add a11y addon to rose storybook 2021-10-22 17:19:06 -04:00
Randall Morey 966e18b1d7 Merge pull request #814 from hashicorp/refactor-filter-mocks
fix: 🐛 revert to quick serialization in bexpr-filter
2021-10-22 13:26:02 -04:00
Carlos Alcaide Corvo fd13808cc9 test: 💍 Add login test helper
Add login test helper and use such helper in the tests
2021-10-22 09:11:10 -07:00
Carlos Alcaide Corvo dbadbff1b9 Add login test helper. Use the new login test helper in targets test 2021-10-22 08:43:03 -07:00
Randall Morey b8f4053c23 fix: 🐛 revert to quick serialization in bexpr-filter 2021-10-22 09:20:21 -04:00
Carlos Alcaide Corvo 4d7c269d62 fix: 🐛 Fix storybook/components unmet peer dependency
Fix storybook/components unmet peer dependency
2021-10-21 17:01:41 -07:00
Randall Morey ace9e2a3ae Merge pull request #812 from hashicorp/refactor-filter-mocks
refactor: 💡 simplify/improve evaluator record serialization
2021-10-21 15:55:36 -04:00
Dharini Jeeva b17592402b Merge branch 'main' into toolbar 2021-10-21 12:34:41 -07:00
Dharini Jeeva 51f8a11555 Merge branch 'main' into refactor-filter-mocks 2021-10-21 12:30:41 -07:00
Dharini Jeeva a54a79715e Merge pull request #808 from hashicorp/input-icon-support
Input icon support
2021-10-21 10:17:16 -07:00
Dharini Jeeva f8655421ec Merge branch 'main' into input-icon-support 2021-10-21 09:42:01 -07:00
dharini 24ffef643f fix: 🐛 specificity 2021-10-21 09:41:03 -07:00
Randall Morey 55fca43361 Merge branch 'main' into refactor-filter-mocks 2021-10-21 11:52:11 -04:00
Randall Morey 96b1646614 refactor: 💡 simplify/improve evaluator record serialization 2021-10-21 11:39:53 -04:00
Randall Morey 02950980e2 Merge pull request #811 from hashicorp/chore-resource-filtering-mocks
chore: implement initial boolean expression filter for mirage mocks i…
2021-10-21 09:40:02 -04:00
Randall Morey 18aef45e63 Merge branch 'main' into chore-resource-filtering-mocks 2021-10-21 09:16:46 -04:00
Randall Morey 0c20ccfde0 fix: 🐛 quick-serialize records before applying boolean filter 2021-10-21 09:08:50 -04:00
Dharini Jeeva 833125a296 Merge branch 'main' into toolbar 2021-10-19 13:53:12 -07:00
Susmitha Girumala 3d7a40c88f Merge branch 'main' into input-icon-support 2021-10-19 16:50:50 -04:00
Randall Morey 0c14f16bbb Merge pull request #803 from hashicorp/amy/add-sb-metadata-2
Add Storybook metadata.json
2021-10-19 11:24:01 -04:00
Randall Morey 71108c3509 chore: implement initial boolean expression filter for mirage mocks in sessions index 2021-10-19 11:23:43 -04:00
Randall Morey fc0212c3fc Merge branch 'main' into amy/add-sb-metadata-2 2021-10-19 11:04:44 -04:00
Carlos Alcaide Corvo 3a9110ade6 Merge pull request #806 from hashicorp/refactor-click-workaround-test-helper
Refactor click workaround test helper
2021-10-19 07:47:00 -07:00
Dharini Jeeva f1a3a3bfb2 Update index.hbs 2021-10-18 15:11:28 -07:00
Randall Morey 497652efb2 Merge branch 'main' into amy/add-sb-metadata-2 2021-10-18 18:04:21 -04:00
dharini e13757aabb Merge branch 'input-icon-support' of github.com:hashicorp/boundary-ui into input-icon-support 2021-10-18 15:03:15 -07:00
dharini 18025e7493 fix: 🐛 undo 2021-10-18 15:02:42 -07:00
dharini 5c091e1b72 fix: 🐛 input updates 2021-10-18 14:55:40 -07:00
dharini 1dc4c396f8 fix: 🐛 class name update, css 2021-10-18 13:45:23 -07:00
dharini 8f5c60768c fix: 🐛 add height 2021-10-18 13:25:14 -07:00
Carlos Alcaide Corvo fd43d8ef59 refactor: 💡 Change function name and import 2021-10-18 12:52:39 -07:00
dharini 30049481fe :wq
:wq
`Merge branch 'toolbar' of github.com:hashicorp/boundary-ui into toolbar
2021-10-18 12:31:33 -07:00
dharini 1603aff862 fix: 🐛 style 2021-10-18 12:31:18 -07:00
Dharini Jeeva f8bb1aa605 Update index.stories.mdx 2021-10-18 12:14:36 -07:00
Dharini Jeeva 85e881aa8b Merge branch 'main' into toolbar 2021-10-18 12:12:07 -07:00
dharini f4b3b4a205 fix: 🐛 simplifying toolbar 2021-10-18 12:11:55 -07:00
Dharini Jeeva bf555f71bf Merge branch 'main' into input-icon-support 2021-10-18 12:04:26 -07:00
Carlos Alcaide Corvo a220b25449 Missed customClick refactor 2021-10-18 11:08:19 -07:00
Carlos Alcaide Corvo 50ef25fda1 Enhance function comments 2021-10-18 11:08:19 -07:00
Carlos Alcaide Corvo 9e6b051353 refactor: 💡 Add a custom click for test helpers
Add a custom click function, it does a workaround for an issue within
playwright. That function has been created in test helpers file
2021-10-18 11:08:19 -07:00
Carlos Alcaide Corvo c056b27176 refactor: 💡 Move returnExecutablePath to e2e test helpers
Move returnExecutablePath to end to end test helpers file. Now the two
test files are importing the function from the test helpers file.
2021-10-18 11:08:19 -07:00
Carlos Alcaide Corvo 4db7dc89c7 refactor: 💡 Create generateScreenshotPath as test helper
Create generateScreenshotPath as test helper
2021-10-18 11:08:19 -07:00
Carlos Alcaide Corvo 2a3c65678e Merge pull request #807 from hashicorp/fix-storybook-api-unmet-dep
fix: 🐛 Fix storybook/api unmet peer dependency
2021-10-18 11:07:24 -07:00
Randall Morey 09b119f71b Merge branch 'main' into amy/add-sb-metadata-2 2021-10-18 13:35:37 -04:00
dharini 116f86b51d test: 💍 fix style 2021-10-18 10:30:25 -07:00
dharini 2b7d3a327a test: 💍 fix classnames 2021-10-18 10:18:38 -07:00
dharini 6b7b5fd45d Merge branch 'toolbar' of github.com:hashicorp/boundary-ui into toolbar 2021-10-18 09:32:53 -07:00
dharini 684aa4a9f6 fix: 🐛 add flext to toolbar 2021-10-18 09:29:47 -07:00
Dharini Jeeva 6ca5b5eaea Merge branch 'main' into toolbar 2021-10-15 15:12:43 -07:00
Dharini Jeeva fa15aa4076 Merge branch 'main' into input-icon-support 2021-10-15 14:45:47 -07:00
Carlos Alcaide Corvo fe0ab37bdf Merge branch 'main' into fix-storybook-api-unmet-dep 2021-10-15 14:10:48 -07:00
Carlos Alcaide Corvo f2bbeb2c67 Merge pull request #804 from hashicorp/refactor-return-executable-path-test-helper
Move returnExecutablePath to e2e test helpers
2021-10-15 13:55:14 -07:00
Carlos Alcaide Corvo 6bcbf2b2ba Simplify conditionals with a switch 2021-10-15 13:40:14 -07:00
dharini 5874438705 feat: 🎸 sessions toolbar implement 2021-10-15 12:08:34 -07:00
Dharini Jeeva c0accf1eb8 Merge branch 'main' into input-icon-support 2021-10-15 11:13:11 -07:00
dharini b4e6dded82 fix: 🐛 undod 2021-10-15 10:48:56 -07:00
dharini 2a0174505f chore: 🤖 lint 2021-10-15 10:38:39 -07:00
Carlos Alcaide Corvo 4717af1530 Merge branch 'main' into fix-storybook-api-unmet-dep 2021-10-15 10:28:04 -07:00
dharini c0642f393f feat: 🎸 add icon support to input field 2021-10-15 10:25:09 -07:00
Carlos Alcaide Corvo a07e3f4e41 Forgot to commit change 2021-10-15 10:20:16 -07:00
Carlos Alcaide Corvo 5dd59a6c14 refactor: 💡 Move returnExecutablePath to e2e test helpers
Move returnExecutablePath to end to end test helpers file. Now the two
test files are importing the function from the test helpers file.
2021-10-15 09:58:04 -07:00
Carlos Alcaide Corvo 3600222178 refactor: 💡 Create generateScreenshotPath as test helper
Create generateScreenshotPath as test helper
2021-10-15 09:57:26 -07:00
Carlos Alcaide Corvo efe6108673 Merge pull request #801 from hashicorp/refactor-generate-screenshot-path-test-helper
refactor: 💡 Create generateScreenshotPath as test helper
2021-10-15 09:55:13 -07:00
Carlos Alcaide Corvo af2e111dcd Delete trailing slashes from path 2021-10-15 09:35:28 -07:00
Carlos Alcaide Corvo fe48e0eba2 refactor: 💡 Create generateScreenshotPath as test helper
Create generateScreenshotPath as test helper
2021-10-15 09:34:18 -07:00
Carlos Alcaide Corvo e0cee85ad4 test: 💍 Add connect to target e2e test
First iteration of connect to target end to end test
2021-10-15 09:34:18 -07:00
Carlos Alcaide Corvo 04d8b11dcd Merge pull request #795 from hashicorp/e2e-connect-to-target
test: 💍 Add connect to target e2e test
2021-10-15 09:28:45 -07:00
Carlos Alcaide Corvo 20172626cb Change selector for origin input field 2021-10-15 08:54:08 -07:00
Carlos Alcaide Corvo 960e91c8e5 Change the way we check we are in targets section. Now we check the url rather than the h2 title 2021-10-15 08:45:22 -07:00
Carlos Alcaide Corvo 9ad765327d Rename function 2021-10-15 08:45:22 -07:00
Carlos Alcaide Corvo 82c7638277 test: 💍 Add connect to target e2e test
First iteration of connect to target end to end test
2021-10-15 08:45:22 -07:00
Carlos Alcaide Corvo c21e7b9f20 fix: 🐛 Fix storybook/api unmet peer dependency 2021-10-14 13:53:09 -07:00
Amy Lam d19a251583 Add sb metadata
design-system-website is reading /metadata.json as HTML

Ref: https://github.com/hashicorp/structure/pull/81 and https://github.com/hashicorp/design-system-website/pull/20
2021-10-13 16:54:18 -07:00
Dharini Jeeva f35bd9c12a Merge pull request #802 from hashicorp/fix-forgot-run-install-deps
fix: 🐛 Forgot install deps after change
2021-10-13 16:28:23 -07:00
Carlos Alcaide Corvo 4eaf483b12 fix: 🐛 Forgot install deps after change 2021-10-13 15:02:33 -07:00
Carlos Alcaide Corvo 8aa7cfe5ee Merge pull request #799 from hashicorp/docs-add-temporary-manual-end-to-end-test-procedure
Docs add temporary manual end to end test procedure
2021-10-13 14:20:03 -07:00
Carlos Alcaide Corvo 944ccfb1b9 Simplify e2e yarn scripts 2021-10-13 10:42:32 -07:00
Carlos Alcaide Corvo 9bfe3a97fb docs: ✏️ Add temporary process to run e2e test suite
Add documentation to temporary process to run the end to end test suite.
2021-10-13 10:42:32 -07:00
Carlos Alcaide Corvo 94431c9dba Add documentation to readme. Add function to determinate where to execute Boundary Binary during tests 2021-10-13 10:42:32 -07:00
Randall Morey 3a3988827d Merge pull request #798 from hashicorp/amy/add-sb-extract
Add sb extract to enable Storybook composition
2021-10-13 12:28:07 -04:00
Amy Lam 3786054f0b Upgrade Storybook 2021-10-13 08:39:35 -07:00
Amy Lam 0bf6247936 Add sb extract to enable Storybook composition
Ref: https://github.com/hashicorp/cloud-ui/pull/1457 and https://github.com/hashicorp/design-system-website/blob/main/taskbox/.storybook/main.js
2021-10-13 08:39:32 -07:00
Susmitha Girumala 8cd3f4671f Merge pull request #772 from hashicorp/poc-authentication-playwright-end2end-desktop-client
test: 💍 Add Authentication end to end test
2021-10-13 09:23:15 -04:00
Carlos Alcaide Corvo e43e2fd4a8 Rename returnScreenshotPath to generateScreenshotPath function 2021-10-12 11:59:01 -07:00
Carlos Alcaide Corvo 9b3b7ed39f Delete forgoten testing code 2021-10-12 11:00:19 -07:00
Carlos Alcaide Corvo 83c2adb681 Separate AUTH tests suite per type 2021-10-12 08:45:12 -07:00
Carlos Alcaide 2e542109b0 test: 💍 Add Authenticate wrong user e2e test
Add Authenticate with worng user end to end test.
2021-10-12 08:45:12 -07:00
Carlos Alcaide 4d2cf122a1 Change yarn script name so CI does not run e2e tests 2021-10-12 08:45:12 -07:00
Carlos Alcaide ebe08911b5 test: 💍 Add Authentication end to end test
Add first suite of end to end tests using playwright. The first test is
Authentication with user/password
2021-10-12 08:45:12 -07:00
Randall Morey c39f706ec8 Merge pull request #791 from hashicorp/chore-enhanced-user-info
Show user "account name" wherever users are listed (if possible)
2021-10-12 10:07:07 -04:00
Randall Morey a01874ed57 style: tweak dropdown alignment 2021-10-12 09:49:55 -04:00
Randall Morey d398041e3a Merge branch 'chore-enhanced-user-info' of https://github.com/hashicorp/boundary-ui into chore-enhanced-user-info 2021-10-11 14:10:34 -04:00
Randall Morey c7e901ffd6 chore: 🤖 tweak whitespace and formatting 2021-10-11 14:10:21 -04:00
Dharini Jeeva 67aef56986 Merge branch 'main' into chore-enhanced-user-info 2021-10-07 12:19:29 -07:00
Carlos Alcaide Corvo 4dfaa057bf Merge pull request #794 from hashicorp/fix-changes-in-lock-file
fix: 🐛 Forgot to push yarn.lock changes
2021-10-07 07:16:56 -07:00
Carlos Alcaide Corvo 83d55ab3a6 fix: 🐛 Forgot to push yarn.lock changes
Forgot to push yarn.lock changes.
2021-10-07 07:02:49 -07:00
Carlos Alcaide Corvo 3ddde0d9b8 Merge pull request #793 from hashicorp/fix-api-babel-core-unmet-dependency
fix: 🐛 Fix API babel/core unmet dependency
2021-10-07 06:36:57 -07:00
Carlos Alcaide Corvo 35b69b1cbc Merge branch 'main' into fix-api-babel-core-unmet-dependency 2021-10-07 06:20:04 -07:00
Carlos Alcaide Corvo 9df876f218 Merge pull request #792 from hashicorp/fix-rose-react-unmet-dependency
fix: 🐛 Rose react unmet dependency
2021-10-07 06:19:09 -07:00
Carlos Alcaide Corvo 51b00c730f Add react-dom as dev dependency 2021-10-06 14:38:48 -07:00
Carlos Alcaide Corvo 04bfed87fe fix: 🐛 Fix API babel/core unmet dependency
Fix babel/core unmet dependency in API addon
2021-10-06 14:17:09 -07:00
Carlos Alcaide Corvo 034551d317 fix: 🐛 Rose react unmet dependency
Fix react unmet dependency in Rose
2021-10-06 13:43:49 -07:00
Randall Morey ca150daf25 Merge branch 'main' into chore-enhanced-user-info 2021-10-06 16:19:06 -04:00
Randall Morey 02682cb008 chore: 🤖 add user "account name" wherever users are listed 2021-10-06 16:00:23 -04:00
Carlos Alcaide Corvo f0dae60c4c Merge pull request #790 from hashicorp/docs-enhance-desktop-ui-yarn-scripts
Docs enhance desktop UI yarn scripts
2021-10-06 15:12:38 +02:00
Carlos Alcaide Corvo aed22a174b Merge branch 'main' into docs-enhance-desktop-ui-yarn-scripts 2021-10-05 22:29:58 +02:00
Carlos Alcaide Corvo 23341da979 Apply PR suggestions 2021-10-05 13:29:28 -07:00
Randall Morey adc64b6db4 Merge pull request #787 from hashicorp/feature-host-set-host-capabilities
feat: 🎸 implement host set host association capabilities
2021-10-05 13:06:40 -04:00
Randall Morey 5874ad8d30 Merge branch 'main' into feature-host-set-host-capabilities 2021-10-05 12:37:16 -04:00
Randall Morey 3386c3bba2 Merge pull request #786 from hashicorp/feature-group-member-capabilities
feat: 🎸 implement group members abilities
2021-10-05 12:37:04 -04:00
Randall Morey a2f23d5172 Merge branch 'main' into feature-group-member-capabilities 2021-10-04 16:23:15 -04:00
Randall Morey acceca3a43 Merge pull request #785 from hashicorp/feature-user-account-capabilities
feat: 🎸 implement user account association abilities
2021-10-04 16:23:04 -04:00
Randall Morey a3a5c21098 Merge branch 'main' into feature-user-account-capabilities 2021-10-04 16:00:39 -04:00
Randall Morey e8090b9d91 Merge pull request #783 from hashicorp/feature-role-capabilities
Feature role capabilities
2021-10-04 16:00:30 -04:00
Carlos Alcaide Corvo d8d22cd787 docs: ✏️ Enhance desktop UI yarn commands documentation
Enhance desktop UI yarn commands documentation
2021-10-04 12:54:44 -07:00
Randall Morey 07a3db19c5 Merge branch 'main' into feature-role-capabilities 2021-10-04 15:41:08 -04:00
Carlos Alcaide Corvo 10ec87eff6 Merge pull request #788 from hashicorp/fix-rose-storybook-addons-unmet-dependency
fix: 🐛 Fix rose storybook/addons unmet dependency
2021-10-04 21:18:46 +02:00
Randall Morey eab78bfe2c Merge branch 'main' into feature-role-capabilities 2021-10-04 15:13:42 -04:00
Carlos Alcaide Corvo 74eaed8bb6 fix: 🐛 Fix rose storybook/addons unmet dependency
Fix storybook/addoncs unmet peer dependency in Rose
2021-10-04 11:05:23 -07:00
Carlos Alcaide Corvo 841495d453 Update documentation for lint and format scripts 2021-10-04 11:02:24 -07:00
Carlos Alcaide Corvo 435cd8800b Merge pull request #784 from hashicorp/fix-rose-babel-core-unmet-dependency
fix: 🐛 Fix babel-core unmet peer dependency in Rose
2021-10-04 19:54:01 +02:00
Dharini Jeeva f8b91bd9e7 Merge branch 'main' into fix-rose-babel-core-unmet-dependency 2021-10-04 10:42:44 -07:00
Randall Morey a9e7b0267a Merge branch 'main' into feature-role-capabilities 2021-10-04 13:32:09 -04:00
Randall Morey 4036577f6e Merge pull request #782 from hashicorp/feature-account-capabilities
Feature account capabilities
2021-10-04 13:31:58 -04:00
Randall Morey b1f594b122 Merge branch 'main' into feature-account-capabilities 2021-10-04 12:53:25 -04:00
Randall Morey 3be27cc632 Merge pull request #789 from hashicorp/feature-theme-color
feature: apply theme-color meta for more immersive UX
2021-10-04 12:53:03 -04:00
Randall Morey 84242dc014 feature: apply theme-color meta for more immersive UX 2021-10-04 09:38:58 -04:00
Randall Morey c5222c4b54 feat: 🎸 implement host set host association capabilities 2021-10-01 17:22:50 -04:00
Randall Morey 61f75970a4 feat: 🎸 implement group members abilities 2021-10-01 17:00:36 -04:00
Randall Morey 8deaaa312a feat: 🎸 implement user account association abilities 2021-10-01 14:19:06 -04:00
Carlos Alcaide Corvo 4260402a90 Move babel-core and babel-loader to devDependencies 2021-10-01 15:00:40 +02:00
Carlos Alcaide Corvo 3b10ddb8ea fix: 🐛 Fix babel-core unmet peer dependency in Rose
Fix @babel-core unmet peer dependency in Rose
2021-10-01 11:56:45 +02:00
Carlos Alcaide Corvo eb1a5db958 Merge pull request #767 from hashicorp/chore-fix-ember-fetch-unmet-dependency
chore: 🤖 Fix ember-fetch unmet dependency
2021-10-01 11:43:28 +02:00
Carlos Alcaide f449c10650 chore: 🤖 Fix ember-fetch unmet dependency
Fix ember-fetch unmet dependency warning from Yarn.
2021-10-01 11:26:21 +02:00
Randall Morey 8da8fddf29 feat: 🎸 implement add- and remove-principals abilities 2021-09-30 16:04:02 -04:00
Randall Morey 3022ca5a53 feat: 🎸 add role set-grants ability 2021-09-30 15:21:45 -04:00
Randall Morey e913140055 Merge branch 'main' into feature-account-capabilities 2021-09-30 12:38:57 -04:00
Randall Morey 1646132db3 feat: 🎸 apply set-password ability to template 2021-09-30 11:17:20 -04:00
Randall Morey 20836b7717 Merge pull request #780 from hashicorp/feature-add-sources-capability
Feature add sources capability
2021-09-30 08:54:22 -04:00
Randall Morey c5c8bcf165 Merge branch 'main' into feature-add-sources-capability 2021-09-30 08:39:30 -04:00
Randall Morey 1e02e9a6cc Merge pull request #779 from hashicorp/feature-remove-sources-capability
Feature remove sources capability
2021-09-30 08:39:20 -04:00
Randall Morey cfa6c42506 feature: add account set-password ability 2021-09-29 17:47:48 -04:00
Randall MoreyandDharini Jeeva d51388e4d7 Update addons/api/tests/unit/abilities/target-test.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2021-09-29 15:11:09 -04:00
Randall Morey bf05a9913d Merge branch 'main' into feature-remove-sources-capability 2021-09-29 15:10:45 -04:00
Randall Morey 9774ec6cc3 Merge pull request #773 from hashicorp/amy/flight-icons-v1
Bump @hashicorp/flight-icons to 1.0.0 with ^
2021-09-29 15:09:22 -04:00
Randall Morey ad884bbf7f Merge branch 'main' into amy/flight-icons-v1 2021-09-29 10:59:39 -04:00
Carlos Alcaide Corvo ef65dcdfc6 Merge pull request #781 from hashicorp/revert-778-chore-update-electron-forge
Revert "chore: 🤖 Update electron-forge for desktop client"
2021-09-29 09:42:53 +02:00
Carlos Alcaide Corvo b965fb3dd7 Revert "chore: 🤖 Update electron-forge for desktop client" 2021-09-29 09:28:09 +02:00
Randall Morey bc7543265c Merge branch 'main' into feature-remove-sources-capability 2021-09-28 18:40:14 -04:00
Randall Morey 4ed09ddacc Merge branch 'main' into amy/flight-icons-v1 2021-09-28 14:12:24 -04:00
Randall Morey 5921e34e83 Merge pull request #778 from hashicorp/chore-update-electron-forge
chore: 🤖 Update electron-forge for desktop client
2021-09-28 14:12:13 -04:00
Randall Morey e85e2c4317 Merge branch 'main' into amy/flight-icons-v1 2021-09-28 14:12:04 -04:00
Randall Morey 021be5d689 feat: 🎸 implement add sources on targets 2021-09-28 14:09:11 -04:00
Carlos Alcaide Corvo 4727a2536f Merge branch 'main' into chore-update-electron-forge 2021-09-28 18:46:29 +02:00
Carlos Alcaide Corvo 05f61271a6 Merge pull request #777 from hashicorp/chore-add-nth-check-desktop-resolutions
chore: 🤖 Add nth-check desktop resolutions
2021-09-28 18:15:52 +02:00
Carlos Alcaide Corvo 2fbfa8093e Merge branch 'main' into chore-add-nth-check-desktop-resolutions 2021-09-28 17:16:10 +02:00
Carlos Alcaide Corvo 51b45ffd03 Merge pull request #776 from hashicorp/chore-update-electron-minor-version
chore: 🤖 Update electron minor version
2021-09-28 17:14:13 +02:00
Carlos Alcaide Corvo 9db7b4d88b Merge branch 'main' into chore-update-electron-minor-version 2021-09-28 16:51:45 +02:00
Carlos Alcaide Corvo 799dcbdccb Merge pull request #775 from hashicorp/chore-add-ansi-regex-resolutions
chore: 🤖 Add ansi-regex transtitive dependency to resolutions
2021-09-28 16:51:26 +02:00
Carlos Alcaide Corvo 5874eb5d55 Merge branch 'main' into chore-add-ansi-regex-resolutions 2021-09-28 16:37:09 +02:00
Susmitha Girumala 3c6e2e01ea Merge pull request #757 from hashicorp/chromeless-window-desktop-option
Add chromeless window option for desktop
2021-09-28 09:33:00 -04:00
Susmitha Girumala bfb8cd0663 Merge branch 'main' into chromeless-window-desktop-option 2021-09-28 09:12:58 -04:00
Randall Morey b59f654774 Merge branch 'main' into chore-add-ansi-regex-resolutions 2021-09-28 09:09:06 -04:00
Randall Morey feebe4d8bc Merge pull request #774 from hashicorp/chore-desktop-update-ansi-regex-resolutions
chore: 🤖 Add ansi-regex to desktop resolutions
2021-09-28 09:08:53 -04:00
Randall Morey 3ecb8b8ea9 chore: 🤖 implement remove sources abilities on targets 2021-09-27 16:55:19 -04:00
Carlos Alcaide 73e1f4ed55 chore: 🤖 Update electron-forge for desktop client
Update electron-forge and all the packages related to for desktop client
2021-09-27 17:46:22 +02:00
Carlos Alcaide 02c6c28b8b chore: 🤖 Add nth-check desktop resolutions
Add nth-check, transitive dependency, to desktop resolutions to avoid
security vulnerability
2021-09-27 17:21:10 +02:00
Carlos Alcaide 224169c636 chore: 🤖 Update electron minor version
Update electron minor version
2021-09-27 16:32:40 +02:00
Carlos Alcaide cc42e2fbe0 chore: 🤖 Add ansi-regex transtitive dependency to resolutions
Add ansi-regex transitive dependency to resolutions to avoid security
vulnerability.
2021-09-27 16:17:52 +02:00
Carlos Alcaide 545f10b675 chore: 🤖 Add ansi-regex to desktop resolutions
Add ansi-regex transitive dependency to electron-app resolutions to
avoid security vulnerability
2021-09-27 15:42:37 +02:00
Susmitha Girumala 7265e483d4 Merge branch 'main' into chromeless-window-desktop-option 2021-09-27 08:43:18 -04:00
Randall Morey f29a6bc5d9 Merge pull request #771 from hashicorp/chore-nth-check-resolutions
chore: 🤖 Add nth-check to resolutions
2021-09-24 19:23:00 -04:00
Randall Morey f42d4cddd7 Merge branch 'main' into chore-nth-check-resolutions 2021-09-24 18:06:06 -04:00
Randall Morey 7cdded9f22 Merge pull request #768 from hashicorp/chore-fix-tmpl-resolutions
chore: 🤖 Update tmpl resolutions
2021-09-24 18:05:26 -04:00
Randall Morey a4c1124fcb Merge branch 'main' into chore-fix-tmpl-resolutions 2021-09-24 17:42:17 -04:00
Randall Morey 212b6a98b8 Merge pull request #766 from hashicorp/chore-prismjs-resolutions
chore: 🤖 Update prismjs resolutions
2021-09-24 17:39:54 -04:00
Randall Morey acafe97f76 Merge branch 'main' into chore-prismjs-resolutions 2021-09-24 17:01:55 -04:00
Randall Morey 68f9a9ba7f Merge pull request #765 from hashicorp/chore-update-set-value-resolutions
chore: 🤖 Update set-value resolutions
2021-09-24 17:01:40 -04:00
Randall Morey 75614b5d08 Merge branch 'main' into chore-update-set-value-resolutions 2021-09-24 16:44:56 -04:00
Amy Lam 5a541fc7b0 Bump package to 1.0.0 with ^ 2021-09-24 13:44:50 -07:00
Randall Morey add826007d chore: add sources-related grants to mock target authorized actions 2021-09-24 16:42:41 -04:00
Randall Morey 4b2e319e33 Merge pull request #770 from hashicorp/chore-target-sources
Change target attributes and custom methods
2021-09-24 16:08:24 -04:00
Susmitha Girumala f987b908fc fix: Use DISABLE_WINDOW_CHROME check before platform -desktop 2021-09-23 21:08:21 -04:00
Randall Morey 1e4aa6631a chore: 🤖 misc name changes 2021-09-23 10:04:23 -04:00
Carlos Alcaide 554d7362e5 chore: 🤖 Add ntch-check to resolutions
Add nth-check to yarn resolutions to avoid security vulnerability
2021-09-23 11:53:27 +02:00
Randall Morey 94f6316b4a chore: 🤖 update host source attribute ames 2021-09-22 19:15:09 -04:00
Randall Morey 4e3a167ef7 chore: 🤖 change host source custom methods 2021-09-22 18:52:38 -04:00
Randall Morey 77420d29c6 chore: 🤖 rename credential source custom methods 2021-09-22 18:34:35 -04:00
Randall Morey 8b09f132e0 chore: rename to application_credential_source_ids 2021-09-22 17:39:15 -04:00
Susmitha Girumala 52b5a06755 chore: Refactor custom desktop window actions check 2021-09-22 17:10:40 -04:00
Carlos Alcaide c9e4369928 chore: 🤖 Update tmpl resolutions
Update tmpl transitive dependency resolution to avoid security
vulnerability
2021-09-22 16:14:49 +02:00
Carlos Alcaide 5858fc2827 chore: 🤖 Update prismjs resolutions
Update prismjs resolutions to avoid security vulnerability
2021-09-22 15:38:23 +02:00
Randall Morey 735878b7ef chore: 🤖 update internal variable names 2021-09-22 08:49:38 -04:00
Carlos Alcaide 7542b512e8 chore: 🤖 Update set-value resolutions
Update set-value resolutions to avoid a security vulnerability
2021-09-22 13:03:03 +02:00
Randall Morey c7c01dc35e fix: 🐛 host set reconciliation on targets 2021-09-21 16:58:25 -04:00
Randall Morey 614b98b8fb chore: 🤖 change method names 2021-09-21 14:53:56 -04:00
Randall Morey bb8920a90c chore: 🤖 rename ember resources to *-sources 2021-09-21 14:32:39 -04:00
Randall Morey 64fccf8753 chore: 🤖 rename translations and comments 2021-09-21 10:57:01 -04:00
Randall Morey fb734eb61b chore: 🤖 rename host_set_id to host_source_id internally 2021-09-21 09:37:47 -04:00
Randall Morey 10da4af957 chore: 🤖 change fragment-host-set to fragment-host-source 2021-09-20 15:10:04 -04:00
Susmitha Girumala 7767804426 Merge remote-tracking branch 'origin/main' into chromeless-window-desktop-option 2021-09-20 14:38:19 -04:00
Susmitha Girumala 789d8d5f5a Merge pull request #760 from hashicorp/feature-authorize-session-capability
feat: 🎸 add connect target capability UI
2021-09-20 11:04:43 -04:00
Randall Morey 18f6bc469c Merge branch 'main' into feature-authorize-session-capability 2021-09-17 16:36:42 -04:00
Randall Morey e24a4778ad Merge pull request #756 from hashicorp/chore-dep-upgrades
Chore dep upgrades
2021-09-17 16:33:57 -04:00
Randall Morey dfa05e003f chore: rebump flight version 2021-09-17 09:57:16 -04:00
Randall Morey b740277c03 Merge branch 'feature-authorize-session-capability' of https://github.com/hashicorp/boundary-ui into feature-authorize-session-capability 2021-09-17 09:28:17 -04:00
Randall Morey f3c10de6a1 Merge branch 'main' into feature-authorize-session-capability 2021-09-17 09:28:05 -04:00
Randall Morey ffaf972063 docs: tweak comment 2021-09-17 09:27:51 -04:00
Randall Morey 8afb80cf18 Merge branch 'main' into chore-dep-upgrades 2021-09-17 09:26:18 -04:00
Randall Morey 97adee1181 Merge pull request #761 from hashicorp/amy/bump-flight-icons
Bump flight icons
2021-09-17 09:25:33 -04:00
Susmitha Girumala 2d25f8571d Merge branch 'main' into chore-dep-upgrades 2021-09-17 09:11:47 -04:00
Amy Lam aa5b813791 Ran a find and replace
New namespacing. `flight-icons/` replace with `flight-icons/svg/`
2021-09-16 14:24:38 -07:00
Amy Lam 5c72168310 Bump package 2021-09-16 13:42:04 -07:00
Susmitha Girumala cd72397f24 Merge pull request #759 from hashicorp/cleanup-forge-config
refactor: Add forge config checks into electron forge
2021-09-16 15:06:39 -04:00
Susmitha Girumala 5f2885ae35 Merge branch 'main' into cleanup-forge-config 2021-09-16 14:56:29 -04:00
Susmitha Girumala 7a16aba50e Merge pull request #758 from hashicorp/add-app-updater-feature-bypass-flag
chore: Add dev flag to disable app updater prompts - desktop
2021-09-16 14:56:13 -04:00
Randall Morey 21759e809f Merge branch 'main' into feature-authorize-session-capability 2021-09-16 14:55:54 -04:00
Randall Morey b109b8e008 feat: 🎸 add connect target capability UI 2021-09-16 14:49:48 -04:00
Susmitha Girumala 5a36cb59c8 Merge branch 'main' into add-app-updater-feature-bypass-flag 2021-09-16 14:46:24 -04:00
Susmitha Girumala df698a8dd3 Merge pull request #753 from hashicorp/vancluever-manual-cli-install
desktop: Update README with instructions for using non-release versions
2021-09-16 14:45:32 -04:00
Susmitha Girumala 12403e40b0 Merge branch 'main' into vancluever-manual-cli-install 2021-09-16 14:23:36 -04:00
Susmitha Girumala 4e705931fc refactor: Add forge config checks into electron forge 2021-09-16 11:04:09 -04:00
Susmitha Girumala 469c1b7a6e chore: Add dev flag to disable app updater prompts - desktop 2021-09-16 10:56:51 -04:00
Susmitha Girumala 631d90869f chore: Refactor DISABLE_WINDOW_CHROME var 2021-09-16 10:33:56 -04:00
Randall Morey 41ffb196e4 chore: 🤖 upgrade stylelint deps 2021-09-16 10:29:07 -04:00
Randall Morey 627e9cc3af chore: 🤖 upgrade to "ember-autofocus-modifier": "^2.0.0" 2021-09-16 09:37:30 -04:00
Randall Morey dd38bd934c chore: 🤖 upgrade to "@doyensec/electronegativity": "^1.9.1" 2021-09-16 09:18:01 -04:00
Randall Morey b5c1a9d7f3 chore: 🤖 upgrade to "sinon": "^11.1.2" 2021-09-16 09:00:10 -04:00
Randall Morey a25455f314 chore: 🤖 upgrade to "ember-notify": "^6.0.1" 2021-09-16 08:39:02 -04:00
Randall Morey a815fc47e2 chore: 🤖 upgrade to "ember-modifier": "^2.1.2" 2021-09-15 16:14:59 -04:00
Randall Morey d19abc0dff chore: 🤖 upgraade to "ember-exam": "^6.1.0" 2021-09-15 16:03:00 -04:00
Randall Morey ad2f1cf0d1 chore: 🤖 upgrade to "ember-cli-code-coverage": "^1.0.3" 2021-09-15 15:14:52 -04:00
Randall Morey a02b43fc4e chore: 🤖 upgrade to "ember-a11y-testing": "^4.2.0" 2021-09-15 14:50:13 -04:00
Randall Morey d1a2bfa378 chore: 🤖 upgrade to "clipboard": "^2.0.8" 2021-09-15 14:42:27 -04:00
Randall Morey 9e347ac98f chore: 🤖 upgrade to "@babel/core": "^7.15.5" 2021-09-15 13:48:50 -04:00
Randall Morey 4b57f84165 chore: 🤖 upgrade to "ember-intl": "^5.7.0" 2021-09-15 13:13:18 -04:00
Randall Morey c6b7b4f845 chore: 🤖 upgrade to "ember-browser-services": "^2.0.0" 2021-09-15 11:24:57 -04:00
Randall Morey 7d504c1eb5 chore: 🤖 upgrade storybook deps 2021-09-15 10:55:38 -04:00
Susmitha Girumala 9c423ec05b chore: Fix tests for macos frame 2021-09-15 10:54:28 -04:00
Randall Morey 7a413820b7 chore: 🤖 upgrade to "sass": "^1.41.0" 2021-09-15 09:49:19 -04:00
Randall Morey 3480d66dd7 chore: 🤖 upgrade to "ember-focus-trap": "^0.7.0" 2021-09-15 09:17:55 -04:00
Randall Morey 33e86e5f26 chore: 🤖 upgrade to "babel-loader": "^8.2.2" 2021-09-15 09:10:54 -04:00
Susmitha Girumala aecfdbb635 fix: Lint fix 2021-09-15 09:09:16 -04:00
Randall Morey 0db37f9530 chore: 🤖 upgrade to "ember-simple-auth": "^4.0.0" 2021-09-15 09:03:48 -04:00
Randall Morey 64553a99d5 chore: 🤖 upgrade to "qunit-dom": "^2.0.0" 2021-09-15 08:53:38 -04:00
Randall Morey abd20f9bd9 chore: 🤖 upgrade to "qunit": "^2.17.1" 2021-09-15 08:46:17 -04:00
Randall Morey bedace7c4b chore: 🤖 upgrade to "prettier": "^2.4.0" 2021-09-15 08:38:38 -04:00
Randall Morey e44cfb6ce7 chore: 🤖 upgrade to "eslint-plugin-prettier": "^4.0.0" 2021-09-15 08:28:39 -04:00
Susmitha Girumala 1e405b318f chore: Allow disabling electron frame on all desktop OSs 2021-09-14 17:36:17 -04:00
Randall Morey c1c1a808ec chore: 🤖 upgrade to "eslint-plugin-ember": "^10.5.4" 2021-09-14 16:40:16 -04:00
Randall Morey d91088cc05 chore: 🤖 upgrade to "eslint": "^7.32.0" 2021-09-14 16:25:10 -04:00
Randall Morey be9b46f673 chore: 🤖 upgrade to "ember-template-lint": "^3.7.0" 2021-09-14 16:09:24 -04:00
Randall Morey 612a7981eb chore: 🤖 upgrade to "ember-resolver": "^8.0.3" 2021-09-14 15:37:23 -04:00
Randall Morey 705a210ed1 chore: 🤖 upgrade to "ember-qunit": "^5.1.4" 2021-09-14 14:24:13 -04:00
Randall Morey 39de905559 chore: 🤖 upgrade to "ember-page-title": "^6.2.2" 2021-09-14 14:14:42 -04:00
Randall Morey 131c809b89 chore: 🤖 upgrade to "ember-maybe-import-regenerator": "^1.0.0" 2021-09-14 13:26:55 -04:00
Randall Morey 2a63d977fb chore: 🤖 upgrade to "ember-copy": "^2.0.1" 2021-09-14 13:08:07 -04:00
Randall Morey f75d9458b8 chore: 🤖 upgrade to "ember-cli-terser": "^4.0.2" 2021-09-14 12:50:09 -04:00
Randall Morey 39bf97a2ef chore: 🤖 upgrade to "ember-auto-import": "^1.12.0" 2021-09-14 12:40:27 -04:00
Randall Morey 93672019d6 chore: 🤖 upgrade to "doctoc": "^2.0.1" 2021-09-14 12:19:35 -04:00
Randall Morey e670c138a3 chore: 🤖 upgrade to "@glimmer/tracking": "^1.0.4" 2021-09-14 12:06:18 -04:00
Randall Morey 126a1a6b53 chore: 🤖 upgrade to "@glimmer/component": "^1.0.4" 2021-09-14 11:52:56 -04:00
Randall Morey afe58c3823 chore: 🤖 upgrade to "@ember/test-helpers": "^2.4.2" 2021-09-13 19:12:02 -04:00
Randall Morey f89cd5d05e chore: 🤖 upgrade to "ember-fetch": "^8.1.1" 2021-09-13 19:02:34 -04:00
Randall Morey 33e97bfe62 chore: 🤖 upgrade to "ember-cli-mirage": "^2.2.0" 2021-09-13 17:57:40 -04:00
Randall Morey 6a42964614 chore: 🤖 upgrade to "ember-cli-htmlbars": "^5.7.1" 2021-09-13 17:46:26 -04:00
Randall Morey 20036c2d00 chore: 🤖 upgrade to "ember-cli-babel": "^7.26.6" 2021-09-13 17:39:52 -04:00
Susmitha Girumala fabab3e36c Merge pull request #742 from hashicorp/chore-update-immer-resolutions
chore: 🤖 Update immer transitive dependency resolution
2021-09-13 13:11:16 -04:00
Susmitha Girumala 4f76e5fe84 Merge branch 'main' into chore-update-immer-resolutions 2021-09-13 09:12:26 -04:00
Susmitha Girumala 73ec06abfc Merge branch 'main' into vancluever-manual-cli-install 2021-09-09 10:09:52 -04:00
Susmitha Girumala c868086c64 Merge pull request #719 from hashicorp/debian-support
Debian based Linux Desktop Support
2021-09-09 08:22:44 -04:00
Susmitha Girumala 316c5627dc Merge branch 'debian-support' of github.com:hashicorp/boundary-ui into debian-support 2021-09-09 08:12:05 -04:00
Susmitha Girumala faae34ccf5 chore: Bump desktop cli version to 0.6.0 2021-09-09 08:11:47 -04:00
Susmitha Girumala 015b034feb chore: Install staged desktop build in ubuntu vm 2021-09-09 08:11:17 -04:00
Susmitha Girumala f1e1603502 Merge branch 'main' into debian-support 2021-09-08 17:40:59 -04:00
Dharini Jeeva df2d5d688e Merge pull request #752 from hashicorp/chore-create-without-read-scope
chore: mocks should have scope collection grants
2021-09-08 14:26:52 -07:00
Chris Marchesi 80d6cbc07c desktop: Update README with instructions for using non-release versions
This documents the use of BYPASS_CLI_SETUP to allow desktop development
to use the version of Boundary manually placed in
ui/desktop/electron-app/cli rather than downloading a release version.
2021-09-08 13:56:01 -07:00
Susmitha Girumala a0227720a8 Merge branch 'main' into chore-create-without-read-scope 2021-09-08 16:06:19 -04:00
Randall Morey d07407e881 chore: mocks should have scope collection grants 2021-09-08 16:03:10 -04:00
Susmitha Girumala 7be2dc6d03 Merge branch 'main' into debian-support 2021-09-08 15:39:48 -04:00
Susmitha Girumala 1321df3265 Merge pull request #751 from hashicorp/chore-create-without-read-host
chore: 🤖 redirect to index on save in create-without-read case
2021-09-08 15:37:50 -04:00
Susmitha Girumala 8ad462288f Merge branch 'main' into chore-create-without-read-host 2021-09-08 15:15:19 -04:00
Randall Morey 16e83b7428 chore: 🤖 redirect to index on save in create-without-read case 2021-09-08 15:04:23 -04:00
Susmitha Girumala f705a386f0 Merge pull request #750 from hashicorp/chore-create-without-read-cred-lib
Chore create without read cred lib
2021-09-08 14:58:10 -04:00
Susmitha Girumala 5589cdd8d5 Merge branch 'main' into chore-create-without-read-cred-lib 2021-09-08 14:47:44 -04:00
Dharini Jeeva 53d5a77631 Merge pull request #749 from hashicorp/redirect-to-idx
fix: 🐛 redirect to index on save without read
2021-09-08 11:47:11 -07:00
Susmitha Girumala 357df84c22 Merge branch 'main' into chore-create-without-read-cred-lib 2021-09-08 14:36:50 -04:00
Dharini Jeeva 557076276b Update auth-methods.js 2021-09-08 11:35:47 -07:00
Susmitha Girumala 09894ed376 Merge branch 'main' into redirect-to-idx 2021-09-08 14:33:43 -04:00
Susmitha Girumala d5bf053b41 Merge pull request #748 from hashicorp/chore-create-without-read-account
chore: 🤖 redirect to index on save in create-without-read case
2021-09-08 14:33:31 -04:00
Randall Morey 8f11765b96 chore: 🤖 redirect to index on save in create-without-read case 2021-09-08 14:31:16 -04:00
Dharini Jeeva 4ad88d1dcd Merge branch 'main' into redirect-to-idx 2021-09-08 11:30:38 -07:00
dharini 92572395bb fix: 🐛 redirect to index on save without read 2021-09-08 11:29:13 -07:00
Randall Morey e389494a3b chore: 🤖 redirect to index on save in create-without-read case 2021-09-08 14:20:04 -04:00
Randall Morey aa9694cae2 Merge pull request #747 from hashicorp/feature-create-without-read-redirect
Feature create without read redirect
2021-09-08 14:06:57 -04:00
Randall Morey c462fa4c51 fix: 🐛 create-without-read case should redirect to index 2021-09-08 13:52:51 -04:00
Randall Morey f7d3dfdac0 chore: remove redundant text 2021-09-08 13:40:18 -04:00
Susmitha Girumala 6df7624afc fix: Update windows executable name in desktop 2021-09-08 13:35:16 -04:00
Susmitha Girumala fe9ce25ed0 fix: Add linux executable name for linux binary name 2021-09-07 18:33:13 -04:00
Susmitha Girumala a3ee4d02e8 Merge branch 'debian-support' of github.com:hashicorp/boundary-ui into debian-support 2021-09-07 18:02:57 -04:00
Susmitha Girumala 7988eee93d chore: Update debian maker config object to correct usage 2021-09-07 18:02:40 -04:00
Susmitha Girumala 57fb26f37d Merge branch 'main' into debian-support 2021-09-07 16:18:24 -04:00
Susmitha Girumala f956f95e78 refactor: Remove unused windows os check in desktop app 2021-09-07 16:00:27 -04:00
Randall Morey e613d55dcb Merge pull request #746 from hashicorp/fix-scope-create
fix: 🐛 fix lingering capabilities bugs
2021-09-07 15:11:39 -04:00
Randall Morey f75529b5c4 Merge pull request #744 from hashicorp/fix-auth-method-create
fix: 🐛 hide auth method create link when grants missing
2021-09-07 15:11:31 -04:00
Susmitha Girumala 75ed3b816b chore: Disable unsupported app update feature for linux 2021-09-07 15:03:33 -04:00
Susmitha Girumala c7c54daaad chore: Add overlow scroll class for linux and windows frame 2021-09-07 14:59:09 -04:00
Randall Morey 6458f928b9 fix: 🐛 fix lingering capabilities bugs 2021-09-07 14:20:49 -04:00
Susmitha Girumala 865e36c03c chore: Revert linux openExternal fix for additional tests 2021-09-07 11:29:46 -04:00
Susmitha Girumala af87d85a34 chore: Update desktop changelog with cli release date 2021-09-07 09:54:14 -04:00
Susmitha Girumala 9808e9a9d3 Merge pull request #745 from hashicorp/fix-scope-create
fix: 🐛 scope create shows only when permissions granted
2021-09-06 23:04:24 -04:00
Susmitha Girumala b22ea6fa79 chore: Clarify debian build of macos 2021-09-06 22:53:22 -04:00
Susmitha Girumala 0bda47ec29 chore: Use browserwindow for launching urls in linux 2021-09-06 22:49:59 -04:00
Randall Morey 0742987874 fix: 🐛 scope create shows only when permissions granted 2021-09-05 10:08:41 -04:00
Randall Morey 6b485b9f93 fix: 🐛 hide auth method create link when grants missing 2021-09-05 09:57:41 -04:00
Carlos Alcaide 9d19b72f46 chore: 🤖 Update immer transitive dependency resolution
Update Immer transitive dependency resolutions to avoid a security issue
reported by dependanbot.
2021-09-03 15:40:28 -07:00
Susmitha Girumala 1978b1c08e chore: Add staged build download to vagrantfile 2021-09-03 16:18:43 -04:00
Susmitha Girumala bce44de8e0 chore: Move vagrant scripts to root level 2021-09-03 16:00:08 -04:00
Susmitha Girumala 0bdd1a1f04 Merge remote-tracking branch 'origin/main' into debian-support 2021-09-03 15:30:52 -04:00
Susmitha Girumala 255d727ffb Merge branch 'debian-support' of github.com:hashicorp/boundary-ui into debian-support 2021-09-03 15:28:11 -04:00
Susmitha Girumala 7bfa3da53d chore: Update vagrant usage doc 2021-09-03 15:27:29 -04:00
Susmitha Girumala 28ebc93179 Merge pull request #741 from hashicorp/chore-enable-capabilities
chore: 🤖 enable capabilities feature
2021-09-03 15:07:35 -04:00
Randall Morey 547330821f chore: 🤖 enable capabilities feature 2021-09-03 14:51:33 -04:00
Dharini Jeeva cf70ea3e01 Merge pull request #736 from hashicorp/cred-lib-create-list
Cred lib create list
2021-09-03 11:43:32 -07:00
Dharini Jeeva 52afb56057 Merge branch 'main' into cred-lib-create-list 2021-09-03 11:28:56 -07:00
Dharini Jeeva df32a8eb4b Merge pull request #740 from hashicorp/accounts-create-list
feat: 🎸 accounts capability
2021-09-03 11:12:36 -07:00
Dharini Jeeva 14190fdf67 Update list-test.js 2021-09-03 11:09:33 -07:00
dharini 0459cab9ed Merge branch 'cred-lib-create-list' of github.com:hashicorp/boundary-ui into cred-lib-create-list 2021-09-03 10:48:39 -07:00
dharini db5b97fbda chore: 🤖 merge main + resolve conflict 2021-09-03 10:41:28 -07:00
Dharini Jeeva cf85826ff8 Merge branch 'main' into accounts-create-list 2021-09-03 10:26:40 -07:00
dharini 46f33aba17 feat: 🎸 accounts capability 2021-09-03 10:22:54 -07:00
Susmitha Girumala 177f96876c Merge branch 'main' into debian-support 2021-09-03 11:34:12 -04:00
Susmitha Girumala 50b0aee33c Merge pull request #739 from hashicorp/host-create-list
feat: 🎸 hosts capabilities create list
2021-09-03 11:33:36 -04:00
Susmitha Girumala 73002a38c4 chore: Add window actions test 2021-09-03 11:32:17 -04:00
Susmitha Girumala 17bd4c69b6 Merge branch 'main' into host-create-list 2021-09-03 11:15:20 -04:00
Susmitha Girumala a6b2557cd5 Merge pull request #738 from hashicorp/hosts-create-lists
feat: host sets capabilities create/list
2021-09-03 11:00:26 -04:00
Susmitha Girumala 9a5110aa71 Merge branch 'main' into hosts-create-lists 2021-09-03 10:31:36 -04:00
Susmitha Girumala caf85c57ec Merge pull request #737 from hashicorp/feature-scope-capabilities
Feature scope capabilities
2021-09-03 10:30:05 -04:00
Susmitha Girumala 878f3be747 Merge remote-tracking branch 'origin/main' into debian-support 2021-09-03 10:23:30 -04:00
Susmitha Girumala af9555e7f3 chore: Update desktop changelog 2021-09-03 10:23:15 -04:00
Randall Morey 4afdc77f4c Merge branch 'main' into feature-scope-capabilities 2021-09-03 09:36:56 -04:00
Dharini Jeeva 7ea772ca31 Merge pull request #735 from hashicorp/cred-store-create-list
Credential store capabilities - create/list
2021-09-02 16:58:50 -07:00
dharini 10fb5c8265 chore: 🤖 merge main + resolve conflicts 2021-09-02 16:36:18 -07:00
dharini 6c58749a6e fix: 🐛 verify manage action options 2021-09-02 16:25:47 -07:00
Dharini Jeeva e6b99e1418 Merge branch 'main' into hosts-create-lists 2021-09-02 16:17:56 -07:00
dharini 6babacd0bc fix: 🐛 verify manage options 2021-09-02 16:16:19 -07:00
dharini 4423c53cc4 fix: 🐛 add test for manage catalog options 2021-09-02 15:58:45 -07:00
dharini 451c1e861b feat: 🎸 hosts capabilities create lit 2021-09-02 15:28:40 -07:00
Dharini Jeeva 157dda4f8e Merge branch 'main' into cred-lib-create-list 2021-09-02 14:13:22 -07:00
dharini 929f22a48b Merge branch 'cred-lib-create-list' of github.com:hashicorp/boundary-ui into cred-lib-create-list 2021-09-02 14:11:17 -07:00
dharini d8aca33fcd fix: 🐛 update const name 2021-09-02 14:10:54 -07:00
Dharini Jeeva 144c7d13ee Merge pull request #734 from hashicorp/target-create-list
Target capabilities create/list
2021-09-02 14:05:31 -07:00
dharini 2bbbceb9d9 Merge branch 'main' into cred-lib-create-list 2021-09-02 13:52:57 -07:00
dharini cb948fb640 Merge branch 'target-create-list' of github.com:hashicorp/boundary-ui into target-create-list 2021-09-02 13:52:24 -07:00
dharini 6d8d28e1b4 fix: 🐛 merge main + resolve conflicts 2021-09-02 13:52:04 -07:00
dharini 99e24500d3 fix: 🐛 update const name 2021-09-02 13:38:09 -07:00
Dharini Jeeva 0a8f1d4405 Merge branch 'main' into feature-scope-capabilities 2021-09-02 13:37:55 -07:00
Dharini Jeeva f32311def3 Merge pull request #733 from hashicorp/sessions
Sessions
2021-09-02 13:34:53 -07:00
dharini e2b0c3ad13 fix: 🐛 typo 2021-09-02 13:17:19 -07:00
dharini b454efe41f fix: 🐛 host sets capabilities create/list 2021-09-02 13:01:58 -07:00
Dharini Jeeva e778847375 Merge branch 'main' into sessions 2021-09-02 12:27:41 -07:00
Dharini Jeeva eb5d4b2289 Merge branch 'main' into cred-lib-create-list 2021-09-02 12:17:41 -07:00
Dharini Jeeva 4bae0296cf Merge pull request #730 from hashicorp/host-catalog-create-list
feat: 🎸 host catalogs create/list capability
2021-09-02 12:17:20 -07:00
dharini 594f951ca7 fix: 🐛 scope route for create collection 2021-09-02 12:16:45 -07:00
Randall Morey 87938d968c Merge branch 'main' into target-create-list 2021-09-02 15:07:30 -04:00
Randall Morey 372f8d5b96 Merge branch 'main' into sessions 2021-09-02 15:07:04 -04:00
Randall Morey f8f7831cc3 test: 💍 add read capability and test 2021-09-02 15:00:44 -04:00
Susmitha Girumala b08f228c9b Merge branch 'main' into host-catalog-create-list 2021-09-02 14:20:08 -04:00
Susmitha Girumala 6367f3a9bc Merge pull request #727 from hashicorp/auth-create-list
feat: 🎸 auth methods capability
2021-09-02 14:19:56 -04:00
Susmitha Girumala b96510de65 chore: Enable icon in ubuntu toolbar 2021-09-02 13:57:12 -04:00
dharini e0d3b25be2 chore: 🤖 merge main + resolve conflicts 2021-09-02 10:55:51 -07:00
dharini 4b77732fd6 chore: 🤖 merge main + resolve conflicts 2021-09-02 10:36:44 -07:00
dharini 0b83b4bd85 Merge branch 'host-catalog-create-list' of github.com:hashicorp/boundary-ui into host-catalog-create-list 2021-09-02 10:23:12 -07:00
dharini 0ed506a111 chore: 🤖 merge main + resolve conflicts 2021-09-02 10:22:47 -07:00
dharini 1a97472c04 Merge branch 'main' into host-catalog-create-list 2021-09-02 10:08:18 -07:00
dharini 551619dfaa chore: 🤖 merge main + resolve conflicts 2021-09-02 10:05:51 -07:00
dharini a1528be4fd Merge branch 'target-create-list' of github.com:hashicorp/boundary-ui into target-create-list 2021-09-02 09:58:44 -07:00
dharini fbba6571db chore: 🤖 merge main + resolve conflicts 2021-09-02 09:58:27 -07:00
Dharini Jeeva 57de78e672 Merge branch 'main' into host-catalog-create-list 2021-09-02 09:50:06 -07:00
dharini 43cd357e9a Merge branch 'auth-create-list' of github.com:hashicorp/boundary-ui into auth-create-list 2021-09-02 09:49:08 -07:00
dharini 5e6a3e9d9a chore: 🤖 merge main 2021-09-02 09:48:28 -07:00
Randall Morey aea3e6f3ca chore: 🤖 manual merge from main 2021-09-02 12:13:36 -04:00
Susmitha Girumala eac0ee6b53 Merge branch 'main' into auth-create-list 2021-09-02 11:38:49 -04:00
dharini 9e8d7c9cae Merge branch 'auth-create-list' of github.com:hashicorp/boundary-ui into auth-create-list 2021-09-02 08:28:21 -07:00
dharini 273b5c8df6 chore: 🤖 merge main 2021-09-02 08:27:57 -07:00
Dharini Jeeva 4b430f1a7f Merge pull request #726 from hashicorp/roles-create-list
Roles capabilities create/list
2021-09-02 08:19:03 -07:00
Dharini Jeeva 66b40e5318 Update create-test.js 2021-09-02 08:15:04 -07:00
Dharini Jeeva 42283596b2 Update list-test.js 2021-09-02 08:13:47 -07:00
dharini cfd3fe468e Merge branch 'auth-create-list' of github.com:hashicorp/boundary-ui into auth-create-list 2021-09-02 08:12:32 -07:00
dharini 7c0366c790 fix: 🐛 update to orgurl 2021-09-02 08:12:10 -07:00
Susmitha Girumala 5c2540d22b Merge branch 'main' into roles-create-list 2021-09-02 11:02:30 -04:00
Susmitha Girumala a68d94161f Merge pull request #725 from hashicorp/group-create-list
Group create list
2021-09-02 11:00:11 -04:00
Randall Morey 6be0a2a17d chore: add scope delete capability 2021-09-02 10:58:06 -04:00
Susmitha Girumala fdfa88e089 chore: Add file actions to linux frame 2021-09-02 10:42:45 -04:00
Susmitha Girumala b1a34115a5 Merge branch 'main' into group-create-list 2021-09-02 10:29:24 -04:00
Susmitha Girumala 5a1192ed2e Merge pull request #717 from hashicorp/feature-user-collection-abilities
User create/list collection capabilities UI
2021-09-02 10:26:23 -04:00
Susmitha Girumala 5644e57fc5 Merge branch 'main' into feature-user-collection-abilities 2021-09-02 08:01:50 -04:00
dharini f097eab53a feat: 🎸 cred library capabilities list/create 2021-09-01 19:38:48 -07:00
dharini ce7d743f81 chore: 🤖 merge main 2021-09-01 15:46:29 -07:00
dharini 166b35860a chore: 🤖 merge main 2021-09-01 15:29:09 -07:00
Carlos Alcaide Corvo 2bbc12ddea Merge pull request #732 from hashicorp/chore-update-tar-resolutions
chore: 🤖 Update tar version resolutions
2021-09-01 14:59:27 -07:00
dharini c36030c12d chore: 🤖 merge main 2021-09-01 14:42:31 -07:00
Carlos Alcaide Corvo 521d70a4bb Merge branch 'main' into chore-update-tar-resolutions 2021-09-01 14:40:26 -07:00
dharini 13794c7bf8 feat: 🎸 typo 2021-09-01 14:26:25 -07:00
dharini 5f8042a551 Merge branch 'roles-create-list' of github.com:hashicorp/boundary-ui into roles-create-list 2021-09-01 14:17:38 -07:00
dharini 0ab5ff8370 fix: 🐛 add org to urls, typo 2021-09-01 14:17:00 -07:00
dharini 9f28484bd7 feat: 🎸 cred store create/list 2021-09-01 14:02:27 -07:00
Dharini Jeeva 57b9e86562 Merge pull request #723 from hashicorp/add-tests
user capabilities list test case
2021-09-01 11:41:38 -07:00
Randall Morey 40a5e221e7 Merge pull request #720 from hashicorp/chore-flight-icons-npm
Consume Flight icons from NPM
2021-09-01 13:46:56 -04:00
Randall Morey 165e4aec75 Merge branch 'main' into chore-flight-icons-npm 2021-09-01 13:34:10 -04:00
Carlos Alcaide Corvo 2448c03b27 Merge branch 'main' into chore-update-tar-resolutions 2021-09-01 09:21:52 -07:00
Carlos Alcaide Corvo 57ca18670f Merge pull request #731 from hashicorp/chore-update-ember-cli
chore: 🤖 Update ember-cli version
2021-09-01 09:21:35 -07:00
Dharini Jeeva e7b553efda Update list-test.js 2021-09-01 08:48:08 -07:00
Dharini Jeeva b27fe14dbc Update create-test.js 2021-09-01 08:47:34 -07:00
Dharini Jeeva 726f6d31e2 Merge branch 'main' into target-create-list 2021-09-01 08:46:08 -07:00
Dharini Jeeva 1fb3e466c6 Merge branch 'main' into sessions 2021-09-01 08:44:36 -07:00
dharini 2a8d42eaba feat: 🎸 target create list 2021-08-31 23:34:32 -07:00
dharini 32c69624f9 fix: 🐛 remove jsconfig file 2021-08-31 19:49:56 -07:00
dharini 04af1a431f feat: 🎸 sessions create list capabilities 2021-08-31 19:41:11 -07:00
Carlos Alcaide a6b7837af1 chore: 🤖 Update tar version resolutions
Update tar version resolutions to avoid security vulnerability
2021-08-31 17:22:20 -07:00
Carlos Alcaide Corvo 9343121f23 Merge branch 'main' into chore-update-ember-cli 2021-08-31 17:11:42 -07:00
Carlos Alcaide e76bc73c11 chore: 🤖 Update ember-cli version
Update ember-cli version to the latest stable version
2021-08-31 17:10:11 -07:00
dharini f344d73f32 feat: 🎸 host catalogs create/list capability 2021-08-31 15:17:57 -07:00
Randall Morey eb185279b2 Merge branch 'main' into chore-flight-icons-npm 2021-08-31 15:13:38 -04:00
Randall Morey 0dd0e16783 feature: implement scope update capability 2021-08-31 15:03:40 -04:00
Dharini Jeeva cb18e011a9 Merge branch 'main' into auth-create-list 2021-08-31 11:15:15 -07:00
dharini 09d9432825 fix: 🐛 del jsconfig file 2021-08-31 11:13:27 -07:00
dharini 3ae2423aa4 fix: 🐛 remove unnecessary change 2021-08-31 11:06:16 -07:00
dharini ab1a642f66 fix: 🐛 show dropdown link 2021-08-31 10:56:54 -07:00
Dharini Jeeva d94c4921c8 Merge branch 'main' into roles-create-list 2021-08-31 08:57:39 -07:00
Dharini Jeeva 910c0e4316 Merge branch 'main' into group-create-list 2021-08-31 08:57:21 -07:00
dharini 4f74f8578e fix: 🐛 resource name 2021-08-31 08:55:36 -07:00
dharini 77b1ca477d fix: 🐛 tests 2021-08-31 08:17:25 -07:00
dharini e291956c1b test: 💍 fix tests 2021-08-31 07:46:52 -07:00
Susmitha Girumala 8b51bcf95b Merge pull request #724 from hashicorp/chore-delete-xmldom-resolutions
chore: 🤖 Delete xmldom from resolutions
2021-08-31 10:25:15 -04:00
dharini ce286964d1 fix: 🐛 tests fix 2021-08-30 21:49:48 -07:00
dharini c971d6d2ce feat: 🎸 auth methods capability 2021-08-30 19:16:58 -07:00
Randall Morey 064c857d20 Merge branch 'feature-user-collection-abilities' into feature-scope-capabilities 2021-08-30 17:24:08 -04:00
Carlos Alcaide 161cf3cd53 chore: 🤖 Delete xmldom from resolutions
Delete xmldom from resolutions
2021-08-30 14:18:39 -07:00
Susmitha Girumala 2d1475d211 chore: Update debian maker version to allow nodev12 support 2021-08-30 10:44:51 -04:00
dharini fc4dab606e feat: 🎸 roles 2021-08-29 22:57:16 -07:00
dharini 3a3fdf2396 feat: 🎸 grp create/list 2021-08-27 13:09:00 -07:00
Randall Morey c82269c960 chore: switch back to 24 2021-08-27 15:31:30 -04:00
Randall Morey 87619dc9dc test: 💍 separate delete and update tests 2021-08-27 14:43:18 -04:00
Randall Morey 99baefaffc chore: 🤖 switch doc link to 16px style 2021-08-27 13:37:46 -04:00
Dharini Jeeva 40c2acd6ab Update list-test.js 2021-08-27 10:17:34 -07:00
Susmitha Girumala 4eaceabb00 chore: Enable electron frame only in macos 2021-08-27 11:35:44 -04:00
Susmitha Girumala a1cfa84919 chore: Create release folder for desktop builds 2021-08-27 11:28:00 -04:00
dharini 350c4f5f70 fix: 🐛 test 2021-08-27 08:06:24 -07:00
Randall Morey 7fb4110a1b chore: increase doc link icon size to 24 2021-08-26 10:49:29 -04:00
Randall Morey a400892790 chore: tweak doc icon size; switch sessions icon 2021-08-26 10:48:15 -04:00
Randall Morey dae42c7288 chore: pin flight-icons at 0.0.6-beta 2021-08-26 10:14:14 -04:00
Randall Morey 8ad6664a10 Merge pull request #721 from hashicorp/amyrlam/npm-tweak
Update flight-icons package and size tweak
2021-08-26 10:12:27 -04:00
dharini b5fdb850f6 test: 💍 add test 2021-08-26 00:02:57 -07:00
dharini b2f11f712b grp 2021-08-25 23:43:07 -07:00
Amy Lam b4d36438a4 Update icon to 24
In the dev tools the viewBox should be 24. @hashicorp/flight-icons now uses 16 as default.
2021-08-25 19:53:16 -07:00
Amy Lam 1017295a85 Update package 2021-08-25 19:29:54 -07:00
Randall Morey b0326e0c99 test: add user create test and stubbed list test 2021-08-25 16:24:26 -04:00
Randall Morey fc1d5ff0ca Merge branch 'main' into feature-user-collection-abilities 2021-08-25 15:42:52 -04:00
Randall Morey a54ae21858 chore: revert to flight-icons 0.0.3-beta due to breaking change 2021-08-25 15:23:52 -04:00
Randall Morey 30cc58cd56 Merge branch 'chore-flight-icons-npm' of https://github.com/hashicorp/boundary-ui into chore-flight-icons-npm 2021-08-25 15:13:34 -04:00
Randall Morey 59934559a5 chore: bump flight-icons to 0.0.4-beta 2021-08-25 15:13:24 -04:00
Randall Morey b8e99ce389 Merge branch 'main' into chore-flight-icons-npm 2021-08-25 15:02:39 -04:00
Susmitha Girumala 7d96d9125f fix: Update electron artifacts folder name 2021-08-25 14:17:29 -04:00
Randall Morey 4a0f1d04f2 fix: fix broken lockfile link 2021-08-25 10:57:47 -04:00
Randall Morey 1165d21ef6 chore: 🤖 consume flight icons from npm package 2021-08-25 10:52:20 -04:00
Susmitha Girumala 2fff4ab587 chore: Add vagrantfile for desktop ubuntu tests 2021-08-25 10:31:18 -04:00
Susmitha Girumala 2da521d643 fix: Update debian package name to boundary-desktop 2021-08-25 10:05:23 -04:00
Susmitha Girumala c10838234a feat: Add debian electron package maker 2021-08-25 10:05:23 -04:00
Dharini Jeeva b652f759c8 Merge pull request #716 from hashicorp/hosts
feat: 🎸 host read/del/update capability
2021-08-24 14:33:46 -07:00
Dharini Jeeva 0fc32bcbf7 Merge branch 'main' into hosts 2021-08-24 14:13:02 -07:00
Dharini Jeeva 329cf802d8 Merge branch 'main' into feature-user-collection-abilities 2021-08-24 13:59:44 -07:00
Dharini Jeeva 05178cc3a5 Merge pull request #715 from hashicorp/host-sets
Host sets read/del/update capabilities
2021-08-24 13:59:23 -07:00
Randall Morey 689fc249d8 Merge branch 'main' into feature-user-collection-abilities 2021-08-24 16:54:03 -04:00
Randall Morey 03e06a22a4 feat: 🎸 add messages for insufficient permissions 2021-08-24 16:47:33 -04:00
Dharini Jeeva 39b71aa526 Merge branch 'main' into host-sets 2021-08-24 13:45:25 -07:00
Dharini Jeeva 0053b09285 Merge pull request #714 from hashicorp/host-catalog
Host catalog capabilities
2021-08-24 13:45:11 -07:00
Dharini Jeeva 1e1387700c Merge branch 'main' into host-catalog 2021-08-24 13:31:43 -07:00
Dharini Jeeva f6016453f1 Merge branch 'main' into host-sets 2021-08-24 13:31:38 -07:00
Dharini Jeeva afccd0a9f7 Merge branch 'main' into hosts 2021-08-24 13:31:13 -07:00
Randall Morey a79ec87954 Merge branch 'main' into feature-user-collection-abilities 2021-08-24 15:02:00 -04:00
Randall Morey ec7e66160f Merge pull request #713 from hashicorp/feature-collection-abilities
Feature collection abilities
2021-08-24 15:01:21 -04:00
Dharini Jeeva cb0c03264f Merge branch 'main' into host-sets 2021-08-24 11:50:58 -07:00
Dharini Jeeva ababc5812d Merge branch 'main' into hosts 2021-08-24 11:50:14 -07:00
Randall Morey 46160aad6f Merge branch 'main' into feature-collection-abilities 2021-08-24 14:49:54 -04:00
Dharini Jeeva d881b57b87 Merge pull request #718 from hashicorp/cred-store-capabilities
Cred store capabilities
2021-08-24 11:49:41 -07:00
Randall Morey f510d2f4fe chore: add create and list to mock user 2021-08-24 14:46:21 -04:00
Dharini Jeeva 01e8b22a92 Merge branch 'main' into host-catalog 2021-08-24 08:09:47 -07:00
dharini 876fc0c71f feat: 🎸 cred store capabilities 2021-08-23 15:55:20 -07:00
dharini 858a3420e1 Merge branch 'main' of github.com:hashicorp/boundary-ui 2021-08-23 10:36:48 -07:00
Randall Morey d7735bd402 Merge branch 'main' into feature-collection-abilities 2021-08-20 15:04:41 -04:00
Randall Morey 0232570831 feature(capabilities): preliminary user create/list abilities 2021-08-20 14:58:43 -04:00
Dharini Jeeva 3fd8d2d01f Merge branch 'main' into hosts 2021-08-20 11:42:50 -07:00
dharini 73db666f43 Merge branch 'host-sets' of github.com:hashicorp/boundary-ui into host-sets 2021-08-20 11:14:45 -07:00
dharini 3506b34863 fix: 🐛 add else block 2021-08-20 11:14:21 -07:00
dharini 7d08d69db0 fix: 🐛 add else block 2021-08-20 10:52:26 -07:00
Randall Morey bdb38a5324 chore: 🤖 upgrade to chevron-left from flight 2021-08-20 13:51:45 -04:00
dharini c3381bc6fc fix: 🐛 add else block 2021-08-20 10:39:58 -07:00
Carlos Alcaide Corvo 8118781d06 Merge pull request #710 from hashicorp/chore-add-path-parse-yarn-resolutions
chore: 🤖 Add path transitive dep. to yarn resolutions
2021-08-20 08:46:39 -07:00
Carlos Alcaide Corvo 10a133b2af Merge branch 'main' into chore-add-path-parse-yarn-resolutions 2021-08-20 08:22:47 -07:00
Dharini Jeeva ee5b346275 Merge branch 'main' into feature-collection-abilities 2021-08-19 16:38:58 -07:00
Dharini Jeeva f6aa9ef7cf Merge branch 'main' into host-sets 2021-08-19 16:22:57 -07:00
dharini e7db3cb327 fix: 🐛 restructure tests 2021-08-19 16:17:54 -07:00
Dharini Jeeva 9794116562 Merge branch 'main' into host-catalog 2021-08-19 16:08:57 -07:00
dharini 7c377506c8 feat: 🎸 host catalog capabilities 2021-08-19 16:06:47 -07:00
Dharini Jeeva 5a1e3e235a Merge pull request #711 from hashicorp/desktop-target-capability
Desktop target capability
2021-08-19 15:03:51 -07:00
Randall Morey 3c83375d84 Update collection.js 2021-08-19 17:55:05 -04:00
Randall Morey 4256c7e552 Update collection.js 2021-08-19 17:54:35 -04:00
Randall Morey 6cbde9c982 Update collection.js 2021-08-19 17:54:12 -04:00
Randall Morey 4659b54e9e feat: 🎸 add ui-level navigation ability 2021-08-19 17:52:27 -04:00
dharini f22922ee60 fix: 🐛 restructure tests 2021-08-19 14:42:21 -07:00
Randall Morey 7fd7613c30 test: correct collection test 2021-08-19 17:33:52 -04:00
Randall Morey 7478aa8f09 feature(capabilities): add base collection ability class 2021-08-19 17:25:46 -04:00
dharini 128f963d47 Merge branch 'main' of github.com:hashicorp/boundary-ui 2021-08-19 14:25:32 -07:00
dharini 884a0ebbc5 fix: 🐛 update route 2021-08-19 14:19:03 -07:00
Carlos Alcaide Corvo eba1c7ad57 Merge branch 'main' into chore-add-path-parse-yarn-resolutions 2021-08-19 08:01:37 -07:00
Dharini Jeeva 64928feef2 Merge branch 'main' into desktop-target-capability 2021-08-18 16:14:55 -07:00
Dharini Jeeva 22156bdead Merge pull request #709 from hashicorp/fix-user-delete
fix: 🐛 delete user capability
2021-08-18 16:14:40 -07:00
dharini 50eb86b736 Merge branch 'main' of github.com:hashicorp/boundary-ui 2021-08-18 16:14:14 -07:00
dharini 4b039c9f59 feat: 🎸 host capability 2021-08-18 15:56:25 -07:00
Randall Morey 1846eae462 Merge branch 'main' into fix-user-delete 2021-08-18 17:16:19 -04:00
Randall Morey 25228d3855 Merge pull request #707 from hashicorp/auth-capabilities
feat: 🎸 auth capabilities
2021-08-18 17:16:09 -04:00
Dharini Jeeva 4f471c9799 Merge branch 'main' into desktop-target-capability 2021-08-18 14:09:08 -07:00
Susmitha Girumala 12d063a440 Merge branch 'main' into chore-add-path-parse-yarn-resolutions 2021-08-18 17:08:43 -04:00
Randall Morey 79c90b5183 Merge branch 'main' into auth-capabilities 2021-08-18 17:00:30 -04:00
Randall Morey 1f0d79aac3 Merge pull request #702 from hashicorp/roles-capabilities
feat: 🎸 role capabilities
2021-08-18 17:00:20 -04:00
dharini 2d35037365 feat: 🎸 hostset capability 2021-08-18 13:03:28 -07:00
Randall Morey 5cdc7af588 chore: 🤖 remove last usage of structure-icons 2021-08-18 13:33:40 -04:00
Randall Morey 6b9c8192a9 chore: convert test icon usage to flight 2021-08-18 12:51:40 -04:00
Randall Morey c84b561a58 chore: remove storybook usage of non-flight icons 2021-08-18 12:49:51 -04:00
Randall Morey e248bbe200 chore: 🤖 upgrade alert and cancel icons to flight 2021-08-18 12:38:17 -04:00
Randall Morey 5ce8355a2a chore: 🤖 upgrade auth method state icons to flight 2021-08-18 12:09:20 -04:00
Randall Morey c9b90db36d chore: 🤖 upgrade more-horizontal icon to flight 2021-08-18 12:01:31 -04:00
Randall Morey 7f022fc64c chore: 🤖 upgrade help and alert icons to flight 2021-08-18 11:53:44 -04:00
Randall Morey 2d32726207 chore: 🤖 upgrade trash icon to flight 2021-08-18 10:46:11 -04:00
Randall Morey 3d4bd2adf9 chore: 🤖 upgrade clipboard copy icons to flight 2021-08-18 10:03:16 -04:00
dharini 485f11cb01 fix: 🐛 add test 2021-08-17 23:42:11 -07:00
dharini 2545753c2c feat: 🎸 add test 2021-08-17 23:27:45 -07:00
Dharini Jeeva c1654180c4 Update targets-test.js 2021-08-17 16:15:37 -07:00
dharini 025297c619 desktop target read capability 2021-08-17 15:23:23 -07:00
dharini 39ec40d488 desktop target read capability 2021-08-17 15:16:28 -07:00
Carlos Alcaide ce01358a7e chore: 🤖 Add path transitive dep. to yarn resolutions
Add path-parse transitive dependency to yarn resolutions to fix a
security vulnerability with older versions of that library.
2021-08-17 15:07:28 -07:00
Randall Morey 4ed0178c7a chore: 🤖 upgrade resource icons to flight 2021-08-17 17:12:45 -04:00
Dharini Jeeva 4b84eec59d Merge branch 'main' into auth-capabilities 2021-08-17 13:39:26 -07:00
Randall Morey 40168fa8c4 Merge branch 'main' into roles-capabilities 2021-08-17 16:33:06 -04:00
dharini 044fe778af Merge branch 'main' of github.com:hashicorp/boundary-ui 2021-08-17 13:14:03 -07:00
Randall Morey 3a1416e2ff chore: 🤖 update user profile icon to flight 2021-08-17 16:13:36 -04:00
Randall Morey dc0e866796 chore: 🤖 upgrade global, org, and project icons to flight 2021-08-17 15:53:21 -04:00
Dharini Jeeva fe3b5e905f Merge branch 'main' into fix-user-delete 2021-08-17 11:12:28 -07:00
dharini 42bc4c1777 fix: 🐛 enclose delete user with if block 2021-08-17 11:06:57 -07:00
Carlos Alcaide Corvo 59565cf194 Merge pull request #706 from hashicorp/chore-update-jszip-resolutions
chore: 🤖 Add jszip to resolutions
2021-08-17 10:57:28 -07:00
Carlos Alcaide Corvo 8cfcf47900 Merge branch 'main' into chore-update-jszip-resolutions 2021-08-17 10:45:49 -07:00
Dharini Jeeva 15522f31af Update auth-method.js 2021-08-17 08:47:16 -07:00
dharini da04a190e6 fix: 🐛 add missing test and remove jsconfig files 2021-08-17 08:42:50 -07:00
Dharini Jeeva 3cc5456bde Merge branch 'main' into roles-capabilities 2021-08-17 08:13:55 -07:00
Randall Morey f98bfc2130 Merge pull request #708 from hashicorp/target-capabilities
feat: 🎸 target capabilities
2021-08-17 10:19:24 -04:00
Randall Morey 168e7fbac6 Merge branch 'main' into target-capabilities 2021-08-17 10:02:10 -04:00
Randall Morey 7e29d47b70 Merge pull request #701 from hashicorp/groups-capabilities
Groups capabilities
2021-08-17 10:01:47 -04:00
Randall Morey a03983e2f3 Merge branch 'main' into groups-capabilities 2021-08-17 09:47:18 -04:00
Randall Morey b5b2f61cbe Merge pull request #700 from hashicorp/feat-scope-capabilities
Feat user capabilities
2021-08-17 09:47:08 -04:00
Randall Morey 84fe240c1f Merge branch 'main' into groups-capabilities 2021-08-17 09:36:33 -04:00
Randall Morey 27f8be2213 Merge branch 'main' into feat-scope-capabilities 2021-08-17 09:34:37 -04:00
Randall Morey 382c4cbc7e Merge pull request #704 from hashicorp/feature-cred-library-capabilities
feat: 🎸 credential library read/update/delete capabilities
2021-08-17 09:25:32 -04:00
dharini 3b1837999b Merge branch 'feat-scope-capabilities' of github.com:hashicorp/boundary-ui into feat-scope-capabilities 2021-08-16 17:21:17 -07:00
dharini a1c4d00eed add test 2021-08-16 17:18:35 -07:00
dharini c2ffe19d44 fix: 🐛 test cases 2021-08-16 17:10:18 -07:00
Dharini Jeeva 14d96a4a8a Update update-test.js 2021-08-16 17:08:31 -07:00
Dharini Jeeva 5284514a05 Update read-test.js 2021-08-16 17:08:19 -07:00
Dharini Jeeva a39752d1c9 Update delete-test.js 2021-08-16 17:08:07 -07:00
Dharini Jeeva b0bd9b6808 Update update-test.js 2021-08-16 17:07:00 -07:00
Dharini Jeeva 2cca6fe005 Update read-test.js 2021-08-16 17:06:45 -07:00
Dharini Jeeva 455b1a29b0 Update delete-test.js 2021-08-16 17:06:34 -07:00
Dharini Jeeva cdb9761be6 Merge branch 'main' into roles-capabilities 2021-08-16 17:06:18 -07:00
Dharini Jeeva 0ac657e378 Update update-test.js 2021-08-16 17:06:08 -07:00
Dharini Jeeva 00b62a6f50 Update read-test.js 2021-08-16 17:05:53 -07:00
Dharini Jeeva f57619d1fc Update delete-test.js 2021-08-16 17:05:42 -07:00
Dharini Jeeva 2d24617dba Merge branch 'main' into auth-capabilities 2021-08-16 17:05:10 -07:00
Dharini Jeeva abc9687261 Update update-test.js 2021-08-16 17:04:53 -07:00
Dharini Jeeva 24c62fbd46 Update read-test.js 2021-08-16 17:04:38 -07:00
Dharini Jeeva 951f69d4b2 Update delete-test.js 2021-08-16 17:04:18 -07:00
Dharini Jeeva 55ead33b4a Merge branch 'main' into target-capabilities 2021-08-16 17:01:18 -07:00
Dharini Jeeva 8adf4bb95b Update delete-test.js 2021-08-16 16:58:48 -07:00
Dharini Jeeva 6c7483cbf2 Update update-test.js 2021-08-16 16:58:25 -07:00
Dharini Jeeva bf2e267696 Update read-test.js 2021-08-16 16:58:07 -07:00
Dharini Jeeva d8de56ecf4 Merge branch 'main' into feature-cred-library-capabilities 2021-08-16 15:58:43 -07:00
Dharini Jeeva 59932f52db Merge branch 'main' into feat-scope-capabilities 2021-08-16 15:49:59 -07:00
Carlos Alcaide Corvo dffc236860 Merge branch 'main' into chore-update-jszip-resolutions 2021-08-16 14:54:11 -07:00
Carlos Alcaide d76a4b0055 chore: 🤖 Add jszip to resolutions
Add jszip to the resolutions to solve security vulnerability
2021-08-16 14:53:11 -07:00
Susmitha Girumala 3728e4cd51 Merge pull request #705 from hashicorp/chore-update-tar-resolutions
chore: 🤖 Update tar resolutions
2021-08-16 17:49:09 -04:00
Carlos Alcaide b7bd40c688 chore: 🤖 Update tar resolutions 2021-08-16 14:29:30 -07:00
dharini 47d4366397 feat: 🎸 auth capabilities
auth capabilities
2021-08-16 13:31:28 -07:00
Randall Morey 9abb540d7f feat: 🎸 credential library read/update/delete capabilities 2021-08-16 16:12:55 -04:00
dharini 155ed7a6be feat: 🎸 capabilities impl- target 2021-08-16 10:18:46 -07:00
Randall Morey 699672218d Merge branch 'main' into groups-capabilities 2021-08-12 16:56:05 -04:00
Randall Morey 8bfd9bd7a3 Merge pull request #703 from hashicorp/chore-capabilities-feature-flag
chore: 🤖 abilities should check the capabilities feature flag
2021-08-12 16:55:40 -04:00
dharini a1f428550d fix: 🐛 typo 2021-08-12 13:47:07 -07:00
dharini 3fa6332ab4 test: 💍 add test 2021-08-12 13:29:33 -07:00
Randall Morey 9f6cfe4edb chore: 🤖 abilities should check the capabilities feature flag 2021-08-12 16:24:16 -04:00
dharini 7cde048ac1 fix: 🐛 name update 2021-08-12 11:48:21 -07:00
dharini ee390a6fea update name 2021-08-12 11:23:02 -07:00
dharini 7e3096f849 update name 2021-08-12 11:22:20 -07:00
dharini 16c03a088b fix: 🐛 sync up yarn lock 2021-08-12 11:19:33 -07:00
dharini 28e2b67aa8 fix: 🐛 remove redudant test cases 2021-08-12 11:04:47 -07:00
dharini b69f964b43 feat: 🎸 role capabilities 2021-08-12 10:35:33 -07:00
dharini 84bb640340 fix: 🐛 updates 2021-08-12 08:29:28 -07:00
dharini dbc06a4e0a test: 💍 add tests 2021-08-11 17:33:54 -07:00
dharini 3d900f5a2b feat: 🎸 group capabilities 2021-08-11 16:38:20 -07:00
dharini e50ea4b555 fix: 🐛 lint 2021-08-11 14:39:05 -07:00
dharini 119cbbe815 feat: 🎸 user capabilities 2021-08-11 13:51:18 -07:00
Randall Morey 6e95686b9a Merge pull request #692 from hashicorp/chore-tar-update-resolutions
chore: 🤖 Update tar dependency resolutions
2021-08-11 11:16:45 -04:00
Randall Morey 4f5c0a3e98 chore: rebuild yarn.lock to resolve merge conflicts 2021-08-11 10:46:19 -04:00
Randall Morey 0c9ba7e7a7 Merge pull request #688 from hashicorp/poc-ui-capabilities
API support for UI capabilities
2021-08-11 10:40:04 -04:00
Randall Morey b78726caff Merge pull request #689 from hashicorp/feature-singular-account-capabilities
feat: 🎸 apply base singular capabilities to account
2021-08-11 09:30:18 -04:00
Randall Morey d10de61fb4 Merge pull request #697 from hashicorp/chore-capabilities-toggle
chore: 🤖 adds support for development capabilities toggle
2021-08-11 09:30:04 -04:00
Randall Morey aced3207f3 Merge branch 'main' into chore-tar-update-resolutions 2021-08-10 16:46:15 -04:00
Randall Morey 14f6b30b26 chore: 🤖 adds support for development capabilities toggle 2021-08-10 16:19:06 -04:00
Randall Morey fb85869e2c Merge branch 'main' into poc-ui-capabilities 2021-08-10 16:18:05 -04:00
Susmitha Girumala 03ce03bebf Merge pull request #694 from hashicorp/desktop-sessions-mirage-config
chore: 🤖 Fix missing target in sessions scenarios in mirage
2021-08-10 08:48:01 -04:00
Susmitha Girumala 1e04c696ad Merge branch 'main' into desktop-sessions-mirage-config 2021-08-10 08:35:15 -04:00
Carlos Alcaide Corvo 89055089a3 Merge branch 'main' into chore-tar-update-resolutions 2021-08-09 14:01:00 -07:00
Carlos Alcaide Corvo f4e20b87c7 Merge pull request #693 from hashicorp/chore-update-xmldom-resolutions
chore: 🤖 Update xmldom dependency resolution
2021-08-09 13:10:52 -07:00
Susmitha Girumala f402819945 chore: 🤖 Fix missing target in sessions scenarios in mirage 2021-08-09 09:09:18 -04:00
Susmitha Girumala cd2523bc20 Merge branch 'main' into poc-ui-capabilities 2021-08-09 08:44:39 -04:00
Carlos Alcaide 7f994e9597 chore: 🤖 Update xmldom dependency resolution
Update xmldom transitive dependency resolution to avoid a security
vulnerability.
2021-08-06 11:05:07 -07:00
Carlos Alcaide 07e16ef71b chore: 🤖 Update tar dependency resolutions
Update tar transitive dependency resolutions to avoid security
vulnerability
2021-08-06 10:13:00 -07:00
Susmitha Girumala ca56c37fb0 Merge pull request #690 from hashicorp/bump-desktop-cli-version
chore: Bump cli version used by desktop
2021-08-05 15:20:51 -04:00
Susmitha Girumala 5e2d9e9e2b chore: Bump cli version used by desktop 2021-08-05 15:08:08 -04:00
Randall Morey 74df923775 feat: 🎸 apply base singular capabilities to account 2021-08-05 13:29:33 -04:00
Randall Morey 839962186f chore: 🤖 complete singular abilities for account 2021-08-05 13:21:03 -04:00
Randall Morey 86fbbe7cdf test: 💍 fix tests for authorized_actions field 2021-08-04 17:58:08 -04:00
Randall Morey 7b51d15ba4 chore: manual merge from main 2021-08-04 11:31:07 -04:00
Susmitha Girumala d0ca5cc041 Merge pull request #685 from hashicorp/use-external-version-file-for-desktop-cli
chore: Refactor cli version into a VERSION file
2021-08-03 14:40:06 -04:00
Susmitha Girumala 310539e2de Merge branch 'main' into use-external-version-file-for-desktop-cli 2021-08-03 14:12:30 -04:00
Susmitha Girumala 9da86f8411 Merge pull request #684 from hashicorp/bump-desktop-changelog
docs: Bump desktop changelog for next release
2021-08-03 14:12:21 -04:00
Susmitha Girumala 76e721bd91 chore: Check for http error status codes including 400 2021-08-03 13:16:10 -04:00
Susmitha Girumala a19aa2ff0c chore: Refactor cli version into it's own file
In addition, fail cli setup step for desktop build when cli cannot be
downloaded and extracted successfully
2021-08-03 13:11:21 -04:00
Susmitha Girumala cdecf570e2 docs: Bump desktop changelog for next release 2021-08-02 18:02:59 -04:00
Susmitha Girumala c04c8f4f0a Merge pull request #683 from hashicorp/enable-credentials-brokering-feature
chore: Enable credential brokering feature in admin
2021-07-29 17:09:16 -04:00
Susmitha Girumala 8fb33b8ff5 chore: Enable credential brokering feature in admin 2021-07-29 15:14:28 -04:00
Susmitha Girumala e89f31a93b Merge pull request #682 from hashicorp/label-update-for-target-associations
refactor: Rename target host sets and credential libraries
2021-07-29 15:13:51 -04:00
Susmitha Girumala 518bf19318 Merge branch 'main' into label-update-for-target-associations 2021-07-29 14:37:02 -04:00
Susmitha Girumala d35823fae6 Merge pull request #681 from hashicorp/target-credential-source-association-tests
test: Add target association tests for credential libraries
2021-07-29 14:36:52 -04:00
Susmitha Girumala 0231dabbe6 refactor: Rename target host sets and credential libraries
Rename to Target Host Sources and Credential Sources
2021-07-29 14:17:58 -04:00
Susmitha Girumala 263d2b8d95 Merge branch 'main' into target-credential-source-association-tests 2021-07-29 13:53:18 -04:00
Susmitha Girumala 98537f708c Merge pull request #680 from hashicorp/fix-doc-naming
fix: credential library naming does not change
2021-07-29 13:53:05 -04:00
Susmitha Girumala 5596d55035 Merge branch 'main' into fix-doc-naming 2021-07-29 13:00:48 -04:00
Susmitha Girumala a8f1780731 test: Add target association tests for credential libraries 2021-07-29 12:59:54 -04:00
Randall Morey 8e6988c179 formatting 2021-07-29 12:21:03 -04:00
Susmitha Girumala ea293d947f Merge pull request #663 from hashicorp/refactor-delete-jquery
refactor: 💡 Delete jQuery and refactor handler
2021-07-29 11:18:02 -04:00
Randall Morey d23afb1c71 fix: credential library naming does not change 2021-07-29 10:34:33 -04:00
Carlos Alcaide Corvo b8ec749d03 Merge branch 'main' into refactor-delete-jquery 2021-07-29 07:25:46 -07:00
Susmitha Girumala 0c5c9387b5 Merge pull request #676 from hashicorp/test-credential-library-create-errors
Test credential library create errors
2021-07-29 10:19:43 -04:00
Susmitha Girumala bbbd5cea65 Merge branch 'main' into test-credential-library-create-errors 2021-07-29 09:34:07 -04:00
Susmitha Girumala 66888a4c95 Merge pull request #675 from hashicorp/credential-store-attributes
Add Credential Store Attributes
2021-07-29 09:33:48 -04:00
Susmitha Girumala ca35246a7b Merge branch 'main' into credential-store-attributes 2021-07-29 09:01:34 -04:00
Susmitha Girumala 16fe712f4e Merge pull request #678 from hashicorp/doc-links
docs: ✏️ add doc links for cred stores and sources
2021-07-29 09:01:16 -04:00
Randall Morey 296b5fbecd docs: ✏️ add doc links for cred stores and sources 2021-07-28 16:27:40 -04:00
Carlos Alcaide 4240bbee56 test: 💍 Change assertion
Change assertion to avoid false positive
2021-07-28 10:51:57 -07:00
Susmitha Girumala c3a9ecb0ec Merge remote-tracking branch 'origin' into credential-store-attributes 2021-07-28 13:22:57 -04:00
Susmitha Girumala e40ff1f63c fix: Protect credentialstore attrs hmac values in serializati 2021-07-28 13:22:47 -04:00
Carlos Alcaide Corvo 87479b8e3c Merge branch 'main' into test-credential-library-create-errors 2021-07-28 10:17:14 -07:00
Carlos Alcaide 264f81a6f3 refactor: 💡 Prevent opening unknown
Prevent opening unknown links
2021-07-28 10:16:37 -07:00
Carlos Alcaide Corvo 772c8b38c0 Merge branch 'main' into refactor-delete-jquery 2021-07-28 10:08:24 -07:00
Carlos Alcaide Corvo 03aa4f32f1 Merge pull request #677 from hashicorp/chore-update-sass
chore: 🤖 Update Sass version
2021-07-28 07:57:12 -07:00
Carlos Alcaide Corvo 0b145fac47 Merge branch 'main' into chore-update-sass 2021-07-28 07:46:38 -07:00
Susmitha Girumala 9bd7193833 Merge pull request #674 from hashicorp/add-type-field-to-credential-library
fix: Add type field to Credential Library
2021-07-28 10:20:19 -04:00
Carlos Alcaide f3a4017e5f chore: 🤖 Update Sass version 2021-07-27 15:35:51 -07:00
Carlos Alcaide Corvo 43eca819bf Merge branch 'main' into refactor-delete-jquery 2021-07-27 14:55:02 -07:00
Carlos Alcaide Corvo 9aa3f8f5ad Merge branch 'main' into test-credential-library-create-errors 2021-07-27 14:32:59 -07:00
Carlos Alcaide 8cceb4090f refactor: 💡 Change save crdential library behaviour
Change save credential library behaviour to not redirect after saving a
change
2021-07-27 14:27:13 -07:00
Carlos Alcaide dc7ebec668 test: 💍 Add creation error test
Add credential library creation error tests
2021-07-27 14:15:59 -07:00
Susmitha Girumala cffa419dd6 Merge branch 'main' into add-type-field-to-credential-library 2021-07-27 14:45:15 -04:00
Susmitha Girumala 83a938fada Merge pull request #673 from hashicorp/remove-credential-library-from-a-target
feat: Remove a Credential Library Added to a Target
2021-07-27 14:45:04 -04:00
Susmitha Girumala 61c80518de feat: Add credential store attributes to it's form 2021-07-27 14:32:32 -04:00
Susmitha Girumala d1119efd11 Merge branch 'main' into remove-credential-library-from-a-target 2021-07-27 12:31:31 -04:00
Susmitha Girumala a9cb6f35f9 Merge pull request #671 from hashicorp/credential-list-test
test: Credential Library List Acceptance Tests
2021-07-27 12:30:02 -04:00
Dharini Jeeva 6f85419675 Merge pull request #672 from hashicorp/del-test
test: Credential library deletion error test
2021-07-27 09:11:03 -07:00
Susmitha Girumala 0cb90353f0 fix: Add type field to credential library 2021-07-27 11:52:02 -04:00
dharini cd9f05962c fix: 🐛 spelling, merge conflicts 2021-07-27 08:31:25 -07:00
Susmitha Girumala 9d342cf517 feat: Remove a credential library associated to a target 2021-07-27 11:22:06 -04:00
dharini 88fc063ab9 Merge branch 'main' of github.com:hashicorp/boundary-ui 2021-07-27 08:21:50 -07:00
Susmitha Girumala d3e707d740 Merge pull request #670 from hashicorp/test-credential-library-create
test: 💍 Add credential library creation acceptance test
2021-07-27 10:40:44 -04:00
Susmitha Girumala fc4af516a2 Merge branch 'main' into test-credential-library-create 2021-07-27 10:26:47 -04:00
Susmitha Girumala edb8836a2c Merge pull request #667 from hashicorp/add-credential-libraries-to-a-target
Add Credential Libraries to a Target
2021-07-27 10:26:08 -04:00
Susmitha Girumala b29f877e35 Merge branch 'main' into add-credential-libraries-to-a-target 2021-07-27 10:15:54 -04:00
Susmitha Girumala e299740951 Merge pull request #668 from hashicorp/credentials-store-icon-update
style: Update Credentials Store Icon
2021-07-27 10:15:47 -04:00
Susmitha Girumala 03fbc19c2c Merge remote-tracking branch 'origin/main' into add-credential-libraries-to-a-target 2021-07-27 10:04:04 -04:00
Susmitha Girumala e42647e6a2 fix: Add missing empty credential libraries message 2021-07-27 10:03:56 -04:00
Susmitha Girumala a03a3811d4 Merge branch 'main' into credentials-store-icon-update 2021-07-27 09:58:55 -04:00
Susmitha Girumala d4ef4bc58c Merge pull request #666 from hashicorp/target-credential-libraries-list
List Credential Libraries in a Target
2021-07-27 09:53:45 -04:00
Susmitha Girumala 3d7166d059 Merge branch 'main' into target-credential-libraries-list 2021-07-27 09:22:46 -04:00
dharini 025ae1bfe2 test: 💍 Credential library deletion error test 2021-07-26 16:58:23 -07:00
dharini 0bc4cd6e21 test: 💍 add cred list tests 2021-07-26 16:43:28 -07:00
Carlos Alcaide 4a6555317a test: 💍 Add credential library creation acceptance test
Add credential library creation acceptance test
2021-07-26 15:37:36 -07:00
Dharini Jeeva be7e3bb56e Merge pull request #669 from hashicorp/del-action
credential library - delete
2021-07-26 14:08:12 -07:00
Dharini Jeeva ed0c774714 Merge branch 'main' into del-action 2021-07-26 13:49:01 -07:00
Susmitha Girumala 2bdb008f65 Merge branch 'main' into target-credential-libraries-list 2021-07-26 16:46:38 -04:00
Susmitha Girumala 8109d7789c Merge pull request #665 from hashicorp/chore-update-ember-fetch
chore: 🤖 Update ember-fetch
2021-07-26 16:46:21 -04:00
Carlos Alcaide Corvo 3eb9f07fe0 Merge branch 'main' into refactor-delete-jquery 2021-07-26 13:09:35 -07:00
Carlos Alcaide a07cd9e1a1 refactor: 💡 Allow external links just for specific domain
Allow external links just for boundary.io domain. So far the only urls
we want to open externally are our own documentation
2021-07-26 13:09:08 -07:00
dharini bbbb1620f6 Merge branch 'main' into del-action 2021-07-26 12:43:03 -07:00
dharini 1d71e3bec8 feat: 🎸 delete action and tests
✅ Closes: #1996
2021-07-26 12:37:37 -07:00
Susmitha Girumala 63d302d716 style: Update credentials store icon 2021-07-26 14:41:33 -04:00
Susmitha Girumala 341baa76fc Merge branch 'main' into chore-update-ember-fetch 2021-07-26 14:37:56 -04:00
Susmitha Girumala cc6f0aa1b4 Merge pull request #664 from hashicorp/chore-update-ember-cli-app-version
chore: 🤖 Update ember-cli-app version dependency
2021-07-26 14:37:49 -04:00
Susmitha Girumala 1fb98f8ed3 Merge branch 'target-credential-libraries-list' into add-credential-libraries-to-a-target 2021-07-25 10:27:40 -04:00
Susmitha Girumala 08543e9868 Merge remote-tracking branch 'origin/main' into add-credential-libraries-to-a-target 2021-07-25 10:25:13 -04:00
Susmitha Girumala 0fbcf8e16e feat: Show message when no cred-libs are available in target 2021-07-25 10:25:09 -04:00
Susmitha Girumala 7ff569779c Merge branch 'main' into target-credential-libraries-list 2021-07-25 10:24:26 -04:00
Susmitha Girumala 8f2deadc49 feat: Add credential libraries association form in target 2021-07-25 10:11:11 -04:00
Susmitha Girumala 89b7d0345a fix: Add feature flag to target credential libraries list 2021-07-25 09:26:03 -04:00
dharini ad3b9ed684 add success message 2021-07-23 15:41:14 -07:00
dharini a7a84d64b9 feat: 🎸 add delete cred library action 2021-07-23 15:33:29 -07:00
Carlos Alcaide 7fd89bb946 chore: 🤖 Update ember-fetch 2021-07-23 15:15:24 -07:00
Carlos Alcaide dbfc21ace3 chore: 🤖 Update ember-cli-app-version dependency 2021-07-23 15:00:07 -07:00
Carlos Alcaide Corvo 7bd8d87ad2 Merge branch 'main' into refactor-delete-jquery 2021-07-23 14:42:03 -07:00
Carlos Alcaide f5b80f93d2 refactor: 💡 Delete jQuery and refactor handler
Delete jQuery from desktop client and refactor the handler using a
native electron way.
2021-07-23 14:38:26 -07:00
Susmitha Girumala 1e5d52410e refactor: Cleanup credential library parameter name 2021-07-23 17:34:31 -04:00
Susmitha Girumala 0dedbfb411 docs: Fix comment for listing target credential libraries 2021-07-23 17:04:39 -04:00
Randall Morey e376bb8e20 poc: basic user capabilities UI 2021-07-23 16:57:37 -04:00
Randall Morey 48dc8a392d feat: 🎸 add basic abilities modeling for read/update/delete 2021-07-23 16:40:51 -04:00
Susmitha Girumala 992df6b34b Merge pull request #662 from hashicorp/feat-credential-stores-empty-list
feat: 🎸 Add credential stores empty list message
2021-07-23 16:34:06 -04:00
Susmitha Girumala af7e539f3d feat: List credential libraries for a target 2021-07-23 16:33:45 -04:00
Carlos Alcaide Corvo 83f9ab5c61 Merge branch 'main' into feat-credential-stores-empty-list 2021-07-23 13:19:48 -07:00
Carlos Alcaide Corvo a9c06638c7 Merge pull request #659 from hashicorp/chore-update-eslint-config-prettier
chore: 🤖 Update eslint-config-prettier dependency
2021-07-23 13:19:40 -07:00
Carlos Alcaide Corvo 0637d805d3 Merge branch 'main' into chore-update-eslint-config-prettier 2021-07-23 12:57:57 -07:00
Susmitha Girumala f089200dc0 Merge branch 'main' into feat-credential-stores-empty-list 2021-07-23 15:50:34 -04:00
Susmitha Girumala 2726538c41 Merge pull request #661 from hashicorp/credential-library-read
Credential Library - Read
2021-07-23 15:50:17 -04:00
Susmitha Girumala b6291bd3c7 Merge branch 'main' into credential-library-read 2021-07-23 15:11:30 -04:00
Susmitha Girumala 0e89ecabdc Merge pull request #657 from hashicorp/chore-update-eslint
chore: 🤖 Update eslint dependency
2021-07-23 15:09:40 -04:00
Susmitha Girumala debf6fbe06 Merge branch 'main' into credential-library-read 2021-07-23 14:59:49 -04:00
Carlos Alcaide Corvo 517ba08f55 Merge branch 'main' into feat-credential-stores-empty-list 2021-07-23 11:56:09 -07:00
Carlos Alcaide 7f13365336 feat: 🎸 Add credential stores empty list message
Add credential stores empty list message with link to create a new one.
2021-07-23 11:28:11 -07:00
Susmitha Girumala 8ebdd995e3 Merge branch 'main' into chore-update-eslint 2021-07-23 13:19:09 -04:00
Susmitha Girumala e73cd828a5 Merge pull request #654 from hashicorp/target-credential-library-api-modeling
API: Target Credential Library api modeling
2021-07-23 13:18:26 -04:00
Susmitha Girumala d2a42f7468 Merge branch 'main' into target-credential-library-api-modeling 2021-07-23 13:08:19 -04:00
Susmitha Girumala b1614dc65d Merge pull request #647 from hashicorp/credential-library-create
Credential Library - Create
2021-07-23 13:08:04 -04:00
Susmitha Girumala 9931b8d3ca Merge branch 'credential-library-create' into credential-library-read 2021-07-23 09:30:21 -04:00
Susmitha Girumala b7e5477b3d fix: Shorten credential library POST form area 2021-07-23 09:29:42 -04:00
Susmitha Girumala 027371567b fix: Disable credential library view in non-edit mode 2021-07-22 18:02:29 -04:00
Susmitha Girumala 95612186d8 feat: View credential library details 2021-07-22 17:52:28 -04:00
Susmitha Girumala f7dd5ebe55 Merge branch 'main' into credential-library-create 2021-07-22 17:44:49 -04:00
Susmitha Girumala a6be658aa5 fix: Add error handling to credential-library creation form 2021-07-22 17:42:37 -04:00
Dharini Jeeva 123476a3a8 Merge pull request #658 from hashicorp/fieldset
fieldset usage
2021-07-22 14:00:28 -07:00
Carlos Alcaide Corvo d44528fc2c Merge branch 'main' into chore-update-eslint-config-prettier 2021-07-22 13:53:27 -07:00
Carlos Alcaide Corvo b2c85b9805 Merge branch 'main' into chore-update-eslint 2021-07-22 13:53:24 -07:00
dharini 03ce6be3ee fix: 🐛 cleanup 2021-07-22 13:44:02 -07:00
Susmitha Girumala a35c4e0ffd fix: Surface fieldset as a form component 2021-07-22 16:26:05 -04:00
Dharini Jeeva 710bcccfd5 Merge pull request #660 from hashicorp/update-font-weight
fix: 🐛 update fieldset font weight
2021-07-22 13:00:43 -07:00
dharini 8b9d945efb fix: 🐛 use named block 2021-07-22 10:24:56 -07:00
dharini aa2114062b fix: 🐛 update to semi bold to match labels 2021-07-22 10:13:33 -07:00
Carlos Alcaide 90055ea142 chore: 🤖 Update eslint-config-prettier dependency 2021-07-22 09:58:49 -07:00
dharini e1aa0c6bcb fix: 🐛 space 2021-07-22 09:45:45 -07:00
dharini af337626f5 feat: 🎸 add fieldset 2021-07-22 09:37:41 -07:00
Carlos Alcaide dad2d456d0 chore: 🤖 Update eslint dependency 2021-07-22 08:50:54 -07:00
Susmitha Girumala 9dac6fc446 Merge branch 'main' into target-credential-library-api-modeling 2021-07-22 11:38:13 -04:00
Carlos Alcaide Corvo 00348e4c55 Merge pull request #652 from hashicorp/feature-credential-store-crud-delete
feat: 🎸 Add credential store delete CRUD operation
2021-07-22 06:21:00 -07:00
Susmitha Girumala b0dd9bf803 Merge branch 'main' into credential-library-create 2021-07-21 18:19:53 -04:00
Carlos Alcaide 2e23bbea3e Fix typo 2021-07-21 15:09:21 -07:00
Carlos Alcaide Corvo 7e7bad050f Merge branch 'main' into feature-credential-store-crud-delete 2021-07-21 14:34:36 -07:00
Carlos Alcaide afadb1d83a Comment dropdown option to create a new library store until that route is available 2021-07-21 14:31:10 -07:00
Dharini Jeeva 52c9fb5570 Merge pull request #653 from hashicorp/add-align-attr
feat: 🎸 add inline alignment support to checkbox and radio
2021-07-21 14:20:49 -07:00
dharini 2dd3e13cd3 fix: 🐛 lint issues 2021-07-21 14:07:29 -07:00
Carlos Alcaide 74fa0876fb fix: 🐛 Fix translation misplacement 2021-07-21 14:01:57 -07:00
dharini c531553c07 Merge branch 'add-align-attr' of https://github.com/hashicorp/boundary-ui into add-align-attr 2021-07-21 13:33:35 -07:00
dharini 0ad6d027e6 fix: 🐛 space 2021-07-21 13:33:03 -07:00
Carlos Alcaide 2eb7084643 test: 💍 Adding acceptance test for delete CRUD
Add acceptance test for delete CRUD operation in credential stores
2021-07-21 13:31:48 -07:00
Dharini Jeeva 06d162ae89 Merge branch 'main' into add-align-attr 2021-07-21 13:04:52 -07:00
dharini c43ced0380 feat: 🎸 add toggle functionality 2021-07-21 13:01:59 -07:00
Susmitha Girumala 28a4a7304e feat: Add credential library add and remove methods to target 2021-07-21 15:46:21 -04:00
Susmitha Girumala e74fd0202e feat: API: Load credential libraries associated to a target 2021-07-21 15:46:21 -04:00
dharini 0823c1cb2d feat: 🎸 add stories for inline radio & checkbox, radiogrp 2021-07-21 12:39:24 -07:00
dharini d034631e4d fix: 🐛 add attr in storybook 2021-07-21 10:51:33 -07:00
Carlos Alcaide c5af15f4c1 Add missing translation after rebase 2021-07-21 10:51:00 -07:00
Carlos Alcaide fce79d46d7 feat: 🎸 Add credential store delete CRUD operation 2021-07-21 10:51:00 -07:00
Carlos Alcaide Corvo c45357bf25 Merge pull request #650 from hashicorp/test-acceptance-credential-stores
Test acceptance credential stores
2021-07-21 10:49:58 -07:00
Carlos Alcaide d96d7425f8 Fix skip test with false positive 2021-07-21 10:36:16 -07:00
Carlos Alcaide Corvo 2000c10006 Merge branch 'main' into test-acceptance-credential-stores 2021-07-21 07:59:52 -07:00
Susmitha Girumala a348e4830a Merge pull request #646 from hashicorp/credential-library-list
feat: List credential libraries in a credential store
2021-07-21 08:20:51 -04:00
dharini 7c496b5b90 fix: 🐛 undo unnecessary change 2021-07-20 16:26:13 -07:00
dharini 5d6da1e52d feat: 🎸 add inline aligntment support to checkbox and radio 2021-07-20 16:11:57 -07:00
Carlos Alcaide Corvo 2eb1d01622 Merge branch 'main' into test-acceptance-credential-stores 2021-07-20 14:07:37 -07:00
Susmitha Girumala f012d10dcb Merge branch 'main' into credential-library-list 2021-07-20 17:03:08 -04:00
Carlos Alcaide Corvo a96689e2cc Merge pull request #651 from hashicorp/fix-hidden-secret-component
fix: 🐛 Fix style and accessibility issues for hidden secret
2021-07-20 13:55:49 -07:00
Carlos Alcaide c5f72c53d8 Move translation to actions file 2021-07-20 13:43:11 -07:00
Carlos Alcaide 699d5063d9 fix: 🐛 Fix style and accessibility issues for hidden secret
Fix style and accessibility issues for hidden secret component
2021-07-20 13:28:39 -07:00
Susmitha Girumala 08deda59aa Merge branch 'main' into credential-library-list 2021-07-20 13:38:38 -04:00
Carlos Alcaide Corvo f8cce58d49 Merge branch 'main' into test-acceptance-credential-stores 2021-07-20 10:37:56 -07:00
Carlos Alcaide f69477e556 test: 💍 Add credential stores create and edit tests
Add credential store create and edit acceptance tests
2021-07-20 10:36:34 -07:00
Dharini Jeeva 7f5a792af4 Merge pull request #649 from hashicorp/form-fieldset-style
style: 💄 update rose fieldset font-size
2021-07-20 08:48:03 -07:00
Susmitha Girumala dd96423ead fix: Disable credential library request body in form 2021-07-20 09:32:41 -04:00
dharini a1117529e5 style: 💄 update rose fieldset font-size 2021-07-19 15:45:58 -07:00
Carlos Alcaide 44510ea8d4 test: 💍 Adding integration test for credential stores
Adding more integration test cases for credential stores
2021-07-19 14:17:24 -07:00
Carlos Alcaide 9c93ff6c13 test: 💍 Add test cases to credential stores route
Add new test cases to credential stores route
2021-07-19 14:17:24 -07:00
Susmitha Girumala 59818fa24d feat: Add credential libraries breadcrumbs 2021-07-19 13:13:35 -04:00
Susmitha Girumala 98e14a642f fix: Treat credential library attributes as an object 2021-07-19 12:05:40 -04:00
Susmitha Girumala 45fc58fe75 feat: Init credential library creation 2021-07-18 14:31:45 -04:00
Susmitha Girumala 6dad1cd276 Merge branch 'main' into credential-library-list 2021-07-18 14:31:12 -04:00
Susmitha Girumala 2212c7dd9e feat: List credential libraries in a credential store 2021-07-18 12:34:33 -04:00
Susmitha Girumala 98bc86497a Merge pull request #645 from hashicorp/chore-upgrade-ember-cli-inject-live-reload
chore: 🤖 Upgrade ember-cli-inject-live-reload
2021-07-18 12:29:26 -04:00
Susmitha Girumala f447fb11ef Merge branch 'main' into chore-upgrade-ember-cli-inject-live-reload 2021-07-18 11:34:53 -04:00
Susmitha Girumala e091730ffb Merge pull request #644 from hashicorp/chore-upgrade-ember-cli
chore: 🤖 Upgrade ember-cli version
2021-07-18 11:05:45 -04:00
Susmitha Girumala 3e479fc02a Merge branch 'main' into chore-upgrade-ember-cli 2021-07-16 14:01:12 -04:00
Carlos Alcaide Corvo ce2be6b4b3 Merge pull request #643 from hashicorp/feature-credential-store-crud-new
Feature credential store crud new
2021-07-16 11:00:20 -07:00
Carlos Alcaide 816b50eb1b feat: 🎸 Fix creation type issue
Fix credential store creation type issue
2021-07-16 10:41:04 -07:00
Carlos Alcaide 9067558082 Add type to credential store creation 2021-07-16 10:28:31 -07:00
Carlos Alcaide d6129a7dfc Fix lint issues 2021-07-16 09:41:41 -07:00
Carlos Alcaide 3b4bb24eb7 feat: 🎸 Add credential store
Add screen to create new credential store
2021-07-16 09:24:22 -07:00
Carlos Alcaide 2217482329 feat: 🎸 Adding credential store edit form
Add credential-store mirage config. Add edit credential store form. Add
credential store route. Add credential store template.
2021-07-16 09:23:43 -07:00
Carlos Alcaide Corvo 32bdf2acdc Merge pull request #642 from hashicorp/feature-credential-store-crud-detail
Edit credential store
2021-07-16 09:19:52 -07:00
Carlos Alcaide 03187e2e2e Fix typo in comment 2021-07-16 09:07:53 -07:00
Carlos Alcaide cf72af4004 Add comments to route functions 2021-07-16 09:05:36 -07:00
Carlos Alcaide e4a0150ee7 Delete watchman cookie file 2021-07-16 08:53:37 -07:00
Carlos Alcaide 1a46a6b183 Add .watchman-cookie to gitignore 2021-07-16 08:52:18 -07:00
Carlos Alcaide cf377ad3dc Delete model check 2021-07-16 08:37:57 -07:00
Carlos Alcaide c82a8be1ed feat: 🎸 Stop using model on template
Stop using model on template, so no more updating template while editing
the form. Add link to documentation
2021-07-16 08:37:57 -07:00
Carlos Alcaide b9c5ed0de3 Add cancel action when editing a credential-store. Add breadcrumb feature on the credential store controller. 2021-07-16 08:37:57 -07:00
Carlos Alcaide 885ce5ebf5 feat: 🎸 Adding credential store edit form
Add credential-store mirage config. Add edit credential store form. Add
credential store route. Add credential store template.
2021-07-16 08:37:57 -07:00
Susmitha Girumala 9f7d528582 Merge pull request #641 from hashicorp/credential-library-api
Credential Library Modeling
2021-07-16 11:20:36 -04:00
Carlos Alcaide 8544d61e9c chore: 🤖 Upgrade ember-cli-inject-live-reload
Upgrade ember-cli-inject-live-reload dependency.
2021-07-15 13:24:59 -07:00
Carlos Alcaide a1b3e5382b chore: 🤖 Upgrade ember-cli version
Upgrade ember-cli version
2021-07-15 13:08:48 -07:00
Susmitha Girumala 1fb41665e5 feat: Mock credential library in api addon 2021-07-12 16:03:06 -04:00
Susmitha Girumala bd50c4f78c feat: Add credential library api 2021-07-12 14:50:53 -04:00
Susmitha Girumala 0f73cd5faf Merge pull request #639 from hashicorp/feature-credential-store-crud-read
Add first iteration of list credential store
2021-07-12 14:49:48 -04:00
Carlos Alcaide Corvo 96de8f262f Merge branch 'main' into feature-credential-store-crud-read 2021-07-12 11:27:16 -07:00
Susmitha Girumala 4a871134a5 Merge pull request #637 from hashicorp/feature-toggle-secret
feat: 🎸 Add toggle secret feature
2021-07-12 14:27:09 -04:00
Carlos Alcaide 9bcb402fa2 feat: 🎸 Refactor details of the component
Delete unnecessary <span>. Make icon smaller and aligned. Fix linting
issues.
2021-07-12 09:46:56 -07:00
Carlos Alcaide Corvo bb1580ab6e Merge branch 'main' into feature-credential-store-crud-read 2021-07-12 07:46:24 -07:00
Carlos Alcaide 75f45a134d feat: 🎸 Add more features to the credential stores list
Add breadcrumb functionality. Add detail route. Add acceptance test to
load the page. Add some styling improvements

✅ Closes: \
2021-07-12 07:32:35 -07:00
Carlos Alcaide Corvo b272f85e68 Merge branch 'main' into feature-toggle-secret 2021-07-12 06:44:33 -07:00
Susmitha Girumala fdb46df9f2 Merge pull request #640 from hashicorp/update-font-color
fix: Update text font color and weight
2021-07-09 16:17:34 -04:00
dharini f39ac156cb nest styles to header cell 2021-07-09 11:59:02 -07:00
Carlos Alcaide 986cde5941 feat: 🎸 Add first iteration for list credential store
First iteration adding credential store list crud operations
2021-07-09 10:39:42 -07:00
dharini c94f54c90f undo file change 2021-07-09 09:15:22 -07:00
dharini 4c648ad4be fix: font color and weight 2021-07-08 18:01:30 -07:00
Carlos Alcaide cd10c30ca8 Delete not used translation 2021-07-08 08:36:09 -07:00
Carlos Alcaide Corvo d964411f70 Merge pull request #638 from hashicorp/add-credential-feature-flag
feat: Enable credential feature flag in dev mode for admin
2021-07-08 08:03:55 -07:00
Susmitha Girumala 9d68eb495e feat: Enable credential feature flag in dev mode for admin 2021-07-08 09:01:56 -04:00
Susmitha Girumala ef80dd87c1 Merge pull request #636 from hashicorp/feature-credentials-modeling
feat: 🎸 initial credential-store modeling and mocking
2021-07-08 08:18:40 -04:00
Carlos Alcaide a59e012f52 Fix faker issue 2021-07-07 15:13:34 -07:00
Carlos Alcaide 580a2f4159 Add lint changes 2021-07-07 13:09:47 -07:00
Carlos Alcaide b0d999cf3c feat: 🎸 Add toggle secret feature
Add toggle secret feature to the hidde secret component
2021-07-07 12:39:44 -07:00
Susmitha Girumala 97b82818cf Merge branch 'main' into feature-credentials-modeling 2021-07-06 16:07:26 -04:00
Carlos Alcaide Corvo 4f0f8fce26 Merge pull request #631 from hashicorp/chore-update-ember-test-helpers
chore: 🤖 Update ember test-helpers dependency
2021-07-06 11:34:58 -07:00
Susmitha Girumala 2b7563ee7b Merge branch 'main' into chore-update-ember-test-helpers 2021-07-06 14:18:00 -04:00
Carlos Alcaide Corvo d8f43531e1 Merge pull request #630 from hashicorp/chore-upgrade-storybook
chore: 🤖 Update Storybook version
2021-07-06 11:16:50 -07:00
Susmitha Girumala 0404fe308f Merge branch 'main' into chore-upgrade-storybook 2021-07-06 14:03:04 -04:00
Susmitha Girumala d3bdab9014 Merge pull request #629 from hashicorp/chore-resolutions-mem
chore: 🤖 Add mem to resolutions
2021-07-06 14:02:55 -04:00
Carlos Alcaide Corvo 4b41c8dc7a Merge branch 'main' into chore-upgrade-storybook 2021-07-06 10:46:46 -07:00
Carlos Alcaide Corvo 12913e70ce Merge branch 'main' into chore-resolutions-mem 2021-07-06 10:46:33 -07:00
Carlos Alcaide Corvo 7630f454fd Merge pull request #628 from hashicorp/chore-resolutions-minimist
chore: 🤖 Update resolutions for minimist
2021-07-06 10:46:01 -07:00
Carlos Alcaide Corvo 9a2e5d23b9 Merge branch 'main' into chore-resolutions-minimist 2021-07-06 10:29:04 -07:00
Susmitha Girumala a0f371bfc5 Merge pull request #627 from hashicorp/chore-resolutions-prismjs
chore: 🤖 Update prismjs version in resolutions
2021-07-06 13:09:49 -04:00
Carlos Alcaide Corvo 9100fe9a34 Merge branch 'main' into chore-resolutions-prismjs 2021-07-06 08:37:19 -07:00
Carlos Alcaide Corvo 87b76a91c4 Merge pull request #626 from hashicorp/chore-resolutions-normalize-url
chore: 🤖 Add normalize-url to resolutions
2021-07-06 08:37:11 -07:00
Carlos Alcaide Corvo aa4a487e97 Merge branch 'main' into chore-resolutions-normalize-url 2021-07-06 08:14:20 -07:00
Susmitha Girumala 94cfca561c Merge pull request #613 from hashicorp/chore-update-resolution-glob-parent
chore: 🤖 Update resolutions for glob-parent
2021-07-06 11:10:51 -04:00
Susmitha Girumala 58f46e9334 Merge branch 'main' into chore-update-resolution-glob-parent 2021-07-06 10:58:21 -04:00
Randall Morey 5519cf8557 feat: 🎸 initial credential-store modeling and mocking 2021-07-01 14:28:53 -04:00
Carlos Alcaide 371b89b5ad chore: 🤖 Update ember test-helpers dependency
Update ember test-helpers dependency
2021-06-28 17:39:50 -07:00
Carlos Alcaide 07d2667d14 chore: 🤖 Update Storybook version
Update Storybook to the latest version
2021-06-28 17:22:40 -07:00
Carlos Alcaide 39d19cab06 chore: 🤖 Add mem to resolutions
Add mem to resolutions to avoid a security vulnerability
2021-06-28 17:02:25 -07:00
Carlos Alcaide d7659bd9de chore: 🤖 Update resolutions for minimist
Add minimist to resolutions to avoid a security vulnerability
2021-06-28 16:45:02 -07:00
Carlos Alcaide e855697601 chore: 🤖 Update prismjs version in resolutions
Update prismjs version in resolutions to avoid a security vulnerability
2021-06-28 15:52:00 -07:00
Carlos Alcaide e5c4ac650e chore: 🤖 Add normalize-url to resolutions
Add normalize-url to resolutions due to security vulnerability
2021-06-28 15:27:31 -07:00
Carlos Alcaide 688b6652d1 chore: 🤖 Update resolutions for glob-parent
Update resolutions field in package json to avoid security vulnerability
with glob-parent older versions.
2021-06-28 14:04:42 -07:00
2291 changed files with 96973 additions and 32949 deletions

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
schema_version = 1
project {
license = "MPL-2.0"
copyright_year = 2020
# (OPTIONAL) A list of globs that should not have copyright/license headers.
# Supports doublestar glob patterns for more flexibility in defining which
# files or folders should be ignored
header_ignore = [
".github/**",
".husky/**",
"**/node_modules/**",
"**/dist/**",
"**/coverage/**",
"ui/desktop/electron-app/out/**",
"ui/desktop/electron-app/ember-dist/**",
]
}
+2
View File
@@ -0,0 +1,2 @@
# Anyone attached to this rule will always been assigned to a pull request
* @hashicorp/boundary-ui
+3
View File
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
contact_links: contact_links:
- name: Ask a question - name: Ask a question
url: https://discuss.hashicorp.com/c/boundary url: https://discuss.hashicorp.com/c/boundary
+17 -7
View File
@@ -1,20 +1,30 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
addons: addons:
- addons/**/* - changed-files:
- any-glob-to-any-file: "addons/**/*"
api-addon: api-addon:
- addons/api/**/* - changed-files:
- any-glob-to-any-file: "addons/api/**/*"
auth-addon: auth-addon:
- addons/auth/**/* - changed-files:
- any-glob-to-any-file: "addons/auth/**/*"
styles-addon: styles-addon:
- addons/rose/**/* - changed-files:
- any-glob-to-any-file: "addons/rose/**/*"
ui: ui:
- ui/**/* - changed-files:
- any-glob-to-any-file: "ui/**/*"
admin: admin:
- ui/admin/**/* - changed-files:
- any-glob-to-any-file: "ui/admin/**/*"
desktop: desktop:
- ui/desktop/**/* - changed-files:
- any-glob-to-any-file: "ui/desktop/**/*"
+29
View File
@@ -0,0 +1,29 @@
:tickets: [Jira ticket](https://hashicorp.atlassian.net/browse/JIRA_TICKET_NUMBER)
## Description
<!-- Add a brief description of changes here -->
## Screenshots (if appropriate):
## How to Test
<!-- Add steps to test this change. Include any other necessary relevant links -->
<!--
Replace PATH_TO_FEATURE with Vercel link
-->
:technologist: [Admin preview](PATH_TO_FEATURE)
:desktop_computer: [Desktop preview](PATH_TO_FEATURE)
## Checklist:
<!-- strikethrough the checklist item that is not relevant to your change -->
- [ ] I have added before and after screenshots for UI changes
- [ ] I have added JSON response output for API changes
- [ ] I have added steps to reproduce and test for bug fixes in the description
- [ ] I have commented on my code, particularly in hard-to-understand areas
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
+94
View File
@@ -0,0 +1,94 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
set -euo pipefail
# Configure Git
git config --global user.email "hc-github-team-secure-boundary@hashicorp.com"
git config --global user.name "github-team-secure-boundary"
# Fetch branches from ENT
git fetch origin
BRANCH=${1}
echo "BRANCH to merge is $BRANCH"
git checkout "${BRANCH}"
# Checkout OSS repo
git remote add oss-remote https://github.com/hashicorp/boundary-ui.git
git fetch oss-remote
# Merge oss/${BRANCH} into ent/${BRANCH}
git_merge_branch="${2}"
git checkout -b "${git_merge_branch}"
latest_oss_commit="$(git rev-parse --short oss-remote/${BRANCH})"
echo "Trying to merge the latest oss commit - ${latest_oss_commit} from oss/${BRANCH} into ent/${BRANCH}"
if ! errors=$(git merge -m "Merge Boundary UI OSS branch '${BRANCH}' at commit ${latest_oss_commit}" "${latest_oss_commit}"); then
# Here we can try to auto resolve conflicts
# This logic will vary from project to project. The below is just an example.
# We'll try to resolve package.json and yarn.lock conflicts by taking the OSS changes
conflicts=$(git diff --name-only --diff-filter=U)
printf "Found conflicts:\n${conflicts}\n"
# Resolve package.json conflicts by taking oss
if echo "$conflicts" | grep -q package.json; then
echo "Checking out oss package.json..."
git checkout --theirs package.json
git add package.json
fi
# Resolve yarn.lock conflicts by taking oss
if echo "$conflicts" | grep -q yarn.lock; then
echo "Checking out oss yarn.lock..."
git checkout --theirs yarn.lock
git add yarn.lock
fi
# If we can commit all the changes without conflict, we have resolved everything automatically
if ! git commit --no-edit; then
echo "Auto Merge failed, creating a draft PR"
git merge --abort
git clean -xfd
git fetch oss-remote
git checkout "${OSS_BRANCH}"
git checkout -b "${OSS_LOCAL_BRANCH}"
git push -f --set-upstream origin "${OSS_LOCAL_BRANCH}"
gh pr create \
--draft \
--fill-first \
--label "oss-merge" \
-B "${BASE_BRANCH}" \
-H "${OSS_LOCAL_BRANCH}" \
-a "${ACTOR}" \
-t "[${BASE_BRANCH/oss\/release\//}] OSS to ENT merge of (${SHA::7})" \
-b "${BASE_BRANCH/oss\//} upstream merge of (${SHA::7})
Merge failed, Please fix the conflicts using github UI or using the following commands:
\`\`\`bash
git checkout ${BASE_BRANCH}
git pull
git checkout ${OSS_LOCAL_BRANCH}
git merge ${BASE_BRANCH}
# fix conflicts and commit
git push origin ${OSS_LOCAL_BRANCH}
\`\`\`"
exit 0
fi
fi
# Check that there are actually changes to merge by comparing the
# merge branch to the current checked out branch
if (git diff ${BRANCH} --exit-code > /dev/null); then
echo "there are no changes to merge"
exit 0
fi
git push origin "${git_merge_branch}"
gh pr create \
--fill-first \
--label "oss-merge" \
-B "${BASE_BRANCH}" \
-H "${MERGE_BRANCH}" \
-a ${ACTOR} \
-t "[${BASE_BRANCH/oss\/release\//}] OSS to ENT merge of (${SHA::7})" \
-b "${BASE_BRANCH/oss\//} upstream merge of (${SHA::7})"
gh pr merge --auto --merge
# This PR will be need to be approved manually
+99
View File
@@ -0,0 +1,99 @@
name: Build Admin UI
on:
push:
branches:
- main
- "release/**"
workflow_dispatch:
jobs:
dependencies:
name: Install dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: node-modules-cache
with:
path: "**/node_modules"
key: node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 16
- run: yarn install
build-admin-ui-oss:
name: Build Admin UI OSS
needs: [dependencies]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: node-modules-cache
with:
path: "**/node_modules"
key: node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-
- name: Build
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 16
- run: yarn run build:ui:admin:oss
- name: Upload artifact admin-ui
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: admin-ui
path: ./ui/admin/dist/
- name: Upload artifact OSS admin UI
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: admin-ui-oss
path: ./ui/admin/dist/
build-admin-ui-enterprise:
name: Build Admin UI Enterprise
needs: [dependencies]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: node-modules-cache
with:
path: "**/node_modules"
key: node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-
- name: Build
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 16
- run: yarn run build:ui:admin:enterprise
- name: Upload artifact enterprise admin UI
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: admin-ui-ent
path: ./ui/admin/dist/
build-admin-ui-hcp:
name: Build Admin UI HCP
needs: [dependencies]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: node-modules-cache
with:
path: "**/node_modules"
key: node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-
- name: Build
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 16
- run: yarn run build:ui:admin:hcp
- name: Upload artifact HCP admin UI
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: admin-ui-hcp
path: ./ui/admin/dist/
@@ -0,0 +1,34 @@
name: "Trigger Build Artifacts for Testing"
on:
workflow_dispatch:
inputs:
branch:
description: Please use tag-like format n.n.n-someword (1.111.11-beta)
required: true
product_version:
required: true
type: string
description: The version number belonging to the oss binary to be used
commit:
required: true
type: string
description: The git SHA of the oss artifacts to be used
jobs:
trigger-gha-build-artifacts-for-testing:
runs-on: ubuntu-latest
steps:
- name: Release description
if: github.event_name == 'workflow_dispatch'
run: |
echo "Triggering Build Artifacts for Testing using BRANCH and TEST_TAG ${{ github.event.inputs.branch }}"
- name: Trigger Build Artifacts for Testing in boundary-ui-releases
run: |
export GITHUB_TOKEN="${{ secrets.ELEVATED_GITHUB_TOKEN }}"
gh workflow run build-artifacts-for-testing.yml \
--repo hashicorp/boundary-ui-releases \
--ref main \
-f TAG="${{ inputs.branch }}" \
-f PRODUCT_VERSION="${{ inputs.product_version }}" \
-f COMMIT="${{ inputs.commit }}" \
+5 -19
View File
@@ -7,7 +7,7 @@ name: "CodeQL"
on: on:
push: push:
branches: [main, release-v0.1.0] branches: [main]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [main] branches: [main]
@@ -27,23 +27,14 @@ jobs:
language: ['javascript'] language: ['javascript']
# Learn more... # Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v1 uses: github/codeql-action/init@592977e6ae857384aa79bb31e7a1d62d63449ec5 # codeql-bundle-v2.16.3
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file. # If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,11 +42,6 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file. # Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main # queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# ℹ️ Command-line programs to run using the OS shell. # ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl # 📚 https://git.io/JvXDl
@@ -68,4 +54,4 @@ jobs:
# make release # make release
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1 uses: github/codeql-action/analyze@592977e6ae857384aa79bb31e7a1d62d63449ec5 # codeql-bundle-v2.16.3
+10 -10
View File
@@ -19,18 +19,18 @@ jobs:
id: boundary-team-role id: boundary-team-role
run: | run: |
TEAM=boundary TEAM=boundary
ROLE="$(hub api orgs/hashicorp/teams/${TEAM}/memberships/${{ github.actor }} | jq -r '.role | select(.!=null)')" ROLE="$(gh api orgs/hashicorp/teams/${TEAM}/memberships/${{ github.actor }} | jq -r '.role | select(.!=null)')"
if [[ -n ${ROLE} ]]; then if [[ -n ${ROLE} ]]; then
echo "Actor ${{ github.actor }} is a ${TEAM} team member, skipping ticket creation" echo "Actor ${{ github.actor }} is a ${TEAM} team member, skipping ticket creation"
else else
echo "Actor ${{ github.actor }} is not a ${TEAM} team member" echo "Actor ${{ github.actor }} is not a ${TEAM} team member"
fi fi
echo "::set-output name=role::${ROLE}" echo "role=${ROLE}" >> $GITHUB_OUTPUT
env: env:
GITHUB_TOKEN: ${{ secrets.JIRA_SYNC_GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.JIRA_SYNC_GITHUB_TOKEN }}
- name: Login - name: Login
uses: atlassian/gajira-login@v2.0.0 uses: atlassian/gajira-login@45fd029b9f1d6d8926c6f04175aa80c0e42c9026 # v3.0.1
env: env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
@@ -41,14 +41,14 @@ jobs:
id: set-ticket-type id: set-ticket-type
run: | run: |
if [[ "${{ github.event_name }}" == "pull_request_target" ]]; then if [[ "${{ github.event_name }}" == "pull_request_target" ]]; then
echo "::set-output name=type::PR" echo "type=PR" >> $GITHUB_OUTPUT
else else
echo "::set-output name=type::ISS" echo "type=ISS" >> $GITHUB_OUTPUT
fi fi
- name: Create ticket - name: Create ticket
if: github.event.action == 'opened' && !steps.boundary-team-role.outputs.role if: github.event.action == 'opened' && !steps.boundary-team-role.outputs.role
uses: tomhjp/gh-action-jira-create@v0.1.0 uses: tomhjp/gh-action-jira-create@3ed1789cad3521292e591a7cfa703215ec1348bf # v0.2.1
with: with:
project: ICU project: ICU
issuetype: "GH Issue" issuetype: "GH Issue"
@@ -61,28 +61,28 @@ jobs:
- name: Search - name: Search
if: github.event.action != 'opened' if: github.event.action != 'opened'
id: search id: search
uses: tomhjp/gh-action-jira-search@v0.2.1 uses: tomhjp/gh-action-jira-search@04700b457f317c3e341ce90da5a3ff4ce058f2fa # v0.2.2
with: with:
# cf[10089] is Issue Link custom field # cf[10089] is Issue Link custom field
jql: 'issuetype = "GH Issue" and cf[10089]="${{ github.event.issue.html_url || github.event.pull_request.html_url }}"' jql: 'issuetype = "GH Issue" and cf[10089]="${{ github.event.issue.html_url || github.event.pull_request.html_url }}"'
- name: Sync comment - name: Sync comment
if: github.event.action == 'created' && steps.search.outputs.issue if: github.event.action == 'created' && steps.search.outputs.issue
uses: atlassian/gajira-comment@v2.0.2 uses: atlassian/gajira-comment@164913891625fe50e9836957902e0bf7d9ef99a8 # v3.0.1
with: with:
issue: ${{ steps.search.outputs.issue }} issue: ${{ steps.search.outputs.issue }}
comment: "${{ github.actor }} ${{ github.event.review.state || 'commented' }}:\n\n${{ github.event.comment.body || github.event.review.body }}\n\n${{ github.event.comment.html_url || github.event.review.html_url }}" comment: "${{ github.actor }} ${{ github.event.review.state || 'commented' }}:\n\n${{ github.event.comment.body || github.event.review.body }}\n\n${{ github.event.comment.html_url || github.event.review.html_url }}"
- name: Close ticket - name: Close ticket
if: (github.event.action == 'closed' || github.event.action == 'deleted') && steps.search.outputs.issue if: (github.event.action == 'closed' || github.event.action == 'deleted') && steps.search.outputs.issue
uses: atlassian/gajira-transition@v2.0.1 uses: atlassian/gajira-transition@38fc9cd61b03d6a53dd35fcccda172fe04b36de3 # v3.0.1
with: with:
issue: ${{ steps.search.outputs.issue }} issue: ${{ steps.search.outputs.issue }}
transition: Done transition: Done
- name: Reopen ticket - name: Reopen ticket
if: github.event.action == 'reopened' && steps.search.outputs.issue if: github.event.action == 'reopened' && steps.search.outputs.issue
uses: atlassian/gajira-transition@v2.0.1 uses: atlassian/gajira-transition@38fc9cd61b03d6a53dd35fcccda172fe04b36de3 # v3.0.1
with: with:
issue: ${{ steps.search.outputs.issue }} issue: ${{ steps.search.outputs.issue }}
transition: "To Do" transition: "To Do"
+1 -1
View File
@@ -6,6 +6,6 @@ jobs:
triage: triage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/labeler@main - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
+43 -25
View File
@@ -2,55 +2,73 @@ name: Validate Monorepo
on: pull_request on: pull_request
jobs: jobs:
compliance: dependencies:
name: License Compliance name: Install dependencies
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@v2 - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: cache id: node-modules-cache
with: with:
path: '**/node_modules' path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} key: node-modules-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1 restore-keys: |
node-modules-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '12.x' node-version: 16
- run: yarn install - run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
compliance:
name: License Compliance
needs: [dependencies]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: node-modules-cache
with:
path: '**/node_modules'
key: node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 16
- run: yarn run compliance:licenses - run: yarn run compliance:licenses
lint: lint:
name: Lint name: Lint
needs: [dependencies, compliance]
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@v2 - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: cache id: node-modules-cache
with: with:
path: '**/node_modules' path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} key: node-modules-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1 restore-keys: |
node-modules-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '12.x' node-version: 16
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
- run: yarn lint - run: yarn lint
test: test:
name: Test name: Test
needs: [lint]
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@v2 - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
id: cache id: node-modules-cache
with: with:
path: '**/node_modules' path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} key: node-modules-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '12.x' node-version: 16
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
- run: yarn test - run: yarn test
@@ -0,0 +1,25 @@
name: Trigger OSS to Enterprise Merge
on:
pull_request_target:
types:
- closed
branches:
- main
jobs:
trigger-oss-merge:
# Run this only on merge events in OSS repo
if: ${{ github.event.pull_request.merged && github.repository == 'hashicorp/boundary-ui' }}
runs-on: ubuntu-latest
steps:
- name: Trigger Merge
env:
GIT_REF: ${{ github.ref_name }}
GIT_SHA: ${{ github.sha }}
GH_PAT: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
GIT_ACTOR: ${{ github.actor }}
run: |
curl -H "Authorization: token $GH_PAT" \
-H 'Accept: application/json' \
-d "{\"event_type\": \"oss-merge\", \"client_payload\": {\"git-ref\": \"${GIT_REF}\", \"git-sha\": \"${GIT_SHA}\", \"git-actor\": \"${GIT_ACTOR}\" }}" \
"https://api.github.com/repos/hashicorp/boundary-ui-enterprise/dispatches"
+24
View File
@@ -0,0 +1,24 @@
name: OSS → ENT Merge
on:
repository_dispatch:
types: [ oss-merge ]
jobs:
oss-merge:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
- run: |
git fetch --prune --unshallow
./.github/scripts/merge.sh "${BASE_BRANCH}" "${MERGE_BRANCH}"
env:
BASE_BRANCH: ${{ github.event.client_payload.git-ref }}
OSS_BRANCH: oss-remote/${{ github.event.client_payload.git-ref }}
OSS_LOCAL_BRANCH: oss/${{ github.event.client_payload.git-ref }}-${{ github.event.client_payload.git-sha }}
MERGE_BRANCH: oss/merge-${{ github.event.client_payload.git-ref }}-${{github.event.client_payload.git-sha}}
GITHUB_TOKEN: ${{secrets.ELEVATED_GITHUB_TOKEN }}
MERGE_APPROVE_TOKEN: ${{secrets.ELEVATED_GITHUB_TOKEN }}
ACTOR: ${{ github.event.client_payload.git-actor }}
SHA: ${{github.event.client_payload.git-sha}}
+9 -7
View File
@@ -1,6 +1,5 @@
name: "Trigger Test Boundary UI release" name: "Trigger Test Boundary UI release"
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
@@ -9,15 +8,18 @@ on:
required: true required: true
jobs: jobs:
trigger-circleci-release: trigger-gha-release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Release description
- name: Trigger Release job
if: github.event_name == 'workflow_dispatch' if: github.event_name == 'workflow_dispatch'
run: | run: |
echo "Triggering Test release using BRANCH and TEST_TAG ${{ github.event.inputs.branch }}" echo "Triggering Test release using BRANCH and TEST_TAG ${{ github.event.inputs.branch }}"
- name: Trigger Release workflow in boundary-ui-releases
run: |
export GITHUB_TOKEN="${{ secrets.ELEVATED_GITHUB_TOKEN }}"
gh workflow run release.yml \
--repo hashicorp/boundary-ui-releases \
--ref main \
-f TAG="${{ github.event.inputs.branch }}"
curl -u ${{ secrets.CIRCLE_TOKEN }}: -X POST --header "Content-Type: application/json" \
-d '{ "branch": "main", "parameters": {"TAG": "'${{ github.event.inputs.branch }}'" }}' \
https://circleci.com/api/v2/project/github/hashicorp/boundary-ui-releases/pipeline
+10 -7
View File
@@ -6,14 +6,17 @@ on:
- '*' - '*'
jobs: jobs:
trigger-circleci-release: trigger-gha-release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Trigger Release job - name: Release description
run: | run: |
echo "Triggering release with a TAG ${GITHUB_REF#refs/tags/}" echo "Triggering release with a TAG ${GITHUB_REF#refs/tags/}"
- name: Trigger Release workflow in boundary-ui-releases
curl -u ${{ secrets.CIRCLE_TOKEN }}: -X POST --header "Content-Type: application/json" \ run: |
-d '{ "branch": "main", "parameters": {"TAG": "'${GITHUB_REF#refs/tags/}'" }}' \ export GITHUB_TOKEN="${{ secrets.ELEVATED_GITHUB_TOKEN }}"
https://circleci.com/api/v2/project/github/hashicorp/boundary-ui-releases/pipeline gh workflow run release.yml \
--repo hashicorp/boundary-ui-releases \
--ref main \
-f TAG="${GITHUB_REF#refs/tags/}"
+1 -7
View File
@@ -20,10 +20,4 @@ libpeerconnection.log
npm-debug.log* npm-debug.log*
testem.log testem.log
yarn-error.log yarn-error.log
storybook-static .watchman-cookie*
**/.storybook/*.html
# ember-try
.node_modules.ember-try
bower.json.ember-try
package.json.ember-try
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
yarn compliance:licenses
npx lint-staged
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3
# Gets the current branch name but if we're in a detached head state, return "HEAD"
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
# Regex to match the ICU-#### branch name pattern we use
ISSUE_REGEX="^(ICU-[0-9]+)"
# Don't run commitizen for merge or squash commits, as well as when rebasing
if [ "${COMMIT_SOURCE}" = merge ] || [ "${COMMIT_SOURCE}" = squash ] || [ "${COMMIT_SOURCE}" = "message" -a "${BRANCH_NAME}" = "HEAD" ];then
exit 0
fi
# If the branch name matches, set the JIRA link automatically
if [[ $BRANCH_NAME =~ $ISSUE_REGEX ]]
then
issue="${BASH_REMATCH[1]}"
url="https://hashicorp.atlassian.net/browse/${issue}"
exec < /dev/tty && npx git-cz --issues="$url" --hook || true
else
# This is to allow interaction with the terminal for commitizen
exec < /dev/tty && npx git-cz --hook || true
fi
+6
View File
@@ -0,0 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
url_license = "https://github.com/hashicorp/boundary-ui/blob/main/LICENSE"
url_project_website = "https://learn.hashicorp.com/tutorials/boundary/getting-started-desktop-app"
url_source_repository = "https://github.com/hashicorp/boundary-ui"
+2
View File
@@ -1,3 +1,5 @@
Copyright (c) 2020 HashiCorp, Inc.
Mozilla Public License, version 2.0 Mozilla Public License, version 2.0
1. Definitions 1. Definitions
+78 -32
View File
@@ -13,44 +13,78 @@ subproject, e.g. running or testing.
<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [Prerequisites](#prerequisites) - [Boundary UI Monorepo](#boundary-ui-monorepo)
- [Installation](#installation) - [Projects](#projects)
- [Yarn Commands](#yarn-commands) - [Core (addons/core):](#core-addonscore)
- [Contributing](#contributing) - [API (addons/api):](#api-addonsapi)
- [Branching](#branching) - [Auth (addons/auth):](#auth-addonsauth)
- [Building ToC](#building-toc) - [Rose (addons/rose)](#rose-addonsrose)
- [Building Admin UI for Production](#building-admin-ui-for-production) - [Admin (ui/admin)](#admin-uiadmin)
- [Building with a Container](#building-with-a-container) - [Desktop Client (ui/desktop)](#desktop-client-uidesktop)
- [Building Desktop UI for Production](#building-desktop-ui-for-production) - [Prerequisites](#prerequisites)
- [Connect Boundary UI to Boundary local instance](#connect-boundary-ui-to-boundary-local-instance) - [Optional Tooling](#optional-tooling)
- [For admin](#for-admin) - [Installation](#installation)
- [For desktop](#for-desktop) - [Yarn Commands](#yarn-commands)
- [Committing](#committing) - [Contributing](#contributing)
- [License Checking](#license-checking) - [Branching](#branching)
- [Building ToC](#building-toc)
- [Building Admin UI for Production](#building-admin-ui-for-production)
- [Building with a Container](#building-with-a-container)
- [Building Desktop UI for Production](#building-desktop-ui-for-production)
- [Connect Boundary UI to Boundary local instance](#connect-boundary-ui-to-boundary-local-instance)
- [For admin](#for-admin)
- [For desktop](#for-desktop)
- [Committing](#committing)
- [License Checking](#license-checking)
<!-- END doctoc generated TOC please keep comment here to allow auto update --> <!-- END doctoc generated TOC please keep comment here to allow auto update -->
## Projects
This monorepo contains multiple projects.
### Core (addons/core):
Core features use by Boundary UI's, i.e i18n, helpers or components. [Project Readme](addons/core).
### API (addons/api):
The API data access layer for Boundary and all the related mocks. [Project Readme](addons/api).
### Auth (addons/auth):
Authentication layer for Boundary. [Project Readme](addons/auth).
### Rose (addons/rose)
Common styles and components shared by Boundary UIs. [Project Readme](addons/rose).
### Admin (ui/admin)
The Admin UI for Boundary. [Project Readme](ui/admin).
### Desktop Client (ui/desktop)
The desktop client UI for Boundary. [Project Readme](ui/desktop).
## Prerequisites ## Prerequisites
You will need the following things properly installed on your computer. You will need the following things properly installed on your computer.
* [Git][git] * [Git][git]
* [Node.js][node] * [Node.js][node]
* v10–v15 * Supported versions: `v16` and `v18`.
* **Apple Silicon Users**: if you experience problems building or running
Boundary UIs, try Node v15.
* [Yarn][yarn] installed globally * [Yarn][yarn] installed globally
* [Google Chrome][chrome] * [Google Chrome][chrome]
* [Firefox][firefox] * [Firefox][firefox]
[git]: https://git-scm.com/
[node]: https://nodejs.org/ ## Optional Tooling
[yarn]: https://classic.yarnpkg.com/lang/en/
[chrome]: https://google.com/chrome/ Our team finds the following applications useful in day-to-day development
[firefox]: https://firefox.com/ workflows. These are merely recommendations. We encourage you to use the tools
[yarn-workspaces]: https://classic.yarnpkg.com/en/docs/workspaces/ that best suit you and your personal style.
* [VS Code][vscode]: Code editor for building and debugging web applications
* [Warp][warp]: Terminal application for macOS
* [Homebrew][homebrew]: The missing package manager for macOS and Linux
* [Ember Inspector][ember-inspector]: Understand and debug Ember applications
* [Postman][postman]: Test and inspect APIs
## Installation ## Installation
@@ -66,7 +100,6 @@ List of available project commands. `yarn run <command-name>`
|---------------------|---| |---------------------|---|
| build | Builds Admin UI. | | build | Builds Admin UI. |
| test | Runs tests in CI mode. | | test | Runs tests in CI mode. |
| commit | Replaces `git commit`, ensures compliance, audit, lint, and test checks pass before commit is allowed and normalizes commit messages across authors. |
| lint | Runs ember-template-lint on all of the hbs, js, and sass files. | | lint | Runs ember-template-lint on all of the hbs, js, and sass files. |
| compliance:audit | Checks for issues using `yarn audit` with moderate and above criticality.| | compliance:audit | Checks for issues using `yarn audit` with moderate and above criticality.|
| compliance:licenses | Checks that all dependencies have OSS-compatible licenses. | | compliance:licenses | Checks that all dependencies have OSS-compatible licenses. |
@@ -126,7 +159,7 @@ In windows, UI is generated using docker to provide a stable UI across platforms
```cmd ```cmd
yarn install yarn install
docker-compose -f docker-compose-embedding.yml run build-desktop-production docker-compose -f docker-compose-embedding.yml run build-desktop-production
yarn build:ui:desktop:app yarn build:ui:desktop:app
``` ```
@@ -160,15 +193,16 @@ You will need to turn `off` mirage and run it: `$ ENABLE_MIRAGE=false yarn start
In login screen, authenticate using generated admin login name and password. In login screen, authenticate using generated admin login name and password.
Enter the origin of your Boundary dev instance, by default is: `http://localhost:9200`. Enter the cluster URL of your Boundary dev instance, by default is: `http://localhost:9200`.
### Committing ### Committing
Instead of the default `git commit`, we prescribe a custom command that ensures We use `husky` and `lint-staged` to ensure linting and other checks pass before a
linting and other checks pass before a commit may be completed. It also ensures commit is completed. Simply do a `yarn install` to make sure the hooks are installed.
that all contributors author consistent commit messages. To get started with a
commit, stage your files as usual. Then run `yarn commit` and follow the Use a normal `git commit` to go through the checks, if you need to skip these checks,
on-screen instructions to author your message. use `git commit --no-verify` to bypass them. However, a consistent commit message will
still be enforced even if you use `--no-verify`.
#### License Checking #### License Checking
@@ -180,3 +214,15 @@ The change will be verified upon PR. GPL variants and UNLICENSED dependencies
will not be accepted. will not be accepted.
[github-flow]: https://guides.github.com/introduction/flow/ [github-flow]: https://guides.github.com/introduction/flow/
[git]: https://git-scm.com/
[node]: https://nodejs.org/
[yarn]: https://classic.yarnpkg.com/lang/en/
[chrome]: https://google.com/chrome/
[firefox]: https://firefox.com/
[yarn-workspaces]: https://classic.yarnpkg.com/en/docs/workspaces/
[homebrew]: https://brew.sh
[warp]: https://www.warp.dev
[vscode]: https://code.visualstudio.com/
[ember-inspector]: https://guides.emberjs.com/release/ember-inspector/
[postman]: https://www.postman.com/downloads/
+3 -3
View File
@@ -12,8 +12,8 @@ insert_final_newline = true
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.hbs]
insert_final_newline = false
[*.{diff,md}] [*.{diff,md}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[*.hbs]
insert_final_newline = false
+7 -1
View File
@@ -5,5 +5,11 @@
Setting `disableAnalytics` to true will prevent any data from being sent. Setting `disableAnalytics` to true will prevent any data from being sent.
*/ */
"disableAnalytics": false "disableAnalytics": false,
/**
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
*/
"isTypeScriptProject": false
} }
+4
View File
@@ -13,9 +13,13 @@
# misc # misc
/coverage/ /coverage/
!.* !.*
.*/
.eslintcache .eslintcache
# ember-try # ember-try
/.node_modules.ember-try/ /.node_modules.ember-try/
/bower.json.ember-try /bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try /package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
+33 -26
View File
@@ -1,21 +1,27 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
'use strict'; 'use strict';
module.exports = { module.exports = {
root: true, root: true,
parser: 'babel-eslint', parser: '@babel/eslint-parser',
parserOptions: { parserOptions: {
ecmaVersion: 2018, ecmaVersion: 'latest',
sourceType: 'module', sourceType: 'module',
ecmaFeatures: { // This is specific babel-config. If grows consider creating a babel config file
legacyDecorators: true, requireConfigFile: false,
babelOptions: {
plugins: [
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
],
}, },
// end of babel-config
}, },
plugins: ['ember'], plugins: ['ember'],
extends: [ extends: ['eslint:recommended', 'plugin:ember/recommended', 'prettier'],
'eslint:recommended',
'plugin:ember/recommended',
'plugin:prettier/recommended',
],
env: { env: {
browser: true, browser: true,
}, },
@@ -30,21 +36,15 @@ module.exports = {
// node files // node files
{ {
files: [ files: [
'.eslintrc.js', './.eslintrc.js',
'.prettierrc.js', './.prettierrc.js',
'.template-lintrc.js', './.template-lintrc.js',
'ember-cli-build.js', './ember-cli-build.js',
'index.js', './index.js',
'testem.js', './testem.js',
'blueprints/*/index.js', './blueprints/*/index.js',
'config/**/*.js', './config/**/*.js',
'tests/dummy/config/**/*.js', './tests/dummy/config/**/*.js',
],
excludedFiles: [
'addon/**',
'addon-test-support/**',
'app/**',
'tests/dummy/app/**',
], ],
parserOptions: { parserOptions: {
sourceType: 'script', sourceType: 'script',
@@ -53,8 +53,15 @@ module.exports = {
browser: false, browser: false,
node: true, node: true,
}, },
plugins: ['node'], extends: ['plugin:n/recommended'],
extends: ['plugin:node/recommended'], },
{
// Test files:
files: ['tests/**/*-test.{js,ts}'],
extends: ['plugin:qunit/recommended'],
rules: {
'qunit/require-expect': [2, 'except-simple'],
},
}, },
], ],
}; };
+7 -1
View File
@@ -14,20 +14,26 @@
/.eslintignore /.eslintignore
/.eslintrc.js /.eslintrc.js
/.git/ /.git/
/.github/
/.gitignore /.gitignore
/.prettierignore
/.prettierrc.js
/.template-lintrc.js /.template-lintrc.js
/.travis.yml /.travis.yml
/.watchmanconfig /.watchmanconfig
/bower.json /bower.json
/config/ember-try.js
/CONTRIBUTING.md /CONTRIBUTING.md
/ember-cli-build.js /ember-cli-build.js
/testem.js /testem.js
/tests/ /tests/
/yarn-error.log
/yarn.lock /yarn.lock
.gitkeep .gitkeep
# ember-try # ember-try
/.node_modules.ember-try/ /.node_modules.ember-try/
/bower.json.ember-try /bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try /package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
+4
View File
@@ -14,8 +14,12 @@
/coverage/ /coverage/
!.* !.*
.eslintcache .eslintcache
.lint-todo/
# ember-try # ember-try
/.node_modules.ember-try/ /.node_modules.ember-try/
/bower.json.ember-try /bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try /package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
-4
View File
@@ -1,4 +0,0 @@
{
"singleQuote": true,
"printWidth": 80
}
+12 -2
View File
@@ -1,5 +1,15 @@
'use strict'; /**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
module.exports = { module.exports = {
singleQuote: true, overrides: [
{
files: '*.{js,ts}',
options: {
singleQuote: true,
},
},
],
}; };
+6 -1
View File
@@ -1,5 +1,10 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
'use strict'; 'use strict';
module.exports = { module.exports = {
extends: 'octane', extends: ['recommended', 'stylistic'],
}; };
+9 -2
View File
@@ -47,21 +47,28 @@ List of available project commands. `yarn run <command-name>`
| build:development | Builds the dummy app in development mode. | | build:development | Builds the dummy app in development mode. |
| build | Builds the dummy app for production. | | build | Builds the dummy app for production. |
| lint | Runs all lint commands. | | lint | Runs all lint commands. |
| lint:fix | Runs automatic lint fixes for all type of file. |
| lint:hbs | Runs lint for `hbs` template files. |
| lint:hbs:fix | Runs automatic lint fixes for `hbs` template files. |
| lint:js | Lints `js` files. | | lint:js | Lints `js` files. |
| lint:js:fix | Runs automatic lint fixes for `js` files. |
| format | Runs all auto-formatters. | | format | Runs all auto-formatters. |
| format:js | Auto-formats `js` files using Prettier. | | format:js | Auto-formats `js` files using Prettier. |
| start | Runs the dummy app local server. | | start | Runs the dummy app local server. |
| test | Runs all tests. | | test | Runs all tests. |
| test:all | Runs tests across multiple Ember versions with ember-try. | | test:ember-compatibility | Runs tests across multiple Ember versions with ember-try. |
| precommit | Runs all lint and format. |
| doc:toc | Automatically generates a table of contents for this README file. | | doc:toc | Automatically generates a table of contents for this README file. |
Additional commands in the monorepo package may affect this projects. Additional commands in the monorepo package may affect this projects.
## Linting ## Linting
* `yarn lint:fix`
* `yarn lint:hbs` * `yarn lint:hbs`
* `yarn lint:hbs:fix`
* `yarn lint:js` * `yarn lint:js`
* `yarn lint:js --fix` * `yarn lint:js:fix`
## Formatting ## Formatting
@@ -0,0 +1,107 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import sinon from 'sinon';
import { typeOf } from '@ember/utils';
/**
* This test helper can be used to help setup your sinon stubs in your tests.
* Must be called after setupMirage.
*
* ```js
* import setupStubs from 'api/test-support/handlers/client-daemon-search';
*
* module('Acceptance | my test', function(hooks) {
* setupApplicationTest(hooks);
* setupMirage(hooks);
* setupStubs(hooks);
*
* // add your actual tests here
* });
* ```
*
* This will setup a stub for the IPC service and include helper methods to
* help setup what the client daemon search command returns.
*
* @module Test Helpers
* @public
*/
export default function setupStubs(hooks) {
let stubTypes = [];
hooks.beforeEach(function () {
const ipcService = this.owner.lookup('service:ipc');
this.ipcStub = sinon.stub(ipcService, 'invoke');
/**
* We aim to still use mirage data when stubbing out the client daemon
* search. However, the handler expects the search data to be raw JSON from
* the API which will get serialized. We add back the scope object for it to
* get correctly normalized and other fields such as "attributes" from the
* API will already be hoisted and will not be re-normalized from mirage data.
*
* This convenience method can take in multiple types,
* e.g. this.stubClientDaemonSearch('targets', 'sessions').
* This will have sinon stub out each call so the first call to search will
* provide all the models from the first parameter you specify,
* the second call will provide all the models from the second argument, etc.
* @param types
*/
this.stubClientDaemonSearch = (...types) => {
stubTypes = types;
types.forEach((type, i) => {
let models;
let resourceName;
if (typeOf(type) === 'object') {
models = type.func();
resourceName = type.resource;
} else {
models = this.server.schema[type].all().models;
resourceName = type;
}
this.ipcStub
.withArgs('searchClientDaemon')
.onCall(i)
.returns({
[resourceName]: models.map((model) => {
// Use internal serializer to serialize the model correctly
// according to our mirage serializers
const modelData =
this.server.serializerOrRegistry.serialize(model);
// Serialize the data properly to standard JSON as that is what
// we're expecting from the client daemon response
return JSON.parse(JSON.stringify(modelData));
}),
});
});
};
});
hooks.afterEach(function () {
// Verify the number of mocks we set up match with how
// many times the client daemon was called with
sinon.assert.callCount(
this.ipcStub.withArgs('searchClientDaemon'),
stubTypes.length,
);
stubTypes.forEach((type, i) => {
// Assert that the stub was called with the resource we're trying to mock
// so we don't mistakenly mock the wrong resource
const ipcCall = this.ipcStub.withArgs('searchClientDaemon').getCall(i);
let resource = type;
if (typeOf(type) === 'object') {
resource = type.resource;
}
sinon.assert.match(ipcCall.args[1], { resource });
});
sinon.restore();
});
}
+44
View File
@@ -0,0 +1,44 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for accounts.
*/
export default class AccountAbility extends ModelAbility {
// =permissions
/**
* Only "known" account types may be read.
* @type {boolean}
*/
get canRead() {
return !this.model.isUnknown && this.hasAuthorizedAction('read');
}
/**
* Only "known" account types may be updated.
* @type {boolean}
*/
get canUpdate() {
return !this.model.isUnknown && this.hasAuthorizedAction('update');
}
/**
* Only "known" account types may be deleted.
* @type {boolean}
*/
get canDelete() {
return !this.model.isUnknown && this.hasAuthorizedAction('delete');
}
/**
* @type {boolean}
*/
get canSetPassword() {
return this.hasAuthorizedAction('set-password');
}
}
+34
View File
@@ -0,0 +1,34 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for auth method.
*/
export default class AuthMethodAbility extends ModelAbility {
// =permissions
/**
* Only "known" auth method types may be read.
* @type {boolean}
*/
get canRead() {
return !this.model.isUnknown && this.hasAuthorizedAction('read');
}
/**
* Only "known" auth method types may be updated.
*/
get canUpdate() {
return !this.model.isUnknown && this.hasAuthorizedAction('update');
}
/**
* Only "known" auth method types may be deleted.
*/
get canDelete() {
return !this.model.isUnknown && this.hasAuthorizedAction('delete');
}
}
@@ -0,0 +1,26 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
import { inject as service } from '@ember/service';
/**
* Provides abilities for channel recordings.
*/
export default class ChannelRecordingAbility extends ModelAbility {
// =services
@service abilities;
// =permissions
get canGetAsciicast() {
const sessionRecording = this.model.connection_recording.session_recording;
const sessionRecordingAbility = this.abilities.abilityFor(
'session-recording',
sessionRecording,
);
return this.model.isAsciicast && sessionRecordingAbility.canDownload;
}
}
@@ -0,0 +1,20 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for credential.
*/
export default class CredentialLibraryAbility extends ModelAbility {
// =permissions
/**
* Only "known" credential library types may be read.
* @type {boolean}
*/
get canRead() {
return !this.model.isUnknown && this.hasAuthorizedAction('read');
}
}
@@ -0,0 +1,27 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
import { inject as service } from '@ember/service';
/**
* Provides abilities for credential store.
*/
export default class CredentialStoreAbility extends ModelAbility {
// =services
@service features;
// =permissions
/**
* Only "known" credential store types may be read.
* @type {boolean}
*/
get canRead() {
return this.features.isEnabled('static-credentials')
? this.hasAuthorizedAction('read')
: !this.model.isStatic && this.hasAuthorizedAction('read');
}
}
+20
View File
@@ -0,0 +1,20 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for credential.
*/
export default class CredentialAbility extends ModelAbility {
// =permissions
/**
* Only "known" credential types may be read.
* @type {boolean}
*/
get canRead() {
return !this.model.isUnknown && this.hasAuthorizedAction('read');
}
}
+27
View File
@@ -0,0 +1,27 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for groups.
*/
export default class GroupAbility extends ModelAbility {
// =permissions
/**
* @type {boolean}
*/
get canAddMembers() {
return this.hasAuthorizedAction('add-members');
}
/**
* @type {boolean}
*/
get canRemoveMembers() {
return this.hasAuthorizedAction('remove-members');
}
}
@@ -0,0 +1,21 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for host catalogs.
*/
export default class HostCatalogAbility extends ModelAbility {
// =permissions
/**
* Only "known" host catalog types may be read.
* @type {boolean}
*/
get canRead() {
return !this.model.isUnknown && this.hasAuthorizedAction('read');
}
}
+34
View File
@@ -0,0 +1,34 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for host sets.
*/
export default class HostSetAbility extends ModelAbility {
// =permissions
/**
* @type {boolean}
*/
get canAddHosts() {
return this.hasAuthorizedAction('add-hosts');
}
/**
* @type {boolean}
*/
get canRemoveHosts() {
return this.hasAuthorizedAction('remove-hosts');
}
/**
* @type {boolean}
*/
get canRead() {
return !this.model.isUnknown && this.hasAuthorizedAction('read');
}
}
@@ -0,0 +1,13 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for managed groups.
*/
export default class ManagedGroupAbility extends ModelAbility {
// no op
}
+91
View File
@@ -0,0 +1,91 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Ability } from 'ember-can';
/**
* Generic ability provides abilities common to all models in the API.
*/
export default class ModelAbility extends Ability {
// =permissions
/**
* @type {boolean}
*/
get canRead() {
return this.hasAuthorizedAction('read');
}
/**
* @type {boolean}
*/
get canUpdate() {
return this.hasAuthorizedAction('update');
}
/**
* @type {boolean}
*/
get canDelete() {
return this.hasAuthorizedAction('delete');
}
/**
* To save an existing model (already persisted to the API), it must contain
* the the `update` authorized action.
*
* For now, new models _always_ have this ability. The reason is because the
* `create` action is authorized on collections, not individual records. So
* this function can't actually tell from a model instance if create
* is allowed.
*
* @type {boolean}
*/
get canSave() {
if (this.model.isNew || (!this.model.isNew && this.canUpdate)) {
return true;
}
return false;
}
/**
* @type {boolean}
*/
get canList() {
return this.hasAuthorizedCollectionAction('list');
}
/**
* @type {boolean}
*/
get canCreate() {
return this.hasAuthorizedCollectionAction('create');
}
// =methods
/**
* Returns true if the given action is contained in the ability model's
* `authorized_actions` array.
* @param {string} action
* @return {boolean}
*/
hasAuthorizedAction(action) {
return this.model.authorized_actions?.includes(action);
}
/**
* Returns true if the given action is contained in the ability model's
* `authorized_collection_actions` array.
* @param {string} action
* @return {boolean}
*/
hasAuthorizedCollectionAction(action) {
const authorized_collection_actions =
(this.model || {}).authorized_collection_actions || {};
const collection = this.collection || {};
return authorized_collection_actions[collection]?.includes(action);
}
}
+46
View File
@@ -0,0 +1,46 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
import { service } from '@ember/service';
/**
* Provides abilities for storage policies.
*/
export default class PolicyAbility extends ModelAbility {
// =services
@service features;
// =permissions
/**
* This ensures that storage policies may be read only if the
* session-recording feature flag is enabled.
*/
get canRead() {
return this.features.isEnabled('ssh-session-recording')
? super.canRead
: false;
}
/**
* This ensures that storage policies may be updated only if the
* session-recording feature flag is enabled.
*/
get canUpdate() {
return this.features.isEnabled('ssh-session-recording')
? super.canUpdate
: false;
}
/**
* This ensures that storage policies may be deleted only if the
* session-recording feature flag is enabled.
*/
get canDelete() {
return this.features.isEnabled('ssh-session-recording')
? super.canDelete
: false;
}
}
+61
View File
@@ -0,0 +1,61 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
import { inject as service } from '@ember/service';
class InvalidRolePrincipalTypeError extends Error {
name = 'InvalidRolePrincipalTypeError';
}
/**
* Provides abilities for roles.
*/
export default class RoleAbility extends ModelAbility {
// =services
@service can;
// =permissions
/**
* @type {boolean}
*/
get canSetGrants() {
return this.hasAuthorizedAction('set-grants');
}
/**
* @type {boolean}
*/
get canAddPrincipals() {
return this.hasAuthorizedAction('add-principals');
}
/**
* @type {boolean}
*/
get canRemovePrincipals() {
return this.hasAuthorizedAction('remove-principals');
}
/**
* Returns the ability check for a principal model instance.
* Valid role principal models are: User, Group, and ManagedGroup.
* Throws an error if the principal type is invalid.
* @type {boolean}
* @throws {InvalidRolePrincipalTypeError}
*/
get canReadPrincipal() {
const type = this.model.constructor.modelName;
const typeIsValid =
type === 'user' || type === 'group' || type === 'managed-group';
if (!typeIsValid)
throw new InvalidRolePrincipalTypeError(
`Expected a role principal of type 'user', 'group', or 'managed-group'. Got '${type}'.`,
);
return this.can.can(`read ${type}`, this.model);
}
}
+28
View File
@@ -0,0 +1,28 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for scopes.
*/
export default class ScopeAbility extends ModelAbility {
// =permissions
/**
* Permission that checks whether a policy can be attached to a scope
* @type {boolean}
*/
get canAttachStoragePolicy() {
return this.hasAuthorizedAction('attach-storage-policy');
}
/**
* Permission that checks whether a policy can be detached to a scope
* @type {boolean}
*/
get canDetachStoragePolicy() {
return this.hasAuthorizedAction('detach-storage-policy');
}
}
@@ -0,0 +1,42 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for session recordings.
*/
export default class SessionRecordingAbility extends ModelAbility {
// =services
// =permissions
/**
* Only "known" session recording types may be read.
* @type {boolean}
*/
get canRead() {
return !this.model.isUnknown && super.canRead;
}
/**
* Only "known" session recording types may be deleted.
* @type {boolean}
*/
get canDelete() {
return !this.model.isUnknown && super.canDelete && this.model.isAvailable;
}
get canDownload() {
return this.hasAuthorizedAction('download');
}
/* Permission that checks whether a policy can be reapplied to a session recording
* @type {boolean}
*/
get canReapplyStoragePolicy() {
return this.hasAuthorizedAction('reapply-storage-policy');
}
}
+38
View File
@@ -0,0 +1,38 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for sessions.
*/
export default class SessionAbility extends ModelAbility {
// =services
// =permissions
/**
* Only available sessions may be read.
* @type {boolean}
*/
get canRead() {
return (
this.model.isAvailable &&
(this.hasAuthorizedAction('read:self') || super.canRead)
);
}
/**
* Only available sessions may be canceled.
* @type {boolean}
*/
get canCancel() {
return (
this.model.isAvailable &&
(this.hasAuthorizedAction('cancel:self') ||
this.hasAuthorizedAction('cancel'))
);
}
}
@@ -0,0 +1,39 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for storage buckets.
*/
export default class StorageBucketAbility extends ModelAbility {
// =services
// =permissions
/**
* Only "known" storage bucket types may be read.
* @type {boolean}
*/
get canRead() {
return !this.model.isUnknown && super.canRead;
}
/**
* Only "known" storage bucket types may be updated.
* @type {boolean}
*/
get canUpdate() {
return !this.model.isUnknown && super.canUpdate;
}
/**
* Only "known" storage bucket types may be deleted.
* @type {boolean}
*/
get canDelete() {
return !this.model.isUnknown && super.canDelete;
}
}
+56
View File
@@ -0,0 +1,56 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for targets.
*/
export default class TargetAbility extends ModelAbility {
// =permissions
/**
* @type {boolean}
*/
get canConnect() {
return this.hasAuthorizedAction('authorize-session');
}
/**
* @type {boolean}
*/
get canAddHostSources() {
return this.hasAuthorizedAction('add-host-sources');
}
/**
* @type {boolean}
*/
get canRemoveHostSources() {
return this.hasAuthorizedAction('remove-host-sources');
}
/**
* @type {boolean}
*/
get canAddBrokeredCredentialSources() {
return this.hasAuthorizedAction('add-credential-sources');
}
/**
* @type {boolean}
*/
get canAddInjectedApplicationCredentialSources() {
return (
this.model.isSSH && this.hasAuthorizedAction('add-credential-sources')
);
}
/**
* @type {boolean}
*/
get canRemoveCredentialSources() {
return this.hasAuthorizedAction('remove-credential-sources');
}
}
+43
View File
@@ -0,0 +1,43 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for users.
*/
export default class UserAbility extends ModelAbility {
// =permissions
/**
* @type {boolean}
*/
get canAddAccounts() {
return this.hasAuthorizedAction('add-accounts');
}
/**
* @type {boolean}
*/
get canRemoveAccounts() {
return this.hasAuthorizedAction('remove-accounts');
}
/**
* @type {boolean}
*/
get canAddAccount() {
const { account, canAddAccounts } = this;
return canAddAccounts && !account.isUnknown;
}
/**
* @type {boolean}
*/
get canRemoveAccount() {
const { account, canRemoveAccounts } = this;
return canRemoveAccounts && !account.isUnknown;
}
}
+20
View File
@@ -0,0 +1,20 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ModelAbility from './model';
/**
* Provides abilities for workers.
*/
export default class WorkerAbility extends ModelAbility {
// =permissions
/**
* @type {boolean}
*/
get canCreateWorkerLed() {
return this.hasAuthorizedCollectionAction('create:worker-led');
}
}
+61 -21
View File
@@ -1,8 +1,13 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import RESTAdapter from '@ember-data/adapter/rest'; import RESTAdapter from '@ember-data/adapter/rest';
import { serializeIntoHash } from '@ember-data/adapter/-private'; import { serializeIntoHash } from '@ember-data/adapter/-private';
/* eslint-disable-next-line ember/no-mixins */ /* eslint-disable-next-line ember/no-mixins */
import AdapterBuildURLMixin from '../mixins/adapter-build-url'; import AdapterBuildURLMixin from '../mixins/adapter-build-url';
import config from 'ember-get-config'; import { getOwner } from '@ember/application';
import { get } from '@ember/object'; import { get } from '@ember/object';
import { InvalidError } from '@ember-data/adapter/error'; import { InvalidError } from '@ember-data/adapter/error';
import { dasherize } from '@ember/string'; import { dasherize } from '@ember/string';
@@ -40,23 +45,40 @@ function prenormalizeArrayResponse(response) {
} }
export default class ApplicationAdapter extends RESTAdapter.extend( export default class ApplicationAdapter extends RESTAdapter.extend(
AdapterBuildURLMixin AdapterBuildURLMixin,
) { ) {
// =attributes // =attributes
#host;
#namespace;
/** /**
* Sets host to the `api.host` string in the application's config, * Sets host to the `api.host` string in the application's config,
* if set. * if set.
* @type {string} * @type {string}
*/ */
host = get(config, 'api.host'); get host() {
const config = getOwner(this).resolveRegistration('config:environment');
return this.#host || get(config, 'api.host');
}
set host(value) {
// Setting this value is useful for testing purposes.
this.#host = value;
}
/** /**
* Sets namespace to the `api.namespace` string in the application's config, * Sets namespace to the `api.namespace` string in the application's config,
* if set. * if set.
* @type {string} * @type {string}
*/ */
namespace = get(config, 'api.namespace'); get namespace() {
const config = getOwner(this).resolveRegistration('config:environment');
return this.#namespace || get(config, 'api.namespace');
}
set namespace(value) {
// Setting this value is useful for testing purposes.
this.#namespace = value;
}
// =methods // =methods
@@ -86,22 +108,37 @@ export default class ApplicationAdapter extends RESTAdapter.extend(
/** /**
* Intercepts "empty" responses and adds an empty `items` array. * Intercepts "empty" responses and adds an empty `items` array.
* @override * This query method now supports pagination by checking the responseType and
* @method findAll * passing in the list token if the responseType indicates more data
* @return {Promise} promise
*/
findAll() {
return super.findAll(...arguments).then(prenormalizeArrayResponse);
}
/**
* Intercepts "empty" responses and adds an empty `items` array.
* @override * @override
* @method query * @method query
* @return {Promise} promise * @return {Promise} promise
*/ */
query() { async query(store, schema, query) {
return super.query(...arguments).then(prenormalizeArrayResponse); let result;
let data = [];
// If the query has a page_size, we skip the pagination logic
// and return the initial result. This is being used to determine
// if the controller supports pagination
if (query.page_size) {
result = await super.query(store, schema, query);
return prenormalizeArrayResponse(result);
}
// Run this loop as long as the response_type is delta,
// which indicates that there are more items in the list
do {
result = await super.query(store, schema, query);
//add the result items to a data array
if (result && result.items) {
data.push(...result.items);
//pass in the list token for subsequent calls to fetch the remaining list items
query.list_token = result.list_token;
}
} while (result && result.response_type === 'delta');
result.items = data;
return prenormalizeArrayResponse(result);
} }
/** /**
@@ -248,12 +285,15 @@ export default class ApplicationAdapter extends RESTAdapter.extend(
// Normalize field-specific errors, if any. // Normalize field-specific errors, if any.
const errors = fieldErrors.map((error) => ({ const errors = fieldErrors.map((error) => ({
detail: error.description, detail: error.description,
// Ember Data cannot handle errors on nested attributes, so these are // Going forward, nested attributes will be hoisted. Thus "attributes."
// flattened (e.g. `attributes.foobar` becomes `attributes_foobar`). // must be stripped from the error name key. Until all models are
// To capture these errors, add read-only fields on the model // transitioned away from model fragments, however, both this and the
// corresponding to the underscored field name. // prior error key mappings are necessary.
source: { pointer: `/data/attributes/${error.name.replace('.', '_')}` }, source: {
pointer: `/data/attributes/${error.name.replace('attributes.', '')}`,
},
})); }));
// Return a list of JSON API errors rooted under the `errors` key. // Return a list of JSON API errors rooted under the `errors` key.
return { return {
errors: [baseError, ...errors], errors: [baseError, ...errors],
+32
View File
@@ -0,0 +1,32 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ApplicationAdapter from './application';
export default class HostCatalogAdapter extends ApplicationAdapter {
/**
* Overrides the default `buildURL` such that on _create_, URLs for records of
* type `plugin` get an extra query parameter `?plugin_name`. All other
* request types behave as normal.
*
* @override
* @param {string} modelName
* @param {string} id
* @return {string} url
* @return {string} requestType
*/
buildURL(modelName, id, snapshot, requestType) {
let url = super.buildURL(...arguments);
if (requestType === 'createRecord') {
try {
const pluginName = snapshot.attr('plugin')?.name;
if (pluginName) url = `${url}?plugin_name=${pluginName}`;
} catch (e) {
// Ignore any adapter errors here
}
}
return url;
}
}
@@ -0,0 +1,74 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ApplicationAdapter from './application';
import { MIME_TYPE_ASCIICAST } from 'api/models/channel-recording';
export default class SessionRecordingAdapter extends ApplicationAdapter {
/**
* Overrides the default `buildURL` such that for custom download methods,
* URLs will get the query parameters. All other request types behave as normal.
*
* @param modelName {string}
* @param id {string}
* @param snapshot {object}
* @param requestType {string}
* @param query {object}
* @returns {string}
*/
buildURL(modelName, id, snapshot, requestType, query) {
let url = super.buildURL(...arguments);
let method;
try {
method = snapshot?.adapterOptions?.method;
} catch (e) {
// Ignore any adapter errors here
}
if (method === 'download') {
const queryParams = new URLSearchParams(query).toString();
if (queryParams) url = `${url}?${queryParams}`;
}
return url;
}
/**
* Handles the download recording for recordings. Takes in a mime type for the
* type or recording to return.
* The ID can be the session ID, session recording ID,
* connection recording ID, or the channel recording ID.
* @param id {string}
* @param mimeType {string}
* @returns {Promise<string>}
*/
async getRecordingDownload({ id, mimeType }) {
const options = { adapterOptions: { method: 'download' } };
const url = this.buildURL('session-recording', id, options, 'findRecord', {
mime_type: mimeType,
});
const response = await fetch(url, { headers: this.headers });
if (response?.ok) {
return response.text();
} else {
throw this.handleResponse(
response.status,
response.headers,
await response.text(),
);
}
}
/**
* Returns an ascii cast recording.
* @param id
* @returns {Promise<string>}
*/
getAsciicast(id) {
return this.getRecordingDownload({
id,
mimeType: MIME_TYPE_ASCIICAST,
});
}
}
@@ -0,0 +1,33 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import ApplicationAdapter from './application';
export default class StorageBucketAdapter extends ApplicationAdapter {
/**
* Overrides the default `buildURL` such that on _create_, URLs for records of
* type `plugin` get an extra query parameter `?plugin_name`. All other
* request types behave as normal.
*
* @override
* @param {string} modelName
* @param {string} id
* @return {string} url
* @return {string} requestType
*/
buildURL(modelName, id, snapshot, requestType) {
let url = super.buildURL(...arguments);
let pluginName;
try {
pluginName = snapshot?.attr('plugin')?.name;
} catch (e) {
// Ignore any adapter errors here
}
if (requestType === 'createRecord' && pluginName) {
url = `${url}?plugin_name=${pluginName}`;
}
return url;
}
}
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -43,4 +48,39 @@ export default class GeneratedAccountModel extends BaseModel {
description: 'Current version number of this resource.', description: 'Current version number of this resource.',
}) })
version; version;
// =attributes (password and LDAP)
@attr('string', {
for: ['password', 'ldap'],
isNestedAttribute: true,
description: 'The account login name',
})
login_name;
// =attributes (OIDC)
@attr('string', { for: 'oidc', isNestedAttribute: true }) subject;
@attr('string', { for: 'oidc', isNestedAttribute: true }) issuer;
// =attributes (OIDC and LDAP)
@attr('string', {
for: ['oidc', 'ldap'],
isNestedAttribute: true,
readOnly: true,
})
email;
@attr('string', {
for: ['oidc', 'ldap'],
isNestedAttribute: true,
readOnly: true,
})
full_name;
// =attributes (LDAP)
@attr('string', { for: 'ldap', isNestedAttribute: true, readOnly: true }) dn;
@attr('string-array', {
for: 'ldap',
isNestedAttribute: true,
readOnly: true,
})
member_of_groups;
} }
@@ -0,0 +1,58 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* Alias contains all fields related to an Alias resource
*/
export default class GeneratedAliasModel extends BaseModel {
// =attributes
@attr('string', {
description: 'The type of the resource, to help differentiate schemas',
})
type;
@attr('string', {
description: 'Optional name for identification purposes.',
})
name;
@attr('string', {
description: 'Optional user-set description for identification purposes.',
})
description;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
readOnly: true,
})
updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
@attr('string', {
description: 'This is the id of the resource that this Alias points to.',
})
destination_id;
@attr('object', {
isNestedAttribute: true,
description:
'This contains a host_id which is the id of the host that the session will be authorized for.',
})
authorize_session_arguments;
}
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -49,4 +54,267 @@ export default class GeneratedAuthMethodModel extends BaseModel {
description: 'Current version number of this resource.', description: 'Current version number of this resource.',
}) })
version; version;
// =attributes(oidc, ldap)
@attr('string', {
for: ['oidc', 'ldap'],
readOnly: true,
isNestedAttribute: true,
})
state;
// =attributes(oidc)
@attr('string', {
for: 'oidc',
isNestedAttribute: true,
})
issuer;
@attr('string', {
for: 'oidc',
isNestedAttribute: true,
})
client_id;
@attr('string', {
for: 'oidc',
isNestedAttribute: true,
isSecret: true,
})
client_secret;
@attr('string', {
for: 'oidc',
readOnly: true,
isNestedAttribute: true,
})
client_secret_hmac;
@attr('number', {
for: 'oidc',
isNestedAttribute: true,
})
max_age;
@attr('string', {
for: 'oidc',
isNestedAttribute: true,
})
api_url_prefix;
@attr('string', {
for: 'oidc',
readOnly: true,
isNestedAttribute: true,
})
callback_url;
@attr('boolean', {
for: 'oidc',
isNestedAttribute: true,
})
disable_discovered_config_validation;
@attr('boolean', {
for: 'oidc',
isNestedAttribute: true,
})
dry_run;
@attr('string-array', {
for: 'oidc',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
claims_scopes;
@attr('string-array', {
for: 'oidc',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
signing_algorithms;
@attr('string-array', {
for: 'oidc',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
allowed_audiences;
@attr('string-array', {
for: 'oidc',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
idp_ca_certs;
@attr('account-value-map-array', {
for: 'oidc',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
account_claim_maps;
@attr('string-array', {
for: 'oidc',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
prompts;
// =attributes(ldap)
@attr('boolean', {
for: 'ldap',
isNestedAttribute: true,
})
start_tls;
@attr('boolean', {
for: 'ldap',
isNestedAttribute: true,
})
insecure_tls;
@attr('boolean', {
for: 'ldap',
isNestedAttribute: true,
})
discover_dn;
@attr('boolean', {
for: 'ldap',
isNestedAttribute: true,
})
anon_group_search;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
upn_domain;
@attr('string-array', {
for: 'ldap',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
urls;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
user_dn;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
user_attr;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
user_filter;
@attr('boolean', {
for: 'ldap',
isNestedAttribute: true,
})
enable_groups;
@attr('boolean', {
for: 'ldap',
isNestedAttribute: true,
})
use_token_groups;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
group_dn;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
group_attr;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
group_filter;
@attr('string-array', {
for: 'ldap',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
certificates;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
client_certificate;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
isSecret: true,
})
client_certificate_key;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
readOnly: true,
})
client_certificate_key_hmac;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
bind_dn;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
isSecret: true,
})
bind_password;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
readOnly: true,
})
bind_password_hmac;
@attr('account-value-map-array', {
for: 'ldap',
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
account_attribute_maps;
@attr('number', {
for: 'ldap',
isNestedAttribute: true,
})
maximum_page_size;
@attr('string', {
for: 'ldap',
isNestedAttribute: true,
})
dereference_aliases;
} }
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
/** /**
@@ -0,0 +1,59 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A channel contains data for a single channel within a connection.
*/
export default class GeneratedChannelRecordingModel extends BaseModel {
// =attributes
@attr('string', {
description:
'The total number of bytes uploaded from the client in this Channel.',
readOnly: true,
})
bytes_up;
@attr('string', {
description:
'The total number of bytes downloaded to the client in this Channel.',
readOnly: true,
})
bytes_down;
@attr('number', {
description:
'The total number of errors that occurred during the use of this Channel.',
readOnly: true,
})
errors_number;
@attr('date', {
description: 'The time the Channel started.',
readOnly: true,
})
start_time;
@attr('date', {
description: 'The time the Channel finished.',
readOnly: true,
})
end_time;
@attr({
description: 'The array of mime types that this recording will support.',
readOnly: true,
})
mime_types;
@attr('duration', {
description: 'The duration of this channel recording in ms.',
readOnly: true,
})
duration;
}
@@ -0,0 +1,66 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A connection contains data for a boundary connection within a session.
*/
export default class GeneratedConnectionRecordingModel extends BaseModel {
// =attributes
@attr('string', {
description:
'The ID of the Connection which this Connection Recording recorded.',
readOnly: true,
})
connection_id;
@attr('string', {
description:
'The total number of bytes uploaded from the client in this Connection.',
readOnly: true,
})
bytes_up;
@attr('string', {
description:
'The total number of bytes downloaded to the client in this Connection.',
readOnly: true,
})
bytes_down;
@attr('number', {
description:
'The total number of errors that occurred during the use of this Connection.',
readOnly: true,
})
errors_number;
@attr('date', {
description: 'The time the Connection started.',
readOnly: true,
})
start_time;
@attr('date', {
description: 'The time the Connection finished.',
readOnly: true,
})
end_time;
@attr({
description: 'The array of mime types that this recording will support.',
readOnly: true,
})
mime_types;
@attr('duration', {
description: 'The duration of this connection recording in ms.',
readOnly: true,
})
duration;
}
@@ -0,0 +1,142 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A credential library is a resource that can generate and retrieve
* credentials.
*/
export default class GeneratedCredentialLibraryModel extends BaseModel {
// =attributes
@attr('string', {
description: 'The type of the resource, to help differentiate schemas',
})
type;
@attr('string', {
description: 'The owning credential store ID.',
})
credential_store_id;
@attr('string', {
description: 'Optional name for identification purposes',
})
name;
@attr('string', {
description: 'Optional user-set description for identification purposes',
})
description;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
readOnly: true,
})
updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
//= attributes (vault)
@attr('string', {
for: 'vault-generic',
isNestedAttribute: true,
description:
'The HTTP method the library uses when requesting credentials from Vault.',
defaultValue: () => 'GET',
})
http_method;
@attr('string', {
for: 'vault-generic',
isNestedAttribute: true,
description:
'The body of the HTTP request the library sends to Vault when requesting credentials. Only valid if `http_method` is set to `POST`.',
})
http_request_body;
@attr('string', {
isNestedAttribute: true,
description: 'The path in Vault to request credentials from.',
})
path;
@attr('string', {
for: 'vault-generic',
description: 'It indicates the type of credential the library returns.',
})
credential_type;
@attr('object', {
for: 'vault-generic',
description: 'It indicates the credential mapping overrides.',
})
credential_mapping_overrides;
@attr('string', {
for: 'vault-ssh-certificate',
isNestedAttribute: true,
description: 'The username to use when making an SSH connection.',
})
username;
@attr('string', {
for: 'vault-ssh-certificate',
isNestedAttribute: true,
description: 'The desired key type to use when generating a private key.',
})
key_type;
@attr('number', {
for: 'vault-ssh-certificate',
isNestedAttribute: true,
description:
'Specifies the number of bits used when generating the private key. Not used if key type is ed25519',
})
key_bits;
@attr('string', {
for: 'vault-ssh-certificate',
isNestedAttribute: true,
description: 'Specifies the requested time to live for the certificate.',
})
ttl;
@attr('string', {
for: 'vault-ssh-certificate',
isNestedAttribute: true,
description:
'Specifies the key id that the created certificate should have.',
})
key_id;
@attr('object-as-array', {
for: 'vault-ssh-certificate',
isNestedAttribute: true,
description:
'Specifies a map of the critical options that the certificate should be signed for.',
})
critical_options;
@attr('object-as-array', {
for: 'vault-ssh-certificate',
isNestedAttribute: true,
description:
'Specifies a map of the extensions that the certificate should be signed for.',
})
extensions;
}
@@ -0,0 +1,134 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A credential store is a resource that can retrieve, store, and potentially
* generate credentials.
*/
export default class GeneratedCredentialStoreModel extends BaseModel {
// =attributes
@attr('string', {
description: 'The type of the resource, to help differentiate schemas',
})
type;
@attr('string', {
description: 'Optional name for identification purposes',
})
name;
@attr('string', {
description: 'Optional user-set description for identification purposes',
})
description;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
readOnly: true,
})
updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
// =attributes (vault)
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description:
"The address to Vault server. This should be a complete URL such as 'https://127.0.0.1:8200'",
})
address;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description: 'The namespace within Vault to use.',
})
namespace;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description:
"A PEM-encoded CA certificate to verify the Vault server's TLS certificate.",
})
ca_cert;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description:
'Name to use as the SNI host when connecting to Vault via TLS.',
})
tls_server_name;
@attr('boolean', {
for: 'vault',
isNestedAttribute: true,
description: 'Whether or not to skip TLS verification.',
})
tls_skip_verify;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
isSecret: true,
description: 'A token used for accessing Vault.',
})
token;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description: 'The Vault token hmac.',
readOnly: true,
})
token_hmac;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description:
'A PEM-encoded client certificate to use for TLS authentication to the Vault server.',
})
client_certificate;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description:
"A PEM-encoded private key matching the client certificate from 'client_certificate'.",
})
client_certificate_key;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description: 'The Vault client certificate key hmac.',
readOnly: true,
})
client_certificate_key_hmac;
@attr('string', {
for: 'vault',
isNestedAttribute: true,
description:
'Filters to the worker(s) who can handle Vault requests for this cred store.',
})
worker_filter;
}
@@ -0,0 +1,95 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A credential is a data structure containing one or more secrets that binds an
* identity to a set of permissions or capabilities on a host for a session.
*/
export default class GeneratedCredentialModel extends BaseModel {
// =attributes
@attr('string', {
description:
'The ID of the Credential Store of which this Credential is a part.',
})
credential_store_id;
@attr('string', {
description: 'The type of the resource, to help differentiate schemas',
})
type;
@attr('string', {
description: 'Optional name for identification purposes',
})
name;
@attr('string', {
description: 'Optional user-set description for identification purposes',
})
description;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
readOnly: true,
})
updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
// =attributes (username_password, ssh_private_key)
@attr('string', {
for: ['username_password', 'ssh_private_key'],
isNestedAttribute: true,
description: 'The username for credential.',
})
username;
// =attributes (username_password)
@attr('string', {
for: 'username_password',
isNestedAttribute: true,
isSecret: true,
description: 'The password for credential.',
})
password;
// =attributes (ssh_private_key)
@attr('string', {
for: 'ssh_private_key',
isNestedAttribute: true,
isSecret: true,
description: 'The private key for credential.',
})
private_key;
@attr('string', {
for: 'ssh_private_key',
isNestedAttribute: true,
isSecret: true,
description: 'The private key passphrase for credential.',
})
private_key_passphrase;
@attr('string', {
for: 'json',
isNestedAttribute: true,
isSecret: true,
description: 'The secret associated with credential.',
})
json_object;
}
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -39,13 +44,74 @@ export default class GeneratedHostCatalogModel extends BaseModel {
}) })
disabled; disabled;
@attr({
description: 'Attributes specific to the catalog type',
})
attributes;
@attr('number', { @attr('number', {
description: 'Current version number of this resource.', description: 'Current version number of this resource.',
}) })
version; version;
@attr({
description: 'Plugin information for this resource.',
readOnly: true,
})
plugin;
// AWS & Azure
@attr('boolean', {
isNestedAttribute: true,
description: '',
})
disable_credential_rotation;
// AWS specific
@attr('string', {
isNestedAttribute: true,
description: '',
})
region;
@attr('string', {
isNestedSecret: true,
description: '',
})
access_key_id;
@attr('string', {
isNestedSecret: true,
description: '',
})
secret_access_key;
// Azure specific
@attr('string', {
isNestedAttribute: true,
description: '',
})
tenant_id;
@attr('string', {
isNestedAttribute: true,
description: '',
})
client_id;
@attr('string', {
isNestedAttribute: true,
description: '',
})
subscription_id;
@attr('string', {
isNestedSecret: true,
description: '',
})
secret_id;
@attr('string', {
isNestedSecret: true,
description: '',
})
secret_value;
} }
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -50,4 +55,45 @@ export default class GeneratedHostSetModel extends BaseModel {
readOnly: true, readOnly: true,
}) })
size; size;
@attr({
description: 'Plugin information for this resource',
readOnly: true,
})
plugin;
@attr('number', {
description:
"The number of seconds between the time boundary syncs the hosts in this set using this host set's plugin. If not provided a system determined default is used",
})
sync_interval_seconds;
/**
* Host IDs are read-only under normal circumstances. But these can
* be persisted via a dedicated call to `addHosts()`.
*/
@attr({
readOnly: true,
emptyArrayIfMissing: true,
})
host_ids;
@attr('string-array', {
emptyArrayIfMissing: true,
})
preferred_endpoints;
// AWS specific
@attr('string-array', {
isNestedAttribute: true,
emptyArrayIfMissing: true,
})
filters;
// Azure specific, comes in from API as "filter". This is to avoid collisions with filter
@attr('string', {
description: '',
isNestedAttribute: true,
})
filter_string;
} }
+17
View File
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -43,4 +48,16 @@ export default class GeneratedHostModel extends BaseModel {
description: 'Current version number of this resource.', description: 'Current version number of this resource.',
}) })
version; version;
@attr({
description: 'Plugin information for this resource.',
readOnly: true,
})
plugin;
@attr({
emptyArrayIfMissing: true,
readOnly: true,
})
host_set_ids;
} }
@@ -0,0 +1,71 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A managed group is a resource that represents a collection of accounts.
*/
export default class GeneratedManagedGroupModel extends BaseModel {
// =attributes
@attr('string', {
description: 'Optional name for identification purposes.',
})
name;
@attr('string', {
description: 'Optional user-set description for identification purposes.',
})
description;
@attr('date', {
description: 'The time this resource was created',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time this resource was last updated.',
readOnly: true,
})
updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
@attr('string', {
description: 'The type of this ManagedGroup.',
})
type;
@attr('string', {
description:
'The ID of the Auth Method that is associated with this ManagedGroup',
})
auth_method_id;
// =attributes (OIDC)
@attr('string', {
for: 'oidc',
isNestedAttribute: true,
description:
'The boolean expression filter to use to determine membership. Comes in from API as "filter".',
})
filter_string;
// =attributes (LDAP)
@attr('string-array', {
for: 'ldap',
isNestedAttribute: true,
description: 'The list of groups that make up the ManagedGroup',
})
group_names;
}
@@ -0,0 +1,61 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* Storage Policy is a resource that manages the lifecycle of Session Recordings,
* particularly to meet compliance frameworks.
*/
export default class GeneratedPolicyModel extends BaseModel {
// =attributes
@attr('string', {
description: 'The type of the resource, to help differentiate schemas',
})
type;
@attr('string', {
description: 'Optional name for identification purposes.',
})
name;
@attr('string', {
description: 'Optional user-set description for identification purposes.',
})
description;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
readOnly: true,
})
updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
@attr('object', {
isNestedAttribute: true,
description:
'Days is the number of days for which a session recording will be retained.',
})
retain_for;
@attr('object', {
isNestedAttribute: true,
description:
'Days is the number of days for which a session recording will be automatically deleted.',
})
delete_after;
}
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -44,4 +49,9 @@ export default class GeneratedScopeModel extends BaseModel {
description: 'Current version number of this resource.', description: 'Current version number of this resource.',
}) })
version; version;
@attr('string', {
description: 'The ID of the associated storage policy',
})
storage_policy_id;
} }
@@ -0,0 +1,125 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A session recording contains all data related to session recordings
*/
export default class GeneratedSessionRecordingModel extends BaseModel {
// =attributes
@attr('string', {
description: 'The type of the resource, to help differentiate schemas.',
readOnly: true,
})
type;
@attr('date', {
description:
'The time the Session Recording was created in the controller.',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time of the most recent update to the Session Recording.',
readOnly: true,
})
updated_time;
@attr({
description:
'Contains the values of related fields at the time this Session Recording was created',
readOnly: true,
})
create_time_values;
@attr('string', {
description: 'The ID of the Session which this Session Recording recorded.',
readOnly: true,
})
session_id;
@attr('string', {
description:
'The ID of the Storage Bucket for the Target of this Session Recording',
readOnly: true,
})
storage_bucket_id;
@attr('string', {
description:
'The total number of bytes uploaded from the client in the Session.',
readOnly: true,
})
bytes_up;
@attr('string', {
description:
'The total number of bytes downloaded to the client in the Session.',
readOnly: true,
})
bytes_down;
@attr('number', {
description:
'The total number of errors that occurred during the use of the Session.',
readOnly: true,
})
errors_number;
@attr('date', {
description: 'The time the Session started.',
readOnly: true,
})
start_time;
@attr('date', {
description: 'The time the Session finished.',
readOnly: true,
})
end_time;
@attr({
description: 'The array of mime types that this recording will support.',
readOnly: true,
})
mime_types;
@attr('duration', {
description: 'The duration of this session recording in ms.',
readOnly: true,
})
duration;
@attr('string', {
description:
'The current state of the session recording. One of "started", "available" and "unknown".',
readOnly: true,
})
state;
@attr('string', {
description:
'Any error seen during the closing of the session recording. Currently only set if state is "unknown".',
readOnly: true,
})
error_details;
@attr('date', {
description: 'The time until a session recording is required to be stored.',
readOnly: true,
})
retain_until;
@attr('date', {
description:
'The time a session recording is scheduled to be automatically deleted.',
readOnly: true,
})
delete_after;
}
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -27,6 +32,13 @@ export default class GeneratedSessionModel extends BaseModel {
}) })
updated_time; updated_time;
@attr('date', {
description:
'After this time the connection will be expired, e.g. forcefully terminated.\nOutput only.',
readOnly: true,
})
expiration_time;
@attr('number', { @attr('number', {
description: 'Current version number of this resource.', description: 'Current version number of this resource.',
}) })
@@ -0,0 +1,126 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A storage bucket is a resource that that represents a bucket in an external object store.
*/
export default class GeneratedStorageBucketModel extends BaseModel {
// =attributes
@attr('string', {
description: 'The type of the resource, to help differentiate schemas',
})
type;
@attr({
description: 'Plugin information for this resource.',
readOnly: true,
})
plugin;
@attr('string', {
description: 'Optional name for identification purposes.',
})
name;
@attr('string', {
description: 'Optional user-set description for identification purposes.',
})
description;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
readOnly: true,
})
updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
@attr('string', {
description: 'The name of the bucket in the external object store.',
})
bucket_name;
@attr('string', {
description:
'The base path where session recordings will be stored in the external object store.',
})
bucket_prefix;
@attr('string', {
description:
'An expression used to filter the workers that have network access to a service that is hosting the external object store.',
})
worker_filter;
@attr('string', {
isNestedAttribute: true,
description: 'The AWS region to use.',
})
region;
//this field is not used in the UI, but this is kept here to replicate the API
@attr('string', {
readOnly: true,
isNestedAttribute: true,
})
secrets_hmac;
@attr('boolean', {
isNestedAttribute: true,
description: 'If set to `true`, credential rotation is not performed.',
})
disable_credential_rotation;
// =attributes (static credentials)
@attr('string', {
isNestedSecret: true,
description: 'The AWS access key ID to use.',
})
access_key_id;
@attr('string', {
isNestedSecret: true,
description: 'The secret access key to use.',
})
secret_access_key;
// =attributes (dynamic credentials)
@attr('string', {
isNestedAttribute: true,
description: 'The role ARN to use.',
})
role_arn;
@attr('string', {
isNestedAttribute: true,
description: 'The role external ID to use.',
})
role_external_id;
@attr('string', {
isNestedAttribute: true,
description: 'The role session to use.',
})
role_session_name;
@attr('object-as-array', {
isNestedAttribute: true,
description: 'The role tags to use.',
})
role_tags;
}
+54 -1
View File
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -30,10 +35,27 @@ export default class GeneratedTargetModel extends BaseModel {
@attr('number', { @attr('number', {
description: '', description: '',
defaultValue: 1,
}) })
session_connection_limit; session_connection_limit;
@attr('string', {
description:
'Optional boolean expression to filter the workers that are allowed to satisfy this request.',
})
worker_filter;
@attr('string', {
description:
'Optional boolean expressions to filter the egress workers that are allowed to satisfy this request.',
})
egress_worker_filter;
@attr('string', {
description:
'Optional boolean expressions to filter the ingress workers that are allowed to satisfy this request.',
})
ingress_worker_filter;
@attr('date', { @attr('date', {
description: 'The time this resource was created\nOutput only.', description: 'The time this resource was created\nOutput only.',
readOnly: true, readOnly: true,
@@ -55,4 +77,35 @@ export default class GeneratedTargetModel extends BaseModel {
description: 'Current version number of this resource.', description: 'Current version number of this resource.',
}) })
version; version;
@attr('string', {
description:
'An IP address or DNS name for the session to connect to. Cannot be used in conjunction with host sources.',
})
address;
@attr('number', {
isNestedAttribute: true,
description: 'The default port a target should use if present.',
})
default_port;
@attr('number', {
isNestedAttribute: true,
description:
"The default port that will be listened on by the client's local proxy.",
})
default_client_port;
@attr('string', {
description: 'The storage bucket associated with this target.',
isNestedAttribute: true,
})
storage_bucket_id;
@attr('boolean', {
description: 'Whether session recording is enabled on the target.',
isNestedAttribute: true,
})
enable_session_recording;
} }
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base'; import BaseModel from '../../models/base';
import { attr } from '@ember-data/model'; import { attr } from '@ember-data/model';
@@ -0,0 +1,75 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* Worker contains all fields related to a worker resource
*/
export default class GeneratedWorkerModel extends BaseModel {
// =attributes
@attr('string', {
description: 'Optional name for identification purposes.',
})
name;
@attr('string', {
description: 'Optional user-set description for identification purposes.',
})
description;
@attr('date', {
description: 'The time this resource was created\nOutput only.',
readOnly: true,
})
created_time;
@attr('date', {
description: 'The time this resource was last updated\nOutput only.',
readOnly: true,
})
updated_time;
@attr('number', {
description: 'Current version number of this resource.',
})
version;
@attr('string', {
description: 'The address that this worker is reachable at.\nOutput only.',
readOnly: true,
})
address;
@attr('date', {
description:
'The time this worker was last reported its status.\nOutput only.',
readOnly: true,
})
last_status_time;
@attr('string', {
description:
'The version of the Boundary binary the worker is running.\nOutput only.',
readOnly: true,
})
release_version;
@attr('number', {
description:
'The number of connections that this worker is currently handling.\nOutput only.',
readOnly: true,
})
active_connection_count;
@attr('string', {
description:
'The type of the worker, denoted by how it authenticates: pki or kms.\nOutput only.',
readOnly: true,
})
type;
}
@@ -0,0 +1,181 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { inject as service } from '@ember/service';
import { getOwner, setOwner } from '@ember/application';
import { pluralize } from 'ember-inflector';
import { generateMQLExpression } from '../utils/mql-query';
/**
* Not all types are yet supported by the client daemon so we'll
* just whitelist the ones we need to start with. Keys are the resource
* types and the values are the fields that are searchable by the client.
* @type {{session: string[], target: string[]}}
*/
const supportedTypes = {
target: ['id', 'name', 'description', 'address', 'scope_id'],
session: ['id', 'type', 'status', 'endpoint', 'scope_id', 'target_id'],
};
/**
* Takes an array and the current page and pagesize to calculate the correct
* number of results to return to the caller.
*
* @param array
* @param page
* @param pageSize
* @returns {[*]}
*/
const paginateResults = (array, page, pageSize) => {
const length = array?.length;
if (!array || length === 0) {
return [];
}
if (!page || !pageSize) {
return array;
}
const offset = (page - 1) * pageSize;
const start = Math.min(length - 1, offset);
const end = Math.min(length, offset + pageSize);
return array.slice(start, end);
};
const fetchControllerData = async (context, next) => {
const { data } = context.request;
const { query: originalQuery } = data;
// remove client daemon specific query params
// eslint-disable-next-line no-unused-vars
const { query, page, pageSize, ...remainingQuery } = originalQuery;
// If we get an error or client daemon is unavailable, fall back to calling the API
context.request.data.query = remainingQuery;
const results = await next(context.request);
const models = results.content.toArray();
const paginatedResult = paginateResults(models, page, pageSize);
paginatedResult.meta = { totalItems: models.length };
return paginatedResult;
};
/**
* Handler to sit in front of the API request layer
* so we can request from the daemon first
*/
export default class ClientDaemonHandler {
@service session;
@service ipc;
constructor(context) {
setOwner(this, getOwner(context));
}
async request(context, next) {
switch (context.request.op) {
case 'query': {
const { store, data } = context.request;
const { type, query, options: { pushToStore = true } = {} } = data;
const isClientDaemonRunning = await this.ipc.invoke(
'isClientDaemonRunning',
);
// eslint-disable-next-line no-unused-vars
let { recursive, scope_id, page, pageSize, ...remainingQuery } = query;
let searchQuery = '';
if (
!Object.keys(supportedTypes).includes(type) ||
!isClientDaemonRunning
) {
return fetchControllerData(context, next);
}
if (remainingQuery.query) {
const { search, filters } = remainingQuery.query;
searchQuery = generateMQLExpression({
search: {
text: search,
fields: supportedTypes[type],
},
filters,
});
}
const sessionData = this.session.data?.authenticated;
const auth_token_id = sessionData?.id;
const token = sessionData?.token;
remainingQuery = {
...remainingQuery,
query: searchQuery,
auth_token_id,
token,
resource: pluralize(type),
};
let clientDaemonResults = {};
try {
clientDaemonResults = await this.ipc.invoke(
'searchClientDaemon',
remainingQuery,
);
} catch (e) {
// If we got a 403, most likely the client daemon was restarted and our token is no longer valid
// I'm not sure if we can get a 401 since we always send a token but we'll handle it in the same way
if (e.statusCode === 403 || e.statusCode === 401) {
try {
await this.ipc.invoke('addTokenToClientDaemon', {
tokenId: auth_token_id,
token,
});
clientDaemonResults = await this.ipc.invoke(
'searchClientDaemon',
remainingQuery,
);
} catch {
// If it fails again just fall back to fetching controller data
}
}
return fetchControllerData(context, next);
}
// Currently returns with a singular top level field with resource name
// e.g. { targets: [...] } or { sessions: [..] }
// So this just unwraps to the array, or undefined
const [results] = Object.values(clientDaemonResults);
const payload = { items: paginateResults(results, page, pageSize) };
const schema = store.modelFor(type);
const serializer = store.serializerFor(type);
const normalizedPayload = serializer.normalizeResponse(
store,
schema,
payload,
null,
'query',
);
// Return the raw data if we don't push to the store.
let records = normalizedPayload.data.map((record) => ({
...record.attributes,
id: record.id,
}));
if (pushToStore) {
records = store.push(normalizedPayload);
}
// Set a meta property on the array to store the total items of the results.
// This isn't conventional but is better than returning an ArrayProxy
// or EmberArray since the ember store query method asserts it has to be an array
// so we can't just return an object.
records.meta = { totalItems: results?.length ?? 0 };
return records;
}
default:
return next(context.request);
}
}
}
@@ -1,15 +0,0 @@
// app/initializers/fragment-serializer.js
import FragmentAuthMethodAttributesAccountClaimMapSerializer from '../serializers/fragment-auth-method-attributes-account-claim-map';
export function initialize(application) {
application.register(
'serializer:fragment-auth-method-attributes-account-claim-map',
FragmentAuthMethodAttributesAccountClaimMapSerializer
);
}
// Fragment serializers must be manually registered
export default {
name: 'fragment-auth-method-attributes-account-claim-map',
initialize: initialize,
};
@@ -1,12 +0,0 @@
// app/initializers/fragment-serializer.js
import FragmentStringSerializer from '../serializers/fragment-string';
export function initialize(application) {
application.register('serializer:fragment-string', FragmentStringSerializer);
}
// Fragment serializers must be manually registered
export default {
name: 'fragment-string',
initialize: initialize,
};
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Mixin from '@ember/object/mixin'; import Mixin from '@ember/object/mixin';
/** /**
+30 -11
View File
@@ -1,34 +1,53 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedAccountModel from '../generated/models/account'; import GeneratedAccountModel from '../generated/models/account';
import { fragment } from 'ember-data-model-fragments/attributes'; import {
import { computed } from '@ember/object'; TYPE_AUTH_METHOD_PASSWORD,
import { equal } from '@ember/object/computed'; TYPE_AUTH_METHOD_OIDC,
TYPE_AUTH_METHOD_LDAP,
TYPES_AUTH_METHOD,
} from './auth-method';
export default class AccountModel extends GeneratedAccountModel { export default class AccountModel extends GeneratedAccountModel {
// =attributes // =attributes
/** /**
* Attributes of this resource, if any, represented as a JSON fragment. * @type {boolean}
* @type {FragmentAccountAttributesModel}
*/ */
@fragment('fragment-account-attributes', { defaultValue: {} }) attributes; get isPassword() {
return this.type === TYPE_AUTH_METHOD_PASSWORD;
}
/** /**
* @type {boolean} * @type {boolean}
*/ */
@equal('type', 'password') isPassword; get isOIDC() {
return this.type === TYPE_AUTH_METHOD_OIDC;
}
/** /**
* @type {boolean} * @type {boolean}
*/ */
@equal('type', 'oidc') isOIDC; get isLDAP() {
return this.type === TYPE_AUTH_METHOD_LDAP;
}
/**
* @type {boolean}
*/
get isUnknown() {
return !TYPES_AUTH_METHOD.includes(this.type);
}
/** /**
* Convenience for getting username in account. * Convenience for getting username in account.
* @type {string} * @type {string}
*/ */
@computed('attributes.{email,full_name,login_name}')
get accountName() { get accountName() {
const { email, full_name, login_name } = this.attributes; const { email, full_name, login_name } = this;
return email || full_name || login_name; return email || full_name || login_name;
} }
@@ -68,7 +87,7 @@ export default class AccountModel extends GeneratedAccountModel {
changePassword( changePassword(
currentPassword, currentPassword,
newPassword, newPassword,
options = { adapterOptions: {} } options = { adapterOptions: {} },
) { ) {
const defaultAdapterOptions = { const defaultAdapterOptions = {
method: 'change-password', method: 'change-password',
+10
View File
@@ -0,0 +1,10 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedAliasModel from '../generated/models/alias';
export const TYPE_ALIAS_TARGET = 'target';
export const TYPES_ALIAS = Object.freeze([TYPE_ALIAS_TARGET]);
export default class AliasModel extends GeneratedAliasModel {}
+54 -37
View File
@@ -1,12 +1,26 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedAuthMethodModel from '../generated/models/auth-method'; import GeneratedAuthMethodModel from '../generated/models/auth-method';
import { attr } from '@ember-data/model';
import { fragment } from 'ember-data-model-fragments/attributes';
import { equal } from '@ember/object/computed'; import { equal } from '@ember/object/computed';
export const TYPE_AUTH_METHOD_PASSWORD = 'password';
export const TYPE_AUTH_METHOD_OIDC = 'oidc';
export const TYPE_AUTH_METHOD_LDAP = 'ldap';
export const TYPES_AUTH_METHOD = Object.freeze([
TYPE_AUTH_METHOD_PASSWORD,
TYPE_AUTH_METHOD_OIDC,
TYPE_AUTH_METHOD_LDAP,
]);
/** /**
* Enum options per auth method type and field. * Enum options per auth method type and field.
*/ */
export const options = { export const options = {
state: ['inactive', 'active-private', 'active-public'],
oidc: { oidc: {
signing_algorithms: [ signing_algorithms: [
'RS256', 'RS256',
@@ -20,88 +34,89 @@ export const options = {
'PS512', 'PS512',
'EdDSA', 'EdDSA',
], ],
state: ['inactive', 'active-private', 'active-public'],
account_claim_maps: { account_claim_maps: {
to: ['sub', 'name', 'email'], to: ['sub', 'name', 'email'],
}, },
prompts: ['consent', 'select_account', 'login'],
},
ldap: {
account_attribute_maps: {
to: ['fullName', 'email'],
},
dereference_aliases: {
NeverDerefAliases: 'never',
DerefInSearching: 'searching',
DerefFindingBaseObj: 'finding',
DerefAlways: 'always',
},
}, },
}; };
export default class AuthMethodModel extends GeneratedAuthMethodModel { export default class AuthMethodModel extends GeneratedAuthMethodModel {
// =error attributes
// These attributes exist solely to capture errors on nested fields.
// See the application adapter's error normalization method for
// more information.
@attr('string', { readOnly: true }) attributes_state;
@attr('string', { readOnly: true }) attributes_issuer;
@attr('string', { readOnly: true }) attributes_client_id;
@attr('string', { readOnly: true }) attributes_client_secret;
@attr('string', { readOnly: true }) attributes_max_age;
@attr('string', { readOnly: true }) attributes_api_url_prefix;
@attr('string', { readOnly: true })
attributes_disable_discovered_config_validation;
@attr('string', { readOnly: true }) attributes_dry_run;
@attr('string', { readOnly: true }) attributes_account_claim_maps;
@attr('string', { readOnly: true }) attributes_claims_scopes;
@attr('string', { readOnly: true }) attributes_signing_algorithms;
@attr('string', { readOnly: true }) attributes_allowed_audiences;
@attr('string', { readOnly: true }) attributes_idp_ca_certs;
// =attributes // =attributes
/**
* Attributes of this resource, if any, represented as a JSON fragment.
* @type {FragmentAuthMethodAttributesModel}
*/
@fragment('fragment-auth-method-attributes', { defaultValue: {} }) attributes;
/** /**
* @type {boolean} * @type {boolean}
*/ */
@equal('is_primary', true) isPrimary; @equal('is_primary', true) isPrimary;
options = options;
/** /**
* @type {boolean} * @type {boolean}
*/ */
get isPassword() { get isPassword() {
return this.type === 'password'; return this.type === TYPE_AUTH_METHOD_PASSWORD;
} }
/** /**
* @type {boolean} * @type {boolean}
*/ */
get isOIDC() { get isOIDC() {
return this.type === 'oidc'; return this.type === TYPE_AUTH_METHOD_OIDC;
}
/**
* @type {boolean}
*/
get isLDAP() {
return this.type === TYPE_AUTH_METHOD_LDAP;
}
/**
* @type {boolean}
*/
get isUnknown() {
return !TYPES_AUTH_METHOD.includes(this.type);
} }
/** /**
* @type {boolean} * @type {boolean}
*/ */
get isInactive() { get isInactive() {
return this.attributes.state === 'inactive'; return this.state === 'inactive';
} }
/** /**
* @type {boolean} * @type {boolean}
*/ */
get isPrivate() { get isPrivate() {
return this.attributes.state === 'active-private'; return this.state === 'active-private';
} }
/** /**
* @type {boolean} * @type {boolean}
*/ */
get isPublic() { get isPublic() {
return this.attributes.state === 'active-public'; return this.state === 'active-public';
} }
// =methods // =methods
/** /**
* Change the active and visibility state of an OIDC auth method * Change the active and visibility state of an OIDC and LDAP auth method
* given its ID. * given its ID.
* For OIDC auth methods only. * For OIDC and LDAP auth methods only.
* @param {[string]} state * @param {[string]} state
* @param {object} options * @param {object} options
* @param {object} options.adapterOptions * @param {object} options.adapterOptions
@@ -109,9 +124,11 @@ export default class AuthMethodModel extends GeneratedAuthMethodModel {
*/ */
changeState(state, options = { adapterOptions: {} }) { changeState(state, options = { adapterOptions: {} }) {
const defaultAdapterOptions = { const defaultAdapterOptions = {
method: 'change-state',
state, state,
}; };
if (this.isOIDC) {
defaultAdapterOptions.method = 'change-state';
}
return this.save({ return this.save({
...options, ...options,
adapterOptions: { adapterOptions: {
+5
View File
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedAuthTokenModel from '../generated/models/auth-token'; import GeneratedAuthTokenModel from '../generated/models/auth-token';
export default class AuthTokenModel extends GeneratedAuthTokenModel {} export default class AuthTokenModel extends GeneratedAuthTokenModel {}
+36 -6
View File
@@ -1,6 +1,12 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Model from '@ember-data/model'; import Model from '@ember-data/model';
import { fragment } from 'ember-data-model-fragments/attributes'; import { attr } from '@ember-data/model';
import { computed } from '@ember/object'; import { computed } from '@ember/object';
import { inject as service } from '@ember/service';
/** /**
* Base model class provides common functionality for all models. * Base model class provides common functionality for all models.
@@ -25,27 +31,53 @@ import { computed } from '@ember/object';
* 2) Or as an ID: `record.scopeID`. * 2) Or as an ID: `record.scopeID`.
*/ */
export default class BaseModel extends Model { export default class BaseModel extends Model {
// =services
@service store;
// =relationships // =relationships
/** /**
* Scope of this resource, if any, represented as a JSON fragment. * Scope of this resource, if any, represented as a JSON fragment.
* @type {FragmentScope}
*/ */
@fragment('fragment-scope') scope; @attr() scope;
// =attributes // =attributes
@attr({
readOnly: true,
emptyArrayIfMissing: true,
})
authorized_actions;
@attr({
readOnly: true,
})
authorized_collection_actions;
get scopeModel() {
const id = this.scopeID;
return id ? this.store.peekRecord('scope', id) : null;
}
// Ember seems to have a bug with its internals and can't correctly set
// the `scopeModel` when passed in as part of the `inputProperties`
// of a `createRecord` call
set scopeModel(model) { set scopeModel(model) {
if (model) { if (model) {
const json = model.serialize(); const json = model.serialize();
json.scope_id = model.id; json.scope_id = model.id;
json.type = model.type;
json.isGlobal = model.isGlobal;
json.isOrg = model.isOrg;
json.isProject = model.isProject;
this.scope = json; this.scope = json;
} }
} }
/** /**
* Convenience for getting and setting the parent scope ID. * Convenience for getting and setting the parent scope ID.
* @type {string * @type {string}
*/ */
@computed('scope.scope_id') @computed('scope.scope_id')
get scopeID() { get scopeID() {
@@ -69,7 +101,6 @@ export default class BaseModel extends Model {
/** /**
* @type {boolean} * @type {boolean}
*/ */
@computed('hasDirtyAttributes', 'isSaving')
get canSave() { get canSave() {
return this.hasDirtyAttributes && !this.isSaving; return this.hasDirtyAttributes && !this.isSaving;
} }
@@ -77,7 +108,6 @@ export default class BaseModel extends Model {
/** /**
* @type {boolean} * @type {boolean}
*/ */
@computed('canSave')
get cannotSave() { get cannotSave() {
return !this.canSave; return !this.canSave;
} }
@@ -0,0 +1,34 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedChannelRecordingModel from '../generated/models/channel-recording';
import { belongsTo } from '@ember-data/model';
export const MIME_TYPE_ASCIICAST = 'application/x-asciicast';
export default class ChannelRecordingModel extends GeneratedChannelRecordingModel {
@belongsTo('connection-recording', {
async: false,
inverse: 'channel_recordings',
})
connection_recording;
/**
* True if the channel supports asciicast.
* @type {boolean}
*/
get isAsciicast() {
return this.mime_types?.includes(MIME_TYPE_ASCIICAST) ?? false;
}
/**
* Download the ascii cast recording for this channel.
* @returns {Promise<string>}
*/
getAsciicast() {
const adapter = this.store.adapterFor('session-recording');
return adapter.getAsciicast(this.id);
}
}
@@ -0,0 +1,20 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedConnectionRecordingModel from '../generated/models/connection-recording';
import { belongsTo, hasMany } from '@ember-data/model';
export default class ConnectionRecordingModel extends GeneratedConnectionRecordingModel {
@belongsTo('session-recording', {
async: false,
inverse: 'connection_recordings',
})
session_recording;
@hasMany('channel-recording', {
async: false,
inverse: 'connection_recording',
})
channel_recordings;
}
@@ -0,0 +1,77 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedCredentialLibraryModel from '../generated/models/credential-library';
/**
* Enum options for credential library.
*/
export const options = {
http_method: ['GET', 'POST'],
key_type: ['ed25519', 'ecdsa', 'rsa'],
credential_types: ['ssh_private_key', 'username_password'],
mapping_overrides: {
username_password: {
username_attribute: 'Username',
password_attribute: 'Password',
},
ssh_private_key: {
private_key_attribute: 'Private Key',
private_key_passphrase_attribute: 'Private Key Passphrase',
username_attribute: 'Username',
},
},
};
export const TYPE_CREDENTIAL_LIBRARY_VAULT_GENERIC = 'vault-generic';
export const TYPE_CREDENTIAL_LIBRARY_VAULT_SSH_CERTIFICATE =
'vault-ssh-certificate';
/**
* Supported Credential Library types.
*/
export const TYPES_CREDENTIAL_LIBRARY = Object.freeze([
TYPE_CREDENTIAL_LIBRARY_VAULT_GENERIC,
TYPE_CREDENTIAL_LIBRARY_VAULT_SSH_CERTIFICATE,
]);
export default class CredentialLibraryModel extends GeneratedCredentialLibraryModel {
// =attributes
/**
* True if credential is an unknown type.
* @type {boolean}
*/
get isUnknown() {
return !TYPES_CREDENTIAL_LIBRARY.includes(this.type);
}
/**
* True if credential is a vault type.
* @type {boolean}
*/
get isVault() {
return (
this.type === TYPE_CREDENTIAL_LIBRARY_VAULT_GENERIC ||
this.type === TYPE_CREDENTIAL_LIBRARY_VAULT_SSH_CERTIFICATE
);
}
/**
* True if credential is a generic vault type.
* @type {boolean}
*/
get isVaultGeneric() {
return this.type === TYPE_CREDENTIAL_LIBRARY_VAULT_GENERIC;
}
/**
* True if credential is a vault ssh cert type.
* @type {boolean}
*/
get isVaultSSHCertificate() {
return this.type === TYPE_CREDENTIAL_LIBRARY_VAULT_SSH_CERTIFICATE;
}
}
@@ -0,0 +1,23 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedCredentialStoreModel from '../generated/models/credential-store';
import { equal } from '@ember/object/computed';
export const types = ['static', 'vault'];
export default class CredentialStoreModel extends GeneratedCredentialStoreModel {
// =attributes
/**
* @type {boolean}
*/
@equal('type', 'vault') isVault;
/**
* @type {boolean}
*/
@equal('type', 'static') isStatic;
}
+41
View File
@@ -0,0 +1,41 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import GeneratedCredentialModel from '../generated/models/credential';
/**
* Supported Credential types.
*/
export const types = ['username_password', 'ssh_private_key', 'json'];
export default class CredentialModel extends GeneratedCredentialModel {
// =attributes
/**
* All Credentials are prefixed with "cred" and are considered
* static due to their relation with Static Credential Stores.
*
* True if credential starts with the "cred" prefix.
* @type {boolean}
*/
get isStatic() {
return this.id.startsWith('cred');
}
/**
* True if type is `json`.
* @type {boolean}
*/
get isJSON() {
return this.type === 'json';
}
/**
* True if credential is an unknown type.
* @type {boolean}
*/
get isUnknown() {
return !types.includes(this.type);
}
}
@@ -1,17 +0,0 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentAccountAttributesModel extends Fragment {
// =attributes (password)
@attr('string', {
for: 'password',
description: 'The account login name',
})
login_name;
// =attributes (OIDC)
@attr('string', { for: 'oidc' }) subject;
@attr('string', { for: 'oidc' }) issuer;
@attr('string', { for: 'oidc', readOnly: true }) email;
@attr('string', { for: 'oidc', readOnly: true }) full_name;
}
@@ -1,9 +0,0 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentAuthMethodAttributesAccountClaimMapModel extends Fragment {
// =attributes (OIDC)
@attr('string') from;
@attr('string') to;
}
@@ -1,40 +0,0 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
import { fragmentArray } from 'ember-data-model-fragments/attributes';
export default class FragmentAuthMethodAttributesModel extends Fragment {
// =attributes (OIDC)
@attr('string', { readOnly: true }) state;
@attr('string') issuer;
@attr('string') client_id;
@attr('string') client_secret;
@attr('string', { readOnly: true }) client_secret_hmac;
@attr('number') max_age;
@attr('string') api_url_prefix;
@attr('string', { readOnly: true }) callback_url;
@attr('boolean') disable_discovered_config_validation;
@attr('boolean') dry_run;
@fragmentArray('fragment-auth-method-attributes-account-claim-map', {
emptyArrayIfMissing: true,
})
account_claim_maps;
@fragmentArray('fragment-string', {
emptyArrayIfMissing: true,
})
claims_scopes;
@fragmentArray('fragment-string', {
emptyArrayIfMissing: true,
})
signing_algorithms;
@fragmentArray('fragment-string', {
emptyArrayIfMissing: true,
})
allowed_audiences;
@fragmentArray('fragment-string', { emptyArrayIfMissing: true }) idp_ca_certs;
}
@@ -1,9 +0,0 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentHostAttributesModel extends Fragment {
@attr('string', {
description: 'The address (DNS or IP name) used to reach the host',
})
address;
}
@@ -1,16 +0,0 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentHostSetModel extends Fragment {
// =attributes
@attr('string', {
description: 'ID of the related host set',
})
host_set_id;
@attr('string', {
description: 'ID of the catalog to which the host set belongs',
})
host_catalog_id;
}
@@ -1,21 +0,0 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentPrincipal extends Fragment {
// =attributes
@attr('string', {
description: 'ID of the related scope',
})
scope_id;
@attr('string', {
description: 'ID of the related principal (user or group)',
})
principal_id;
@attr('string', {
description: 'Type of the related principal (user or group)',
})
type;
}
Loaded 100 of 2291 files, more files were not shown because too many files have changed in this diff. Show more