Commit graph

249 commits

Author SHA1 Message Date
Jenny
d08b55ae9a
Realm settings(client policies): add/edit client-updater-source-groups condition (#1577) 2021-11-24 17:19:28 +01:00
Jenny
999b502d44
Realm settings(Client policies): Update client-scopes condition to match new design (#1575) 2021-11-23 15:59:04 +01:00
Erik Jan de Wit
15baa43cfb
Added initial "Authorisation" tabs Settings and Resources (#1524) 2021-11-17 09:27:56 +01:00
Erik Jan de Wit
ede8db53a0
Added default role tab to realm settings (#1497)
* added user registration tab to realm settings

* added keycloak spinner

* fixed routing from all role tabs

* Update src/realm-settings/RealmSettingsTabs.tsx

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

* changed tab name to "associated-roles"

* removed useless key attribute

* removed unnessary variable

* fixed pagination

* rebased

* fixed default role type

* fixed create realm role

* fixed helpItem forID

* fixed test

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-11-16 12:10:10 +01:00
Erik Jan de Wit
9b3cd978c3
fixes: #1514 (#1551) 2021-11-15 08:30:53 +01:00
Erik Jan de Wit
405d3310f3
add ability to leave multiple groups (#1431)
* add ability to leave multiple groups

fixes: #496

* With v21.0.0 a new JSON format v4 was introduced

* Update src/user/UserGroups.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/user/UserGroups.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* filter selected groups based on direct membership

* fixed test

* remove all the groups

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-03 09:45:37 -04:00
Jon Koops
79f8452ab5
Normalize client attributes before saving (#1442) 2021-10-29 14:28:58 -04:00
Erik Jan de Wit
c96450ef61
make all routes lazy (#1445) 2021-10-29 18:11:06 +02:00
Erik Jan de Wit
acd8921b20
Added mapping tab to clients (#1375)
* initial version mapper tab for clients

* added missing client select component

* added test

* Update src/client-scopes/add/components/ClientSelectComponent.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/client-scopes/add/components/ClientSelectComponent.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* now uses adminClient type for client search

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-20 16:26:05 +02:00
Erik Jan de Wit
8f34e4a3e6
fixed key (#1345) 2021-10-14 12:30:49 +02:00
Jon Koops
01e6bfeef5
Mask private key when exporting SAML client (#1326) 2021-10-14 09:52:36 +02:00
Jon Koops
ef4d973a67
Add missing artifact fields to SAML endpoint configuration (#1328) 2021-10-13 00:15:19 +02:00
Erik Jan de Wit
60e4676ac8
added saml keys tab (#1308)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-12 11:28:55 +02:00
Jon Koops
bd7ca9a7fa
Add utility function to pretty print JSON (#1310) 2021-10-08 20:21:09 +02:00
Jon Koops
10d7c35b81
Hide capability config for bearer-only clients (#1279) 2021-10-06 13:05:27 +02:00
Erik Jan de Wit
c71d21c748
Settings (SAML) (#1302) 2021-10-05 12:32:20 +02:00
Jon Koops
ed0949a44f
Add a human readable name for client protocol (#1283) 2021-10-01 16:36:36 +02:00
Jon Koops
eb40cabf03
Use type-safe alternative for links (#1280) 2021-10-01 12:52:45 +02:00
Jon Koops
e832e2e454
Remove ability to delete a realm client from the overview (#1278) 2021-10-01 12:52:24 +02:00
Jon Koops
8e8c6d74ea
Add tests for bearer-only client details (#1270) 2021-09-30 12:04:50 +02:00
Erik Jan de Wit
bd8fc558d5
now checks if data could be loaded and throw error (#1265) 2021-09-30 10:58:48 +02:00
Jon Koops
b9d1dbff4c
Hide certain elements on the page if client is a realm (#1245) 2021-09-28 17:14:49 +02:00
Jon Koops
cfe83c769b
Show a tooltip to explain bearer-only clients (#1244) 2021-09-28 14:09:27 +02:00
Erik Jan de Wit
673fe7c9b3
fixing messages (#1241)
fixes: #1160
2021-09-27 16:54:01 +02:00
mfrances17
6063c8db96
add tooltips for client login fields (#1184) 2021-09-17 13:50:56 -04:00
Erik Jan de Wit
b8990cbf63
Make filtering of client scopes same for clients and client scope section (#1064)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-14 17:48:48 +02:00
Jon Koops
5979101b0b
Process UXD feedback for client revocation (#1139) 2021-09-10 15:25:18 +02:00
Erik Jan de Wit
f1f0c362b4
Add button on authentication flows (#1119) 2021-09-06 14:43:36 +02:00
Erik Jan de Wit
f87463d036
add action menu to current user (#1094)
* add action menu to delete current user

* added impersonate user to action manu

* fixed spelling
2021-09-03 09:54:23 -04:00
Jon Koops
e062603ff2
Remove useless React fragments (#1062) 2021-08-26 14:15:28 +02:00
Jon Koops
9850505001
Use pre-release version of Admin Client (#1063) 2021-08-26 10:39:35 +02:00
Erik Jan de Wit
4d789f84e3
fixed logic when to show empty search result (#1053)
fixes: #1040
2021-08-24 12:38:29 +02:00
Jon Koops
18e0a930be
Prefer Array#includes() over Array#indexOf() (#1013) 2021-08-18 11:29:42 +02:00
Erik Jan de Wit
321b259a4b
fixed focus and min value (#999)
fixes: #405
2021-08-16 11:40:14 +02:00
Erik Jan de Wit
37f0010b81
changed save buttons from tertiary to secondary (#1000)
* changed save buttons from `tertiary` to `primary`

fixes: #959

* changed buttons from `tertiary` to `secondary`

fixes: #959
2021-08-16 11:22:56 +02:00
Jon Koops
317acd8239
Prefer optional chaining over validating references (#992) 2021-08-12 13:15:47 +02:00
Erik Jan de Wit
ba8f927453
keep imported json instead of only form fields (#988) 2021-08-11 11:20:49 +02:00
Erik Jan de Wit
b0154b39a3
added component to set lifespan of token (#955) 2021-08-10 13:49:08 +02:00
Erik Jan de Wit
c7e72abfc1
make general settings the first item (#957) 2021-08-09 16:35:31 +02:00
Erik Jan de Wit
cc31f0853c
Initial version of the authentication section (#887)
* initial version of create authentication screen

* initial version of authentication details

* added flow details labels to view header

* not in use fix

* create execution tree

* fixed collapsable row layout

* fix drag and drop expand

* fix merge error

* move to modal

* diff and post drag and drop changes

* fixed locating the parent row

* move "live text" for d&d to common messages

* firefox fix

* initial version of the diagram

* use dagre to layout automatically

* moved to sperate file

* conditional node

* now renders subflows sequential

* changed to render sequential or parallel flows

* fixed render of sub flows

* added button edge, drawer and selectable nodes

* add requirement dropdown

* also do move so we can merge

* also do move so we can merge

* fixed merge

* added refresh

* change requirement

* fixed merge error

* now uses the new routes

* Split out routes into multiple files

* Update src/authentication/AuthenticationSection.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* fixed labels

* merge fix

* make execution of these parrallel

* added some tests

* Update src/authentication/components/FlowRequirementDropdown.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* more review changes

* fixed merge error

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-09 10:47:34 +02:00
Erik Jan de Wit
bc1e83e63a
Introduce a standard way to create handle errors (#918) 2021-07-28 14:01:42 +02:00
Jon Koops
12d2471c3b
Enable 'no-empty-function' ESlint rule (#917) 2021-07-27 22:56:16 +02:00
Jon Koops
1860ea5b58
Use new routing conventions for client routes (#888) 2021-07-21 17:08:40 +02:00
Jon Koops
41a0923bad
Introduce 'useRequiredContext' utility function (#882) 2021-07-21 11:30:18 +02:00
Jon Koops
234a2dcba6
Convert JSON files for translations to TypeScript (#841) 2021-07-14 12:15:48 +02:00
Jon Koops
fc85d1a005 Integrate Prettier into ESLint and fix linting issues
Other changes:
- Ensure that .tsx files are included in the linting process
2021-07-13 15:20:36 +02:00
Agnieszka Gancarczyk
cd23824973 added acessibility fixes 2021-07-12 15:11:33 +01:00
Agnieszka Gancarczyk
74deaad0b9 added acessibility fixes 2021-07-12 15:09:14 +01:00
Agnieszka Gancarczyk
032fa57383 added accessibility fixes 2021-07-09 17:15:21 +01:00
agagancarczyk
4133a432de
Revert "Ay11" 2021-07-09 14:42:45 +01:00
Agnieszka Gancarczyk
812d626541 Added accessability fixes 2021-07-08 18:14:04 +01:00
Jon Koops
64d5a498a6 Update Prettier to latest version and fix formatting 2021-07-05 15:26:07 +02:00
Erik Jan de Wit
255e338da9 fixed type of save button 2021-07-01 08:53:58 +02:00
Erik Jan de Wit
d6e9dcff8c fixed description coll with and make text truncate 2021-06-24 09:35:13 +02:00
mfrances17
d90b1842ce
Merge pull request #708 from edewit/service-roles
fixing issue
2021-06-22 09:17:11 -04:00
Erik Jan de Wit
fb8419f3e1 added help item on enable switch 2021-06-22 10:32:04 +02:00
Erik Jan de Wit
e3b51d3645 change title of tab 2021-06-22 07:51:54 +02:00
Erik Jan de Wit
2c9b77c425
Fixing UXD review for user (#648)
* Introduced new GroupPicker.
Can be used for move group or join group

* Moved help texts to help.json

* don't set state when there was no request

* add pagination

* remove "Groups" link on root level

* use path in chip instread of name

* fixes filtering to show search not found
and removes `+1` logic from pager

* fix breadcrumb and layout

* fixed all the tests
2021-06-16 07:35:03 -04:00
Erik Jan de Wit
2765af69c5 more style fixes 2021-06-15 13:12:32 +02:00
Erik Jan de Wit
e68d4ff5c8 inherited roles disabled instead of non selectable 2021-06-15 08:14:38 +02:00
Erik Jan de Wit
1a9618edff
fixes issue (#663)
* fixes issue

fixes: #636

* fixed display order

* more fixes

* fix reseet and sync default value

* fixed types

* fixed?

* fixed titles

* fixed default id

* fixed redirect url for oidc

* fixed more issues

* revert "none" option on sync mode

* updated text to use "None"

* fixed tests
2021-06-14 07:31:45 -04:00
Erik Jan de Wit
707380c228
fixes issue around importing files (#643)
* fixes issue around importing files

fixes: #628

* fixed tests

* fixed moving cursor to end of text area

did have to remove the dirty check because of this
2021-06-08 13:49:59 +02:00
Erik Jan de Wit
188ac0757f fixed type of save button
fixing: #632
2021-05-25 12:04:58 +02:00
Erik Jan de Wit
29323cb12c
fixing the remainder of issue 428 (#621)
* fixing the remainder of issue 428

fixing: #428

* fix undefined

* add leave dialog
2021-05-24 06:21:49 +02:00
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +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
c2b78c471b
added keys tab to client details (#557) 2021-05-04 10:11:58 +02: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
9e4d1d34ee
add option to add borders on scroll panel (#551) 2021-04-28 07:50:17 +02: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
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
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
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
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
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
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
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
42dae904d0
move back to list on delete (#520)
fixes: #507
2021-04-12 17:42:36 +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
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
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
mfrances
0b0e474caf move multi-used strings to common 2021-04-05 14:04:23 -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
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
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
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
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
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