Dharini Jeeva
bd65c91ff9
chore: 🤖 alias target route ( #2228 )
2024-04-12 16:36:17 -07:00
Cameron Perera
626bdc2c92
Icu 13374 add permission checks for filtering resources in sessions and targets ( #2226 )
...
* refactor: 💡 hide active sessions filter if no list permissions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13374
* test: 💍 add active sessions filter permissions test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13374
* refactor: 💡 add permissions check for targets and users
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13374
* refactor: 💡 address PR feedback
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13374
* refactor: 💡 move user permission check to a helper func
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13374
* refactor: 💡 move permissions logic to user and target helper
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13374
2024-04-12 14:55:34 -04:00
Zhihe Li
5d32d987bc
feat: 🎸 Update how we store tokens in indexed-db ( #2223 )
...
Added logic to make the list tokens stored in indexed DB more granular.
I get a hash of the query parameters that will get sent to the controller
and use that as the id for the token. This also means extra logic for when
a token is invalid as we will need to delete all tokens of the same
resource type.
2024-04-12 14:55:34 -04:00
Lisbet Alvarez
1d7892230c
Icu 13302 add filtering pagination support for scopes ( #2216 )
...
* feat: 🎸 add filtering and pagination to scopes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13302
2024-04-12 14:55:34 -04:00
Lisbet Alvarez
9a43c74e60
refactor: 💡 add active sessions column to targets table ( #2196 )
...
* refactor: 💡 add active sessions column to targets table
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13085
* test: 💍 add test case
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13085
2024-04-12 14:55:33 -04:00
Cameron Perera
eb4ec5f6de
refactor: 💡 update Dropdown component to have name & toggleText ( #2218 )
...
* refactor: 💡 update Dropdown component to have name & toggleText
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13336
* test: 💍 remove hds class selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13336
2024-04-12 14:55:33 -04:00
Zhihe Li and Lisbet Alvarez
a26662eca5
feat: 🎸 Add filtering/pagination for admin ui targets ( #2072 )
...
* feat: 🎸 Add filtering/pagination for admin ui targets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12193
* test: 💍 add acceptance test cases
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12193
* test: 💍 cleanup tests and add controller tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12193
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
2024-04-12 14:55:33 -04:00
Dharini Jeeva
f74f4d4a20
Target aliases list view ( #2225 )
...
target aliases list view
2024-04-11 14:18:38 -07:00
Dharini Jeeva
c8839d6db1
Icu 12933 updates to target model to support aliasing ( #2214 )
...
* feat: 🎸 target aliases association API, form creation
2024-04-05 16:35:23 -07:00
Carlos Alcaide Corvo
b51c8203ee
chore: 🤖 Upgrade eslint-plugin-qunit ( #2011 )
...
* chore: 🤖 Upgrade eslint-plugin-qunit
* Delete unnecessary assert.expect from tests
2023-12-08 12:56:00 -08:00
Zhihe Li
bcf004b8a4
Reformat codebase with trailing commas in functions ( #2006 )
...
* style: 💄 Update trailing commas in API
* style: 💄 Update trailing commas in core
* style: 💄 Update trailing commas in rose
* style: 💄 Update trailing commas in admin
* style: 💄 Update trailing commas in desktop
2023-11-22 14:07:41 -05:00
0129784322
fix url when user tries to access resource with incorrect url ( #1958 )
...
* refactor: 💡 auth-method, account, & managed abilities & routes
* refactor: 💡 credential store resources abilities & routes
* refactor: 💡 group abilities & routes
* refactor: 💡 host-catalog resources abilities & routes
* refactor: 💡 role abilities & routes
* test: 💍 fix route-info-test
* test: 💍 fix host serializer tests
* test: 💍 fix create-test for host-sets
* refactor: 💡 session recording resources abilities & routes
* refactor: 💡 storage bucket abilities & routes
* refactor: 💡 target abilities & routes
* refactor: 💡 user abilities & routes
* refactor: 💡 worker abilities & routes
* refactor: 💡 remove ability changes and add comments
* Update ui/admin/app/utils/route-info.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* test: 💍 add test cases and rename util file
* refactor: 💡 remove dup file and update imports
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282
* docs: ✏️ update comments & remove console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282
* Update ui/admin/app/routes/scopes/scope/auth-methods/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-11-02 16:08:25 -07:00
NatashaKab and Cameron 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
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
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
hashicorp-copywrite[bot]
e8f15e2eab
[COMPLIANCE] Add Copyright and License Headers
2023-06-19 16:23:53 +00: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
Lisbet Alvarez
16b466d1de
test: 💍 fix button selectors
2023-06-05 14:24:35 -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
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
Carlos Alcaide Corvo
40cddd829e
refactor: 💡 Refactor link list panel ( #199 )
...
* refactor: 💡 Refactor link list panel
2023-04-18 10:58:04 -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
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
lisbet-alvarez and Zhihe 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
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
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
Devon Anderson and Zhihe 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
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
hashicorp-copywrite[bot] and Cameron Perera
3d610427d0
[COMPLIANCE] Add Copyright and License Headers ( #1617 )
...
* [COMPLIANCE] Add Copyright and License Headers
* chore: 🤖 update Copyright headers to satisfy our lint rules
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-03-01 09:39:41 -06:00
Cameron Perera
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
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
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
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
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
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
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
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
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
Randall Morey and dvonanderson
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
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
lisbet-alvarez and Cameron Perera
e418017bc2
feat: 🎸 create form for json credentials ( #1498 )
...
* feat: 🎸 create form for json credentials
✅ Closes: ICU-6682
* refactor: 💡 add new info field
* refactor: 💡 add feature flag
* refactor: 💡 add hds radio cards to json cred
* Update ui/admin/tests/acceptance/credential-store/credentials/create-test.js
* test: 💍 add test for json cred
* chore: 🤖 Remove ember-data-model-fragments package
* fix: 🐛 Update how json is added as a known credential type
* refactor: 💡 update credentialTypes if statement to ternary
* chore: 🤖 add ember-data back to addon/api project
* chore: 🤖 remove ember-feature-flag from addon/api
* refactor: 💡 remove if statement in cred form
* refactor: 💡 update selectors for json cred. tests
* refactor: 💡 Update Credential Form to use form.disabled
* test: 💍 Fix test selectors for radio card credential tests
* refactor: 💡 update credential types declaration to const
* style: 💄 Fix style issue with SecretEditor in edit mode
* refactor: 💡 remove disabled and readonly attributes in form
* refactor: 💡 Create credential ability canRead override
* test: 💍 add credential ability override tests
* test: 💍 Fix brokered credential test with json support added
* refactor: 💡 add attributes comment back to credential model
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2022-12-12 18:37:01 -06:00
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
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
lisbet-alvarez and Cameron Perera
e8a3650fbe
refactor: 💡 adjust css selector for specific asserts ( #1468 )
...
* refactor: 💡 adjust css selector for specific asserts
✅ Closes: ICU-6889
* refactor: 💡 small update
* refactor: 💡 selectors for .doesNotExist()
* Update addons/core/tests/integration/helpers/relative-datetime-live-test.js
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2022-11-28 14:44:34 -08:00
Cameron Perera
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
0b8f1aea17
refactor: 💡 targets read acceptance tests ( #1405 )
...
✅ Closes: ICU-6547
2022-11-09 10:13:17 -08: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
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
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
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