Commit graph

778 commits

Author SHA1 Message Date
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
4e45bc2a35 add unassign kebab on row 2021-06-22 07:52:13 +02:00
Erik Jan de Wit
e3b51d3645 change title of tab 2021-06-22 07:51:54 +02:00
jenny-s51
cc336ca16b save and test connection 2021-06-21 14:47:34 -04:00
jenny-s51
fd1466c0d6 test email working, modal wip
email connection done

remove comment

fix cypress test

revert test file

fdisable email prompting when user email entered

prettier

update cypress tests

fix lint

try fix cypress test

try longer wait
2021-06-21 14:47:34 -04:00
Erik Jan de Wit
a964abed8d
fixing issue (#709)
* fixing issue

fixing: #680

* added kebab on row

* added more clear group seperation
2021-06-21 13:55:51 -04:00
Jenny
5e6c6b0775
Default roles: UI Changes from KEYCLOAK-14846 (#693)
* defaultRoles wip

default role changes done

clean up log stmts

update snapshot

fix masthead test

* fix cypress test

* fix tabs
2021-06-18 16:04:20 -04:00
mfrances17
bb1b48e4c8
Merge pull request #710 from mfrances17/mapper-typeahead
Use typeahead for mapper list
2021-06-17 08:36:57 -04:00
mfrances17
ec6550a9ec
Merge pull request #707 from edewit/divider
add divider on section
2021-06-16 11:47:51 -04:00
mfrances
1894664a6d use typeahead for mapper list 2021-06-16 09:47:39 -04:00
Jenny
d2bf69fac7
Localization tab (#685)
* localization wip

wip localization

return key value data as array

localization table

css

lint

lint

clean up log stmts

clean up log stmts

* PR feedback from Erik

* fix logic for supported locales

* update empty state text

* set default value

* fix cypress test

* Update src/realm-settings/RealmSettingsSection.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix rsa-generated delete bug; PR feedback frog Erik

* revert locale abbreviation

* remove log stmts

* PR feedback from Erik, fix undefined

* fix loader w Erik

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-06-16 07:38:36 -04: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
Stan Silvert
1bf423b505
Partial import phase 2 (#702)
* Process the JSON and present user options

* Finish checkboxes.  Refactor.

* Add tests

* Refactor after rebase

* Add more test data for manual testing.

* Fix linting errors

* Put JsonFileUpload back the way it was.

* Clean up comments

* Update src/realm-settings/PartialImport.tsx

Remove comment

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

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-06-16 13:03:55 +02:00
Erik Jan de Wit
27c3c58af1 add divider on section 2021-06-16 08:12:53 +02:00
Erik Jan de Wit
3b231a2a91 fixed size 2021-06-15 14:39:03 +02:00
Erik Jan de Wit
2765af69c5 more style fixes 2021-06-15 13:12:32 +02:00
Erik Jan de Wit
a03c8fc79b
Fixed issue comment on PR (#694)
* Fixed issue comment on PR

see: https://github.com/keycloak/keycloak-admin-ui/pull/657#issuecomment-857488393

* remove delete action on create
2021-06-15 13:08:58 +02:00
Erik Jan de Wit
e68d4ff5c8 inherited roles disabled instead of non selectable 2021-06-15 08:14:38 +02:00
mfrances17
861d382621
Merge pull request #660 from edewit/issue-416
fixing issue 416
2021-06-14 09:18:16 -04: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
3e4a73ebfb PR review fix 2021-06-14 09:34:37 +02:00
mfrances17
04bdf4bfa5
Merge pull request #691 from jenny-s51/consentsUIFixes
Consents UI fixes
2021-06-10 12:02:59 -04:00
jenny-s51
f8d325b3f0 fix localization 2021-06-10 11:08:11 -04:00
mfrances
346e92aa8b add validation for req fields 2021-06-10 10:14:12 -04:00
mfrances
7ba357c223 add basic validation 2021-06-10 10:14:12 -04:00
mfrances
c56b5dc7b9 not hardcoded role now working 2021-06-10 10:03:46 -04:00
mfrances
64146b6bd4 add default values 2021-06-10 10:03:46 -04:00
mfrances
7edc76a079 role mapping working 2021-06-10 10:03:46 -04:00
mfrances
b9c38e811e fix lint issues 2021-06-10 10:03:46 -04:00
mfrances
63a365ad93 use radios for role selection user fed mappers only 2021-06-10 10:03:46 -04:00
mfrances
da45bf0e09 hardcoded version working 2021-06-10 10:03:46 -04:00
mfrances
37ad6bd14a hardcoded version of role modal 2021-06-10 10:03:46 -04:00
Erik Jan de Wit
be94f1f9f0
fixing issue 629 (#655)
* address some of the issues in 629

* made breadcrumb/page title same as other sections

* fixed tests
2021-06-10 09:25:02 -04:00
mfrances17
5d71a4f049
Fix additional UX issues with User Federation (#681)
* change title and breadcrumb

* only show tabs on edit not create
2021-06-09 16:13:56 -04:00
jenny-s51
76f47f17f2 remove comment 2021-06-09 14:01:41 -04:00
jenny-s51
aefac52144 add revoke action 2021-06-09 14:01:14 -04:00
jenny-s51
0647b88083 consents fixes done 2021-06-09 09:35:35 -04:00
Erik Jan de Wit
fbe3986a57
fixed default value and link to settings on create (#657) 2021-06-09 09:09:59 +02:00
jenny-s51
67b6c52c65 consents wip 2021-06-08 13:56:03 -04:00
Jenny
d77d9a2a63
Add filter capability to keys section in realm settings (#666)
* rebase

* fix empty state text
2021-06-08 11:45:37 -04:00
jenny-s51
5ea204b003 wip consents UI fixes 2021-06-08 09:23:32 -04:00
Erik Jan de Wit
f322edec10
fixing issue comment: (#656)
https://github.com/keycloak/keycloak-admin-ui/issues/396#issuecomment-846901717
2021-06-08 09:13:04 -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
544dcd31db
Introduces new Realm Events tab (#618)
* initial version events tab

* added save

* fix for admin events

* added clear and reset

* add type add dialog

* add remove and add actions

* fix ids

* add cofirm disable button

* added key

* added tests

* fixed messages

* add disabled on save on not dirty

* fixed review comment

* fixed test

* merged tests
2021-06-08 07:29:56 +02:00
Erik Jan de Wit
1955a468c9
fixed issue + small layout of page (#658)
fixing: #492
2021-06-07 14:58:47 +02:00
Jenny
8a3c30b918
Realm settings(keys): add functionality to delete provider (#606)
* wip keys

keys

adds keys table to realm settings

wip key providers

add providers and search functionality

clean up stylesheet

wip delete provider

wip delete toggles

add delete functionality to each provider in data list

rebase

format

pr feedback from erik

* Delete LocalizationTab.tsx
2021-06-03 16:40:48 -04:00
Jenny
2746109e78
Realm settings(keys): toggle provider modal for all provider types (#642)
* changes after rebase

* add cypress tests

* addProviderModal done

* fix lint

* clean up ids/fieldids

* divide modals into separate components

* format

* cypress

* fix realm settings test

* clean up cypress tests

* try remove after all hook
2021-06-03 14:31:47 -04:00
Erik Jan de Wit
8a73291bc2 fixing issue 416 2021-06-03 07:26:00 +02:00
mfrances17
ce3eddfa17
fixes test btn and import users default (#647) 2021-06-01 08:15:36 -04:00
Jenny
347a2db8bd
themes ux review (#646) 2021-06-01 08:14:56 -04:00
mfrances17
1e2de8d570
Merge pull request #644 from edewit/cypress-client-scope
makes client scope test more reliable
2021-05-27 09:49:30 -04:00
mfrances17
b84d8bce5f
Merge pull request #634 from edewit/issue-632
fixed type of save button
2021-05-27 09:45:56 -04:00
Erik Jan de Wit
bb090200fe catch errors when removing scope type 2021-05-27 13:41:29 +02:00
Erik Jan de Wit
bbc177abb8
fixes realm save (#633)
* fixes realm save

currently save on realm screen didn't work as the email settings where required. Fixed this by changing email to be it's own section. Also email section was using the wrong attributes therefor the changes where not reflected in the old console

* fix empty realmComponent array

* fixed password help text
2021-05-27 09:01:55 +02:00
Jenny
f278f34fe5
Fixes form panel styling in clients -> advanced tab (#631)
* fix form panel styling

* remove modal styles
2021-05-25 14:03:20 +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
Erik Jan de Wit
0f6ce35687
Fixing UXD design review (#560)
* Fixing UXD design review

* Removed divider
* Adding type field
* Hide "Consent screen text" field when display consent screen is off
* Fixed cancel button

* fixed type save

* type fix
2021-05-21 12:34:05 -04:00
Erik Jan de Wit
9c82353f37
fixed name (#620)
fixing: #607
2021-05-21 10:48:46 -04:00
mfrances17
394c5fd81b
Merge pull request #617 from mfrances17/patternfly-4.103.6
Update to Patternfly 4.103.6 (latest release)
2021-05-21 08:40:27 -04:00
mfrances17
bf3ed710b4
Merge pull request #590 from jenny-s51/rowsandchecks
Users: update checkbox styling and add disabled checkboxes/row functionality to modal
2021-05-20 11:47:22 -04:00
mfrances17
0c6e1620fd
Merge pull request #585 from jenny-s51/rsKeyProviders
Realm settings(keys): add providers sub-tab
2021-05-20 11:44:48 -04:00
mfrances
50b15c83a9 update lock file and tests after rebase 2021-05-20 11:31:54 -04:00
Erik Jan de Wit
586375b5f4
fixing issues described in 595 (#602)
fixing: #595
2021-05-20 11:38:37 +02:00
Jenny
a85fe2626a
Delete KeysTab.tsx 2021-05-19 09:35:37 -04:00
Erik Jan de Wit
561605cc63
filter recent used realms as well as others (#580)
* filter recent used realms as well as others

fixing: #577

* use memo instead of direved state
2021-05-19 14:35:11 +02:00
Erik Jan de Wit
10f06af8aa
add / after baseUrl (#605) 2021-05-19 09:56:59 +02:00
jenny-s51
81a7aeca89 add type 2021-05-18 15:21:45 -04:00
Jenny
9485e31c23
Merge branch 'master' into rowsandchecks 2021-05-18 15:18:29 -04:00
jenny-s51
afb78cc646 fix import type 2021-05-18 14:14:15 -04:00
jenny-s51
cdc46ef72f align buttons 2021-05-18 14:03:20 -04:00
jenny-s51
096378e75e remove log 2021-05-18 14:03:20 -04:00
jenny-s51
dd41d93f38 show public key and certificate correctly 2021-05-18 14:03:20 -04:00
jenny-s51
e82be4ccf8 remove log stmt 2021-05-18 14:03:20 -04:00
Jenny
7c20226022 Update src/realm-settings/KeysListTab.tsx
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-05-18 14:03:20 -04:00
jenny-s51
ae18cee673 fix format 2021-05-18 14:03:20 -04:00
jenny-s51
5dca0bcba9 clean up stylesheet 2021-05-18 14:03:20 -04:00
jenny-s51
345c924e0f add providers and search functionality 2021-05-18 14:03:20 -04:00
jenny-s51
59f7812a24 wip key providers 2021-05-18 14:03:20 -04:00
jenny-s51
78a22cd5b8 rebase 2021-05-18 14:03:20 -04:00
jenny-s51
335e408d28 wip providers table 2021-05-18 14:02:55 -04:00
jenny-s51
12fe660816 adds keys table to realm settings 2021-05-18 14:02:21 -04:00
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
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