Commit graph

616 commits

Author SHA1 Message Date
Erik Jan de Wit
9e4d1d34ee
add option to add borders on scroll panel (#551) 2021-04-28 07:50:17 +02:00
xianli123
6cf2d50e0e
Merge pull request #547 from edewit/authorisation-authentication
fixing PR comment:
2021-04-26 20:48:30 +08:00
Erik Jan de Wit
27c25472ee small fixes 2021-04-26 13:48:09 +02:00
Erik Jan de Wit
1521024abf fixed the wrong comment 2021-04-26 09:40:59 +02:00
mfrances17
010745ac1c
Merge pull request #545 from jenny-s51/fixAssociatedRolesListBug
Fix associated roles list
2021-04-23 09:39:08 -04:00
Erik Jan de Wit
2a02b38888 fixing PR comment:
https://github.com/keycloak/keycloak-admin-ui/pull/474#issuecomment-825417974
2021-04-23 11:55:15 +02:00
jenny-s51
5bcfa03747 add help text for direct membership 2021-04-22 16:37:10 -04:00
jenny-s51
58d3052fd8 revert one more type 2021-04-22 16:11:03 -04:00
jenny-s51
7b22ac4659 clean up types 2021-04-22 16:10:04 -04:00
jenny-s51
b3f8c45ddc fix data list bug 2021-04-22 16:04:56 -04:00
jenny-s51
817714df0b fix data list bug 2021-04-22 16:04:26 -04:00
mfrances17
4182f2bd58
Merge pull request #542 from jenny-s51/updateUserForm
Users(Create user form): Update create user form with new design
2021-04-21 10:17:48 -04:00
jenny-s51
68066d093e address PR feedback from Mark 2021-04-21 09:53:21 -04:00
Erik Jan de Wit
6dd314c768
Initial version of the identity providers section (#537)
* 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
2021-04-21 15:18:45 +02:00
mfrances17
f3511d0be1
Merge pull request #535 from mfrances17/save-mapper
Add/edit/delete LDAP mappers
2021-04-20 16:53:55 -04:00
Erik Jan de Wit
5c94dd584b
fixing comment on issue: (#522)
* fixing comment on issue:

https://github.com/keycloak/keycloak-admin-ui/issues/428#issuecomment-818504696

* fixed top margin

* fixed devider length
2021-04-20 15:46:07 -04:00
jenny-s51
cbce18f5f7 navigate to subgroups in modal 2021-04-20 11:08:33 -04:00
jenny-s51
033388bb67 update user form with new design 2021-04-20 10:12:29 -04:00
jenny-s51
10b3619ae9 wip add groups to user form 2021-04-20 10:12:29 -04:00
jenny-s51
62b21dbfe1 add functionality to select and add multiple groups 2021-04-20 10:12:29 -04:00
jenny-s51
559bf1ccee cfixcheckbox select bug 2021-04-20 10:12:09 -04:00
jenny-s51
0b106cb559 add logic for selecting multiple groups, API does not support this yet 2021-04-20 10:10:35 -04:00
jenny-s51
d8c491123a add user to groups modal wip 2021-04-20 10:10:35 -04:00
mfrances
adad072eae hide mappers tab on ldap provider create 2021-04-20 10:07:31 -04:00
mfrances
9155b8bfc7 fix cancel error on empty new 2021-04-20 10:07:31 -04:00
mfrances
58882f35f8 fix strings 2021-04-20 10:07:31 -04:00
mfrances
75b3b0ebe6 add mapper type to table 2021-04-20 10:07:31 -04:00
Erik Jan de Wit
46c60c1796 fixed refresh after delete 2021-04-20 10:07:31 -04:00
Erik Jan de Wit
c87196cfd1 fixed creating new ldap settings 2021-04-20 10:07:31 -04:00
mfrances
f73c9afdd8 fix lint issue 2021-04-20 10:07:31 -04:00
mfrances
1feeb3fdea delete confirmation 2021-04-20 10:07:31 -04:00
mfrances
9339dbc54f all non-role adds and saves working 2021-04-20 10:07:31 -04:00
mfrances
775dd5c00b delete working but no refresh 2021-04-20 10:07:31 -04:00
mfrances
501cb98edc all creates working except two roles 2021-04-20 10:07:31 -04:00
mfrances
a50cf33138 all mappers saving except two roles 2021-04-20 10:07:31 -04:00
mfrances
dcbb2b90bf two mappers saving correctly 2021-04-20 10:07:31 -04:00
mfrances
73a423d95c ren details component 2021-04-20 10:07:31 -04:00
mfrances
56a1b233d4 restructure and add chooser when adding new 2021-04-20 10:06:01 -04:00
Erik Jan de Wit
9e5104b668
fixing UXD review issue (#529)
* fixing UXD review issue

fixing: #509

* added detail expandable sections
2021-04-20 08:28:21 -04:00
Erik Jan de Wit
b86db32ba8
Add scope tab to client scope detail page (#514)
* initial version of the scope tab

* fixed assign

* moved form logic added test

* added unassign

* fixed merge error

* fixed labels
2021-04-20 08:10:00 -04:00
Erik Jan de Wit
3332bd1a01
added unwrap so that HelpItem can be on a button (#540)
fixing: #539
2021-04-20 10:06:20 +02:00
Eugenia
820af6abca
Users(groups): functionality for adding multiple users to groups (#534)
* add user to groups modal wip

* add logic for selecting multiple groups, API does not support this yet

* cfixcheckbox select bug

* add functionality to select and add multiple groups

* function name

* update cypress test
2021-04-19 15:53:28 -04:00
Eugenia
ba4e576a2d
Realm settings(login): adds login tab and tests (#531)
* 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>
2021-04-19 13:41:07 +02:00
mfrances17
54ea8858ed
Merge pull request #532 from edewit/issue-510
fixing issues defined in 510
2021-04-15 17:24:54 -04:00
Erik Jan de Wit
cb55f67fdc fixed tests 2021-04-15 15:29:50 +02:00
Erik Jan de Wit
f75838cea7 changed all cancel buttons to type "link"
fixing: #459
2021-04-15 12:52:34 +02:00
Erik Jan de Wit
42da9bf637 fixing issues defined in 510
fixing: #510
2021-04-15 12:23:36 +02:00
Erik Jan de Wit
9ec20852be
removed top margin (#524)
fixing issue comment
https://github.com/keycloak/keycloak-admin-ui/issues/422#issuecomment-815421080
2021-04-15 10:54:06 +02:00
Eugenia
2bcdf51075
Users(Consents): add empty state and list consents (#516)
* user consents

* remove form prop

* address PR feedback from Stan and list consents in data table

* update test

* revert css updates
2021-04-14 14:39:21 -04:00
Eugenia
6f4ea86ecb
Users(groups): Add modal for joining user groups (#513)
* 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
2021-04-14 14:19:39 -04:00
Stan Silvert
3deea60a87
Begin implementation of Partial Import modal. (#515)
* Begin implementation of Partial Import modal.

* Fix linting errors

* Remove console.log
2021-04-14 10:17:41 -04:00
Erik Jan de Wit
c0e881c591 protocol can be not set
fixing: #521
2021-04-13 10:01:21 +02:00
Erik Jan de Wit
eb94ded90a
more help items and small linout (#519)
* 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>
2021-04-12 20:05:00 -04:00
Erik Jan de Wit
ceabb4f690
added max length check (#506)
fixing: #317
2021-04-12 15:55:38 -04:00
Erik Jan de Wit
42dae904d0
move back to list on delete (#520)
fixes: #507
2021-04-12 17:42:36 +02:00
Eugenia
dd1e1f511e
Realm roles(associated roles): fix search filtering bug (#497)
* 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
2021-04-09 17:08:40 +02:00
Erik Jan de Wit
f37802bd01
disable when nothing selected (#508)
* disable when nothing selected

fixing: #495

* fixes:
* cancel button style
* client name
* disabled on none selected
2021-04-09 09:23:19 -04:00
Erik Jan de Wit
eb9092116d
added recently used realms to the top (#502)
* 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
2021-04-08 15:20:35 -04:00
Erik Jan de Wit
5142d1b4bc
can't move groups to the root level (#485)
* can't move groups to the root level

disabled "Move" button on root level

* can now move groups to root

* added move to root test
2021-04-07 13:58:29 -04:00
Erik Jan de Wit
408caf6d0f
fixed uxd review issues (#478)
fixing: #464
2021-04-07 13:55:50 -04:00
Erik Jan de Wit
2417c285e3
fixing uxd issues (#477)
* fixing uxd issues

* add select all checkbox

* added intermidate "style" to select all checkbox
2021-04-07 07:42:30 +02:00
Erik Jan de Wit
dd19613557
public client = false when clientAuthentication (#505)
fixing: #392
2021-04-06 14:14:56 -04:00
Erik Jan de Wit
8cd88b9a1d
rename clientID to clientId (#504) 2021-04-06 13:39:27 -04:00
Erik Jan de Wit
a27045c617
re added floating action (#500) 2021-04-06 13:19:15 -04:00
Erik Jan de Wit
e75deb3305
give protocol a bit more width (#503)
* give protocol a bit more width

* change to uppercase
2021-04-06 13:11:39 +02:00
Erik Jan de Wit
4d52871fc2
fixed issues described in #468 (#479)
* fixed issues described in #468

fixing: #468

* fixed type

* fixed column size and order
2021-04-06 09:29:11 +02:00
Stan Silvert
83a8f2baa7
Allow four ways to set location of keycloak server. (#482)
* Allow four ways to set location of keycloak server.

* Make it work for devs on Keycloak 12 and below.
2021-04-06 08:44:37 +02:00
mfrances
9858cd0d30 fix url-related issues 2021-04-05 15:55:12 -04:00
mfrances
4054bd8b65 add new test snap after rebase 2021-04-05 14:04:24 -04:00
mfrances
66ce876d48 fixed test odd that it was flagged 2021-04-05 14:04:23 -04:00
mfrances
26a49d60c6 fix empty mapper string ref 2021-04-05 14:04:23 -04:00
mfrances
8c29fcabb6 all mappers working 2021-04-05 14:04:23 -04:00
mfrances
95ecc9ff40 adding role mapper 2021-04-05 14:04:23 -04:00
mfrances
f1f9f8736c nine of eleven mappers complete 2021-04-05 14:04:23 -04:00
mfrances
3e3b1d2bed separate out reusable components 2021-04-05 14:04:23 -04:00
mfrances
0b0e474caf move multi-used strings to common 2021-04-05 14:04:23 -04:00
mfrances
9166212720 two mappers complete and strings done 2021-04-05 14:04:23 -04:00
mfrances
2e7f38d9a5 mapper list and edit mapper working 2021-04-05 14:04:23 -04:00
mfrances
2a7782fbae fix url and rm hack 2021-04-05 14:04:23 -04:00
mfrances
f863f850d1 form layout no logic 2021-04-05 14:04:23 -04:00
mfrances
95c22fd862 preliminary work - list working 2021-04-05 14:04:23 -04:00
mfrances
926c97002f fix isDirty issue 2021-04-05 14:04:23 -04:00
mfrances
4593a3fa2a control debug visibliity with other kerberos 2021-04-05 14:04:22 -04:00
mfrances
bb21001d74 add mappers tab 2021-04-05 14:04:22 -04:00
Eugenia
a4242dd370
set leave buttons only on dgroups with direct membership (#499) 2021-04-05 13:55:17 -04:00
mfrances17
32f4299d23
Merge pull request #491 from mfrances17/patternfly-4.96.2
Update to latest Patternfly releases
2021-04-05 13:20:53 -04:00
Eugenia
5dbb6726ed
Users(groups): list top level groups, implement direct membership check (#467)
* 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
2021-04-01 14:47:05 -04:00
mfrances
e0c5bd8a6d fix test 2021-04-01 11:25:47 -04:00
mfrances17
4a2fd791e2
Merge pull request #486 from edewit/issue-462
added `isRowDisabled` function to disble rows
2021-04-01 10:41:47 -04:00
Erik Jan de Wit
84bf7925a6
Created add service account roles assign screen (#465)
* service account dialog

* create test

* fixed types

* fixed realm roles selection

* disable when no rows are selected

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
2021-04-01 10:14:19 -04:00
Eugenia
a0faba0f97
Fix roles pagination+filter out duplicates from associated roles list (#460)
* 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
2021-04-01 15:41:21 +02:00
Erik Jan de Wit
c503663e4e
fixed urls (#489)
fixing: #454
2021-04-01 08:36:14 +02:00
Erik Jan de Wit
116800b1ee also disable action when row is disabled 2021-04-01 08:35:38 +02:00
xianli123
e0e6f677c6
Merge pull request #474 from edewit/issue-446
new client wizard uxd review
2021-04-01 11:29:17 +08:00
Erik Jan de Wit
579719c3bd
use diff instead of xor (#487)
fixing: #461
2021-03-31 15:45:20 -04:00
Erik Jan de Wit
f1a658da01
small refactor (#484) 2021-03-31 15:08:56 -04:00
Erik Jan de Wit
6102770fbf
can not set state in render (#483) 2021-03-31 15:07:04 -04:00
Erik Jan de Wit
74aee6090d
genericly we want all sections to look like this (#473)
* genericly we want all sections to look like this

* remove the divider when there are tabs on the page
* fix insert on keycloakTab component

* lint
2021-03-31 15:16:58 +02:00
Erik Jan de Wit
c45de338c0 added isRowDisabled function to disble rows
fixing: #462
2021-03-31 10:48:14 +02:00
Erik Jan de Wit
33a29d4735
add missing cancel button (#475)
fixing: #459
2021-03-31 08:58:55 +02:00
Erik Jan de Wit
3e02fd1aa6
adds fake pagination to datatable (#472)
even when the backend doesn't support pagination we still show paginated results
2021-03-30 08:25:45 -04:00
Erik Jan de Wit
17a3fe51bb
removed double query for realm roles (#471) 2021-03-29 14:46:46 -04:00
Erik Jan de Wit
f10661444d
initial move group dialog (#455)
* 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
2021-03-29 07:37:47 -04:00
Eugenia
6ea4f88b5b
roles(associated roles+attributes): address UX feedback (#451)
* 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
2021-03-29 07:35:13 -04:00
Erik Jan de Wit
f0558d847b changed to be progressive added help to type
and made `openid-connect` the default

fixes: #446
2021-03-29 12:00:56 +02:00
Erik Jan de Wit
50920b3df2
Added rename group and adding members to a group (#448)
* 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
2021-03-24 10:07:49 -04:00
Eugenia
236e89dc63
Users: Add groups tab and list groups (#450)
* 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
2021-03-23 15:02:27 -04:00
Eugenia
bf4cae6735
Changes from Realm Roles UX Review [List] (#433)
* 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
2021-03-22 09:14:24 +01:00
Erik Jan de Wit
6c399c1484
fixed group navigation (#452) 2021-03-19 14:37:21 -04:00
Erik Jan de Wit
dfc4beced4
changed to use the keycloak datatable (#432)
* 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
2021-03-19 08:43:32 -04:00
Erik Jan de Wit
b56788d942
fixed visual and logical errors described in #423 (#429)
* fixed visual and logical errors described in #423

fixing: #423

* changed reload to reset

* format
2021-03-19 08:49:33 +01:00
Stan Silvert
398ca19ec1
Allow New Admin Console to run as a WAR on Keycloak server. (#439)
* 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>
2021-03-18 08:48:14 -04:00
Erik Jan de Wit
21c0cfcdad
changed time select order + added success message (#447)
* changed time select order + added success message

fixes: #445

* show time instead of the nice from now

* made "Remaining count" wrappable
2021-03-18 09:07:26 +01:00
Erik Jan de Wit
3b1d89fedb
partially solves issue #422 (#442)
* partially solves issue #422

* fixed section

* added not before now set / clear alerts
2021-03-17 14:40:19 +01:00
Erik Jan de Wit
a81164ee2a
fixed issue described by 428 (#441)
fixing: #428
2021-03-17 08:10:30 +01:00
Erik Jan de Wit
7d4adc683f
added search empty state (#435) 2021-03-16 13:42:05 +01:00
Erik Jan de Wit
e4d83d0fe3
Group details (#425)
* 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
2021-03-16 08:37:57 -04:00
mfrances17
518b21c6ae
Nonscrolling action buttons for long forms (#437)
* nonscroll action bar for long forms

* changes from PR comments

* fix border
2021-03-16 13:35:45 +01:00
mfrances17
96d89ab72e
Merge pull request #443 from edewit/issue-415
fixed text for empty state #415
2021-03-15 16:16:46 -04:00
mfrances17
c1f5c4db82
Merge pull request #438 from mfrances17/revert-button
Rename Reload buttons to Revert
2021-03-15 14:11:27 -04:00
Erik Jan de Wit
3978191d24 fixed text for empty state #415 2021-03-15 14:42:19 +01:00
mfrances
75e0bf7435 add missing kerberos fields 2021-03-12 17:31:45 -05:00
mfrances
b717954709 change reload txt to revert 2021-03-12 11:30:14 -05:00
Erik Jan de Wit
ab857938cd
use === instead of == and unused imports (#431) 2021-03-12 07:42:54 +01:00
Eugenia
28f1fdfda4
Users: Adds user details tab and save/update functionality (#426)
* userDetails tab done, save function wip

* userDetails update working

* add cypress test

* fix default value

* PR feedback from Erik
2021-03-11 21:23:08 +01:00
mfrances
39cc1b998c rm success string from ignored 2021-03-10 11:06:53 -05:00
mfrances
e1678d6113 pr review changes 2021-03-10 10:42:31 -05:00
mfrances
e093c15ea2 user cmds added 2021-03-09 14:56:25 -05:00
Erik Jan de Wit
7bf85196e3
Fixed issue using import (#393)
* add icons change description to use TextArea

* add missing saml config

* switch based on protocol

* add capabilty config to import

* fixed key element warning

* fixed merge error

* don't clear on file drag event

* don't allow editing of json

* prettier

* fix tests

* missing timeout
2021-03-09 08:59:41 -05:00
Erik Jan de Wit
4ba5fcc723
put loading spinner inside table as proposed by PF (#418) 2021-03-09 07:34:39 +01:00
Erik Jan de Wit
b01088fb90 fixed spelling 2021-03-08 09:17:35 +01:00
Erik Jan de Wit
949a0e198b added delete and cypress test 2021-03-05 14:47:59 +01:00
Erik Jan de Wit
5a8762b3fa fixed merge error 2021-03-05 11:51:20 +01:00
Erik Jan de Wit
3f4e32dc5a fixed routing 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
ff1fbccfdc fixed types 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
e87cfb6a1c format section 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
957e08cf1c added empty state to list 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
3fe5d8383a added save dialog 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
3399b16c7e initial list 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
b4a73f86c1 added initial access token tab 2021-03-05 11:34:22 +01:00
mfrances17
7c816736d2
Merge pull request #410 from jenny-s51/createUser
Users: Adds create user page to users section
2021-03-04 15:09:53 -05:00
jenny-s51
cc2a3d2ee5 update snapshot 2021-03-04 13:55:36 -05:00
jenny-s51
a534cfc351 update cypress test to work on empty state and search page 2021-03-04 13:49:05 -05:00
mfrances
9dce57417c enable save only on dirty 2021-03-04 11:06:22 -05:00
jenny-s51
aa1448ca56 address PR feedback from Mark 2021-03-04 10:13:36 -05:00
jenny-s51
39cd530696 add cypress test to create user 2021-03-04 09:26:21 -05:00
Erik Jan de Wit
02ec114adf fixed type 2021-03-04 11:51:37 +01:00
mfrances17
4ee7bc9033
Prevent multiple saves when creating new provider (#411)
* go to user fed view after create

* fix for misc 401 exceptions
2021-03-04 07:34:02 +01:00
mfrances17
9c1efdcc3b
Merge pull request #401 from jenny-s51/usersInRole
Realm roles: add "users in role" tab
2021-03-03 16:24:53 -05:00
jenny-s51
117ccf05b0 add API call, disable create button if username field empty 2021-03-03 16:17:01 -05:00
jenny-s51
3b9edc483a resolve issues in axe report 2021-03-03 14:36:21 -05:00
jenny-s51
1a4c635946 clean up and add cypress test 2021-03-03 14:12:16 -05:00
jenny-s51
669c8d7377 add create user page 2021-03-03 13:56:03 -05:00
jenny-s51
d45bb1d5ad user details WIP 2021-03-03 08:53:42 -05:00
Erik Jan de Wit
b7d96fb3da fixed tests 2021-03-03 09:10:30 +01:00
Erik Jan de Wit
9907cef5d2 removed bookmarable sub tab
Made tab name mandetory
2021-03-03 08:34:16 +01:00
mfrances
79a97a0755 add min values 2021-03-02 15:50:45 -05:00
mfrances
0ee4f7ea8e cypress tests working 2021-03-02 15:50:45 -05:00
mfrances
84d8df2b05 regex and number fields to provide simple client side validation 2021-03-02 15:50:45 -05:00
mfrances
489ed64049 fix 404 issue on new 2021-03-02 15:50:45 -05:00
mfrances
733d5f4b6f ldap saves working 2021-03-02 15:50:45 -05:00
mfrances
b5f7405fce change existing ids to data-testid 2021-03-02 15:50:45 -05:00
jenny-s51
78a2c76c79 hide popover link when help enabled 2021-03-02 11:11:08 -05:00
jenny-s51
74638f9eb3 revert changes to RealmRolesSection 2021-03-02 10:29:04 -05:00
jenny-s51
c5cfd9cd7a cleaning up 2021-03-02 10:28:03 -05:00
jenny-s51
f763fa85fb paginate users table 2021-03-02 10:27:33 -05:00
Erik Jan de Wit
5d5160bddc added space between buttons 2021-03-02 08:39:17 +01:00
Erik Jan de Wit
72907d2583
remain active on child pages of main section (#403)
fixing: #402
2021-03-01 16:12:57 -05:00
jenny-s51
e672ed42ee fix lint 2021-03-01 14:20:45 -05:00
jenny-s51
24d136eeed add links to empty state 2021-03-01 14:20:26 -05:00
jenny-s51
5c78afef50 remove useEffect 2021-03-01 14:09:55 -05:00
jenny-s51
47acb3764f clean css 2021-03-01 12:22:01 -05:00
jenny-s51
65348bd125 add popover 2021-03-01 12:20:58 -05:00
jenny-s51
fdf3e7e78a fix lint 2021-03-01 10:55:54 -05:00
jenny-s51
f1224a5ef0 rebase and use new empty state logic 2021-03-01 10:30:16 -05:00
jenny-s51
993e75b14f refactor tests to use data-testid 2021-03-01 10:27:24 -05:00
jenny-s51
5c317ba477 remove ID col 2021-03-01 10:27:24 -05:00
jenny-s51
eca3bb8e71 address PR feedback from Erik, remove user ID per Haley feedback 2021-03-01 10:27:24 -05:00
jenny-s51
1f379e70eb format 2021-03-01 10:27:24 -05:00
jenny-s51
7657c4df73 cypress test 2021-03-01 10:27:24 -05:00
jenny-s51
8ead0d0fff read-only users in role tab 2021-03-01 10:27:24 -05:00
jenny-s51
88711202ef users tab WIP 2021-03-01 10:27:24 -05:00
Erik Jan de Wit
a48088765a
Search and create sub groups (#387)
* 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
2021-03-01 10:06:04 -05:00
Erik Jan de Wit
bfa0c6e1ea
Advanced tab (#373)
* 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
2021-02-28 15:02:31 -05:00
Eugenia
da2fa32a69
Realm roles: adds "Inherited From" column to Associated Roles tab (#391)
* 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
2021-02-25 10:10:28 +01:00
Erik Jan de Wit
7924080847
added missing confirm dialog (#395) 2021-02-24 08:59:12 +01:00
Erik Jan de Wit
ca92447444
removed need of refresher (#394) 2021-02-24 08:58:50 +01:00
Eugenia
e370859690
Modal with clients (#380)
* 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
2021-02-23 08:36:37 -05:00
Erik Jan de Wit
a83ae98175
Fix some issues on client detail page (#388)
* adding missing fields

fixes: #377

* fixed redirects from cancel and save button

fixes: #386

* fixed filter
2021-02-23 09:55:24 +01:00
Erik Jan de Wit
d25ba0af2b
now it can't be called without an error handler (#389) 2021-02-23 09:52:40 +01:00
Erik Jan de Wit
e4c2259563
updated to match ui design (#369)
* updated to match ui design

fixes: #323

* fixed test

* Update src/components/help-enabler/HelpHeader.tsx

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

* Update src/components/help-enabler/help-header.css

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

* fixed merge error

* changed to use "t" function

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
2021-02-18 08:06:51 +01:00
Eugenia
93d5d21894
Realm roles: fix pagination by 10 (#367)
* fix pagination by 10

* fix types

* format

* format

* PR feedback from Erik
2021-02-18 07:38:23 +01:00
Erik Jan de Wit
689e01b461
created better error handling (#362)
by using this react-error-boundary package this works also in hooks
2021-02-17 16:12:25 -05:00
Erik Jan de Wit
3a3bce0955
fixed search text (#366)
fixes: #363
2021-02-17 15:34:35 -05:00
mfrances17
473d7840c6
Merge pull request #371 from mfrances17/add-kerberos
User fed: Add Kerberos provider and tests
2021-02-17 14:22:37 -05:00
mfrances17
bc5de3dcb4
Merge pull request #368 from mfrances17/patternfly-4.87.1
Update to latest Patternfly releases
2021-02-17 13:31:57 -05:00
Eugenia
a5f08a9202
Realm roles: associated roles tab (#358)
* 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
2021-02-17 08:17:04 +01:00
mfrances
757288ded9 update test snap 2021-02-16 15:52:45 -05:00
mfrances
2f0b343661 put id higher in props 2021-02-16 15:29:06 -05:00
mfrances
8345f5cb3d fix broken test 2021-02-16 14:47:08 -05:00