* Add Clients tests and fix notification message
* Remove TODO message
* Add waits and refactor
* Refactor and fix tests in realm settings
* Fix lint
* Refactor, fix tests and add stability
* Refactor and stabilize tests
* Stabilize tests
* Fix Realm settings event test and stabilize
* Set confirmModal to always force click
* Add force click and wait
* Fix masthead test
* Modify cypress.json
* Modify realm dropdown selector
* Revert hook changes
* add the ablity for dynamic component to become
disabeled when used in a <FormAccess component
* add ability to manually make form readonly
* added readonly + fixed form initialize
fixes: #1898
* Update src/components/form-access/FormAccess.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
auth evaluate wip
wip auth evaluate tab
add identity information and permissions
help text and wip evaluate
wip contextual attributes
wip contextual attributes
add conditional dropdown for auth method
wip resource fields
scopes and context inputs working
fix resources error and update onChange
package-lock
cleanup: remove comments and log stmts
add conditional fields when applyToResourceType is true
package.json from main
PR feedback from Erik
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
Update src/clients/authorization/AuthorizationEvaluate.tsx
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
handleSubmit
remove log stmt
fix cypress test
PR feedback from Erik
try fixing policies test
PR feedback from Jon
Co-authored-by: Jon Koops <jonkoops@gmail.com>
PR feedback from Jon
rename id
revert client policy test
reset
add trigger
authEvaluateReset
conditionally render based on type
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
PR feedback
remove controller
Update src/components/attribute-input/AttributeInput.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
PR feedback
Update src/clients/authorization/AuthorizationEvaluate.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
remove reset
* KEYCLOAK-19329 Fix message for access token response claim in new admin ui
Fixes#1993
* fixed fomatting
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* updated and fixed user test
* Update cypress/integration/users_test.spec.ts
* fixed the confirm button test id
* fixed tests
* fix
* removed unused refresh
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
* index on authEvaluateTab: f0a2494d Add nexus profile for releases (#1704)
auth evaluate wip
wip auth evaluate tab
add identity information and permissions
help text and wip evaluate
* wip contextual attributes
* wip contextual attributes
* add conditional dropdown for auth method
* key and value can be saved now
* wip selectable save
* selectable attribute input save success
* changes to AttributeInput only
* revert files to versions from master
* add back defaultContextAttributes
* set id
* delete autheval file
* remove isKeySelectable
* lift props
* localize names and separate dropdown from the other attribute inputs
* remove log stmt
* add placeholder, return implicitly
* fix select/save
* reorder hook and conditional
* translate, fields/save working
* feat(group): added role mapping tab
feat(groups): fixed members tests
* Add correct role mapping label
* Use composite group mappings
Co-authored-by: Marco Cesi <sq@iamsquare.it>
* Initial version of the create and edit resouce screen
* refactored and fixed the attributes form
introduced a new component that can be used more easily
* Update src/components/json-file-upload/FileUploadForm.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/components/attribute-form/attribute-convert.ts
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/clients/authorization/ResourceDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/clients/authorization/ResourceDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/clients/authorization/ResourceDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* PR review
* fixed tests
* PR review comments
* resourceId is optional
* Update src/components/attribute-form/attribute-convert.ts
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* wip client roles select field
WIP multivalued roles component
wip client roles select: multivalued rows component
wip client roles select
role multi select is working :)
update client roles select to use multivalued select as per new design
delete comments
remove unused css
update cypress tests
revert to original
remove duplicates
add isCreateable
* PR feedback
* small refactor
* change to use orderBy
* use localeCompare
* fix tests
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
PR feedback from Jon
messages
rename message
rebase
remove duplicate value
fixed multi select bug
conditionConfigs wip
add all config fields, labels, and help text for condition types
wip config POST
config post is working
fix bug in multiline string POST
fix any client empty config
client scopes config wip
fix config settings for client-updater-context
fix client access type config
clean up configuration conditionals
add aria label to resolve critical axe issue
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
address PR feedback from Jon
fix undef error
wip edit condition configs
fix import
wip edit configs
wip edit condition configs
populate all multiline input fields with data from server
update functionality
condition configs done
update route and delete comment
fix client updater context
add tests
add test for editing condition
remove comment
fix test
unskip tests
need optional chain for cypress test
fix breadcrumb
* moved to component folder
* replaced iteration with component
* fixed merge error
* renamed file
* tried to improve the test
* made field label lower case
* add ability to leave multiple groups
fixes: #496
* With v21.0.0 a new JSON format v4 was introduced
* Update src/user/UserGroups.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/user/UserGroups.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* filter selected groups based on direct membership
* fixed test
* remove all the groups
Co-authored-by: Jon Koops <jonkoops@gmail.com>
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
add profiles modal wip
addprofiles wip
profiles wip
help text wip
add help text
remove comments
remove duplicate message
update data test id
PR feedback from Jon 1
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
remove fragment
create policy detail attribute type
PR feedback from Jon 2
support editing profile name and description
add edit functionality and restore tests
Delete EditCondition.ts
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
format
fix path
use route fn
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
PR feedback from Jon
messages
rename message
rebase
remove duplicate value
fixed multi select bug
conditionConfigs wip
add all config fields, labels, and help text for condition types
wip config POST
config post is working
fix bug in multiline string POST
fix any client empty config
client scopes config wip
fix config settings for client-updater-context
fix client access type config
clean up configuration conditionals
add aria label to resolve critical axe issue
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
address PR feedback from Jon
fix undef error
PR feedback from Stan
add util function
* fix import stmt
* revert change to route
* fix profile create values
* fix paths
* put shared logic into common component + fixes
fixes: #1398
* removed conflicted name
* code review
* pr review comments
* update admin-client for better retrun types import
* use image file instead of encoded data:uri
* fix package lock
* is typechecked to be string
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
add profiles modal wip
addprofiles wip
profiles wip
help text wip
add help text
remove comments
remove duplicate message
update data test id
PR feedback from Jon 1
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
remove fragment
create policy detail attribute type
* PR feedback from Jon 1
* PR feedback from Jon 2
* add spinner to prevent loader from being called
* remove duplicate identifier
* fix and rename route
* rename route
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
editClientPolicy
edit client policy
add client policy conditions form
fix bug in create form
remove comment
update help text
fixes
breadcrumbs
add support for adding multiple conditions, deleting conditions, and list conditions in data table
clean up names
add delete functionality to conditions form
PR feedback from Jon
useMemo for conditions
remove comments and logs
remove unused hook
PR feedback from Jon
messages
rename message
rebase
* remove duplicate value
* fixed multi select bug
* initial version mapper tab for clients
* added missing client select component
* added test
* Update src/client-scopes/add/components/ClientSelectComponent.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/client-scopes/add/components/ClientSelectComponent.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* now uses adminClient type for client search
Co-authored-by: Jon Koops <jonkoops@gmail.com>
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
rebase
update test file
replace hardcoded URL with path
fix tests
correct tab name
fix duplicates test
add create client policy form; WIP
add client policy tests
tests
createClientPolicyFormTests
lint
tests
remove comments
comment out json test
add empty state test
check reloading json policies
client policy tests are passing
all client policy tests passing locally
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
* rebase
* replace hardcoded URL with path
* fix tests
* editClientPolicy
* edit client policy
* rename test
* feedback from jon
* add create client policy form; WIP
add client policy tests
checkout realm settings test from master
RealmSettingsPage.ts master
remove comment and add missing translation
fix tests
PR feedback from Jon and Erik
* rebase
* update test file
* replace hardcoded URL with path
* fix tests
* correct tab name
* fix duplicates test
* correct form fields for UsernameTemplateImporter
wip tests
add username template importer type functionality
add create/edit functionality for username template importer SAML provider type
changes to helpText and title text
fix help text for mapper types
correct form fields for UsernameTemplateImporter
add fields
PR feedback and fix tests
fix test
add all saml mapper type fields
wip SAML mapper type fields
first draf SAML mapper type fields
tests
oidc changes with forms
tests
remove unused func
* fix tests
* remove unused vars
* client-add-executors: wip
* client-add-executors: added logic for deleting client from dropdown
* client-add-executors: wip
* client-add-executors: added edit profiles
* client-add-executors: added refesh client profiles
* client-add-executors: added cypress tests
* commented out test failing only in CI
* Update cypress/integration/realm_settings_test.spec.ts
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
* changed to arrow functions
* feedback fixes
* feedback fixes
* uncommented failing test to see if still failing and why
* test possible fix
* test fix
* test fix
* test fix
* client-add-executors: reused normaliseProfile func for delete dialog
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
* fix login tab
update cypress test
cypress test
rebase
test updates
cypress test fix
get correct ids
fix get call
fix tests
try refetching realm
add useEffect to fix server GET call
uncomment test
revert to original useFetch
prettier
create new function
set timeout to 10 ms
set to 100 ms
* add comment to useEffect per Jon feedback
* fix help text for mapper types
* fix name field
* address PR feedback from mark and add help text for all mapper types
* fix attribute importer help text
* rebase
dont fetch rolesbyID if mapperId
save attributes
fix cypress test
cypress test updates
fix cancel route
route fix with Erik
Apply suggestions from Jon's code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
pr feedback from jon
remove unused import
* usefindbytestid
* PR feedback from Jon
* fix tests
* fix save bug and feedback from Jon
* remove unnecessary type
* fix cypress test
* changed to use code editor
* Update src/components/json-file-upload/JsonFileUpload.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* fixed tests
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* data table for saml mappers
saml mapeprs tab
fix localized text
PR feedback from Jon
remove jsx fragment
remove comment
remove toolbar button
* try fixing cypress test
* remove optional chaining
* PR feedback from Jon
* more PR feedback from Jon
* rename variable and use find()
* useFetch() change as suggested by Jon
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* rebase and use reset function
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* added user role mapping tab to user details
* fix imports to admin client
* Update src/user/UserRoleMapping.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/user/UserRoleMapping.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* added await
* fixed merge error
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* events: uncommented test for searching user events
* events: added refresh btn and tidied up css
* events: increased search form width
* events: removed unwanted Divider
* events: fixed grey line issue when no events logged, fixed test
* events: renamed css classes to make them reusable for admin search
* events: added admin events search ui
* events: fixed refresh btn on user events tab
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
* initial version of config settings for executions
still needs to render different controls based on the types
* fixing the types
* Update src/authentication/components/ExecutionConfigModal.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* fix use effect dependency fix
* added form type
* Add ExecutionConfigModalProps type
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* fix conflict
* pr feedback from jon
* add key provider type to separate component
* remove log stmt
* remove spread syntax
* add default priority to all provider types
* remove sort by priority from providers tab
* add instruction tooltip
* correct list sorting order
* feedback from Jon wip
* more feedback from Jon
* update aria-describedby
* data list header and draggable button spacing
* Update src/realm-settings/RealmSettingsSection.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* add localization dropdown
uncomment isDisabled
clean up names
comment out localization tab again
disable actions menu if form not submitted
uncomment tab
use currentRealm for tableLoader
fix axe issues labeled as serious
PR feedback from Erik
use isSearching instead of keepToolbar
* fix node build
* use object entries
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* changed render of link so search can find the text
fixing: #965
* Update src/realm-roles/RolesList.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/realm-roles/RolesList.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* add missing imports and disable problematic eslint rules
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* initial version of create authentication screen
* initial version of authentication details
* added flow details labels to view header
* not in use fix
* create execution tree
* fixed collapsable row layout
* fix drag and drop expand
* fix merge error
* move to modal
* diff and post drag and drop changes
* fixed locating the parent row
* move "live text" for d&d to common messages
* firefox fix
* initial version of the diagram
* use dagre to layout automatically
* moved to sperate file
* conditional node
* now renders subflows sequential
* changed to render sequential or parallel flows
* fixed render of sub flows
* added button edge, drawer and selectable nodes
* add requirement dropdown
* also do move so we can merge
* also do move so we can merge
* fixed merge
* added refresh
* change requirement
* fixed merge error
* now uses the new routes
* Split out routes into multiple files
* Update src/authentication/AuthenticationSection.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/authentication/FlowDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/authentication/FlowDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/authentication/FlowDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* Update src/authentication/FlowDetails.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* fixed labels
* merge fix
* make execution of these parrallel
* added some tests
* Update src/authentication/components/FlowRequirementDropdown.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
* more review changes
* fixed merge error
Co-authored-by: Jon Koops <jonkoops@gmail.com>