* usergroups call wip
user groups
add user groups tab and list group data
clean up log stmts
add cypress test
clean up userGroups
remove comment
fix types
cypress test
fix lint and cypress test
lint
address PR feedback from Mark
clean up
remove component from viewheader
rebase and format
remove duplicate identifier
wrap groups in section
fix ts errors
add search functionality
remove comment
list groups initially
remove log stmt
wip parent groups listing
list parent groups
format
direct membership check
* format
* lint
* wip get intermediate groups
* wip get leafs
* wip list all groups
* wip list all paths
* listing for all groups completed
* remove comment
* wip filter out unjoinedf groups
* list all subgroups done
* format
* remove log stmts
* realm roles UX review progress wip
* filter realm roles on Enter key press, add filter functionality
* clean up
* filterChips logic now in table toolbar
* fix lint and format
* save with erik
* remove filter chips functionality
* fix check-types
* fix realm roles cypress test
* format
* wip pagination
* rebase
* fix roles pagination
* format
* add back save
* remove duplicates in associated roles table, can now paginate modal
* remove logs
* PR feedback from Erik
* rebase and fix pagination/search
* remove slice
* pagination in modal and associated roles tab
* show client roles
* lint and format
* remove unused variable
* address tbody console warning, clean up log stmts
* clean up log stmts
* fix ts error in AliasRenderer
* fix lint
* lint
* PR feedback from Erik
* resolve conflicts and format
* comment
* 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
* alphabetize and sort roles
* change delete to remove
* make col widths stationary
* remove duplicate identifier
* fix lint
* update attributes to match new design
* (-) button working
* remove log
* format
* add attribute wip
* fix attributes revert
* enable add button
* disable attributes button when last field empty
* add init field on role creation
* remove log stmts
* 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
* usergroups call wip
* user groups
* add user groups tab and list group data
* clean up log stmts
* add cypress test
* clean up userGroups
* remove comment
* fix types
* cypress test
* fix lint and cypress test
* lint
* address PR feedback from Mark
* clean up
* remove component from viewheader
* rebase and format
* remove duplicate identifier
* wrap groups in section
* fix ts errors
* add search functionality
* remove comment
* list groups initially
* remove log stmt
* realm roles UX review progress wip
* filter realm roles on Enter key press, add filter functionality
* remove chip group filters
* clean up
* format
* filterChips logic now in table toolbar
* fix lint and format
* save with erik
* remove filter chips functionality
* fix check-types
* fix realm roles cypress test
* format
* revert changes to group attributes
* cypress test
* use filter
* remove log
* remove unused prop
* changed to use the keycloak datatable
so it will benifid from a general way tables work in the admin console
* null check
* changed to use any active tab
seems sometimes the tab doesn't get set properly
so instead of "mappers" it's still "settings"
this change makes it work with both
* Allow app to run as a WAR on Keycloak server.
* New client creation json that works for both dev and prod
* fixed tests
* Try Mark's trick to get realm_test to run.
* Make tests use keycloakBefore()
* Fix duplicate import
* fix github actions
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* added details for groups
* add includeSubGroups checkbox
* added tests
* fixed reload for group attributes
* fixed spacing on associate roles tab
* fixed group reload after save
* fixed test
* fixed group section
* simplified create group dialog
* create subgroup
* initial search groups
* added initial search
* add empty state and links to details
* Added cypress tests
* fixed types
* changed to the more clear getId
* changed to use testid
* fixed merge error
* fixed test
* changed text for empty sub groups
* fix merge error
* fix test
* initial version of the advanced tab
* added registered nodes
* added fine grain open id connect configuration
* added open id connect compatibility section
* added advanced section
* added backend
* fixed type
* renamed 'advanced' to advancedtab
to prevent strange add of '/index.js' by snowpack
* fixed storybook stories
* change '_' to '-' because '_' is also used
* fix spacing buttons
* stop passing the form
* cypress test for advanced tab
* more tests
* saml section
* changed to use NumberInput
* added authetnication flow override
* fixed merge error
* updated text and added link to settings tab
* fixed test
* added filter on flows and better reset
* added now mandetory error handler
* added sorting
* Revert "changed to use NumberInput"
This reverts commit 7829f2656ae8fc8ed4a4a6b1c4b1961241a09d8e.
* allow users to put empty string as value
* already on detail page after save
* fixed merge error
* WIP modal
* modal WIP
add modal
place modal in separate file
format
wip implementation
getCompositeRoles with Jeff
add associated roles tab WIP
addComposites function WIP
fix post call
additional roles fetch
big rebase
WIP refresh
resolve conflicts with Erik latest -> fixes role creation
cypress tests, bump react-hook-form to remove console warnings
delete add
refresh with Jeff, update cypress tests, select additional roles tab on add
make dropdownId optional
format
add additionalRolesModal to associated roles tab
add toolbar items
add toolbaritems to associated role tab, matches mock
rebase
add descriptions to alert
add badge
fix badge logic
fix URL when associate roles are deleted, format
update cypress test
format
add associated roles refresh, PR feedback from Erik
add associated roles refresh, PR feedback from Erik
lint
* add inherited roles with Jeff
* hide inherited roles
* clean up
* rebase
* clean up modal file
* remove filter dropdown
* remove log stmts
* fix types error with Erik
* format after rebase
* fix lint
* fix cypress test
* PR feedback from Erik
* PR feedback from Erik
* remove comment
* remove client hook
* remove unused declaration
* WIP modal
* modal WIP
add modal
place modal in separate file
format
wip implementation
getCompositeRoles with Jeff
add associated roles tab WIP
addComposites function WIP
fix post call
additional roles fetch
big rebase
WIP refresh
resolve conflicts with Erik latest -> fixes role creation
cypress tests, bump react-hook-form to remove console warnings
delete add
refresh with Jeff, update cypress tests, select additional roles tab on add
make dropdownId optional
format
add additionalRolesModal to associated roles tab
add toolbar items
add toolbaritems to associated role tab, matches mock
rebase
add descriptions to alert
add badge
fix badge logic
fix URL when associate roles are deleted, format
update cypress test
format
add associated roles refresh, PR feedback from Erik
add associated roles refresh, PR feedback from Erik
lint
WIP modal with client roles
add clients to modal
WIP label
labels WIP
promises wip
wip
add clients to modal with labels
modal with Clients
format
* rebase
* fix check types
* PR feedback from Erik
* WIP modal
* modal WIP
* add modal
* place modal in separate file
* format
* wip implementation
* getCompositeRoles with Jeff
* add associated roles tab WIP
* addComposites function WIP
* fix post call
* additional roles fetch
* big rebase
* WIP refresh
* resolve conflicts with Erik latest -> fixes role creation
* cypress tests, bump react-hook-form to remove console warnings
* delete add
* refresh with Jeff, update cypress tests, select additional roles tab on add
* make dropdownId optional
* format
* add additionalRolesModal to associated roles tab
* add toolbar items
* add toolbaritems to associated role tab, matches mock
* rebase
* add descriptions to alert
* add badge
* fix badge logic
* fix URL when associate roles are deleted, format
* update cypress test
* format
* add associated roles refresh, PR feedback from Erik
* add associated roles refresh, PR feedback from Erik
* lint
* when external users then users need to search
* added email not verified icon + delete confirm
* handle search errors
* removed text
* fixed label counter
* change hour minute fmt to match old ui
* rm required max lifespan
* fix day of week default value
* create one shared cache settings component
* fix eslint and tests
* rm obsolete separate cache components
* try fixed snap
* multiple ux issues around realms
fixes: #324
* changed to same size as scroll spy form width
* fixed test
* fixed realm info link
* fixes console errors
* fixed key
* fixed type
* fixed test introduced cleanup function
* toggle help on kebab click
fixes: #305
* changed realm info to server info and fixed mobile layout
* added on off indication
* changed to use single key for enabled and disabled
* WIP modal
* modal WIP
* add modal
* place modal in separate file
* format
* wip implementation
* getCompositeRoles with Jeff
* add associated roles tab WIP
* addComposites function WIP
* fix post call
* additional roles fetch
* big rebase
* WIP refresh
* resolve conflicts with Erik latest -> fixes role creation
* delete refresh from associatedrolestab
* fix key and localize
* gets rid of console warnings from watch
* cypress tests, bump react-hook-form to remove console warnings
* update snapshot
* fix delete confirm role name
* delete add
* refresh with Jeff, update cypress tests, select additional roles tab on add
* make dropdownId optional
* format
* remove log stmt
* added roles tab to clients
* removed duplicate id parameter
* use client roles instead of realm role for clients
* fixed formatting
* fixed create for client role
* fixed replaceAll
fix storybook demos
add attributes tab to realm roles section
use TableComposable
fix formatting
css updates
fix up styling of role attributes table
fix check-types erros
logic from call with Jeff
clean up, format, make eslint proud
delete roledetails
call with Erik
add delete function and css changes
fix storybook demos and format
make key input disabled once new attribute is created
minus icon gray
address PR feedback from Sarah
set add and save buttons to disabled when new input field is empty
fix save/add
fix onChange formState
rebase with resolved conflicts
fix paths and use error msg from response
WIP readOnly
try setting readonly
add defaultState prop
use keycloak tabs
default values WIP
reload WIP
cleanup function
add shouldUnregister
fix for adding empty line on form load
removed debug
small fix for `isValid`
role attributes tab
format
* initial version of authentication section
* remove dialog for now should go to detail page
* added link and buildin label to first column
* added key attributes
* removed setTimeout workaround
* only delete when not in use
* Update src/authentication/messages.json
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* Update src/authentication/messages.json
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* refresh table on duplicate
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* add save cancel and move all form logic to parent
* rm obsolete convert days function
* save working all fields
* fix save on two fields and rm console msgs
* add basic validation to empty fields
* fix default value issues in cache
* fix two fields default values
* dropdown text and help fixes
* add empty option for edit mode
* initial save cancel logic
* cleanup work after merge
* move form logic up to parent
* save working
* update messages
* no longer need to pass in save from children
* pass form into wizard to fix build errors
* fix lint fmt issue
* add simple field validation and error prevention
* localize validation strings
* fix default value issues
* localize default value
* Cypress tests for masthead.
* Update snapshot
* Update Keycloak version.
* Fix download address
* Update start.js
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* Follow redirect when downloading keycloak.
* Refactor HeaderPage into Masthead and ModalUtils
* Minor change to kick off build.
* logOutTest no longer needs a param
* goToAcctMgtTest no longer needs a param
* Update tests/cypress/support/pages/admin_console/Masthead.js
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
* Update tests/cypress/support/pages/admin_console/Masthead.js
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
* Fix userDropdown() method
* Minor refactor
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
* refresh
* add hook
* reload WIP
* pass down defaultValues
* log stmt
* reload working on details form
* call with Erik
* format
* format
* lint
* fix reload after save
* list sub group of a group using the id
* introduced group bread crumb component to render
this builds up the groups as you click to subgroups
* added deeplinking
* fixed route config types
* fixed new realm prefix
* added null checks for if group not found
* changed labes to groups
* created scope picker
* added user select
* added evaluate function
* added the tabs
* added generated token
* added useFetch
* fixed formating after merge
* fixed the tabs layout
Co-authored-by: srambach
* added space between tabs and content
* added help into text
* whoAmI has the realm access information
so when a new realm is created the whoAmI request has to be done again
* fixed "add realm" button
* remove debug
* refactor
* also force token update
* refresh realm list on realm change
fix storybook demos
add attributes tab to realm roles section
use TableComposable
fix formatting
css updates
fix up styling of role attributes table
fix check-types erros
logic from call with Jeff
clean up, format, make eslint proud
delete roledetails
call with Erik
add delete function and css changes
fix storybook demos and format
make key input disabled once new attribute is created
minus icon gray
address PR feedback from Sarah
set add and save buttons to disabled when new input field is empty
fix save/add
fix onChange formState
rebase with resolved conflicts
fix formatting
remove !important
Update RealmRolesSection.css
Update src/realm-roles/RoleAttributes.tsx
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
address PR feedback from Sarah and Erik
fix paths and use error msg from response
remove log stmt
fix lint
remove minLength
* renamed `useFetch` to `asyncStateFetch`
otherwise React will mistake it for a react hook and will complain.
* added jsdoc
* fixed the user red stories
* renamed
* remove circular dependency on realm context
* added realm as a param of the url
* updated links to include realm
* null !== undefined
* set realm if realm in url
* fixed breadcrumb type
* fixed tests
* addressed pr review comments
* separate card paths
* organize settings file structure
* most ldap fields working
* allow same path to multiple components
* fix several fields
* all values fetched correctly
* changes from PR
* removed unused models
* added selectable to `DataList`
* changed groups to use new `DataList`
* fixed filter for JSX.Elements columns
* better refresh
* jumplinks on main content scroll but buggy
* update PF and move anchor to heading
* add fix for double highlight of jumplink
* mysterious change to unrelated test
* add yarn.lock
* pull in kerberos data
* fix build fails and cleanup msgs
* fix 2x build errs
* fix broken test
* fix route, bcrumb, and card click
* lint fixes
* final changes from PR review
* add old breadcrumb functionality back
* fix breadcrumb test
* lint fix
* initial version of a data list
* introduced paginate property
* added search key
* added types and actions
* added renderer to customize rendering of one cell
* changed `ClientList` to new `DataList`
* replaced client scope list with `DataList`
* added empty state
* Replaced RoleList with `DataList`
* switched to lodash cloneDeep
* fix merge error
* service account tab initial version
* added hide inherited function
* move empty formatter to util
* added the 'assign role' button
* only show service account tab when client is saved
* changed to toobar items to align checkbox
* added missing assignRole and renamed tab
* initial version of client scope tab for clients
* initial version evaluate tab
* changed to use new adminCliend
and merged default and optional
* added add dialog
* removed "always" and "required" scopes
* better seach types dropdown layout
* added switch implementation
* add form controllers to user fed kerberos settings
* comments out test buttons
* add optional settings with todos
* correct the kerberos help text
* updates cache policy dropdowns
* use ComponentRepresentation
* use FormAccess component
* fix required settings and i18n
* remove unused form
* remove unused file
Co-authored-by: jenny-s51 <jshandel12@gmail.com>
* add file for realm role details
* add details and attributes tabs
* clean up a bit
* get name working
* add reload
* fix route config
* fix prettier
* call with Don
* header and description working
* update route-config.ts
* wrap in FormAccess component
* name input gets value from call
* try to get save working
* feedback from Erik
* more feedback from Erik
* fix formatting
* format
* address PR feedback from Erik
* delete comment
* set name field to read-only
* delete defaultValue prop
* parent 9eabcdbee4
author jenny-s51 <jshandel12@gmail.com> 1602688597 -0400
committer jenny-s51 <jshandel12@gmail.com> 1605296992 -0500
add file for realm role details
add details and attributes tabs
clean up a bit
get name working
add reload
fix route config
fix prettier
add storybook demo for realm details
add details and attributes tabs
* parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297630 -0500
parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297556 -0500
parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297545 -0500
parent 9eabcdbee4
author jenny-s51 <jshandel12@gmail.com> 1602688597 -0400
committer jenny-s51 <jshandel12@gmail.com> 1605296992 -0500
add file for realm role details
add details and attributes tabs
clean up a bit
get name working
add reload
fix route config
fix prettier
add storybook demo for realm details
add details and attributes tabs
clean up a bit
clean up a bit
add reload
fix route config
add storybook demo for realm details
Delete messages.json
cleaning up, wip
fix CI
clean up more
* add back role messages
* fix format
* revert role list to master
* remove reload
* fix spacing and add FormAccess component
* fix route
* fix formatting