Commit Graph
4931 Commits
Author SHA1 Message Date
Dharini Jeeva a6b2acc14d Oss workflow target egress filter (#1590)
* chore: 🤖 add egress filters to target
2023-01-18 20:26:28 -08: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
Zhihe Li 3d0be5ef48 refactor: 💡 Simplify template for confirmation dialog (#1580) 2023-01-17 17:08:08 -05: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
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
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
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
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
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
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
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
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
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
Zhihe Li 7509fa345b Chore/parallelize tests (#1556) 2023-01-10 18:25:09 -05: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
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
Dharini Jeeva f41631c745 chore: 🤖 disable csp meta for prod (#1560) 2023-01-10 13:07:22 -08: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
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
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
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
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
Zhihe Li ed91b26861 chore: 🤖 Update dependencies to fix minimatch vulnerability (#1553) 2023-01-06 11:50:34 -05:00
Zhihe Li 044bd14e21 chore: 🤖 Remove yarn test from commit hook (#1555) 2023-01-05 15:32:35 -05: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
Carlos Alcaide Corvo 49ce67b69e Update latest dependency changes (#1552) 2023-01-03 11:42:47 -08:00
Zhihe Li 5612abce4a chore: 🤖 Update electron deps (#1547) 2023-01-03 14:14:55 -05:00
Zhihe Li 07e64a7406 chore: 🤖 Pin request to latest version to fix qs vulnerability (#1550) 2022-12-23 15:11:40 -05:00
Zhihe Li 2393698d0d chore: 🤖 Update engine.io version to fix security vuln (#1549) 2022-12-23 11:33:54 -05: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
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
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