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 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
* 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 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
* 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>
* 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>
* 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 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>
author jenny-s51 <jshandel@redhat.com> 1624022352 -0400
committer jenny-s51 <jshandel@redhat.com> 1625159705 -0400
wip provider details
provider details wip
move files wip
wip
wip all provider details
remove controllers
save and update working
address console warnings
remove log stmt
update test
keep aes only
remove comments
remove unused hook and function
remove unused props
revert ldap logs
fix conflict and remove duplicate function
format and cypress test
Partial import phase 2 (#702)
* Process the JSON and present user options
* Finish checkboxes. Refactor.
* Add tests
* Refactor after rebase
* Add more test data for manual testing.
* Fix linting errors
* Put JsonFileUpload back the way it was.
* Clean up comments
* Update src/realm-settings/PartialImport.tsx
Remove comment
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Localization tab (#685)
* localization wip
wip localization
return key value data as array
localization table
css
lint
lint
clean up log stmts
clean up log stmts
* PR feedback from Erik
* fix logic for supported locales
* update empty state text
* set default value
* fix cypress test
* Update src/realm-settings/RealmSettingsSection.tsx
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* fix rsa-generated delete bug; PR feedback frog Erik
* revert locale abbreviation
* remove log stmts
* PR feedback from Erik, fix undefined
* fix loader w Erik
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
add divider on section
Prepare for first alpha release (#711)
use typeahead for mapper list
fix test
Default roles: UI Changes from KEYCLOAK-14846 (#693)
* defaultRoles wip
default role changes done
clean up log stmts
update snapshot
fix masthead test
* fix cypress test
* fix tabs
Comment out Realm role CRUD test (#712)
* Bogus change
* Bogus change
* Comment out Realm role CRUD test
Bump postcss-cli from 7.1.1 to 8.3.1 (#718)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.1...8.3.1)
---
updated-dependencies:
- dependency-name: postcss-cli
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#717)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.12.0 to 5.14.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.12.0...v5.14.1)
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fixing issue (#709)
* fixing issue
fixing: #680
* added kebab on row
* added more clear group seperation
Bump cypress from 7.4.0 to 7.5.0 (#715)
Bump @babel/preset-typescript from 7.13.0 to 7.14.5 (#714)
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.13.0 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-typescript)
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump @testing-library/react from 10.4.6 to 11.2.7 (#716)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.6 to 11.2.7.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.4.6...v11.2.7)
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
inherited roles disabled instead of non selectable
more style fixes
fixed size
change title of tab
add unassign kebab on row
added help item on enable switch
test email working, modal wip
email connection done
remove comment
fix cypress test
revert test file
fdisable email prompting when user email entered
prettier
update cypress tests
fix lint
try fix cypress test
try longer wait
save and test connection
make wait longer
increase wait
fix test
disable test connection button if form fields not entered
lint
afix username/password fields
fix test
mark suggested change
add modal button and input functions
fixed default value warning
fixing issue
fixing: #650
remove provider form
add delete cleanup function
AESproviderDetails extend wait for video
update test
test wait after
rebase
remove comments
remove log
format
format
PR feedback from Jon
Apply suggestions from Jon's code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
remove duplicate form
form
use array desctructuring
Apply suggestions from code review
Co-authored-by: Jon Koops <jonkoops@gmail.com>
update useroutematch
format
format
back to async
pretty
cypress test
remove email verification switch toggle
fix add provider on non-master realm
cleaning up
fix save
fix save for other providers
fix fetch
fix runtime error
remove unused import
Apply suggestions from code review
suggested changes for non-null assertions
Co-authored-by: Jon Koops <jonkoops@gmail.com>
make props required
make provider type required
use realm-settings file for translation
format and roll back route changes
* wip provider details
provider details wip
move files wip
wip
wip all provider details
remove controllers
save and update working
address console warnings
remove log stmt
update test
keep aes only
remove comments
remove unused hook and function
remove unused props
revert ldap logs
fix conflict and remove duplicate function
Partial import phase 2 (#702)
* Process the JSON and present user options
* Finish checkboxes. Refactor.
* Add tests
* Refactor after rebase
* Add more test data for manual testing.
* Fix linting errors
* Put JsonFileUpload back the way it was.
* Clean up comments
* Update src/realm-settings/PartialImport.tsx
Remove comment
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Fixing UXD review for user (#648)
* Introduced new GroupPicker.
Can be used for move group or join group
* Moved help texts to help.json
* don't set state when there was no request
* add pagination
* remove "Groups" link on root level
* use path in chip instread of name
* fixes filtering to show search not found
and removes `+1` logic from pager
* fix breadcrumb and layout
* fixed all the tests
Localization tab (#685)
* localization wip
wip localization
return key value data as array
localization table
css
lint
lint
clean up log stmts
clean up log stmts
* PR feedback from Erik
* fix logic for supported locales
* update empty state text
* set default value
* fix cypress test
* Update src/realm-settings/RealmSettingsSection.tsx
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* fix rsa-generated delete bug; PR feedback frog Erik
* revert locale abbreviation
* remove log stmts
* PR feedback from Erik, fix undefined
* fix loader w Erik
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
add divider on section
Prepare for first alpha release (#711)
use typeahead for mapper list
fix test
Default roles: UI Changes from KEYCLOAK-14846 (#693)
* defaultRoles wip
default role changes done
clean up log stmts
update snapshot
fix masthead test
* fix cypress test
* fix tabs
Comment out Realm role CRUD test (#712)
* Bogus change
* Bogus change
* Comment out Realm role CRUD test
Bump postcss-cli from 7.1.1 to 8.3.1 (#718)
Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.1...8.3.1)
---
updated-dependencies:
- dependency-name: postcss-cli
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#717)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.12.0 to 5.14.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.12.0...v5.14.1)
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fixing issue (#709)
* fixing issue
fixing: #680
* added kebab on row
* added more clear group seperation
Bump cypress from 7.4.0 to 7.5.0 (#715)
Bump @babel/preset-typescript from 7.13.0 to 7.14.5 (#714)
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.13.0 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-typescript)
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump @testing-library/react from 10.4.6 to 11.2.7 (#716)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.6 to 11.2.7.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.4.6...v11.2.7)
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
inherited roles disabled instead of non selectable
more style fixes
fixed size
change title of tab
add unassign kebab on row
added help item on enable switch
test email working, modal wip
email connection done
remove comment
fix cypress test
revert test file
fdisable email prompting when user email entered
prettier
update cypress tests
fix lint
try fix cypress test
try longer wait
save and test connection
make wait longer
increase wait
fix test
disable test connection button if form fields not entered
lint
afix username/password fields
fix test
mark suggested change
add modal button and input functions
fixed default value warning
fixing issue
fixing: #650
updated admin client with new endpoints (#725)
fix add function and add test
remove aes provider changes
remove comments
format
update cypress test
update add bundle function
fix test
remove comment
* remove merge conflict markers
* more markers
* format
* Introduced new GroupPicker.
Can be used for move group or join group
* Moved help texts to help.json
* don't set state when there was no request
* add pagination
* remove "Groups" link on root level
* use path in chip instread of name
* fixes filtering to show search not found
and removes `+1` logic from pager
* fix breadcrumb and layout
* fixed all the tests
* Process the JSON and present user options
* Finish checkboxes. Refactor.
* Add tests
* Refactor after rebase
* Add more test data for manual testing.
* Fix linting errors
* Put JsonFileUpload back the way it was.
* Clean up comments
* Update src/realm-settings/PartialImport.tsx
Remove comment
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
* changes after rebase
* add cypress tests
* addProviderModal done
* fix lint
* clean up ids/fieldids
* divide modals into separate components
* format
* cypress
* fix realm settings test
* clean up cypress tests
* try remove after all hook
* initial version of oidc
* fixed fetch and added missing fields
* fixed file upload
* added scopse
* added details
* added disable action and save
* updated to use new design based on discovery response
* new design
* set default value
* added tests
* fixed tests
* fixed labels
* changed direction to up
* upgrade cypress
* fixed delete now has dialog
* also check "unAssign"
* client type no longer required
* providers and group changes
* grp creation working
* moved create realm button ouside the dropdown
* sped up test and added cleanup
* Revert "moved create realm button ouside the dropdown"
This reverts commit e2076a5305808417de910ba8fada8e528e5c356a.
* make test re-runnable
* removed un needed navigation
* Fix misformed Cypress config for GitHub Action
* cleanup after test
* fixed cleanup
* temporary removed this test
* also remove user "new"
* try adding a wait for CI
* get different modal id
* add {force: true} to modal functions
* mv grp search last and ignore 401
* try using cy.get and disable video for testing
* add back video artifacts
Co-authored-by: mfrances <mfrances@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: jenny-s51 <jshandel@redhat.com>
* email tab wip
* save username and pw info on auth toggle
* add email tab
* remove comments
* remove log stmt
* add help text
* adjust styles
* format
* fix conflicts and address PR feedback
* add back ref on reply to display name
* rebase and fix conflicts
* prevent save without sender email
* add className prop to formpanel
* only query realms endpoint once
currently the realm list query is expensive and we only need it once.
* fixed refresh issues
* fixed tests
* fixed imports
* fixed types
* removed strange non code
* reload instead
* added more realm tests
* initial version identity providers section
* added order change dialog
* added tests
* added missing brand icons
* removed need for providerCount
* fixed refresh
* back to list after create
* format merge
* fixed merge error
* realm settings tabs wip
* realm settings wip
* switches
* updates to login tab watch
* remove controller and call save in onChange
* add cypress tests
* remove log stmt
* fix lint
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* Update src/realm-settings/LoginTab.tsx
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* Remove form
* format
* lint
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* add cypress test to add groups to user
* add test to leave group
* format
* update snapshots
* add user to groups modal wip
* wip join group functionality
* add modal to add user groups
* add refresh
* remove comment
* lint and format
* fix empty state
* add cypress test to add groups to user
* format
* revert snap
* remove existing joined groups from modal
* initial move group dialog
* added test
* fixed search and added breadcrumb
* filter current group
* added empty state
* add cancel button to modal
* fixed merge error
* users can now rename groups
* add members to a group
* added cypress test
* remove rename and delete when no group is selected
* added test
* keep selected rows form other pages
* fixed empty first page and cancel button