* 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
* more help items and small linout
* fixed clicking the steps links clearing the form
* fixed validation when jumping pages
* changed help text
* Update src/clients/help.json
Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
* 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
* rebase and fix pagination/search
* remove slice
* pagination in modal and associated roles tab
* show client roles
* lint and format
* fix ts error in AliasRenderer
* fix lint
* add filterType
* wip search in component
* fix associated roles tab pagination
* revert KDT changes
* fix text
* add promise resolve type
* format
* remove comment
* add alphabetize function
* fix search
* remove log stmt
* clean up
* address PR feedback from Erik and render clientId badge in associated roles
* remove comment
* fix type
* format
* make checkboxes selectable
* address PR feedbak from Erik
* changes from rebase
* added recently used realms to the top
fixing: #396
* fixed add realm button
* moved setting recent to setRealm
cleanup to where realm list is updated
* 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
* changed to use the admin client
* added helper to always set realm
* fixed merge
* no need to polyfill anymore
* updated to use keycloak-admin-client
* updated to release version
* fixed types
* added user federation
* update test
* lint
* initial html css changes
* additional look and feel
* merge empty state changes
* fix dup key
* pull in real data
* real data and empty
* fix bad paren
* add delete functionality
* rm debug msg
* fix rediculous prettier trailing commas
* changes from PR
* css changes from PR
* use good userfed info link
* use consistent state names
* fix msg merge issue
* update and use ViewHeader
* fix broken tests
* add and use generic card component
* additional empty state behavior
* delete confirm modal
* initial version credentials tab
* added signed jwt
* submit token endpoint signing alg
* added x509
* show tab when public client
* fixed test default confimnation dailog size is small
* pr review comments
* all fields roughed in working on tab
* reduce to just the settings without page
* remove unused imports
* fix some comments
* correct some typos and capitalization
* remove ldap translation
* poc of possible way to change form dynamically
* fixed detail routs
* Update src/components/form-access/FormAccess.tsx
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* Update src/components/form-access/FormAccess.tsx
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* Update src/components/form-access/FormAccess.tsx
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* added more form access and logic for Controller
* render switches for boolean types
* better render of `<Controller` wrapped components
* added isDisabled property
* added test
* small refactor
* fixed types
* TextArea doesn't support isDisabled
* when field is disabled, disable button as well
* added jsdoc
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* initial version of the role mapping create form
[marvel](https://marvelapp.com/prototype/f0e8fih/screen/72042619)
* fixed format
* changed to typeahead
* format
* group by
* review fixes
* added group and divider
* change name to realm name
* added optional dialog variant
* added predefined scope dialog
* added mapper dialog for predefined and custom
* format
* changed to use dataList instead of table
* fixed test
* initial user federation landing page
* builds user federation screen with more info link
* change providers to h2
* remove unused imports and translate text
* updates user fed landing page for new mockup
* added function to refresh the dataloader data
* add Realm Roles page
add section for no realm roles
update role-model, fixed UI to match designs
fix paths
add storybook demo and role actions kebab
fix build and clean up
fix formatting
fix lint
fix test and update snapshot
update snapshot after rebase
PR feedback from Stan
add back pf addons
localize NoRealmRoles component
changes to PR suggested by Sarah
adds new role form
rename fields
cleaning up
address PR feedback from Stan
add logic to delete realm role
format
rebase with erik branch
resolves merge conflicts
fix check types error
fix invalid state
fix check-types
fix ts error
* fix format
* remove log stmt
* address PR feedback from Erik and Sarah
* remove utility class
* address Erik comment
* fix formatting
* fix bug and address PR feedback
* move msg
* fix lint
* fix format
* delete details file (on another branch)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* refactors form field help
* format and test
* add interpolation of help text
* implement HelpItem and move help text
* update DownloadDialog with new HelpItem
* remove commented out code
Added coding standards and also updated the package json so that the scripts have consistent naming conventions. Fixed incorrect import for context as well.
* added client settings header
* added confirmation dailog
* format
* pr review
* use placeholder text instead of property
* change title to use clientId instead
* added state for dynamic name
* add Realm Roles page
* add section for no realm roles
* update role-model, fixed UI to match designs
* fix paths
* add storybook demo and role actions kebab
* fix build and clean up
* fix formatting
* fix lint
* fix test and update snapshot
* update snapshot after rebase
* PR feedback from Stan
* add back pf addons
* localize NoRealmRoles component
* changes to PR suggested by Sarah
* adds new role form
* fix path
* rename fields
* HTTP post is working
* move create msg
* cleaning up
* address PR feedback from Stan
* added validation and changed to text area
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
* add code to group section
* updates to group section
* more updates to groupsection
* add Eriks changes
* groups broken
* more group work
* lots of updates
* fix bugs
* working on typescript and clearing out dead code
* fix TS errors and PR feedback
* more TS fixes
* fixed the TS errors
* run prettier
* fix errors from yarn checktypes command
* fix prettier
* fix lint and checktypes
* remove isInline
* revert prettier
* revert prettier commits
* update i18
* fix prettier
* feedback
* fix error
* always show realm add button and
filter on keystroke
* fixed formatting
* fixes within the realm selector dropdown
* format
* fixed test
Co-authored-by: Sarah Rambacher <srambach@redhat.com>
* add Realm Roles page
* add section for no realm roles
* update role-model, fixed UI to match designs
* fix paths
* add storybook demo and role actions kebab
* fix build and clean up
* fix formatting
* fix lint
* fix test and update snapshot
* fix storybook demo
* update snapshot after rebase
* PR feedback from Stan
* add back pf addons
* Update src/realm-roles/RealmRolesSection.tsx
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* fix format
* localize NoRealmRoles component
* fix formatting
* changes to PR suggested by Sarah
Co-authored-by: Stan Silvert <ssilvert@redhat.com>
* moved files into new structure
* translation files / namespace per "page"
fixes: #77
* renamed pages to sections
* moved save, delete and others to common bundle
* Adjusts toolbar help menu items
* remove workaround css for dropdown description text
* fixes formatting
* capitalize menu item
* revert change in variable name
* initial version of the create client role page
* added types and sort function
* updated types
* added steps
* added save function
* fix error message