* Delete cryptiles from resolutions
* Delete prismjs from global resolutions and add a specific resolution
* Delete npm-user-validate from global resolutions
* refactor: 💡 removed whitespace from layout in add-members view
Removed whitespace from layout in `add-members` view by replacing
`Rose::Table` with `Hds::Table`.
✅ Closes: ICU-5986
* refactor: 💡 refactor table
Added custom styling to remove margin bottom from radio card field. That
is causing 1st column to not be valign center.
✅ Closes: ICU-5986
* refactor: 💡 refactor stylings to override.scss
Moved Hds custom syles to `overrides.scss`
✅ Closes: ICU-5986
* Update addons/rose/addon/styles/hds/overrides.scss
Co-authored-by: Randall Morey <randall@randallmorey.com>
* Update addons/rose/addon/styles/hds/overrides.scss
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 refactored app.scss for admin
Removed custom css for `.key-value-list` selector that is now being
served in `overrides.scss` globally.
* refactor: 💡 patched overrides
Ported Hds overrides from other repository.
---------
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 consolidate ssh features into ssh-target flag
✅ Closes: ICU-8383
* refactor: 💡 factor out base edition
* feat: 🎸 dynamic feature edition enablement and toggling
* refactor: 💡 remove explicit byow-pki-upstream, as it is default
✅ Closes: ICU-8551
* refactor: 💡 extract feature flag config into separate file
* refactor: 💡 consolidate ssh features into ssh-target flag
✅ Closes: ICU-8383
* refactor: 💡 factor out base edition
* feat: 🎸 dynamic feature edition enablement and toggling
* chore: 🤖 deprecate window object service
Deprecate `browser-object` service in favor of `ember-browser-services`
✅ Closes: ICU-7152
* refactor: 💡 cluster-url test fail
commit with cluster-url test failing
✅ Closes: ICU-7152
* refactor: 💡 refactor test to reflect changes
Refactor test to reflect `browser/window` service in `cluster-url` route
✅ Closes: ICU-7152
* refactor: 💡 refactor cluster url test
change logic of mockIPC to a function call
✅ Closes: ICU-7152
Adds an end-to-end test for the Admin UI using Playwright. This test uses the Admin UI to create the necessary resources to connect to a target. The test then uses the CLI to start a session and checks in the Admin UI that a session is created
* refactor: 💡 Update how WorkerDiagram is used in Target form
* refactor: 💡 remove extra div wrappers
Remove div wrappers for worker diagrams that were no longer needed
* refactor: 💡 rename worker diagram attributes to be more clear
* refactor: 💡 remove style changes out of scope for updates
* refactor: 💡 update logic for how HCP diagram is shown
* chore: 🤖 Add multi-hop flags to OSS block for verbosity
* feat: 🎸 Update models for vault ssh cert feature (#1591)
✅ Closes: ICU-7546
* feat: 🎸 Setup types in cred library forms and use HDS component (#1597)
* feat: 🎸 Setup types in cred library forms and use HDS component
✅ Closes: ICU-7673
* feat: 🎸 Add vault ssh cert type for credential library (#1608)
* feat: 🎸 Add vault ssh cert type for credential library
✅ Closes: ICU-7678
* feat: 🎸 Enable feature flag for vault ssh cert work (#1614)
* fix: 🐛 Change fields to optional as they get default by backend (#1615)
* Chore/cleanup vault ssh cert (#1616)
* refactor: 💡 logically separate save steps for targets
* Update ui/admin/app/routes/scopes/scope/targets.js
Oops, delete actions should catch.
* chore: 🤖 rename ids var
* chore: 🤖 create target worker explainer element
Create a element that will explain what the filters and diagrams mean
when toggled and on screen.
* refactor: 💡 add logic directly to worker-diagram
* refactor: 💡 added logic to all worker diagrams
Added logic to all worker diagrams
* feat: 🎸 create Worker Diagram for OSS
✅ Closes: ICU-7579
* refactor: 💡 change ordered series icon to have white background
* feat: 🎸 Create Worker Diagram for egress and ingress filters
✅ Closes: ICU-7592
* feat: 🎸 Add HCP logic to Worker Diagram component
✅ Closes: ICU-7594
* refactor: 💡 remove wrapping divs and update data-test attrs
* refactor: 💡 revert HDS icon background color change
* refactor: 💡 make data-test attr more verbose
* test: 💍 fix data-test selectors for dual filter tests
* refactor: 💡 refactor test for worker-diagram dual-filter
Seperate test for `worker-diagram/dual-filter` into tow seperate test.
One for HCP and one for Enterprise.
✅ Closes: ICU-7594
* chore: 🤖 actual test for last commit
actual test for last commit
* chore: 🤖 split woker-diagram dual-filter into two components
Split worker-diagram-dual-filter component into two seperate component
and fixed test to reflect changes.
✅ Closes: ICU-7594
* refactor: 💡 quick test refactor
Refactor test for `worker-diagram-dual-filter`
* refactor: 💡 refactor dual-filter test
Refactor worker-diagram-dual-filter test to better align with if the
diagram exist, rather than what the text inside of the diagram states.
✅ Closes: ICU-7594
Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
* feat: 🎸 OrderedSeriesDiagram component
Created `orderd-series-diagram` component to look a the state of the
ingress and egress filters and determine which diagram should be
displayed.
✅ Closes: ICU-6459
* refactor: 💡 sass lint fix
Fixed sass lint errors
✅ Closes: ICU-7347
* Update app.scss
added closing tag
* refactor: 💡 refactor of styling and test
Refactored styling for `ordered-series-diagram` to match mocks, and
fixed indent errors in test.
✅ Closes: ICU-7347
* refactor: 💡 clean up testing errors
Clean up testing errors for `ordered-series-diagram`
* refactor: 💡 refactor series diagram (#1577)
* refactor: 💡 merge refactor changes and fix test
Merged refactor changes to ordered series diagram and fix tests
✅ Closes: ICU-7347
Co-authored-by: Randall Morey <randall@randallmorey.com>
* fix: 🐛 Remove json_object from payload for non-json credentials
* refactor: 💡 update new route logic for type specific attributes
* test: 💍 remove typeIn and use fillIn for json credential test
* refactor: 💡 Migrate Target form to use HDS components
* chore: 🤖 add ember-test-selectors to remove data-test attribute
Removes data-test attributes in production builds
* refactor: 💡 Default Port marked requried or optional by type
* feat: 🎸 add egress and ingress worker filter to target model
✅ Closes: ICU-7300
* chore: 🤖 update mirage to include ingress/egress worker filter
* refactor: 💡 update target mirage config for worker filters
* refactor: 💡 update how target id is set in mirage factory
* refactor: 💡 update target id and default_port mirage setup
* test: 💍 fix missing address attribute in new tests
* refactor: 💡 desktop display of complex nested secrets
A quick solution for displaying JSON secret objects in connection modal.
✅ Closes: ICU-7409
* refactor: 💡 refactor hidden-secret.js and test
Guard against null for in `typeof` return.
✅ Closes: ICU-7409
* Update ui/desktop/app/styles/app.scss
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* refactor: 💡 test
Changed test to check for secret output after clicking on reveal
* refactor: 💡 fix style for hidden-secret and test
Refactor hidden-secret span styling to have content centered and
refactored testing for assert.dom instead of find
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* fix: 🐛 refactor info-field component
Overall context of how the `<InfoField/>` was changed to the correct
order. Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.
* refactor: 💡 refactor styling for icon to be center
refactor will get the icon as close to center as possible.
* chore: 🤖 ssh type first; update names and descriptions
* chore: 🤖 tweak info field styles
* chore: 🤖 fix formatting/linting issue
* refactor: 💡 credential stylistic changes per PR feedback
* chore: 🤖 reuse configPath
* fix: 🐛 fix lint error
* chore: 🤖 add target type field helper text
Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
* fix: 🐛 refactor info-field component
Overall context of how the `<InfoField/>` was changed to the correct
order. Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.
* refactor: 💡 refactor styling for icon to be center
refactor will get the icon as close to center as possible.
* chore: 🤖 tweak info field styles
Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
* Added styelint to `ui/admin'
* refactor: 💡 quick refactor
Refactor attribute name back to original
✅ Closes: ICU-7083
* Update _notify.scss
for got to set the calling of the animation back in the selector
* refactor: 💡 quick refactor for stylelintrc file
possible pattern selector settings
* refactor: 💡 added rule for selector class pattern
Added rule for kebab-case, HDS, and CodeMirror
✅ Closes: ICU-7083
* Update app.scss
fixed linting errors.
* refactor: 💡 refactor stylelintrc
Simplify regex for `stylelintrc` and added
comments that details what
the regex is doing.
✅ Closes: ICU-7083
* Update ui/admin/.stylelintrc.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* fix: 🐛 refactor info-field component
Overall context of how the `<InfoField/>` was changed to the correct
order. Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.
* refactor: 💡 refactor styling for icon to be center
refactor will get the icon as close to center as possible.
* feat: 🎸 create form for json credentials
✅ Closes: ICU-6682
* refactor: 💡 add new info field
* refactor: 💡 add feature flag
* refactor: 💡 add hds radio cards to json cred
* Update ui/admin/tests/acceptance/credential-store/credentials/create-test.js
* test: 💍 add test for json cred
* chore: 🤖 Remove ember-data-model-fragments package
* fix: 🐛 Update how json is added as a known credential type
* refactor: 💡 update credentialTypes if statement to ternary
* chore: 🤖 add ember-data back to addon/api project
* chore: 🤖 remove ember-feature-flag from addon/api
* refactor: 💡 remove if statement in cred form
* refactor: 💡 update selectors for json cred. tests
* refactor: 💡 Update Credential Form to use form.disabled
* test: 💍 Fix test selectors for radio card credential tests
* refactor: 💡 update credential types declaration to const
* style: 💄 Fix style issue with SecretEditor in edit mode
* refactor: 💡 remove disabled and readonly attributes in form
* refactor: 💡 Create credential ability canRead override
* test: 💍 add credential ability override tests
* test: 💍 Fix brokered credential test with json support added
* refactor: 💡 add attributes comment back to credential model
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* chore: 🤖 brokered and injected credential associations
Verified JSON credentials show up as a source that can be added to a
target as `brokered`, and not show up as a source that can be added to a
target as `injected`.
✅ Closes: ICU-6833, ICU-6834, ICU-6835, ICU-6836
* Update ui/admin/app/controllers/scopes/scope/targets/target/add-injected-application-credential-sources.js
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 Rename attributes called filter
* refactor: 💡 Remove adapter handling of old attribute errors
* refactor: 💡 Check for undefined in serializer instead of falsy
* feat: 🎸 Custom information field
Create custom information component for views that need read-only
information listed.
✅ Closes: ICU-6957 ICU-6981
* refactor: 💡 fix setup for info-field component
Added conditional icon as a yield to `Hds::Form::TextInput::Field` to
avoid over complicating the css for `info-field` component.
✅ Closes: ICU-6957
* refactor `username_password` index.hbs
`@value` on `<InfoField>` was pointing to wrong variable.
* fix: 🐛 fixed lint
Lint errors
* fix: 🐛 linting errors fixed
linting errors fixed
* chore: 🤖 tweak info field styles and layout for icons
* refactor: 💡 switched `grid-area` in css to match design
Switched `grid-area`'s to match Design
* refactor: 💡 removed grid attribute from field wrapper
Removed display grid from `vertical` wrapper
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 change host_ids to a simple attribute
* refactor: 💡 manually manage host set array model attributes
* refactor: 💡 Fix host set IDs usage
* style: 💄 Fix comment and add braces for if statements
* refactor: 💡 Add back in empty array for normalizer
* refactor: 💡 Move attributes to generated model
* refactor: 💡 Update array actions when creating new host sets
* test: 💍 Add a few create tests for azure and aws host sets
* test: 💍 Add update tests for azure and aws host sets
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* chore: 🤖 JSON credential data modeling
Added json type to credential model, created `json_object` attribute for
`json` type, updated credential serializer to handle `json_object`
attribute data being sent to backend and updated normalizer to handlle
secret untracked 'json_object'.
✅ Closes: ICU-6653, ICU-6684, ICU-6685, ICU-6802, ICU-6803
* Update en-us.yaml
fixed spelling
* Update addons/api/addon/models/credential.js
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* refactor: 💡 refactor credential serializer and .yaml
Refactored credential serializer to check for `json_object` existence
before serializing and changed help variable in `.yaml` file for
credentials.
* refactor: 💡 refactor for credential serializer
Refactor credential serializer removed redundant code,
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* feat: 🎸 Credential type selector refactor
When editing a credential or viewing the details screeen, the credential
type should be displayed as a readonly text field
✅ Closes: ICU-6839
* refactor: 💡 refactored disabled argument for credential type
BREAKING CHANGE: 🧨 ICU-6839
✅ Closes: ICU-6839
* refactor: 💡 Refactored credential-type-field
Refactored credential type card ui to look more like a message element
than a disabled input
✅ Closes: ICU-6839
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 update scope form to use HDS input and textarea
* chore: 🤖 tweak "optional" label text color in dark mode
* fix: 🐛 add HDS field margins and fix form tests
* fix: 🐛 fix acceptance tests and add TextInput event handlers
* refactor: 💡 migrate change-password form to HDS inputs
* fix: 🐛 use input event and fix set-from-event to handle empty
* chore: 🤖 reverse order of isRequired and isOptional
* fix: 🐛 use @type as required by HDS
* chore: 🤖 fix linting
* refactor: 💡 migrate set-password form to HDS text input
✅ Closes: icu-6918
* refactor: 💡 update scope form to use HDS input and textarea
* chore: 🤖 tweak "optional" label text color in dark mode
* fix: 🐛 add HDS field margins and fix form tests
* fix: 🐛 fix acceptance tests and add TextInput event handlers
* refactor: 💡 migrate change-password form to HDS inputs
* fix: 🐛 use input event and fix set-from-event to handle empty
* chore: 🤖 reverse order of isRequired and isOptional
* fix: 🐛 use @type as required by HDS
* chore: 🤖 fix linting
* refactor: 💡 update scope form to use HDS input and textarea
* chore: 🤖 tweak "optional" label text color in dark mode
* fix: 🐛 add HDS field margins and fix form tests
* fix: 🐛 fix acceptance tests and add TextInput event handlers
* fix: 🐛 use input event and fix set-from-event to handle empty
* fix: 🐛 fix linting and add @type='text' on HDS text input
* fix: 🐛 fix HDS field margin overrides
* chore: 🤖 simplify selector
* refactor: 💡 list acceptance tests for host catalogs
✅ Closes: ICU-6647
* refactor: 💡 adjust selector for asserts that use .doesNotExist
✅ Closes: ICU-6647
* refactor: 💡 Add isSecret option for model attributes
Move secret attribute logic to application serializer that will remove
the key/value pair if the value is null or empty
✅ Closes: ICU-6800
* refactor: 💡 Add isSecret option to credential store token
* Update addons/api/addon/serializers/credential.js
Remove unneeded serialize method for credentials
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 add type check for serializing secret attributes
Co-authored-by: Randall Morey <randall@randallmorey.com>
* feat: 🎸 Add links to Host Sets assigned to targets
The target host sources view can now link to the host sets associated
with that target
✅ Closes: ICU-6525
* test: 💍 Improve test assert for host sources links
* refactor: 💡 explicitly inject the store service - icu-6770
✅ Closes: icu-6770
* refactor: 💡 upgrade to ember-intl 6.0.1
includes locale initialization and smoke tests
* refactor: 💡 migrate admin and desktop to ember-intl 6.x
✅ Closes: icu-6771
* chore: 🤖 exclude cldr-core@38.1.0 from license checking
this license was manually checked
* fix: 🐛 fix text naming and linting
* refactor: 💡 pull route-action local and update for ember 4
✅ Closes: icu-6773
* refactor: 💡 explicitly inject the store service - icu-6770
✅ Closes: icu-6770
* refactor: 💡 upgrade to ember-intl 6.0.1
includes locale initialization and smoke tests
* refactor: 💡 migrate admin and desktop to ember-intl 6.x
✅ Closes: icu-6771
* chore: 🤖 exclude cldr-core@38.1.0 from license checking
this license was manually checked
* fix: 🐛 fix text naming and linting
* chore: 🤖 update to ember-intl beta
* feat: 🎸 Re-enabling footer for Boundary `admin-ui`
Re-enable global footer and fix styling
✅ Closes: ICU-6454
* refactor: 💡 added media-query code
Added media-query code for footer to expand on smaller screens.
* refactor: 💡 refactor footer to exist in sidebar-layout
Improved overall layout of content with footer by moving it to the
sidebar-layout
* refactor: 💡 continuous refactor of admin ui footer
Refactored sidebar layout to include grid footer with layout,
* refactor: 💡 collapse sidebar when absent
* refactor: improve css grid column collapse approach
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 upgrade sass and ember-cli-sass
* refactor: 💡 rose becomes dev dep of core
* refactor: 💡 migrate rose styles to rose/app/styles
* chore: 🤖 disable sass linting until stylelint can be installed
* chore: 🤖 Update editor config settings
* chore: 🤖 Add back ember-template-lint-plugin-prettier
* style: 💄 Format admin
* style: 💄 Format desktop
* style: 💄 Format rose
* style: 💄 Format core
* style: 💄 Format api
* Add Boundary password as env variable. WIP
* Add Boundary password as env variable to the spawn process
* fix: 🐛 Fix token flag when connecting a target
Fix a token flag when connecting to a target. Now it uses an env
variable
* Add rest env variables to child processes
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
* feat: 🎸 Update Detail Page to show Tags
Update detailed worker view page to show tags in key:value pair format
✅ Closes: ICU-6037
* refactor: 💡 Fix duplicate yaml variables, and view
Refactor detailed view to have space after comma for value array, and
removed duplicate yaml variables for worker_tags
✅ Closes: ICU-6037
* change title and description translation variables
* refactor: 💡 Add worker_filter to vault credential stores
Add worker_filter attribute to vault type credential store model
✅ Closes: ICU-5988
* refactor: 💡 Add worker_filter mirage mock for credential store (#1312)
✅ Closes: ICU-5990
* feat: 🎸 Feature flag for `oss` and `hcp` binary
Create feature flag for `oss` and `hcp` to change specific input fields
based on binary editions
✅ Closes: ICU
* Update ui/admin/app/components/form/worker/create-worker-led/index.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update ui/admin/app/components/form/worker/create-worker-led/index.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 Quick refactor
Refactor `create-worker-led/index.js`, and test.
✅ Closes: ICU-5903
* refactor: 💡 refactor for better readability
Refactor code for better readability
* refactor: 💡 rename filter function
rename array filter function to be more descriptive
✅ Closes: ICU-5903
* changed params name for `convertCommaSeparatedValuesToArray`
* add ending new line
* Update ui/admin/app/components/form/worker/create-worker-led/index.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 yaml refactor
yaml refactor
* refactor: 💡 revert en-us.yaml file
revert en-us.yaml file
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* fix: 🐛 Fix tag bug from moving where workers list is loaded
* style: 💄 Remove unused import
* refactor: 💡 Use new setting to turn off auto refresh for filter
* refactor: 💡 replace ember notify with flash in notify decorator
* refactor: 💡 remove embery-notify and replace last instance
* chore: 🤖 upgrade ember dependencies in anticipation of ember 4
* refactor: 💡 add standalone server mocks to auth tests
Co-authored-by: Susmitha Girumala <susmitha@hashicorp.com>
* refactor: 💡 replace ember notify with flash in notify decorator
* refactor: 💡 remove embery-notify and replace last instance
* chore: 🤖 upgrade ember dependencies in anticipation of ember 4
* feat: 🎸 Add list view for workers
✅ Closes: ICU-5251
* feat: 🎸 Add route for worker detail and include links in table
* refactor: 💡 Updated id display in table and fixed worker route
* test: 💍 Add workers list test
* feat: 🎸 Add worker detailed view and edit view
Added worker detailed view and editable form view for name and
description of worker
✅ Closes: ICU-5247 ICU-5248
* refactor: 💡 fixed conflict merge
fixed merge conflicts for scope/workers/worker
✅ Closes: ICU-5247
* Update ui/admin/app/routes/scopes/scope/workers.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update ui/admin/app/templates/scopes/scope/workers/worker/index.hbs
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* test: 💍 Test for worker/update-test.js
Created update-test.js and refactored worker/form.hbs for correct
display of last_seen
✅ Closes: ICU-5247
* Update ui/admin/app/routes/scopes/scope/workers.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update ui/admin/app/templates/scopes/scope/workers/worker/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update ui/admin/tests/acceptance/workers/read-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 code refactor and test creation
Refactored code for detailed worker view, created controller for
detailew worker view to display worker name in breadcrumbs, added test
for `delete`, `update`.
✅ Closes: ICU-5247
* refactor: 💡 Refactor test
Refactor update-test.js and clean up code.
✅ Closes: ICU-5247
* refactor: 💡 fixed workers/update-test.js
added local variable for better test coverage for cancel test in
workers/update-test.js
✅ Closes: ICU-5247
* refactor: 💡 fix test
Refactored yaml file for `last_seen.description`
✅ Closes: ICU-5247
* Update ui/admin/app/routes/scopes/scope/workers.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* removed `type` from `<form.textarea/>` component
* Update ui/admin/app/controllers/scopes/scope/workers/worker.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* spacing for linter
* refactor: 💡 Refactor test
Refactored `worker/read-test.js` to to test correct authorization
✅ Closes: ICU-5247
* ci: 🎡 Fixed lint
fixed lint
✅ Closes: ICU-5247
* refactor: 💡 Added custom relatvie date to field
Added custom relative date to `last_status_time` input for worker view.
✅ Closes: ICU-5247
* refactor: 💡 refactored yaml file
changed delete dropdown for worker to `actions.delete`
✅ Closes: ICU-5247
* Removed unused services from workers.js
* merge changes from main
* fix lint
* fix lint
* Update index.hbs
lint issues
* refactor: 💡 fixed lint for hbs
fixed linting issues for hbs files
✅ Closes: ICU-5247 ICU-5249
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* chore: 🤖 create relative date helper
Create a relative date helper that outputs "time" ago format.
✅ Closes: ICU-5847
* Update addons/core/addon/helpers/relative-datetime-live.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 refactor test for relative-date-helper
refactor test for relative-datetime-live helper
✅ Closes: ICU-5847
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 update credential serializer to delete password
update credential serializer to delete password attribute if empty
string or null allowing the user to update just the username if needed.
✅ Closes: ICU-5731
* refactor: 💡 update serializer comments and test names
Add query param to the credential route in order to support the new ssh
private key type
✅ Closes: ICU-5649
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* feat: 🎸 Add worker serializer
Add worker serializer that focus' on `config_tags.type` and
`canonical_tags.type`.
[API](https://docs.google.com/document/d/1G-lfl8gk9NfoKFImSpHb90E3xC3CSEVDwVy3bJ9eOhA/edit#heading=h.9e06o4b8etpi)
✅ Closes: ICU-5241
* refactor: 💡 refactored `models/worker.js`
Because `canonical_tags` and `config_tags` are `readOnly` attributes, we
could use `attr` decorator instead of `fragment`.
✅ Closes: ICU-5241
* refactored `model/worker.js and deleted un-needed files
* refactor: 💡 Refactored model/worker.js and created test
Refactored model/worker.js to include custom method for POST route for
adding new worker.
BREAKING CHANGE: 🧨 no
✅ Closes: ICU-5241
* refactor: 💡 Refactored custom POST route method for worker
Refactored custom method on `model/worker.js` to include serialization
for `worker_genrated_auth_token`
BREAKING CHANGE: 🧨 no
✅ Closes: ICU-5241
* refactor: 💡 Refactor test
Refactor model/worker-test.js and serializers/worker.js
BREAKING CHANGE: 🧨 no
✅ Closes: ICU-5241
* Update addons/api/addon/serializers/worker.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* update worker.js documentation block
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* refactor: 💡 add-credential-sources to include credentials
* refactor: 💡 update add-credential-sources template
Update to how AddCredentialSources form is rendered in the template
✅ Closes: ICU-5253
* refactor: 💡 Update add-credential-sources method signatures
* refactor: 💡 change how add-credential-source form is rendered
* refactor: 💡 Remove duplicate add-credential-sources message
Remove the duplicate No Credential Credential Sources message from
add-credential-sources form
* refactor: 💡 Move filter logic to controller
Move credential source filter logic from route to controller for
add-credential-sources
* test: 💍 Verify all available credential sources are listed
* feat: 🎸 Add code-editor component
Added code editor component which was taken from HCP, tweaked styles and
imports to use boundary assets
✅ Closes: ICU-5167
Revised acceptance tests to reflect two types of credential stores
✅ Closes: ICU-5329
* test: 💍 credential store CRUDL tests
* test: 💍 small addition to type of cred. store
* test: 💍 Add missing vault cred. store type tests
* fix: 🐛 rename variable in read-test.js
* chore: 🤖 add scope column to role principals and group members
* chore: 🤖 add recursion and filtering to user and group mocks
* feat: 🎸 expose groups and roles on projects
* feat: 🎸 enable cross-scope assignment of group members
* chore: 🤖 query group members in a single call via filtering
* chore: 🤖 query role prinicipals in two calls via filtering
* chore: 🤖 use const instead of let
* feat: 🎸 support adding cross-scope principals to roles
* chore: 🤖 add scope column to role principals and group members
* chore: 🤖 add recursion and filtering to user and group mocks
* feat: 🎸 expose groups and roles on projects
* feat: 🎸 enable cross-scope assignment of group members
* chore: 🤖 query group members in a single call via filtering
* chore: 🤖 query role prinicipals in two calls via filtering
* chore: 🤖 use const instead of let
* chore: 🤖 add scope column to role principals and group members
* chore: 🤖 add recursion and filtering to user and group mocks
* feat: 🎸 expose groups and roles on projects
* feat: 🎸 enable cross-scope assignment of group members
* chore: 🤖 add scope column to role principals and group members
* chore: 🤖 add recursion and filtering to user and group mocks
* feat: 🎸 expose groups and roles on projects
* refactor: 💡 migrate managed-group off fragments
* refactor: 💡 migrate credential-store off fragments
* refactor: 💡 migrate credential-library off fragments
* refactor: 💡 migrate account off fragments
* refactor: 💡 convert base model scope field to simple attr
* fix: 🐛 skip broken test
This change includes making static type credential stores clickable when
listing all credential stores, along with view the individual credential
store.
✅ Closes: ICU-5173
Refactored existing vault form field to use radio card instead. This
change is seen on details tab of a static credential store.
✅ Closes: ICU-5171
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
@@ -66,7 +66,6 @@ List of available project commands. `yarn run <command-name>`
|---------------------|---|
| build | Builds Admin UI. |
| test | Runs tests in CI mode. |
| commit | Replaces `git commit`, ensures compliance, audit, lint, and test checks pass before commit is allowed and normalizes commit messages across authors. |
| lint | Runs ember-template-lint on all of the hbs, js, and sass files. |
| compliance:audit | Checks for issues using `yarn audit` with moderate and above criticality.|
| compliance:licenses | Checks that all dependencies have OSS-compatible licenses. |
@@ -160,15 +159,16 @@ You will need to turn `off` mirage and run it: `$ ENABLE_MIRAGE=false yarn start
In login screen, authenticate using generated admin login name and password.
Enter the origin of your Boundary dev instance, by default is: `http://localhost:9200`.
Enter the cluster URL of your Boundary dev instance, by default is: `http://localhost:9200`.
### Committing
Instead of the default `git commit`, we prescribe a custom command that ensures
linting and other checks pass before a commit may be completed. It also ensures
that all contributors author consistent commit messages. To get started with a
commit, stage your files as usual. Then run `yarn commit` and follow the
on-screen instructions to author your message.
We use `husky` and `lint-staged` to ensure linting and other checks pass before a
commit is completed. Simply do a `yarn install` to make sure the hooks are installed.
Use a normal `git commit` to go through the checks, if you need to skip these checks,
use `git commit --no-verify` to bypass them. However, a consistent commit message will
Loaded 100 of 1933 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.