Compare commits

..
1594 Commits
Author SHA1 Message Date
Carlos Alcaide Corvo 2ac7dfb677 Delete SSH type targets mention on changelog 2022-03-16 08:34:56 -07:00
Carlos Alcaide Corvo 683e939b0e Update binary version and changelog 2022-03-16 08:04:47 -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
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
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
689 changed files with 25550 additions and 9964 deletions

No files matched your search

+40 -19
View File
@@ -2,55 +2,76 @@ name: Validate Monorepo
on: pull_request
jobs:
compliance:
name: License Compliance
dependencies:
name: Install dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache
id: node-modules-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1
key: node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-
- uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '16.x'
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
compliance:
name: License Compliance
needs: [dependencies]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: node-modules-cache
with:
path: '**/node_modules'
key: node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-
- uses: actions/setup-node@v2
with:
node-version: '16.x'
if: steps.node-modules-cache.outputs.cache-hit != 'true'
- run: yarn run compliance:licenses
lint:
name: Lint
needs: [dependencies]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache
id: node-modules-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1
key: node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-modules-
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
node-version: '16.x'
if: steps.node-modules-cache.outputs.cache-hit != 'true'
- run: yarn lint
test:
name: Test
needs: [dependencies]
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: cache
id: node-modules-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v1
key: node-modules-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- run: yarn install
if: steps.cache.outputs.cache-hit != 'true'
node-version: '16.x'
if: steps.node-modules-cache.outputs.cache-hit != 'true'
- run: yarn test
-5
View File
@@ -23,8 +23,3 @@ yarn-error.log
storybook-static
**/.storybook/*.html
.watchman-cookie*
# ember-try
.node_modules.ember-try
bower.json.ember-try
package.json.ember-try
-3
View File
@@ -12,8 +12,5 @@ insert_final_newline = true
indent_style = space
indent_size = 2
[*.hbs]
insert_final_newline = false
[*.{diff,md}]
trim_trailing_whitespace = false
-4
View File
@@ -15,7 +15,3 @@
!.*
.eslintcache
# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
+5
View File
@@ -56,5 +56,10 @@ module.exports = {
plugins: ['node'],
extends: ['plugin:node/recommended'],
},
{
// Test files:
files: ['tests/**/*-test.{js,ts}'],
extends: ['plugin:qunit/recommended'],
},
],
};
-6
View File
@@ -19,15 +19,9 @@
/.travis.yml
/.watchmanconfig
/bower.json
/config/ember-try.js
/CONTRIBUTING.md
/ember-cli-build.js
/testem.js
/tests/
/yarn.lock
.gitkeep
# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
-5
View File
@@ -14,8 +14,3 @@
/coverage/
!.*
.eslintcache
# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
+15
View File
@@ -0,0 +1,15 @@
import ModelAbility from './model';
/**
* Provides abilities for accounts.
*/
export default class AccountAbility extends ModelAbility {
// =permissions
/**
* @type {boolean}
*/
get canSetPassword() {
return this.hasAuthorizedAction('set-password');
}
}
+22
View File
@@ -0,0 +1,22 @@
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,16 @@
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');
}
}
+22
View File
@@ -0,0 +1,22 @@
import ModelAbility from './model';
/**
* Provides abilities for host sets.
*/
export default class UserAbility extends ModelAbility {
// =permissions
/**
* @type {boolean}
*/
get canAddHosts() {
return this.hasAuthorizedAction('add-hosts');
}
/**
* @type {boolean}
*/
get canRemoveHosts() {
return this.hasAuthorizedAction('remove-hosts');
}
}
+86
View File
@@ -0,0 +1,86 @@
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);
}
}
+29
View File
@@ -0,0 +1,29 @@
import ModelAbility from './model';
/**
* Provides abilities for roles.
*/
export default class RoleAbility extends ModelAbility {
// =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');
}
}
+43
View File
@@ -0,0 +1,43 @@
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 canAddCredentialSources() {
return this.hasAuthorizedAction('add-credential-sources');
}
/**
* @type {boolean}
*/
get canRemoveCredentialSources() {
return this.hasAuthorizedAction('remove-credential-sources');
}
}
+22
View File
@@ -0,0 +1,22 @@
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');
}
}
+50 -11
View File
@@ -2,7 +2,7 @@ import RESTAdapter from '@ember-data/adapter/rest';
import { serializeIntoHash } from '@ember-data/adapter/-private';
/* eslint-disable-next-line ember/no-mixins */
import AdapterBuildURLMixin from '../mixins/adapter-build-url';
import config from 'ember-get-config';
import { getOwner } from '@ember/application';
import { get } from '@ember/object';
import { InvalidError } from '@ember-data/adapter/error';
import { dasherize } from '@ember/string';
@@ -44,19 +44,36 @@ export default class ApplicationAdapter extends RESTAdapter.extend(
) {
// =attributes
#host;
#namespace;
/**
* Sets host to the `api.host` string in the application's config,
* if set.
* @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,
* if set.
* @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
@@ -246,14 +263,36 @@ export default class ApplicationAdapter extends RESTAdapter.extend(
source: { pointer: '/data' },
};
// Normalize field-specific errors, if any.
const errors = fieldErrors.map((error) => ({
detail: error.description,
// Ember Data cannot handle errors on nested attributes, so these are
// flattened (e.g. `attributes.foobar` becomes `attributes_foobar`).
// To capture these errors, add read-only fields on the model
// corresponding to the underscored field name.
source: { pointer: `/data/attributes/${error.name.replace('.', '_')}` },
}));
const errors = fieldErrors.flatMap((error) => {
const newValue = [
{
detail: error.description,
// Ember Data cannot handle errors on nested attributes, so these are
// flattened (e.g. `attributes.foobar` becomes `attributes_foobar`).
// To capture these errors, add read-only fields on the model
// corresponding to the underscored field name.
source: {
pointer: `/data/attributes/${error.name.replace('.', '_')}`,
},
},
];
if (error.name.includes('attributes.')) {
newValue.push({
detail: error.description,
// Going forward, nested attributes will be hoisted. Thus "attributes."
// must be stripped from the error name key. Until all models are
// transitioned away from model fragments, however, both this and the
// prior error key mappings are necessary.
source: {
pointer: `/data/attributes/${error.name.replace(
'attributes.',
''
)}`,
},
});
}
return newValue;
});
// Return a list of JSON API errors rooted under the `errors` key.
return {
errors: [baseError, ...errors],
+23
View File
@@ -0,0 +1,23 @@
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') {
const pluginName = snapshot.attr('plugin')?.name;
if (pluginName) url = `${url}?plugin_name=${pluginName}`;
}
return url;
}
}
@@ -39,13 +39,74 @@ export default class GeneratedHostCatalogModel extends BaseModel {
})
disabled;
@attr({
description: 'Attributes specific to the catalog type',
})
attributes;
@attr('number', {
description: 'Current version number of this resource.',
})
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;
}
@@ -50,4 +50,23 @@ export default class GeneratedHostSetModel extends BaseModel {
readOnly: true,
})
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;
// Azure specific
@attr('string', {
description: '',
isNestedAttribute: true,
})
filter;
}
@@ -43,4 +43,10 @@ export default class GeneratedHostModel extends BaseModel {
description: 'Current version number of this resource.',
})
version;
@attr({
description: 'Plugin information for this resource.',
readOnly: true,
})
plugin;
}
@@ -0,0 +1,47 @@
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;
}
+2
View File
@@ -61,6 +61,8 @@ export default class AuthMethodModel extends GeneratedAuthMethodModel {
*/
@equal('is_primary', true) isPrimary;
options = options;
/**
* @type {boolean}
*/
+17 -1
View File
@@ -1,4 +1,5 @@
import Model from '@ember-data/model';
import { attr } from '@ember-data/model';
import { fragment } from 'ember-data-model-fragments/attributes';
import { computed } from '@ember/object';
@@ -35,6 +36,21 @@ export default class BaseModel extends Model {
// =attributes
@attr({
readOnly: true,
emptyArrayIfMissing: true,
})
authorized_actions;
@attr({
readOnly: true,
})
authorized_collection_actions;
get scopeModel() {
const id = this.scopeID;
return this.store.peekRecord('scope', id);
}
set scopeModel(model) {
if (model) {
const json = model.serialize();
@@ -45,7 +61,7 @@ export default class BaseModel extends Model {
/**
* Convenience for getting and setting the parent scope ID.
* @type {string
* @type {string}
*/
@computed('scope.scope_id')
get scopeID() {
@@ -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,13 +1,13 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentHostSetModel extends Fragment {
export default class FragmentHostSourceModel extends Fragment {
// =attributes
@attr('string', {
description: 'ID of the related host set',
description: 'ID of the related host source',
})
host_set_id;
host_source_id;
@attr('string', {
description: 'ID of the catalog to which the host set belongs',
@@ -0,0 +1,12 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentManagedGroupAttributesModel extends Fragment {
// =attributes (OIDC)
@attr('string', {
description:
'The boolean expression filter to use to determine membership.',
})
filter;
}
@@ -1,9 +0,0 @@
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentTargetAttributesModel extends Fragment {
@attr('number', {
description: 'The default port a target should use if present.',
})
default_port;
}
+69 -1
View File
@@ -1,3 +1,71 @@
import GeneratedHostCatalogModel from '../generated/models/host-catalog';
export default class HostCatalogModel extends GeneratedHostCatalogModel {}
export const types = ['aws', 'azure'];
export default class HostCatalogModel extends GeneratedHostCatalogModel {
// =attributes
/**
* True if the host catalog is static.
* @type {boolean}
*/
get isStatic() {
return this.type === 'static';
}
/**
* True if the host catalog is a plugin.
* @type {boolean}
*/
get isPlugin() {
return this.type === 'plugin';
}
/**
* True if the host catalog is an unknown type.
* @type {boolean}
*/
get isUnknown() {
return this.isPlugin && !types.includes(this.plugin?.name);
}
/**
* True if host catalog plugin type is AWS.
* @type {boolean}
*/
get isAWS() {
return this.compositeType === 'aws';
}
/**
* True if host catalog plugin type is Azure.
* @type {boolean}
*/
get isAzure() {
return this.compositeType === 'azure';
}
/**
* If host catalog is a plugin return `plugin.name`,
* otherwise return the host catalog type.
* @type {string}
*/
get compositeType() {
if (this.isUnknown) return 'unknown';
if (this.isPlugin) return this.plugin.name;
return 'static';
}
/**
* Sets `type`. If type is different than `static`, sets `type` to `plugin`
* and `plugin.name` to the specified type.
*/
set compositeType(type) {
if (type === 'static') {
this.type = 'static';
} else {
this.type = 'plugin';
this.plugin = { name: type };
}
}
}
+75
View File
@@ -1,9 +1,72 @@
import GeneratedHostSetModel from '../generated/models/host-set';
import { fragmentArray } from 'ember-data-model-fragments/attributes';
import { types } from './host-catalog';
export default class HostSetModel extends GeneratedHostSetModel {
// =attributes
/**
* Returns if the host-set is static or not.
* @type {boolean}
*/
get isStatic() {
return this.type === 'static';
}
/**
* Returns if the host-set is plugin or not.
* @type {boolean}
*/
get isPlugin() {
return this.type === 'plugin';
}
/**
* True if the host set is an unknown type.
* @type {boolean}
*/
get isUnknown() {
return this.isPlugin && !types.includes(this.plugin?.name);
}
/**
* Returns if a host-set plugin is AWS or not
* @type {boolean}
*/
get isAWS() {
return this.compositeType === 'aws';
}
/**
* Return if a host-set plugin is Azure or not.
*/
get isAzure() {
return this.compositeType === 'azure';
}
/**
* If a host-set is a plugin return its name,
* otherwise returns the host-set type
* @type {string}
*/
get compositeType() {
if (this.isUnknown) return 'unknown';
if (this.isPlugin) return this.plugin.name;
return 'static';
}
/**
* Sets type, if type is different than static, set plugin name to type
*/
set compositeType(type) {
if (type === 'static') {
this.type = 'static';
} else {
this.type = 'plugin';
this.plugin = { name: type };
}
}
/**
* Host IDs are read-only under normal circumstances. But these can
* be persisted via a dedicated call to `addHosts()`.
@@ -14,6 +77,18 @@ export default class HostSetModel extends GeneratedHostSetModel {
})
host_ids;
@fragmentArray('fragment-string', {
emptyArrayIfMissing: true,
})
preferred_endpoints;
// AWS specific
@fragmentArray('fragment-string', {
emptyArrayIfMissing: true,
isNestedAttribute: true,
})
filters;
// =methods
/**
+81 -4
View File
@@ -1,10 +1,87 @@
import GeneratedHostModel from '../generated/models/host';
import { fragment } from 'ember-data-model-fragments/attributes';
import { attr } from '@ember-data/model';
export default class HostModel extends GeneratedHostModel {
// =attributes
// Static specific fields
@attr('string', {
description: 'The address (DNS or IP name) used to reach the host',
isNestedAttribute: true,
})
address;
// Plugin specific fields
@attr({
readOnly: true,
emptyArrayIfMissing: true,
})
ip_addresses;
@attr('string', {
description: '',
readOnly: true,
})
external_id;
// Aws specific
@attr({
readOnly: true,
emptyArrayIfMissing: true,
})
dns_names;
/**
* Attributes of this resource, if any, represented as a JSON fragment.
* @type {FragmentHostAttributesModel}
* True if the host is static.
* @type {boolean}
*/
@fragment('fragment-host-attributes', { defaultValue: {} }) attributes;
get isStatic() {
return this.type === 'static';
}
/**
* True if the host is plugin.
* @type {boolean}
*/
get isPlugin() {
return this.type === 'plugin';
}
/**
* True if the host plugin type is AWS.
* @type {boolean}
*/
get isAWS() {
return this.compositeType === 'aws';
}
/**
* True if the host plugin type is Azure.
* @type {boolean}
*/
get isAzure() {
return this.compositeType === 'azure';
}
/**
* If host is a plugin return `plugin.name`,
* otherwise return the host type.
* @type {string}
*/
get compositeType() {
return this.isPlugin ? this.plugin.name : this.type;
}
/**
* Sets `type`. If type is different than `static`, sets `type` to `plugin`
* and `plugin.name` to the specified type.
*/
set compositeType(type) {
if (type === 'static') {
this.type = 'static';
} else {
this.type = 'plugin';
this.plugin = { name: type };
}
}
}
+29
View File
@@ -0,0 +1,29 @@
import GeneratedManagedGroupModel from '../generated/models/managed-group';
import { attr } from '@ember-data/model';
import { fragment } from 'ember-data-model-fragments/attributes';
import { A } from '@ember/array';
export default class ManagedGroupModel extends GeneratedManagedGroupModel {
// =attributes
// =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_filter;
/**
* Members is read-only under normal circumstances. But members can
* be persisted via calls to `addMembers()` or `removeMembers()`.
*/
@attr({
readOnly: true,
defaultValue: () => A(),
emptyArrayIfMissing: true,
})
member_ids;
@fragment('fragment-managed-group-attributes', { defaultValue: {} })
attributes;
}
+55 -44
View File
@@ -1,34 +1,35 @@
import GeneratedTargetModel from '../generated/models/target';
import { fragment, fragmentArray } from 'ember-data-model-fragments/attributes';
import { attr } from '@ember-data/model';
import { fragmentArray } from 'ember-data-model-fragments/attributes';
import { computed } from '@ember/object';
export default class TargetModel extends GeneratedTargetModel {
// =attributes
/**
* Attributes of this resource, if any, represented as a JSON fragment.
* @type {FragmentTargetAttributesModel}
*/
@fragment('fragment-target-attributes', { defaultValue: {} }) attributes;
@attr('number', {
isNestedAttribute: true,
description: 'The default port a target should use if present.',
})
default_port;
/**
* @type {[FragmentHostSetModel]}
* @type {[FragmentHostSourceModel]}
*/
@fragmentArray('fragment-host-set', {
@fragmentArray('fragment-host-source', {
readOnly: true,
emptyArrayIfMissing: true,
})
host_sets;
host_sources;
/**
* Credential library ids are read only and can be
* persisted via a dedicated call to `addCredentialLibraries()`.
* Credential source ids are read only and can be
* persisted via a dedicated call to `addCredentialSources()`.
*/
@fragmentArray('fragment-string', {
readOnly: true,
emptyArrayIfMissing: true,
})
application_credential_library_ids;
application_credential_source_ids;
/**
* An array of resolved host set and host catalog instances. Model instances
@@ -36,11 +37,11 @@ export default class TargetModel extends GeneratedTargetModel {
* instances). Unresolvable instances are excluded from the array.
* @type {[{model: HostSetModel, hostCatalog: HostCatalogModel}]}
*/
@computed('host_sets.[]', 'store')
@computed('host_sources.[]', 'store')
get hostSets() {
return this.host_sets
.map(({ host_set_id, host_catalog_id }) => ({
model: this.store.peekRecord('host-set', host_set_id),
return this.host_sources
.map(({ host_source_id, host_catalog_id }) => ({
model: this.store.peekRecord('host-set', host_source_id),
hostCatalog: this.store.peekRecord('host-catalog', host_catalog_id),
}))
.filter((hostSetRef) => hostSetRef.model !== null);
@@ -52,14 +53,11 @@ export default class TargetModel extends GeneratedTargetModel {
* instances). Unresolvable instances are excluded from the array.
* @type {[CredentialLibraryModel]}
*/
@computed('application_credential_library_ids.[]', 'store')
@computed('application_credential_source_ids.[]', 'store')
get credentialLibraries() {
return this.application_credential_library_ids
.map((credential_library_fragment) =>
this.store.peekRecord(
'credential-library',
credential_library_fragment.value
)
return this.application_credential_source_ids
.map((source) =>
this.store.peekRecord('credential-library', source.value)
)
.filter(Boolean);
}
@@ -96,16 +94,16 @@ export default class TargetModel extends GeneratedTargetModel {
// =methods
/**
* Adds host sets via the `add-host-sets` method.
* Adds host sets via the `add-host-sources` method.
* See serializer and adapter for more information.
* @param {[string]} hostSetIDs
* @param {object} options
* @param {object} options.adapterOptions
* @return {Promise}
*/
addHostSets(hostSetIDs, options = { adapterOptions: {} }) {
addHostSources(hostSetIDs, options = { adapterOptions: {} }) {
const defaultAdapterOptions = {
method: 'add-host-sets',
method: 'add-host-sources',
hostSetIDs,
};
// There is no "deep merge" in ES.
@@ -119,16 +117,16 @@ export default class TargetModel extends GeneratedTargetModel {
}
/**
* Delete host sets via the `remove-host-sets` method.
* Delete host sets via the `remove-host-sources` method.
* See serializer and adapter for more information.
* @param {[string]} hostSetIDs
* @param {object} options
* @param {object} options.adapterOptions
* @return {Promise}
*/
removeHostSets(hostSetIDs, options = { adapterOptions: {} }) {
removeHostSources(hostSetIDs, options = { adapterOptions: {} }) {
const defaultAdapterOptions = {
method: 'remove-host-sets',
method: 'remove-host-sources',
hostSetIDs,
};
// There is no "deep merge" in ES.
@@ -142,29 +140,26 @@ export default class TargetModel extends GeneratedTargetModel {
}
/**
* Delete a single host set via the `remove-host-sets` method.
* Delete a single host set via the `remove-host-sources` method.
* @param {number} hostSetID
* @param {object} options
* @return {Promise}
*/
removeHostSet(hostSetID, options) {
return this.removeHostSets([hostSetID], options);
removeHostSource(hostSetID, options) {
return this.removeHostSources([hostSetID], options);
}
/**
* Adds credential libraries via the `add-credential-libraries` method.
* Adds credential libraries via the `add-credential-sources` method.
* See serializer and adapter for more information.
* @param {[string]} credentialLibraryIDs
* @param {object} options
* @param {object} options.adapterOptions
* @return {Promise}
*/
addCredentialLibraries(
credentialLibraryIDs,
options = { adapterOptions: {} }
) {
addCredentialSources(credentialLibraryIDs, options = { adapterOptions: {} }) {
const defaultAdapterOptions = {
method: 'add-credential-libraries',
method: 'add-credential-sources',
credentialLibraryIDs,
};
// There is no "deep merge" in ES.
@@ -178,19 +173,19 @@ export default class TargetModel extends GeneratedTargetModel {
}
/**
* Delete credential libraries via the `remove-credential-libraries` method.
* Delete credential libraries via the `remove-credential-sources` method.
* See serializer and adapter for more information.
* @param {[string]} credentialLibraryIDs
* @param {object} options
* @param {object} options.adapterOptions
* @return {Promise}
*/
removeCredentialLibraries(
removeCredentialSources(
credentialLibraryIDs,
options = { adapterOptions: {} }
) {
const defaultAdapterOptions = {
method: 'remove-credential-libraries',
method: 'remove-credential-sources',
credentialLibraryIDs,
};
// There is no "deep merge" in ES.
@@ -204,12 +199,28 @@ export default class TargetModel extends GeneratedTargetModel {
}
/**
* Delete a single credential library set via the `remove-credential-libraries` method.
* Delete a single credential library set via the `remove-credential-sources` method.
* @param {number} credentialLibraryID
* @param {object} options
* @return {Promise}
*/
removeCredentialLibrary(credentialLibraryID, options) {
return this.removeCredentialLibraries([credentialLibraryID], options);
removeCredentialSource(credentialLibraryID, options) {
return this.removeCredentialSources([credentialLibraryID], options);
}
/**
* True if the target type is tcp.
* @type {boolean}
*/
get isTCP() {
return this.type === 'tcp';
}
/**
* True if the target type is ssh.
* @type {boolean}
*/
get isSSH() {
return this.type === 'ssh';
}
}
+30
View File
@@ -1,5 +1,6 @@
import GeneratedUserModel from '../generated/models/user';
import { attr } from '@ember-data/model';
import { computed } from '@ember/object';
import { A } from '@ember/array';
export default class UserModel extends GeneratedUserModel {
@@ -16,6 +17,35 @@ export default class UserModel extends GeneratedUserModel {
})
account_ids;
/**
* Represents the user's primary account email, if any.
* @type {string}
*/
@attr('string', { readOnly: true }) email;
/**
* Represents the user's primary account full_name, if any.
* @type {string}
*/
@attr('string', { readOnly: true }) full_name;
/**
* Represents the user's primary account login_name, if any.
* @type {string}
*/
@attr('string', { readOnly: true }) login_name;
/**
* Convenience for getting a reasonable string that names the account.
* There are many options, so we fallback in order of precedence.
* @type {string}
*/
@computed('email,full_name,login_name,displayName')
get accountName() {
const { email, full_name, login_name } = this;
return email || full_name || login_name;
}
// =methods
/**
+69 -1
View File
@@ -50,6 +50,20 @@ export default class ApplicationSerializer extends RESTSerializer {
// Do not serialize `disabled` fields.
// TODO: disabled is temporarily disabled
if (key === 'disabled') delete json[key];
// Push nested attributes down into the attributes key
if (options.isNestedAttribute && json[key] !== undefined) {
if (!json.attributes) json.attributes = {};
json.attributes[key] = json[key];
delete json[key];
}
// Push nested secrets down into the secrets key
if (options.isNestedSecret) {
if (json[key]) {
if (!json.secrets) json.secrets = {};
json.secrets[key] = json[key];
}
delete json[key];
}
return value;
}
@@ -195,9 +209,63 @@ export default class ApplicationSerializer extends RESTSerializer {
* @return {Object}
*/
normalize(typeClass, hash) {
const normalizedHash = copy(hash, true);
let normalizedHash = copy(hash, true);
const scopeID = get(normalizedHash, 'scope.id');
if (scopeID) normalizedHash.scope.scope_id = scopeID;
normalizedHash = this.normalizeNestedAttributes(typeClass, normalizedHash);
normalizedHash = this.normalizeNestedSecrets(typeClass, normalizedHash);
return super.normalize(typeClass, normalizedHash);
}
/**
* Certain typed resources in the API have type-specific fields nested under
* an `attributes` key in the payload
* (e.g. `attributes: { fieldName: '123' }`). Since Ember Data lacks
* first-class support for nested attributes, these fields must be hoisted up
* into the main body of the payload.
*
* In order to annotate a field as being a nested attribute, add the key name
* to the `nestedAttributes` field on the serializer:
* `@attr('string', { isNestedAttribute: true }) fieldName;`
*
* @param {Model} typeClass
* @param {Object} hash
* @return {Object}
*/
normalizeNestedAttributes(typeClass, hash) {
typeClass.attributes.forEach((attribute) => {
const {
name,
options: { isNestedAttribute },
} = attribute;
const value = hash.attributes?.[name];
const isUndefined = value === undefined;
if (isNestedAttribute && !isUndefined) hash[name] = value;
});
return hash;
}
/**
* If an attribute is declared with the `isNestedSecret` option, it will
* be explicitly unset in the incoming payload to `null`. This helps ensure
* secret values do not linger in the UI.
*
* For example:
* `@attr('string', { isNestedSecret: true }) superSecretShhh;`
*
* @param {Model} typeClass
* @param {Object} hash
* @return {Object}
*/
normalizeNestedSecrets(typeClass, hash) {
typeClass.attributes.forEach((attribute) => {
const {
name,
options: { isNestedSecret },
} = attribute;
const value = hash.secrets?.[name];
if (isNestedSecret) hash[name] = value || null;
});
return hash;
}
}
@@ -1,6 +1,6 @@
import JSONSerializer from '@ember-data/serializer/json';
export default class FragmentHostSetSerializer extends JSONSerializer {
export default class FragmentHostSourceSerializer extends JSONSerializer {
// =methods
/**
@@ -1,16 +0,0 @@
import JSONSerializer from '@ember-data/serializer/json';
export default class FragmentHostSetSerializer extends JSONSerializer {
// =methods
/**
* Renames `id` to `host_set_id` because fragments may not have IDs.
* Otherwise normalizes as normal.
* @param {ModelClass} typeClass
* @param {object} resourceHash
* @return {object}
*/
normalize(typeClass, { id: host_set_id, ...obj }) {
return super.normalize(typeClass, { host_set_id, ...obj });
}
}
@@ -0,0 +1,16 @@
import JSONSerializer from '@ember-data/serializer/json';
export default class FragmentHostSourceSerializer extends JSONSerializer {
// =methods
/**
* Renames `id` to `host_source_id` because fragments may not have IDs.
* Otherwise normalizes as normal.
* @param {ModelClass} typeClass
* @param {object} resourceHash
* @return {object}
*/
normalize(typeClass, { id: host_source_id, ...obj }) {
return super.normalize(typeClass, { host_source_id, ...obj });
}
}
@@ -0,0 +1,27 @@
import JSONSerializer from '@ember-data/serializer/json';
export default class FragmentManagedGroupAttributesSerializer extends JSONSerializer {
/**
* If an attribute is annotated as readOnly in the model, don't serialize it.
* Otherwise delegate to default attribute serializer.
* @override
* @method serializeAttribute
* @param {Snapshot} snapshot
* @param {Object} json
* @param {String} key
* @param {Object} attribute
*/
serializeAttribute(snapshot, json, key, attribute) {
const { type, options } = attribute;
let value = super.serializeAttribute(...arguments);
// Convert empty string to null.
if (type === 'string' && json[key] === '') json[key] = null;
// Do not serialize read-only attributes.
if (options.readOnly) delete json[key];
// Version is sent only if it has a non-nullish value
if (key === 'version') {
if (json[key] === null || json[key] === undefined) delete json[key];
}
return value;
}
}
@@ -0,0 +1,59 @@
import ApplicationSerializer from './application';
const fieldsByType = {
aws: [
'disable_credential_rotation',
'region',
'access_key_id',
'secret_access_key',
],
azure: [
'disable_credential_rotation',
'tenant_id',
'client_id',
'subscription_id',
'secret_id',
'secret_value',
],
};
export default class HostCatalogSerializer extends ApplicationSerializer {
// =methods
serialize(snapshot) {
const serialized = super.serialize(...arguments);
switch (snapshot.record.compositeType) {
case 'static':
return this.serializeStatic(...arguments);
default:
return serialized;
}
}
serializeAttribute(snapshot, json, key, attribute) {
const value = super.serializeAttribute(...arguments);
const { isPlugin, compositeType } = snapshot.record;
const { options } = attribute;
// Nested conditionals for readability
// This deletes any fields that don't belong to the record type
if (isPlugin && options.isNestedAttribute && json.attributes) {
// The key must be included in the fieldsByType list above
if (!fieldsByType[compositeType].includes(key))
delete json.attributes[key];
}
// This deletes any fields that don't belong to the record type
if (isPlugin && options.isNestedSecret && json.secrets) {
if (!fieldsByType[compositeType].includes(key)) delete json.secrets[key];
}
// new one for isNestedSecret
return value;
}
serializeStatic() {
const serialized = super.serialize(...arguments);
// Delete unnecessary fields for static host-catalog
delete serialized.attributes;
delete serialized.secrets;
return serialized;
}
}
+52 -3
View File
@@ -1,5 +1,10 @@
import ApplicationSerializer from './application';
import { copy } from 'ember-copy';
const fieldByType = {
aws: ['preferred_endpoints', 'filters', 'sync_interval_seconds'],
azure: ['preferred_endpoints', 'filter', 'sync_interval_seconds'],
};
export default class HostSetSerializer extends ApplicationSerializer {
// =properties
@@ -19,10 +24,17 @@ export default class HostSetSerializer extends ApplicationSerializer {
* @return {object}
*/
serialize(snapshot) {
let serialized = super.serialize(...arguments);
const hostIDs = snapshot?.adapterOptions?.hostIDs;
if (hostIDs) serialized = this.serializeWithHostIDs(snapshot, hostIDs);
return serialized;
if (hostIDs) {
return this.serializeWithHostIDs(snapshot, hostIDs);
} else {
switch (snapshot.record.compositeType) {
case 'static':
return this.serializeStatic(...arguments);
default:
return super.serialize(...arguments);
}
}
}
/**
@@ -37,4 +49,41 @@ export default class HostSetSerializer extends ApplicationSerializer {
host_ids: hostIDs,
};
}
serializeStatic() {
let serialized = super.serialize(...arguments);
// Delete unnecessary fields for static type
delete serialized.attributes;
delete serialized.preferred_endpoints;
delete serialized.sync_interval_seconds;
return serialized;
}
serializeAttribute(snapshot, json, key, attribute) {
const value = super.serializeAttribute(...arguments);
const { isPlugin, compositeType } = snapshot.record;
const { options } = attribute;
if (isPlugin && options.isNestedAttribute) {
if (!fieldByType[compositeType].includes(key)) {
delete json.attributes[key];
}
}
return value;
}
/**
* Temporarily converts `filters` to an array if it is a string. This is a
* quirk of the API.
*
* TODO: remove once API consistently returns arrays.
*/
normalize(typeClass, hash, ...rest) {
const normalizedHash = copy(hash, true);
if (typeof normalizedHash?.filters === 'string') {
normalizedHash.filters = [normalizedHash.filters];
}
const normalized = super.normalize(typeClass, normalizedHash, ...rest);
return normalized;
}
}
@@ -0,0 +1,10 @@
import ApplicationSerializer from './application';
export default class ManagedGroupSerializer extends ApplicationSerializer {
// =properties
/**
* @type {boolean}
*/
serializeScopeID = false;
}
+17 -16
View File
@@ -17,43 +17,44 @@ export default class TargetSerializer extends ApplicationSerializer {
*/
serialize(snapshot) {
let serialized = super.serialize(...arguments);
const hostSetIDs = snapshot?.adapterOptions?.hostSetIDs;
if (hostSetIDs)
serialized = this.serializeWithHostSets(snapshot, hostSetIDs);
const credentialLibraryIDs = snapshot?.adapterOptions?.credentialLibraryIDs;
if (credentialLibraryIDs)
serialized = this.serializeWithCredentialLibraries(
const hostSourceIDs = snapshot?.adapterOptions?.hostSetIDs;
if (hostSourceIDs) {
serialized = this.serializeWithHostSources(snapshot, hostSourceIDs);
}
const credentialSourceIDs = snapshot?.adapterOptions?.credentialLibraryIDs;
if (credentialSourceIDs)
serialized = this.serializeWithCredentialSources(
snapshot,
credentialLibraryIDs
credentialSourceIDs
);
return serialized;
}
/**
* Returns a payload containing only the host_set_ids array using IDs
* passed into the function (rather than existing host sets on the model).
* Returns a payload containing only version and an array of passed IDs,
* rather than existing instances on the model.
* @param {Snapshot} snapshot
* @param {[string]} hostSetIDs
* @return {object}
*/
serializeWithHostSets(snapshot, hostSetIDs) {
serializeWithHostSources(snapshot, hostSourceIDs) {
return {
version: snapshot.attr('version'),
host_set_ids: hostSetIDs,
host_source_ids: hostSourceIDs,
};
}
/**
* Returns a payload containing only the credential_library_ids array using IDs
* passed into the function (rather than existing credential libraries on the model).
* Returns a payload containing only version and an array of passed IDs,
* rather than existing instances on the model.
* @param {Snapshot} snapshot
* @param {[string]} credentialLibraryIDs
* @param {[string]} credentialSourceIDs
* @return {object}
*/
serializeWithCredentialLibraries(snapshot, credentialLibraryIDs) {
serializeWithCredentialSources(snapshot, credentialSourceIDs) {
return {
version: snapshot.attr('version'),
application_credential_library_ids: credentialLibraryIDs,
application_credential_source_ids: credentialSourceIDs,
};
}
}
@@ -0,0 +1,127 @@
import Service from '@ember/service';
import { inject as service } from '@ember/service';
/**
* Takes a POJO representing a query and converts it to a boolean expression
* string which is understood by the API.
*
* @example
* const filter = new ResourceFilter({
* type: 'oidc',
* status: ['active', 'pending'],
* authorized_actions: [{ contains: 'read' }]
* });
* log(filter.queryExpression);
* // ("/item/type" == "oidc") and ("/item/status" == "active" or "/item/status" == "pending") and ("read" in "/item/authorized_actions")
*/
export class ResourceFilter {
// =attributes
/**
* @type {?object}
*/
#filterObject;
/**
* @type {string}
*/
get queryExpression() {
const clauses = Object.keys(this.#filterObject)
.map((key) => {
const value = this.#filterObject[key];
const valuesArray = Array.isArray(value) ? value : [value];
return this.parenthetical(
this.or(
valuesArray.map((value) => {
if (value && value.contains) {
return this.in(value.contains, key);
}
return this.equals(key, value);
})
)
);
})
.flat()
.filter((item) => item);
return this.and(clauses);
}
// =methods
/**
* @param {object} filterObject
*/
constructor(filterObject = {}) {
this.#filterObject = Object.assign({}, filterObject);
}
/**
* @param {string} key
* @param value
* @return {string}
*/
equals(key, value) {
return value !== null ? `"/item/${key}" == "${value}"` : null;
}
/**
* @param {string} key
* @param value
* @return {string}
*/
in(value, key) {
return value !== null ? `"${value}" in "/item/${key}"` : null;
}
/**
* @param {string[]} clauses
* @return {string}
*/
and(clauses) {
return clauses.join(' and ');
}
/**
* @param {string[]} clauses
* @return {string}
*/
or(clauses) {
return clauses.join(' or ');
}
/**
* @param {string} expression
* @return {string}
*/
parenthetical(expression) {
return expression ? `(${expression})` : null;
}
}
/**
*
*/
export default class ResourceFilterStoreService extends Service {
// =services
@service store;
// =methods
/**
* Similar to Ember's built-in `store.query`, except this method accepts
* an additional argument `filterObject` representing a query filter
* (see ResourceFilter class above).
* @param {string} modelName
* @param {object} filterObject
* @param {?object} storeQuery
* @return {Promise}
*/
queryBy(modelName, filterObject = {}, storeQuery = {}) {
const filter = new ResourceFilter(filterObject);
const query = Object.assign({}, storeQuery);
// Apply filters to store query when available
if (filter.queryExpression) query.filter = filter.queryExpression;
return this.store.query(modelName, query);
}
}
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/abilities/account';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/abilities/group';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/abilities/host-catalog';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/abilities/host-set';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/abilities/model';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/abilities/role';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/abilities/target';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/abilities/user';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/adapters/host-catalog';
@@ -1 +0,0 @@
export { default } from 'api/models/fragment-host-attributes';
@@ -1 +0,0 @@
export { default } from 'api/models/fragment-host-set';
@@ -0,0 +1 @@
export { default } from 'api/models/fragment-host-source';
@@ -0,0 +1 @@
export { default } from 'api/models/fragment-managed-group-attributes';
@@ -1 +0,0 @@
export { default } from 'api/models/fragment-target-attributes';
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/models/managed-group';
@@ -1 +0,0 @@
export { default } from 'api/serializers/fragment-host-set';
@@ -0,0 +1 @@
export { default } from 'api/serializers/fragment-host-source';
@@ -0,0 +1 @@
export { default } from 'api/serializers/fragment-managed-group-attributes';
@@ -0,0 +1 @@
export { default } from 'api/serializers/host-catalog';
@@ -0,0 +1 @@
export { default } from 'api/serializers/managed-group';
@@ -0,0 +1 @@
export { default } from 'api/services/resource-filter-store';
-86
View File
@@ -1,86 +0,0 @@
'use strict';
const getChannelURL = require('ember-source-channel-url');
module.exports = async function () {
return {
scenarios: [
{
name: 'ember-lts-3.12',
npm: {
devDependencies: {
'ember-source': '~3.12.0',
},
},
},
{
name: 'ember-lts-3.16',
npm: {
devDependencies: {
'ember-source': '~3.16.0',
},
},
},
{
name: 'ember-lts-3.20',
npm: {
devDependencies: {
'ember-source': '~3.20.5',
},
},
},
{
name: 'ember-release',
npm: {
devDependencies: {
'ember-source': await getChannelURL('release'),
},
},
},
{
name: 'ember-beta',
npm: {
devDependencies: {
'ember-source': await getChannelURL('beta'),
},
},
},
{
name: 'ember-canary',
npm: {
devDependencies: {
'ember-source': await getChannelURL('canary'),
},
},
},
{
name: 'ember-default-with-jquery',
env: {
EMBER_OPTIONAL_FEATURES: JSON.stringify({
'jquery-integration': true,
}),
},
npm: {
devDependencies: {
'@ember/jquery': '^1.1.0',
},
},
},
{
name: 'ember-classic',
env: {
EMBER_OPTIONAL_FEATURES: JSON.stringify({
'application-template-wrapper': true,
'default-async-observers': false,
'template-only-glimmer-components': false,
}),
},
npm: {
ember: {
edition: 'classic',
},
},
},
],
};
};
+76 -32
View File
@@ -1,12 +1,14 @@
import Ember from 'ember';
import config from '../config/environment';
import { authHandler, deauthHandler } from './route-handlers/auth';
import { pickRandomStatusString } from './factories/session';
import { Response } from 'miragejs';
import initializeMockIPC from './scenarios/ipc';
import makeBooleanFilter from './helpers/bexpr-filter';
const isTesting = config.environment === 'test';
export default function () {
initializeMockIPC(this);
initializeMockIPC(this, config);
// make this `http://localhost:8080`, for example, if your API is on a different server
// this.urlPrefix = '';
@@ -24,16 +26,18 @@ export default function () {
this.get(
'/scopes',
({ scopes }, { queryParams: { scope_id, recursive } }) => {
({ scopes }, { queryParams: { scope_id, recursive, filter } }) => {
let resultSet;
// Default parent scope is global
if (!scope_id) scope_id = 'global';
if (recursive && scope_id === 'global') {
return scopes.all();
resultSet = scopes.all();
} else {
return scopes.where((scope) => {
resultSet = scopes.where((scope) => {
return scope.scope ? scope.scope.id === scope_id : false;
});
}
return resultSet.filter(makeBooleanFilter(filter));
}
);
this.post('/scopes', function ({ scopes }) {
@@ -53,8 +57,9 @@ export default function () {
this.get(
'/auth-methods',
({ authMethods }, { queryParams: { scope_id: scopeId } }) => {
return authMethods.where({ scopeId });
({ authMethods }, { queryParams: { scope_id: scopeId, filter } }) => {
const resultSet = authMethods.where({ scopeId });
return resultSet.filter(makeBooleanFilter(filter));
}
);
this.post('/auth-methods');
@@ -75,8 +80,17 @@ export default function () {
// Auth Method Accounts
this.get(
'/accounts',
({ accounts }, { queryParams: { auth_method_id: authMethodId } }) => {
return accounts.where({ authMethodId });
(
{ accounts },
{ queryParams: { auth_method_id: authMethodId, filter } }
) => {
let resultSet;
if (authMethodId) {
resultSet = accounts.where({ authMethodId });
} else {
resultSet = accounts.all();
}
return resultSet.filter(makeBooleanFilter(filter));
}
);
this.post('/accounts');
@@ -256,7 +270,19 @@ export default function () {
return hostCatalogs.where({ scopeId });
}
);
this.post('/host-catalogs');
this.post(
'/host-catalogs',
function ({ hostCatalogs }, { queryParams: { plugin_name } }) {
const attrs = this.normalizedRequestAttrs();
if (plugin_name) {
attrs.type = 'plugin';
attrs.plugin = {
name: plugin_name,
};
}
return hostCatalogs.create(attrs);
}
);
this.get('/host-catalogs/:id');
this.patch('/host-catalogs/:id');
this.del('/host-catalogs/:id');
@@ -335,19 +361,22 @@ export default function () {
this.get(
'/targets',
function ({ targets }, { queryParams: { scope_id, recursive } }) {
function ({ targets }, { queryParams: { scope_id, recursive, filter } }) {
let resultSet;
if (recursive && scope_id === 'global') {
return targets.all();
resultSet = targets.all();
} else if (recursive) {
return targets.where((target) => {
resultSet = targets.where((target) => {
const targetModel = targets.find(target.id);
return (
target.scopeId === scope_id ||
targetModel?.scope?.scope?.id === scope_id
);
});
} else {
resultSet = targets.where((target) => target.scopeId === scope_id);
}
return targets.where((target) => target.scopeId === scope_id);
return resultSet.filter(makeBooleanFilter(filter));
}
);
this.post('/targets', function ({ targets }) {
@@ -367,37 +396,37 @@ export default function () {
const updatedAttrs = {
version: attrs.version,
};
// If adding host sets, push them into the array
if (method === 'add-host-sets') {
// If adding host sources, push them into the array
if (method === 'add-host-sources') {
updatedAttrs.hostSetIds = target.hostSetIds;
attrs.hostSetIds.forEach((id) => {
attrs.hostSourceIds.forEach((id) => {
if (!updatedAttrs.hostSetIds.includes(id)) {
updatedAttrs.hostSetIds.push(id);
}
});
}
// If deleting host sets, filter them out of the array
if (method === 'remove-host-sets') {
// If deleting host sources, filter them out of the array
if (method === 'remove-host-sources') {
updatedAttrs.hostSetIds = target.hostSetIds;
updatedAttrs.hostSetIds = updatedAttrs.hostSetIds.filter((id) => {
return !attrs.hostSetIds.includes(id);
return !attrs.hostSourceIds.includes(id);
});
}
// If adding credential libraries, push them into the array
if (method === 'add-credential-libraries') {
// If adding credential sources, push them into the array
if (method === 'add-credential-sources') {
updatedAttrs.credentialLibraryIds = target.credentialLibraryIds;
attrs.applicationCredentialLibraryIds.forEach((id) => {
attrs.applicationCredentialSourceIds.forEach((id) => {
if (!updatedAttrs.credentialLibraryIds.includes(id)) {
updatedAttrs.credentialLibraryIds.push(id);
}
});
}
// If deleting credential libraries, filter them out of the array
if (method === 'remove-credential-libraries') {
// If deleting credential sources, filter them out of the array
if (method === 'remove-credential-sources') {
updatedAttrs.credentialLibraryIds = target.credentialLibraryIds;
updatedAttrs.credentialLibraryIds =
updatedAttrs.credentialLibraryIds.filter((id) => {
return !attrs.applicationCredentialLibraryIds.includes(id);
return !attrs.applicationCredentialSourceIds.includes(id);
});
}
return target.update(updatedAttrs);
@@ -408,14 +437,15 @@ export default function () {
this.get(
'/sessions',
function ({ sessions }, { queryParams: { scope_id, recursive } }) {
function ({ sessions }, { queryParams: { scope_id, recursive, filter } }) {
let resultSet;
// To simulate changes to `session.status` that may occur in the backend,
// we quietly randomize the value of the field on GET.
// To populate sessions for logged in user,
// update alternate sessions to auth user.
// But only if not in testing mode.
// In tests, we need deterministic statuses.
if (!Ember.testing) {
if (!isTesting) {
sessions.all().models.forEach((session) => {
session.update({
status: pickRandomStatusString(),
@@ -427,22 +457,24 @@ export default function () {
});
}
if (recursive && scope_id === 'global') {
return sessions.all();
resultSet = sessions.all();
} else if (recursive) {
return sessions.where((session) => {
resultSet = sessions.where((session) => {
const sessionModel = sessions.find(session.id);
return (
session.scopeId === scope_id ||
sessionModel?.scope?.scope?.id === scope_id
);
});
} else {
resultSet = sessions.where((session) => session.scopeId === scope_id);
}
return sessions.where((session) => session.scopeId === scope_id);
return resultSet.filter(makeBooleanFilter(filter));
}
);
this.get('/sessions/:id', function ({ sessions }, { params: { id } }) {
const session = sessions.find(id);
if (!Ember.testing) {
if (!isTesting) {
session.update({
status: pickRandomStatusString(),
});
@@ -509,6 +541,18 @@ export default function () {
this.del('/credential-libraries/:id');
this.patch('/credential-libraries/:id');
// managed-groups
this.get(
'/managed-groups',
({ managedGroups }, { queryParams: { auth_method_id: authMethodId } }) => {
return managedGroups.where({ authMethodId });
}
);
this.post('/managed-groups');
this.get('/managed-groups/:id');
this.patch('/managed-groups/:id');
this.del('/managed-groups/:id');
/* Uncomment the following line and the Response import above
* Then change the response code to simulate error responses.
* this.get('/scopes', () => new Response(505));
+9
View File
@@ -1,7 +1,16 @@
import factory from '../generated/factories/account';
import { random, internet } from 'faker';
import permissions from '../helpers/permissions';
export default factory.extend({
authorized_actions: () =>
permissions.authorizedActionsFor('account') || [
'no-op',
'read',
'update',
'delete',
'set-password',
],
attributes() {
switch (this.type) {
case 'password':
+31 -2
View File
@@ -1,24 +1,53 @@
import factory from '../generated/factories/auth-method';
import { trait } from 'ember-cli-mirage';
import permissions from '../helpers/permissions';
const types = ['password', 'oidc'];
export default factory.extend({
authorized_actions: () =>
permissions.authorizedActionsFor('auth-method') || [
'no-op',
'read',
'update',
'delete',
],
authorized_collection_actions: () => {
return {
accounts: ['create', 'list'],
'managed-groups': ['create', 'list'],
};
},
id: (i) => `auth-method-id-${i}`,
// Cycle through available types
type: (i) => types[i % types.length],
/**
* Adds accounts (with associated users) to auth method.
* Adds accounts (with associated users) to auth method and managed groups.
*/
withAccountsAndUsers: trait({
withAccountsAndUsersAndManagedGroups: trait({
afterCreate(authMethod, server) {
const { scope, type } = authMethod;
server.createList('user', 5, { scope }).map((user) => {
const { id } = server.create('account', { scope, type, authMethod });
user.update({ accountIds: [id] });
});
if (type === 'oidc') {
server
.createList('managed-group', 2, { scope, authMethod })
.map((managedGroup) => {
const accounts = server.createList('account', 2, {
scope,
type,
authMethod,
});
const accountIds = accounts.map((account) => account.id);
managedGroup.update({ memberIds: accountIds });
});
}
},
}),
});
@@ -1,5 +1,6 @@
import factory from '../generated/factories/credential-library';
import { random, system } from 'faker';
import permissions from '../helpers/permissions';
const types = ['vault'];
@@ -7,6 +8,14 @@ export default factory.extend({
id: (i) => `credential-library-id-${i}`,
type: (i) => types[i % types.length],
authorized_actions: () =>
permissions.authorizedActionsFor('credential-library') || [
'no-op',
'read',
'update',
'delete',
],
attributes() {
switch (this.type) {
case 'vault':
@@ -1,10 +1,23 @@
import factory from '../generated/factories/credential-store';
import { random, internet, datatype } from 'faker';
import { trait } from 'ember-cli-mirage';
import permissions from '../helpers/permissions';
const types = ['vault'];
export default factory.extend({
authorized_actions: () =>
permissions.authorizedActionsFor('credential-store') || [
'no-op',
'read',
'update',
'delete',
],
authorized_collection_actions: () => {
return {
'credential-libraries': ['create', 'list'],
};
},
id: (i) => `credential-store-id-${i}`,
type: (i) => types[i % types.length],
+10
View File
@@ -1,7 +1,17 @@
import factory from '../generated/factories/group';
import { trait } from 'ember-cli-mirage';
import permissions from '../helpers/permissions';
export default factory.extend({
authorized_actions: () =>
permissions.authorizedActionsFor('group') || [
'no-op',
'read',
'update',
'delete',
'add-members',
'remove-members',
],
id: (i) => `group-${i}`,
/**
+74 -3
View File
@@ -1,12 +1,83 @@
import factory from '../generated/factories/host-catalog';
import { trait } from 'ember-cli-mirage';
import permissions from '../helpers/permissions';
import { datatype, address, random } from 'faker';
const types = ['static', 'plugin'];
// Represents known plugin types, except "foobar" which models the possibility
// of receiving an _unknown_ type, which the UI must handle gracefully.
const pluginTypes = ['aws', 'azure', 'foobar'];
let pluginTypeCounter = 1;
export default factory.extend({
id: (i) => `host-catalog-id-${i}`,
// Cycle through available types
type: (i) => types[i % types.length],
authorized_actions: () =>
permissions.authorizedActionsFor('host-catalog') || [
'no-op',
'read',
'update',
'delete',
],
authorized_collection_actions: function () {
const isStatic = this.type === 'static';
return {
// only static catalogs allow host create at this time
hosts: isStatic ? ['create', 'list'] : ['list'],
'host-sets': ['create', 'list'],
};
},
plugin: function (i) {
if (this.type === 'plugin') {
return {
id: `plugin-id-${i}`,
name: pluginTypes[pluginTypeCounter++ % pluginTypes.length],
description: random.words(),
};
}
},
attributes() {
switch (this.plugin?.name) {
case 'aws':
return {
disable_credential_rotation: datatype.boolean(),
region: address.state(),
};
case 'azure':
return {
disable_credential_rotation: datatype.boolean(),
tenant_id: datatype.hexaDecimal(6),
client_id: datatype.hexaDecimal(6),
subscription_id: datatype.hexaDecimal(8),
};
}
},
secrets() {
switch (this.plugin?.name) {
case 'aws':
return {
access_key_id: datatype.hexaDecimal(8),
secret_access_key: datatype.string(12),
};
case 'azure':
return {
secret_id: datatype.hexaDecimal(6),
secret_value: datatype.string(12),
};
}
},
withChildren: trait({
afterCreate(hostCatalog, server) {
const { scope } = hostCatalog;
const hosts = server.createList('host', 10, { scope, hostCatalog });
server.createList('host-set', 3, { scope, hostCatalog, hosts });
const { scope, type } = hostCatalog;
const hosts = server.createList('host', 10, { scope, hostCatalog, type });
server.createList('host-set', 3, { scope, hostCatalog, hosts, type });
},
}),
});
+49
View File
@@ -1,5 +1,54 @@
import factory from '../generated/factories/host-set';
import permissions from '../helpers/permissions';
import { datatype, internet, database } from 'faker';
export default factory.extend({
id: (i) => `host-set-id-${i}`,
type() {
return this.hostCatalog?.type || factory.attrs.type;
},
authorized_actions: function () {
const isStatic = this.type === 'static';
const defaults = ['no-op', 'read', 'update', 'delete'];
// Only static allows host management at this time.
if (isStatic) defaults.push('add-hosts', 'remove-hosts');
return permissions.authorizedActionsFor('host-set') || defaults;
},
plugin() {
if (this.type === 'plugin') {
return this.hostCatalog.plugin;
}
},
preferred_endpoints() {
if (this.type === 'plugin') {
const enpointsAmount = datatype.number({ min: 1, max: 5 });
let result = [];
for (let i = 0; i < enpointsAmount; ++i) {
result.push(internet.ip());
}
return result;
}
},
sync_interval_seconds() {
if (this.type === 'plugin') {
return datatype.number();
}
},
// AWS specific
filters() {
if (this.plugin?.name === 'aws') {
const filtersAmount = datatype.number({ min: 1, max: 5 });
let result = [];
for (let i = 0; i < filtersAmount; ++i) {
result.push(`${datatype.string(3)}=${datatype.string(8)}`);
}
return result;
}
},
// Azure specific
filter() {
if (this.plugin?.name === 'azure') {
return `${database.column()}=${database.collation()}`;
}
},
});
+39
View File
@@ -1,5 +1,44 @@
import factory from '../generated/factories/host';
import permissions from '../helpers/permissions';
import { internet, datatype } from 'faker';
export default factory.extend({
id: (i) => `host-id-${i}`,
type() {
return this.hostCatalog?.type || factory.attrs.type;
},
authorized_actions: function () {
const isStatic = this.type === 'static';
const defaults = ['no-op', 'read'];
// Only static allows update/delete at this time.
if (isStatic) defaults.push('update', 'delete');
return permissions.authorizedActionsFor('host') || defaults;
},
plugin() {
if (this.type === 'plugin') {
return this.hostCatalog.plugin;
}
},
ip_addresses() {
const addressesAmount = Math.floor(Math.random() * 6) + 1;
let result = [];
for (let i = 0; i < addressesAmount; ++i) {
result.push(internet.ip());
}
return result;
},
external_id() {
return datatype.uuid();
},
// Only aws plugins have dns_names
dns_names() {
if (this.plugin?.name === 'aws') {
const dnsNamesAmount = Math.floor(Math.random() * 6) + 1;
let result = [];
for (let i = 0; i < dnsNamesAmount; i++) {
result.push(internet.domainName());
}
return result;
}
},
});
@@ -0,0 +1,27 @@
import factory from '../generated/factories/managed-group';
import { random } from 'faker';
import permissions from '../helpers/permissions';
const types = ['oidc'];
export default factory.extend({
id: (i) => `managed-groups-id-${i}`,
type: (i) => types[i % types.length],
authorized_actions: () =>
permissions.authorizedActionsFor('managed-group') || [
'no-op',
'read',
'update',
'delete',
],
attributes() {
switch (this.type) {
case 'oidc':
return {
filter: random.words(),
};
}
},
});
+11
View File
@@ -1,7 +1,18 @@
import factory from '../generated/factories/role';
import { trait } from 'ember-cli-mirage';
import permissions from '../helpers/permissions';
export default factory.extend({
authorized_actions: () =>
permissions.authorizedActionsFor('role') || [
'no-op',
'read',
'update',
'delete',
'set-grants',
'add-principals',
'remove-principals',
],
// eslint-disable-next-line ember/avoid-leaking-state-in-ember-objects
grant_strings: () => [
'id=*;action=*',
+23
View File
@@ -1,9 +1,32 @@
import factory from '../generated/factories/scope';
import { trait } from 'ember-cli-mirage';
import permissions from '../helpers/permissions';
export default factory.extend({
type: 'global',
authorized_actions: () =>
permissions.authorizedActionsFor('scope') || [
'no-op',
'read',
'update',
'delete',
],
authorized_collection_actions: () => {
return {
scopes: ['create', 'list'],
users: ['create', 'list'],
sessions: ['list'],
groups: ['create', 'list'],
roles: ['create', 'list'],
targets: ['create', 'list'],
'credential-stores': ['create', 'list'],
'auth-methods': ['create', 'list'],
'host-catalogs': ['create', 'list'],
};
},
/**
* Generates realistic-ish IDs while still being deterministic.
*/
+17 -2
View File
@@ -1,21 +1,36 @@
import factory from '../generated/factories/target';
import { trait } from 'ember-cli-mirage';
import { random, datatype } from 'faker';
import permissions from '../helpers/permissions';
const randomBoolean = (chance = 0.5) => Math.random() < chance;
const hostSetChance = 0.3;
const types = ['tcp', 'ssh'];
export default factory.extend({
authorized_actions: () =>
permissions.authorizedActionsFor('target') || [
'no-op',
'read',
'update',
'delete',
'authorize-session',
'add-host-sources',
'remove-host-sources',
'add-credential-sources',
'remove-credential-sources',
],
/**
* -1 means "unlimited" and we want to generate these on occasion.
*/
session_connection_limit: () => random.arrayElement([-1, datatype.number()]),
type: (i) => types[i % types.length],
/**
* Generates attributes fields by type.
*/
afterCreate(target) {
if (target.type === 'tcp') {
if (target.type === 'tcp' || target.type === 'ssh') {
target.update({
attributes: {
default_port: datatype.number(),
+10
View File
@@ -1,5 +1,15 @@
import factory from '../generated/factories/user';
import permissions from '../helpers/permissions';
export default factory.extend({
authorized_actions: () =>
permissions.authorizedActionsFor('user') || [
'no-op',
'read',
'update',
'delete',
'add-accounts',
'remove-accounts',
],
id: (i) => `user-${i}`,
});
@@ -1,5 +1,5 @@
import { Factory } from 'ember-cli-mirage';
import { random, date, internet, datatype } from 'faker';
import { random, date, datatype, internet } from 'faker';
/**
* GeneratedHostModelFactory
@@ -0,0 +1,14 @@
import { Factory } from 'ember-cli-mirage';
import { random, date, datatype } from 'faker';
/**
* GeneratedManagedGroupFactory
* A managed group is a resource that represents a collection of accounts.
*/
export default Factory.extend({
name: () => random.words(),
description: () => random.words(),
created_time: () => date.recent(),
updated_time: () => date.recent(),
version: () => datatype.number(),
});
@@ -1,5 +1,5 @@
import { Factory } from 'ember-cli-mirage';
import { random, date, datatype } from 'faker';
import { random, date, datatype, internet } from 'faker';
/**
* GeneratedUserModelFactory
@@ -11,4 +11,5 @@ export default Factory.extend({
created_time: () => date.recent(),
updated_time: () => date.recent(),
disabled: () => datatype.boolean(),
email: () => internet.email().toLowerCase(),
});
+35
View File
@@ -0,0 +1,35 @@
import { makeEvaluator } from 'js-bexpr';
import { underscore } from '@ember/string';
/**
* Because Mirage, a record cannot be serialized outside of a route handler
* context. Here is a quick and dirty attempt to serialize attribute names
* to underscore format. This is not entirely realistic, but may suffice.
*/
const quickSerialize = (item) => {
const json = item.toJSON();
Object.keys(json).forEach((key) => {
const newKey = underscore(key);
json[newKey] = json[key];
});
return json;
};
/**
* Creates a filter function that operates on a single object, which itself
* returns the result of evaluating the expression against the object.
*/
export default (expression) => {
if (expression) {
const evaluator = makeEvaluator(expression);
// Since API query selectors begin with `/item`, the instance is wrapped.
return (record) => {
const item = quickSerialize(record);
return evaluator({ item });
};
} else {
// If no expression was passed, always return true,
// thus filtering out none.
return () => true;
}
};
+58
View File
@@ -0,0 +1,58 @@
import { copy } from 'ember-copy';
/**
* Allows development-time toggling of resource permissions via the window
* querystring. Pass a JSON object into the query to toggle permissions.
* Note that the value must be a valid JSON object in order to be parsed.
*
* @example
* ?authorized_actions={"account": ["read"]}
*
* Within a Mirage factory, pass the actions into the mock:
*
* @example
* import { Factory } from 'ember-cli-mirage';
* import permissions from '../helpers/permissions';
*
* export default Factory.extend({
* authorized_actions: () =>
* permissions.authorizedActionsFor('account') ||
* ['no-op', 'read', 'update', 'delete']
* });
*/
class ToggledCapabilities {
// =attributes
// Get the query string and drop the leading '?'
#rawQuery = window.location.search.substring(1);
// Split the querystring into key/value pairs
#queryPairs = this.#rawQuery.split('&').map((item) => item.split('='));
// Find the value of a pair with key `authorized_actions`
// Safe-ish when the item is not present
#rawAuthorizedActions = (this.#queryPairs.find(
(item) => item[0] === 'authorized_actions'
) || [])[1];
// Safe-ish when the value is not present
#authorizedActions =
JSON.parse(
decodeURIComponent(this.#rawAuthorizedActions || '') || 'null'
) || {};
// =methods
/**
* Returns authorized actions for the specified field, if any are defined
* in the `authorized_actions` query. Returns undefined otherwise.
* @return {?string[]}
*/
authorizedActionsFor(field) {
if (this.#authorizedActions[field]) {
return copy(this.#authorizedActions[field], true);
}
}
}
export default new ToggledCapabilities();
@@ -0,0 +1,6 @@
import { Model, belongsTo } from 'ember-cli-mirage';
export default Model.extend({
scope: belongsTo(),
authMethod: belongsTo(),
});
+2 -2
View File
@@ -44,7 +44,7 @@ const commandHandlers = {
id: 'token123',
token: 'thetokenstring',
account_id: '1',
user_id: 'user123',
user_id: 'authenticateduser',
auth_method_id: 'authmethod123',
created_time: '',
updated_time: '',
@@ -93,7 +93,7 @@ const commandHandlers = {
id: 'token123',
token: 'thetokenstring',
account_id: '1',
user_id: 'user123',
user_id: 'authenticateduser',
auth_method_id: 'authmethod123',
created_time: '',
updated_time: '',
+5 -4
View File
@@ -24,13 +24,13 @@ export default function (server) {
'auth-method',
1,
{ scope: globalScope },
'withAccountsAndUsers'
'withAccountsAndUsersAndManagedGroups'
);
const orgAuthMethods = server.createList(
'auth-method',
3,
{ scope: orgScope },
'withAccountsAndUsers'
'withAccountsAndUsersAndManagedGroups'
);
// Assign primary auth methods per scope
// TODO make this generic
@@ -46,9 +46,10 @@ export default function (server) {
// Other resources
server.schema.scopes.where({ type: 'project' }).models.forEach((scope) => {
server.createList('host-catalog', 2, { scope }, 'withChildren');
server.createList('session', 4, { scope }, 'withAssociations');
server.createList('host-catalog', 8, { scope }, 'withChildren');
server.createList('credential-store', 3, { scope }, 'withAssociations');
server.createList('target', 2, { scope }, 'withAssociations');
// Sessions have target data. Create it after targets.
server.createList('session', 4, { scope }, 'withAssociations');
});
}
+10 -10
View File
@@ -1,8 +1,8 @@
import Ember from 'ember';
import config from 'ember-get-config';
import { datatype } from 'faker';
export default function initializeMockIPC(server) {
export default function initializeMockIPC(server, config) {
const isTesting = config.environment === 'test';
/**
* We strive to make this application runnable in a regular web browser, since
* it is a convenient environment for development and testing. But only an
@@ -120,17 +120,17 @@ export default function initializeMockIPC(server) {
}
/**
* Check for browsers running on mac OS
* Check for window chrome on MacOS
*/
isMacOS() {
return Boolean(window.navigator.userAgent.match(/(macintosh)/i));
hasMacOSChrome() {
return false;
}
/**
* Check for browsers running on windows OS
* Check for OS chrome state
*/
isWindowsOS() {
return Boolean(window.navigator.userAgent.match(/(windows)/i));
showWindowActions() {
return true;
}
/**
@@ -149,7 +149,7 @@ export default function initializeMockIPC(server) {
*
* Initializes mock IPC only in a non-Electron non-testing context.
*/
if (!config.isElectron && !Ember.testing) {
if (!config.isElectron && !isTesting) {
const mockIPC = new MockIPC();
window.addEventListener('message', async function (event) {
if (event.origin !== window.location.origin) return;
@@ -0,0 +1,14 @@
import ApplicationSerializer from './application';
export default ApplicationSerializer.extend({
modelName: 'managed-group',
_hashForModel(model) {
const json = ApplicationSerializer.prototype._hashForModel.apply(
this,
arguments
);
json.auth_method_id = model.authMethodId;
return json;
},
});
+2 -2
View File
@@ -17,14 +17,14 @@ export default ApplicationSerializer.extend({
);
const { hostSets } = this.schema;
if (model.hostSetIds?.length) {
json.host_sets = model.hostSetIds.map((host_set_id) => {
json.host_sources = model.hostSetIds.map((host_set_id) => {
const hostSet = hostSets.find(host_set_id);
const host_catalog_id = hostSet?.hostCatalog?.id;
return { id: host_set_id, host_catalog_id };
});
}
if (model.credentialLibraryIds?.length) {
json.application_credential_library_ids = model.credentialLibraryIds;
json.application_credential_source_ids = model.credentialLibraryIds;
}
return json;
},
+29 -29
View File
@@ -24,54 +24,54 @@
"doc:toc": "doctoc README.md"
},
"dependencies": {
"ember-cli-babel": "^7.23.0",
"ember-cli-htmlbars": "^5.3.1",
"ember-cli-mirage": "^1.1.8",
"ember-can": "^3.1.0",
"ember-cli-babel": "^7.26.8",
"ember-cli-htmlbars": "^5.7.1",
"ember-cli-mirage": "^2.2.0",
"ember-data": "^3.20.0",
"ember-data-model-fragments": "5.0.0-beta.2",
"ember-fetch": "^8.1.0"
"ember-fetch": "^8.1.1"
},
"devDependencies": {
"js-bexpr": "hashicorp/js-bexpr#9b4a4b54d85eba67fdfc0990133d1518d890b1e1",
"@babel/core": "^7.16.5",
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.2.8",
"@glimmer/component": "^1.0.3",
"@glimmer/tracking": "^1.0.3",
"@ember/test-helpers": "^2.6.0",
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"doctoc": "^2.0.0",
"ember-auto-import": "^1.10.1",
"ember-cli": "~3.27.0",
"doctoc": "^2.1.0",
"ember-auto-import": "^1.12.0",
"ember-cli": "~4.1.0",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.1",
"ember-cli-update": "^0.54.6",
"ember-copy": "^1.0.0",
"ember-cli-terser": "^4.0.2",
"ember-copy": "^2.0.1",
"ember-disable-prototype-extensions": "^1.1.3",
"ember-export-application-global": "^2.0.1",
"ember-get-config": "^0.3.0",
"ember-load-initializers": "^2.1.2",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-page-title": "^6.0.3",
"ember-qunit": "^5.1.1",
"ember-resolver": "^8.0.2",
"ember-source": "~3.24.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^2.15.0",
"ember-try": "^1.4.0",
"eslint": "^7.31.0",
"ember-maybe-import-regenerator": "^1.0.0",
"ember-page-title": "^7.0.0",
"ember-qunit": "^5.1.4",
"ember-resolver": "^8.0.3",
"ember-source": "~3.28.4",
"ember-template-lint": "^3.7.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-ember": "^10.1.1",
"eslint-plugin-ember": "^10.5.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-qunit": "^6.2.0",
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"qunit": "^2.13.0",
"qunit-dom": "^1.6.0"
"prettier": "^2.4.0",
"qunit": "^2.17.1",
"qunit-dom": "^2.0.0"
},
"engines": {
"node": ">=10 <=15"
"node": "12.* || 14.* || 16.*"
},
"ember": {
"edition": "octane"
-7
View File
@@ -6,13 +6,6 @@ const browsers = [
'last 1 Safari versions',
];
const isCI = Boolean(process.env.CI);
const isProduction = process.env.EMBER_ENV === 'production';
if (isCI || isProduction) {
browsers.push('ie 11');
}
module.exports = {
browsers,
};
@@ -0,0 +1,17 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Abilities | Account', function (hooks) {
setupTest(hooks);
test('it reflects when a given account may set password based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['set-password'],
};
assert.ok(service.can('setPassword target', model));
model.authorized_actions = [];
assert.notOk(service.can('setPassword target', model));
});
});
@@ -0,0 +1,28 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Abilities | Group', function (hooks) {
setupTest(hooks);
test('it reflects when a given group resource may add members based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['add-members'],
};
assert.ok(service.can('addMembers group', model));
model.authorized_actions = [];
assert.notOk(service.can('addMembers group', model));
});
test('it reflects when a given group resource may remove members based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['remove-members'],
};
assert.ok(service.can('removeMembers group', model));
model.authorized_actions = [];
assert.notOk(service.can('removeMembers group', model));
});
});
@@ -0,0 +1,28 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Abilities | Host Set', function (hooks) {
setupTest(hooks);
test('it reflects when a given host set resource may add hosts based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['add-hosts'],
};
assert.ok(service.can('addHosts hostSet', model));
model.authorized_actions = [];
assert.notOk(service.can('addHosts hostSet', model));
});
test('it reflects when a given hostSet resource may remove hosts based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['remove-hosts'],
};
assert.ok(service.can('removeHosts hostSet', model));
model.authorized_actions = [];
assert.notOk(service.can('removeHosts hostSet', model));
});
});
@@ -0,0 +1,96 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Abilities | Model', function (hooks) {
setupTest(hooks);
test('it reflects when a given model may be read based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['read'],
};
assert.ok(service.can('read model', model));
model.authorized_actions = [];
assert.notOk(service.can('read model', model));
});
test('it reflects when a given model may be updated based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['update'],
};
assert.ok(service.can('update model', model));
model.authorized_actions = [];
assert.notOk(service.can('update model', model));
});
test('it reflects when a given model may be saved based on isNew and authorized_actions', function (assert) {
assert.expect(4);
const service = this.owner.lookup('service:can');
let model = {
isNew: false,
authorized_actions: ['update'],
};
assert.ok(service.can('save model', model));
model = {
isNew: false,
authorized_actions: [],
};
assert.notOk(service.can('save model', model));
// Model instances are always saveable at this level when isNew is true.
// In practice, the ability to _create_ a resource depends not on instance
// authorization, but on collection authorization, which is
// tested separately.
model = {
isNew: true,
authorized_actions: ['update'],
};
assert.ok(service.can('save model', model));
model = {
isNew: true,
authorized_actions: [],
};
assert.ok(service.can('save model', model));
});
test('it reflects when a given model may be deleted based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['delete'],
};
assert.ok(service.can('delete model', model));
model.authorized_actions = [];
assert.notOk(service.can('delete model', model));
});
// =collections
test('it reflects when a resource may be listed based on authorized_collection_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_collection_actions: {
foobars: ['list'],
},
};
assert.ok(service.can('list model', model, { collection: 'foobars' }));
model.authorized_collection_actions.foobars = [];
assert.notOk(service.can('list model', model, { collection: 'foobars' }));
});
test('it reflects when a resource may be created based on authorized_collection_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_collection_actions: {
foobars: ['create'],
},
};
assert.ok(service.can('create model', model, { collection: 'foobars' }));
model.authorized_collection_actions.foobars = [];
assert.notOk(service.can('create model', model, { collection: 'foobars' }));
});
});
@@ -0,0 +1,39 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Abilities | Role', function (hooks) {
setupTest(hooks);
test('it reflects when a given role may set grants based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['set-grants'],
};
assert.ok(service.can('setGrants role', model));
model.authorized_actions = [];
assert.notOk(service.can('setGrants role', model));
});
test('it reflects when a given role may add principals based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['add-principals'],
};
assert.ok(service.can('addPrincipals role', model));
model.authorized_actions = [];
assert.notOk(service.can('addPrincipals role', model));
});
test('it reflects when a given role may remove principals based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['remove-principals'],
};
assert.ok(service.can('removePrincipals role', model));
model.authorized_actions = [];
assert.notOk(service.can('removePrincipals role', model));
});
});
@@ -0,0 +1,61 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Abilities | Target', function (hooks) {
setupTest(hooks);
test('it reflects when a given target may connect based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['authorize-session'],
};
assert.ok(service.can('connect target', model));
model.authorized_actions = [];
assert.notOk(service.can('connect target', model));
});
test('it reflects when a given target may add host sources', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['add-host-sources'],
};
assert.ok(service.can('addHostSources target', model));
model.authorized_actions = [];
assert.notOk(service.can('addHostSources target', model));
});
test('it reflects when a given target may remove host sources', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['remove-host-sources'],
};
assert.ok(service.can('removeHostSources target', model));
model.authorized_actions = [];
assert.notOk(service.can('removeHostSources target', model));
});
test('it reflects when a given target may add credential sources', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['add-credential-sources'],
};
assert.ok(service.can('addCredentialSources target', model));
model.authorized_actions = [];
assert.notOk(service.can('addCredentialSources target', model));
});
test('it reflects when a given target may remove crednetial sources', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['remove-credential-sources'],
};
assert.ok(service.can('removeCredentialSources target', model));
model.authorized_actions = [];
assert.notOk(service.can('removeCredentialSources target', model));
});
});
@@ -0,0 +1,28 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Abilities | User', function (hooks) {
setupTest(hooks);
test('it reflects when a given user resource may add accounts based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['add-accounts'],
};
assert.ok(service.can('addAccounts user', model));
model.authorized_actions = [];
assert.notOk(service.can('addAccounts user', model));
});
test('it reflects when a given user resource may remove accounts based on authorized_actions', function (assert) {
assert.expect(2);
const service = this.owner.lookup('service:can');
const model = {
authorized_actions: ['remove-accounts'],
};
assert.ok(service.can('removeAccounts user', model));
model.authorized_actions = [];
assert.notOk(service.can('removeAccounts user', model));
});
});
@@ -1,6 +1,5 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import config from 'ember-get-config';
import RESTAdapter from '@ember-data/adapter/rest';
import { InvalidError } from '@ember-data/adapter/error';
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
@@ -10,6 +9,12 @@ module('Unit | Adapter | application', function (hooks) {
setupTest(hooks);
setupMirage(hooks);
let config;
hooks.beforeEach(function () {
config = this.owner.resolveRegistration('config:environment');
});
test('its namespace is equal to the configured namespace', function (assert) {
assert.expect(2);
const adapter = this.owner.lookup('adapter:application');
Loaded 100 of 689 files, more files were not shown because too many files have changed in this diff. Show more