Commit graph

340 commits

Author SHA1 Message Date
Erik Jan de Wit
cc594aa00c
Added labels for loa properties (#2411) 2022-04-20 16:38:29 +02:00
agagancarczyk
7418bca8f4
Realm-settings -> User Profile -> Create/Edit Attribute tests (#2410)
* added tests for creating new attribute

* added more tests

* removed temporary skips

* added more tests

* added more tests

* fixed typo

* fixed focus bug

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-04-11 15:00:08 +01:00
Jon Koops
4a7c0436cc
Move React Hook Form errors to formState (#2412) 2022-04-08 14:37:31 +02:00
Jenny
77ef19e0e6
Add realm selector tests (#2362) 2022-04-06 11:21:04 +02:00
Erik Jan de Wit
4b150993a6
Fixed text of empty state (#2295) 2022-04-05 17:02:27 +02:00
Erik Jan de Wit
f04788028b
Fixed the filter dropdown (#2315) 2022-03-28 22:57:32 +02:00
Erik Jan de Wit
b2d507a390
Added empty state to add scope dialog (#2291) 2022-03-22 12:58:49 +01:00
Erik Jan de Wit
e641af0b16
changed to use the SearchInput (#2314)
fixes: #1348
2022-03-22 12:16:24 +01:00
Erik Jan de Wit
f3d1c0fc2d
generate provider form with the dynmic components (#2198)
* generate provider form with the dynmic components

Added a FileComponent and removed the need for custom views

* fixed merge error

* fixed tests

* Update src/realm-settings/keys/key-providers/KeyProviderForm.tsx

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-03-18 14:20:23 +01:00
Erik Jan de Wit
8d5b2f903a
Split out the key based into a sperate component (#2177) 2022-03-16 10:39:58 +01:00
Erik Jan de Wit
ceffcba321
Added hint when no user found (#2257) 2022-03-15 10:44:46 +01:00
Erik Jan de Wit
6539c8a0c1
Sort client scope dialogs (#2239) 2022-03-14 11:17:03 +01:00
Jenny
7c4509e9bf
Add realm actions tests 2022-03-14 11:16:23 +01:00
Erik Jan de Wit
37d1087e7e
Use string[] directly removed need for converstion (#2175) 2022-03-09 17:42:23 +01:00
Erik Jan de Wit
efb3a36d32
Fixed getting text from JSX element (#2193) 2022-03-08 17:21:38 +01:00
Erik Jan de Wit
663e96d000
Added a way to clear filters for non custom search (#2194) 2022-03-07 15:25:59 +01:00
Erik Jan de Wit
b7ea8629a2
Refactored the way we show time using Intl (#2178) 2022-03-07 14:49:38 +01:00
Erik Jan de Wit
1b6d679d89
Added missing fields (#2163) 2022-03-07 14:42:06 +01:00
Erik Jan de Wit
e486a189c0
fix for value === 0 (#2199) 2022-03-06 12:20:51 +01:00
Erik Jan de Wit
5c64ab6a4a
refacored the keys tab removed duplication (#2146) 2022-02-28 16:22:00 +01:00
Jon Koops
06de428848
Add 'useSetTimeout' hook to manage timers (#2134) 2022-02-23 11:29:50 +01:00
Erik Jan de Wit
10b53617a0
removed components that don't adhere to server configuration (#2091) 2022-02-21 17:30:57 +01:00
Erik Jan de Wit
35ef6aff88
Added new / missing fields (#2035) 2022-02-21 16:43:23 +01:00
Erik Jan de Wit
cf6413af41
initial version of dedicated client scope (#2000) 2022-02-21 13:14:20 +01:00
Erik Jan de Wit
c0a9b5cebc
Made form readonly and fixed initialisation (#2070)
* add the ablity for dynamic component to become
disabeled when used in a <FormAccess component

* add ability to manually make form readonly

* added readonly + fixed form initialize

fixes: #1898

* Update src/components/form-access/FormAccess.tsx

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-16 09:53:45 -05:00
Jenny
158bd07398
index on authEvaluateTab: f0a2494d Add nexus profile for releases (#1704) (#1961)
auth evaluate wip

wip auth evaluate tab

add identity information and permissions

help text and wip evaluate

wip contextual attributes

wip contextual attributes

add conditional dropdown for auth method

wip resource fields

scopes and context inputs working

fix resources error and update onChange

package-lock

cleanup: remove comments and log stmts

add conditional fields when applyToResourceType is true

package.json from main

PR feedback from Erik

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>

Update src/clients/authorization/AuthorizationEvaluate.tsx

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>

handleSubmit

remove log stmt

fix cypress test

PR feedback from Erik

try fixing policies test

PR feedback from Jon

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

PR feedback from Jon

rename id

revert client policy test

reset

add trigger

authEvaluateReset

conditionally render based on type

Apply suggestions from code review

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

PR feedback

remove controller

Update src/components/attribute-input/AttributeInput.tsx

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

PR feedback

Update src/clients/authorization/AuthorizationEvaluate.tsx

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

remove reset
2022-02-15 12:52:46 -05:00
mfrances17
f9d3f9dfa7
Add priorities to User Federation (#2005) 2022-02-09 10:16:10 +01:00
Sebastian Rose
7dfa1a8b19
Fix message for access token response claim in new admin ui (#2002)
* KEYCLOAK-19329 Fix message for access token response claim in new admin ui

Fixes #1993

* fixed fomatting

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-02-04 10:38:18 +01:00
Erik Jan de Wit
6a970e6cb7
updated and fixed user test (#1956)
* updated and fixed user test

* Update cypress/integration/users_test.spec.ts

* fixed the confirm button test id

* fixed tests

* fix

* removed unused refresh

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-02-02 12:44:52 +01:00
Jon Koops
b9224862de
Replace Lodash with it's ESM variant (#1990) 2022-02-02 11:33:57 +01:00
Jenny
dea54e674a
Clients: Authorization -> Evaluate tab (#1861) 2022-01-23 21:21:19 +01:00
Erik Jan de Wit
bd28a912dd
optimized realm loading and added current realm (#1891) 2022-01-20 11:20:35 +01:00
Jon Koops
884102d83b
Make 'User Profile' tabs routable (#1862) 2022-01-19 10:41:52 +01:00
Jenny
105d0dffb0
Adds selectable attribute functionality (#1840)
* index on authEvaluateTab: f0a2494d Add nexus profile for releases (#1704)

auth evaluate wip

wip auth evaluate tab

add identity information and permissions

help text and wip evaluate

* wip contextual attributes

* wip contextual attributes

* add conditional dropdown for auth method

* key and value can be saved now

* wip selectable save

* selectable attribute input save success

* changes to AttributeInput only

* revert files to versions from master

* add back defaultContextAttributes

* set id

* delete autheval file

* remove isKeySelectable

* lift props

* localize names and separate dropdown from the other attribute inputs

* remove log stmt

* add placeholder, return implicitly

* fix select/save

* reorder hook and conditional

* translate, fields/save working
2022-01-17 14:26:42 -05:00
Jon Koops
919d07c90b
Add RoutableTabs component for routed tabs (#1852) 2022-01-14 11:05:50 +01:00
Erik Jan de Wit
2d5c66b108
removed look ahead / back regex for safari (#1829)
fixes: #1806
2022-01-07 08:28:19 +01:00
mfrances17
aa99ac7e2d
Add help url links (#1747)
* initial work

* add help urls for all main landing pages
2021-12-21 10:32:53 -05:00
Marco
2276311334
Credentials Reset Flow (#1699)
* Add credential reset modal

* Add i18n labels

* Refactor to align with marvelapp mockup
TODO: tests

* Add e2e tests

* Implement code review change requests
Add menuAppendTo to CredentialResetActionMultiSelect -> Select component
Add optional menuAppendTo prop to TimeSelectorComponent
Refactor CredentialsPage constructor
2021-12-21 07:22:44 +01:00
Erik Jan de Wit
67d2c8617f
Changed the idP mapper form to use the new Dynamic forms (#1641) 2021-12-14 23:46:19 +01:00
Erik Jan de Wit
e8f335f199
changed all the help items (#1683) 2021-12-14 15:56:36 +01:00
Jenny
efa06cb329
fix client scopes mapper labels (#1678) 2021-12-10 13:27:04 +01:00
Erik Jan de Wit
242c1d8445
better form convert (#1640)
* better form convert

* fixed other forms

* changed to use npm package

* better form convert

* merge fix

* fixed mapper test
2021-12-08 16:08:42 +01:00
Jenny
1f568d8888
Fix modal title in User Fed -> hardcoded-ldap-mapper (#1643)
* fix hardcoded ldap modal

* groups section from master

* revert groups onclick
2021-12-08 09:16:45 -05:00
alevid99
51d8038a5c
Added role mapping tab to group detail page (#1638)
* feat(group): added role mapping tab

feat(groups): fixed members tests

* Add correct role mapping label

* Use composite group mappings

Co-authored-by: Marco Cesi <sq@iamsquare.it>
2021-12-07 13:56:25 +01:00
Erik Jan de Wit
bc8ffed934
added import dialog for authorization resources (#1604) 2021-12-01 12:05:24 +01:00
Erik Jan de Wit
0bbd4ddad1
Initial version of the create and edit resouce screen (#1573)
* Initial version of the create and edit resouce screen

* refactored and fixed the attributes form

introduced a new component that can be used more easily

* Update src/components/json-file-upload/FileUploadForm.tsx

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

* Update src/components/attribute-form/attribute-convert.ts

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

* Update src/clients/authorization/ResourceDetails.tsx

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

* Update src/clients/authorization/ResourceDetails.tsx

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

* Update src/clients/authorization/ResourceDetails.tsx

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

* PR review

* fixed tests

* PR review comments

* resourceId is optional

* Update src/components/attribute-form/attribute-convert.ts

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-01 08:58:25 +01:00
Erik Jan de Wit
f4f52ad2c8
Added my PR review comments after the merge (#1605) 2021-11-29 13:51:31 +01:00
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
Jenny
0b73d51412
Realm settings(Client policies -> conditions): Update client-roles condition to match new design (#1532)
* wip client roles select field

WIP multivalued roles component

wip client roles select: multivalued rows component

wip client roles select

role multi select is working :)

update client roles select to use multivalued select as per new design

delete comments

remove unused css

update cypress tests

revert to original

remove duplicates

add isCreateable

* PR feedback

* small refactor

* change to use orderBy

* use localeCompare

* fix tests

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-11-22 07:41:43 -05:00