Commit graph

714 commits

Author SHA1 Message Date
Jenny
8bfd78cea9
Users: Add Identity Provider Links tab (#1086) 2021-08-31 10:13:25 +02:00
mfrances17
299993d30b
Fix labels for user vs admin clear events (#1079)
* fix labels for user vs admin clear events

* fix lint issue unrelated to fixed issue
2021-08-27 15:18:23 -04:00
Jon Koops
e062603ff2
Remove useless React fragments (#1062) 2021-08-26 14:15:28 +02:00
Jon Koops
b15c240d9e
Fix broken import to admin client (#1077) 2021-08-26 13:04:21 +02:00
agagancarczyk
764421033f
events: reverted to Flex (#1076)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-26 11:37:56 +01:00
agagancarczyk
2657eaf1d8
Events css fixes (#1074)
* admin events: decreased form width and spaces between fields

* events: css fixes

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-26 10:15:59 +01:00
Jon Koops
9850505001
Use pre-release version of Admin Client (#1063) 2021-08-26 10:39:35 +02:00
Erik Jan de Wit
cce21c43a6
fixed removed save buttons (#1047)
fixes: #1043
2021-08-25 18:06:24 +02:00
Jenny
09f4279372
update users empty state (#1037) 2021-08-25 16:48:11 +02:00
agagancarczyk
0fbd196380
Events search fixes (#1056)
* events: uncommented test for searching user events

* events: added refresh btn and tidied up css

* events: increased search form width

* events: removed unwanted Divider

* events: fixed grey line issue when no events logged, fixed test

* events: renamed css classes to make them reusable for admin search

* events: added admin events search ui

* events: fixed refresh btn on user events tab

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-25 15:19:26 +01:00
Erik Jan de Wit
45095fdc42
Initial version of config settings for executions (#1015)
* initial version of config settings for executions

still needs to render different controls based on the types

* fixing the types

* Update src/authentication/components/ExecutionConfigModal.tsx

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

* fix use effect dependency fix

* added form type

* Add ExecutionConfigModalProps type

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-25 15:36:04 +02:00
Erik Jan de Wit
5b23354e35
changed to append to url, for client role details (#1048)
fixes: #1041
2021-08-25 15:22:53 +02:00
Erik Jan de Wit
02ffc1fb88
fixed flow name (#1049)
fixes: #1045
2021-08-25 08:33:57 -04:00
Erik Jan de Wit
4fc3865bbd
use realm id instead of realm name (#1051)
fixes: #1042
2021-08-24 12:39:16 +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
Erik Jan de Wit
89870cafc2
made realm name editable (#1001)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-23 21:00:42 +02:00
Jenny
e653d87894
add priority attribute when dragging data list elements (#947)
* fix conflict

* pr feedback from jon

* add key provider type to separate component

* remove log stmt

* remove spread syntax

* add default priority to all provider types

* remove sort by priority from providers tab

* add instruction tooltip

* correct list sorting order

* feedback from Jon wip

* more feedback from Jon

* update aria-describedby

* data list header and draggable button spacing

* Update src/realm-settings/RealmSettingsSection.tsx

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-20 12:15:12 -04:00
Erik Jan de Wit
75fd4007d3
Use correct translation for LDAP mapper (#1030) 2021-08-20 17:50:05 +02:00
Jon Koops
ddd248ed0e
Process UXD review for Client Scopes (#1026) 2021-08-20 12:37:40 +02:00
agagancarczyk
3469ccb509
events: search user events form, chips for searched fields and tests (#930) 2021-08-20 11:13:47 +02:00
mfrances17
7efa03dc3f
Add UI and partial functionality for creating SAML identity providers (#944)
* fix OIDC string issue

* preliminary UI changes

* saml create new fields added

* use new routing for saml

* add msg strings

* most fields added

* add reqAuthnConstraints section

* final help strings and options

* add cypress tests

* fix legacy cypress cleanup tasks

* fix selects and hardcoded strings

* most PR review comments incorporated

* PR review edits

* more PR review comments
2021-08-19 10:41:27 -04:00
Jon Koops
c5abf8349e
Add a constant for the default locale (#1023) 2021-08-19 15:56:00 +02:00
Jon Koops
18e0a930be
Prefer Array#includes() over Array#indexOf() (#1013) 2021-08-18 11:29:42 +02:00
Erik Jan de Wit
2f6e0064c1
update placeholder text resemble actual url (#1014) 2021-08-17 16:08:24 +02:00
Erik Jan de Wit
2581da0765
change to TextInput when editing (#991)
* change to TextInput when editing
as keycloak doesn't store the password as clear text

fixes: #971

* now part of the password field
2021-08-17 08:58:07 -04:00
Jenny
f93d478f44
Realm settings(localization): add locale dropdown to table (#936)
* add localization dropdown

uncomment isDisabled

clean up names

comment out localization tab again

disable actions menu if form not submitted

uncomment tab

use currentRealm for tableLoader

fix axe issues labeled as serious

PR feedback from Erik

use isSearching instead of keepToolbar

* fix node build

* use object entries

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-17 08:50:31 -04:00
Jenny
412e4c1f6b
Sessions(actions dropdown): Adds actions dropdown - "revocation" and "log out all sessions" (#896)
* rebase and resolve conflicts/comments

* remove badgeid
2021-08-16 15:25:36 -04:00
Erik Jan de Wit
b5e2fb802c
fixed breadcrumb for search and seach box distance (#998)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-16 14:35:39 +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
6f29839b06
added try catch as this call fails locally (#995) 2021-08-12 10:56:25 +02:00
Jon Koops
71b1c4a444
Pass login realm to WhoAmI (#989)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-08-11 16:38:55 +02:00
Erik Jan de Wit
54dca4df65
made "simple" the default authentication type (#993) 2021-08-11 16:32:40 +02:00
Erik Jan de Wit
9ce3f2c53c
added user in role for client tab (#987)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-11 13:44:18 +02:00
Jon Koops
a6d38096b7
Fix realm intialization (#990) 2021-08-11 13:23:59 +02:00
Erik Jan de Wit
15a87b7d2e
added empty state for new realms with no sessions (#986) 2021-08-11 11:33:51 +02:00
Erik Jan de Wit
ba8f927453
keep imported json instead of only form fields (#988) 2021-08-11 11:20:49 +02:00
Jon Koops
dbedd79883
Use correct default for 'Truststore SPI' (#980) 2021-08-11 07:52:12 +02:00
Jon Koops
d2ca2bf247
Convert more links to use new routes (#933)
* Convert more links to use new routes

* convert server info dropdown

* Fix link with render prop
2021-08-10 09:07:59 -04:00
Erik Jan de Wit
b0154b39a3
added component to set lifespan of token (#955) 2021-08-10 13:49:08 +02:00
Jon Koops
45bd2fd385
Use FunctionComponent type for components needing 'children' prop (#977) 2021-08-10 13:18:48 +02:00
Erik Jan de Wit
190376590f
changed render of link so search can find the text (#967)
* changed render of link so search can find the text

fixing: #965

* Update src/realm-roles/RolesList.tsx

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

* Update src/realm-roles/RolesList.tsx

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

* add missing imports and disable problematic eslint rules

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-10 13:14:16 +02:00
Erik Jan de Wit
9aa1cd0286
disable save when there are no changes (#975)
fixes: #679
2021-08-10 12:15:23 +02:00
Erik Jan de Wit
d15da05d54
small fix that fixes the realm settings test (#974) 2021-08-10 11:02:44 +02:00
Jon Koops
ed33242b34
Allow multiple access for secured routes (#946) 2021-08-09 22:20:49 +02:00
Jenny
45e07266eb
Realm settings(tokens): Add tokens tab (#934)
* wip tokens tab

* tokens

* add data-testids to cypress doc

* uncomment

* uncomment

* finish tests

* remove logs

* fix help text

* fix form panel title for sessions

* removed unused useEffect

* wip tokens updates to convert function

* fix flattened attributes to match call

* interpolate timespan

* delete unused variables
2021-08-09 15:28:24 -04: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
9eedd13a6b
fixed realm role test (#962) 2021-08-09 16:31:03 +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