* feat: 🎸 create CRUD:read
Create LDAP CRUD:read details form by adding
`client_certificate_key_hmac` and `bind_password_hmac` attributes.
✅ Closes: ICU-10064
* refactor: 💡 refactor ldap details view
Revert details view for LDAP to not show HMAC
* refactor: 💡 refactor test and serializer
Refactor `auth-method` mirage serializer to delete secret attributes.
Refactor `auth-method` mirage serializer unit test for LDAP
✅ Closes: ICU-10025
* refactor: 💡 merge main
merge main
* refactor: 💡 rebase
rebase
* refactor: 💡 refactor serializer and test
Refactor serializer normalize method to delete secret attributes field.
* refactor: 💡 refactor test
Refactor failing test due to deleting secrets in mirage
* refactor: 💡 refactor test
changed assertion
* refactor: 💡 refactor test
change assertion expect
* refactor: 💡 refactor test
Refactor `auth-method-test` to include normalize oidc and ldap secrets
* refactor: 💡 rebase
rebase
* feat: 🎸 Revised auth-method model
Revised auth-method model to include LDAP attributes
✅ Closes: ICU-10024
* chore: 🤖 create transform for `account_attribute_maps`
Create transform to handle `account_attribute_maps` array
* refactor: 💡 Refactor transform and serializer
Refactor `account_claims_map` transforms overall name and logic to be
used for `account_attributes_map`. Also refactored serializer to
serialize auth-method data, by type.
✅ Closes: ICU-100024
* refactor: 💡 refactor transform
Refactor `account_claim_maps` transform.
* Update addons/api/addon/serializers/auth-method.js
changing naming of serialize method
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* refactor: 💡 refactor serializer
Refactor naming convention for serializer methods and added comments for
attributes.
* refactor: 💡 quick refactor
fixed name for method call in serializer
* refactor: 💡 refactor attributes and serializer
Refactor attributes for `auth-methods` to use the `for` option to select
which attribute belongs to which auth-method.
* Update auth-method.js
comment change
* refactor: 💡 rebase
rebase
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* refactor: 💡 refactor serialize attribute method
refactor serialize attribute method not not include type for password,
and instead let `serializePassword` handle serialization
* refactor: 💡 refactor serializer
Refcator serializer to not include password type in attribute serializer
and added `for` to one missing attribute.
* Update addons/api/addon/serializers/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* fix: 🐛 Removing status badging from desktop client
Removed status badges for `targets` and `sessions` in desktop client
app.
✅ Closes: ICU-9790
* refactor: 💡 Bring back status badging for session
Session status badging can stay due to session can only be canceled by
the user in desktop client and does give an immediate status to the
session.
✅ Closes: ICU-9790
* refactor: 💡 merge changes
* refactor: 💡 Refactor default option in scope field and desc
Refactor default option for scope field to be 'Choose an option' instead
of 'Global', so user can explicitly select their scope. Refactor scope
field descriptions to give different context based on if the selection
is 'global' or an 'org' scope.
✅ Closes: ICU-9641
* refactor: 💡 refactor translations
Added correct translations for default, global, and org. Added small bit
of logic to help with switch of text on `onChange` event.
* refactor: 💡 changed title description for provider
Change title from `AWS` to `Amazon S3` in the provider <InfoField /> for
storage buckets.
✅ Closes: ICU-9166
* refactor: 💡 quick refactor
Refactor of Amazon title in table description
* 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>
* chore: 🤖 add related test for target sidebar
Add related acceptance test for `session-recording` sidebar integration
into `target` form.
✅ Closes: ICU-8590
* Update read-test.js
* refactor: 💡 fix test
Fix failing test for sidebar component.
* Update ui/admin/tests/acceptance/targets/read-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update ui/admin/tests/acceptance/targets/read-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* feat: 🎸 create enable-session-recording view
Create `enable-session-recording` ui view.
✅ Closes: ICU-8592
* refactor: 💡 refactor scss for enable-session-recording
Refactor scss to use `rem` instead of Rose mixins for sizing.
✅ Closes: ICU-8592
* refactor: 💡 removed integration test
Removed integration test for `form/enable-session-recording`. User
testing will come from targets acceptance test.
✅ Closes: ICU-8592
* feat: 🎸 create edit storage-bucket view
Create edit storage bucket view for single storage bucket
✅ Closes: ICU-8240
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 merge upstream
merge upstream
✅ Closes: ICU-8240
* feat: 🎸 implement secret-input component
Implement `secret-input` component for `access_key_id` field in the
`storage-bucket` new and edit forms.
✅ Closes: ICU-8559
* refactor: 💡 refactored storage-bucket form
We will still conditionally render regular `Hds::Form::TextInput::Field`
for new `storage-bucket` and render `Form::Field::SecretInput` for
detail view and edit view.
✅ Closes: ICU-8559
* refactor: 💡 fixed failing test for storage bucket from
Fixed failing test for edit button now that secret-input has been
implemented
✅ Closes: ICU-8559
* Update ui/admin/app/components/form/storage-bucket/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update index.js
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* feat: 🎸 add edit functionality to list item for storage bucket
Add edit option which navigates to the storage bucket details view.
✅ Closes: ICU-8228
* refactor: 💡 refactor styling for dropdown
Pushed some override stylings into `overrides.scss` in addon styles.
✅ Closes: ICU-8228
* refactor: 💡 commit to validate not box-shadow withouth override
This is just a commit to show a vercel view of dropdown without
overrides.
✅ Closes: ICU-8228
* refactor: 💡 refactor hds themes
Added `light-mode` mixin to the `.ember-application.rose-theme-light`
selector to fix missing `box-shadow` colors.
✅ Closes: ICU-8228
* create list UI for storage-buckets
* refactor: 💡 removed future code
Removed code that was used in testing
✅ Closes: ICU-8227
* Update app.scss
fixed lint
* Update ui/admin/app/templates/scopes/scope/storage-buckets/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update addons/core/translations/resources/en-us.yaml
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update ui/admin/app/templates/scopes/scope/storage-buckets/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* Update en-us.yaml
moving this into forms translation
* Update en-us.yaml
moving edit into `actions` translations for `storage-bucket` dropdown
* refactor: 💡 yaml cleanup
Refactored storage bucket list translations
✅ Closes: ICU-8227
* refactor: 💡 refactored storage-bucket list
Refactored `storage-bucket` list to have copyable id and removed
`border-collapse` from `reset.scss` that was causing `HDS::Table` not to
have rounded edges.
✅ Closes: ICU-8227
* Update ui/admin/app/routes/scopes/scope/storage-buckets.js
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
* refactor: 💡 quick refactor for scope.hbs
Refactored sidebar navigation for `storage-bucket` to include navigate
override ability for `storage-bucket`
✅ Closes: ICU-8227
* refactor: 💡 refactored hbs file for storage-bucket list
Removed unneeded storage bucket list wrapper div.
✅ Closes: ICU-8227
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: lisbet-alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
* 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
* 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: 🎸 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>
* 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>
* 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.
* 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>
* 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>
* 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>