Commit graph

545 commits

Author SHA1 Message Date
jenny-s51
d5c5e3c01b keys 2021-05-18 14:02:21 -04:00
jenny-s51
abec27a334 wip keys 2021-05-18 14:02:21 -04:00
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +02:00
jenny-s51
07c55b4693 fix format 2021-05-18 10:47:21 -04:00
jenny-s51
4fcc9654dc rowsandchecks 2021-05-18 10:39:17 -04:00
jenny-s51
981a532a35 remove comment 2021-05-18 10:33:37 -04:00
jenny-s51
d5d6f1b30a update checkbox styles and add disabled functionality to user grops modal 2021-05-18 10:33:37 -04:00
Erik Jan de Wit
cef90aa238 fixed merge error 2021-05-18 15:12:30 +02:00
Erik Jan de Wit
f064218251 fixed test 2021-05-18 14:35:11 +02:00
Erik Jan de Wit
7f21d03bc2 changed asyncStateFetch to be it's own hook
it now cancels pending requests making sure we
don't leak memory + it makes for an nicer looking API
2021-05-18 14:35:09 +02:00
Erik Jan de Wit
a9a34102bc
using smarter wait to fix group tests (#604)
* using smarter wait

instead of static waiting wait for the memeber query to finish

* revert

* query less by creating navigation on click

* only search in the displayed table

* fixed test
2021-05-18 08:25:46 -04:00
Erik Jan de Wit
9fc96d0afc
only query each client session once (#601)
this makes the ids unique so that they only get queried once
2021-05-17 15:35:12 +02:00
mfrances
df2263d11b fix types and one user fed test 2021-05-14 15:47:28 -04:00
mfrances
04a928085d lint fix 2021-05-14 15:47:28 -04:00
mfrances
8ec44f2dc8 add sync toggles with text fields 2021-05-14 15:47:28 -04:00
mfrances
1e9d183570 re-add working changes 2021-05-14 15:47:28 -04:00
Erik Jan de Wit
8c1a1fade8 added test ldap button 2021-05-14 15:47:28 -04:00
mfrances
ac664a2f54 show hide dn and pw 2021-05-14 15:47:28 -04:00
Jenny
8e1a1c57bd
Realm settings(keys): Adds keys list to Realm settings keys tab (#555)
* wip keys

* keys

* keys

* adds keys table to realm settings

* rebase and fix conflicts

* rebase and fix conflicts

* remove unused declarations

* fix lint

* fix groups test locally

* address PR feedback from Stan
2021-05-14 14:58:08 -04:00
mfrances17
bd6f8a9c78
update default req values based on vendor (#578) 2021-05-14 14:12:27 -04:00
Erik Jan de Wit
c5ff588791
add OIDC provider to the idp section (#553)
* 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
2021-05-06 14:59:00 -04:00
mfrances17
84d621f70a
Show hand cursor when hovering over User Fed empty state cards (#569)
* add hand cursor for empty state cards

* add default ldap name value

* move card css up and add to provider cards
2021-05-06 09:23:51 +02:00
Erik Jan de Wit
d3615b1780
fixed undefined (#582)
fixing: #453
2021-05-06 07:32:42 +02:00
Erik Jan de Wit
c2b78c471b
added keys tab to client details (#557) 2021-05-04 10:11:58 +02:00
Jenny
15677b6bfb
Realm settings(Email): Adds email tab to realm settings section (#549)
* 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
2021-05-03 16:00:12 -04:00
Erik Jan de Wit
78f843cdcc
Fixes with realm list (#576)
* 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
2021-05-03 12:44:47 -04:00
Erik Jan de Wit
e1d53c640e
only query realm once (#563)
fixing: #548
2021-04-30 15:08:12 -04:00
Eugenia
721ed1bcaf
Realm settings(themes): Add themes tab + tests (#544)
* wip add realm themes

* get switch value from server

* add tests

* fix admin theme help text

* remove requireSsl forlabel

* update dropdown options

* wip fix for locales

* format

* save/update locales done

* expose all themes in dropdown

* remove comments

* remove theme types
2021-04-29 13:39:19 -04:00
mfrances17
aa7d2049d4
Cypress tests for initial 8 LDAP mappers (#550)
* create delete all mapper types working

* all tests working
2021-04-28 07:50:41 +02:00
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