* refactor: 💡 session isCancelable to isAvailable
* refactor: 💡 check for target info for showing target details
* refactor: 💡 add fallback for session data from connect command
* refactor: 💡 remove extra divs
* refactor: 💡 remove await from peekRecord of a session
* test: 💍 add test for no read permission for sessions
* test: 💍 reset global qunit after test is done
* feat: 🎸 add canRead ability for session model
* refactor: 💡 create constant values for session status types
* feat: 🎸 add link to session detail from sessions list
✅ Closes: ICU-10521
* chore: 🤖 Upgrade API layer to ember 4.12
* chore: 🤖 Upgrade ember-data to 4.12
* fix: 🐛 Fix breaking change from usage of internal method
* chore: 🤖 Remove stylelint in API addon
* test: 💍 Fix broken API tests
* chore: 🤖 get rid of toArray
* test: 💍 Fix tests broken by ember data changes
---------
Co-authored-by: dharini <dharini@hashicorp.com>
* refactor: 💡 Refactor ldap account view and serializer
Refactor LDAP account view to only show `InfoField` fields if values are
not `undefined`. Also fixed bug for updating accounts.
✅ Closes: ICU-10514
* refactor: 💡 clean up code
Quick cleanup of code for accounts
* Update account.js
change text for commit
* Update index.hbs
* refactor: 💡 format hbs
format hbs
* fix: 🐛 accounts update refactor
Changed `type` and `auth_method_id` on `accounts` model to `readOnly` so
it is not sent in API payload.
✅ Closes: ICU-10503
* refactor: 💡 fix test
Refactor test to not include removed attributes.
* refactor: 💡 refactor test
Fix test
* 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>
* feat: 🎸 add isAvailable method to session recording model
✅ Closes: ICU-9418
* feat: 🎸 hide play button if session recording in-progress
* refactor: 💡 use translation for channel list play button
* refactor: 💡 move Play translation to actions from resources
* refactor: 💡 remove sorted connections from session recording
Removed from session recording model and respective templates
✅ Closes: ICU-9415
* refactor: 💡 remove sorted channels from connections model
and removed from the appropriate templates and breadcrumb
* chore: 🤖 Update session recording API
* chore: 🤖 Update usage of scope id for targets
* chore: 🤖 Update scope id usage for user in session recordings