Commit graph

1145 commits

Author SHA1 Message Date
Erik Jan de Wit
5ebb50816d
Added search and operational info (#2530) 2022-05-02 16:30:24 +02:00
Erik Jan de Wit
47c696edf9
Use password field + copy to clipboard button (#2524) 2022-04-29 14:42:00 +02:00
Erik Jan de Wit
b5b087e5a4
Added role permission tab (#2527) 2022-04-29 13:38:12 +02:00
Erik Jan de Wit
cf6e7b5bb2
small fix to prevent empty dialog (#2522)
* small fix to prevent empty dialog

this also makes the re-render better

fixes: #2521

* simplified using useMemo
2022-04-29 12:44:49 +02:00
Erik Jan de Wit
ee6f2f4a7d
no spinner when no have rights for realm load (#2515)
* no spinner when no have rights for realm load

fixes: #2504

* fixed empty state note

* default to search user

* Update public/resources/en/users.json

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2022-04-28 14:55:06 -04:00
Erik Jan de Wit
60a81c8e86
Initial version without filter (#2518) 2022-04-28 15:36:43 +02:00
Erik Jan de Wit
ebf56dacc0
Initial version of the group permissions tab (#2519) 2022-04-28 15:18:14 +02:00
Erik Jan de Wit
4349f19e24
Convert single array values to values (#2506) 2022-04-27 17:32:47 +02:00
Erik Jan de Wit
593d061224
Changed the load to also include the existing values (#2507) 2022-04-27 17:30:13 +02:00
Erik Jan de Wit
af0b704cf8
Load the different resource bundles from dynamically (#2409) 2022-04-27 17:29:57 +02:00
Erik Jan de Wit
49086653e1
Changed the way the table is updated (#2505) 2022-04-27 10:48:32 +02:00
Erik Jan de Wit
241e97364e
Added help icons for password policy fields (#2502) 2022-04-26 16:43:47 +02:00
Erik Jan de Wit
eb3d3714fc
Added user permission tab (#2501) 2022-04-26 12:11:17 +02:00
Erik Jan de Wit
7f197cf5ec
Added ability to query ldap capabilities (#2491) 2022-04-25 13:23:59 +02:00
Erik Jan de Wit
495c9e917d
Fixed link to client (#2489) 2022-04-22 10:48:47 +02:00
Stan Silvert
1c296a1641
Fine-grained permissions for user section. (#2451) 2022-04-21 17:03:48 +02:00
Jon Koops
d5f6aca82e
Replace text inputs with KeycloakTextInput (#2413) 2022-04-21 17:03:26 +02:00
Erik Jan de Wit
6a07c091b7
First and max need to requery (#2450) 2022-04-21 16:53:30 +02:00
Erik Jan de Wit
50ba699ab8
fixed error when data not found (#2449)
* fixed error when data not found

fixes: #2447

* change to useMemo
2022-04-20 15:10:30 -04:00
Jenny
709a9987ad
Add search and delete to key providers tests (#2374)
* add search and delete to key providers tests

* fix logic

* add tests to search provider types

* fix length val

* Skip failing test.

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2022-04-20 14:20:33 -04:00
Erik Jan de Wit
43c6564895
Changed to use the same form + rename (#2342) 2022-04-20 19:11:46 +02:00
Erik Jan de Wit
cc594aa00c
Added labels for loa properties (#2411) 2022-04-20 16:38:29 +02:00
Erik Jan de Wit
324ebdaf11
Added initial version of the client permission tab (#2452) 2022-04-20 11:42:24 +02:00
Erik Jan de Wit
898d609f51
Added tests for realm role attributes (#2391) 2022-04-20 11:29:35 +02:00
mfrances17
0dd9cacdd3
Adds tests for LDAP provider advanced and cache settings (#2338)
* adds ldap advanced and cache tests

* fixes issues from merges

* dont force close notification

* error msg differs
2022-04-14 13:07:28 +02:00
Erik Jan de Wit
4fc64e6915
Removes the already added validators after closing the dialog (#2435) 2022-04-13 15:18:26 +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
Stan Silvert
fcc514a12f
Avoid errors in Groups section. (#2414) 2022-04-11 11:22:43 +02:00
Jon Koops
4a7c0436cc
Move React Hook Form errors to formState (#2412) 2022-04-08 14:37:31 +02:00
mfrances17
818b8cdbb9
Adds LDAP searching tests (#2385) 2022-04-08 11:47:14 +02:00
Erik Jan de Wit
e681dbae4a
Enabled more tests (#2399) 2022-04-08 10:56:20 +02:00
Erik Jan de Wit
2d1baed0e9
Remove picked validators from list (#2405) 2022-04-07 16:35:17 +02:00
Erik Jan de Wit
36cf7022f5
Add id to the form (#2400) 2022-04-07 13:42:29 +02:00
mfrances17
0f48da11e7
Adds LDAP kerberos integration and synchronization tests (#2378) 2022-04-07 00:06:56 +02:00
dependabot[bot]
525d90c234
Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10 (#2390)
* Bump @keycloak/keycloak-admin-client from 18.0.0-dev.8 to 18.0.0-dev.10

Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 18.0.0-dev.8 to 18.0.0-dev.10.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/main/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v18.0.0-dev.8...v18.0.0-dev.10)

---
updated-dependencies:
- dependency-name: "@keycloak/keycloak-admin-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 16:08:30 +02:00
Jenny
77ef19e0e6
Add realm selector tests (#2362) 2022-04-06 11:21:04 +02:00
Jenny
bb226b52ff
Adds Realm Settings tests for general tab (#2336) 2022-04-05 21:34:21 +02:00
mfrances17
ef9d0ca822
Adds LDAP connection and general tests (#2376) 2022-04-05 21:33:51 +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
aaa22e3df0
fixes empty key value convert (#2370)
* fixes empty key value convert

* Update src/util.ts

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

* fix linting issues

* use some()

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-04-05 09:39:32 +02:00
Jon Koops
b40da16afd
Upload server log after running Cypress tests (#2341)
* Upload server log after running Cypress tests

* fix typos
2022-04-05 09:20:00 +02:00
mfrances17
e44103dda5
Use number input for max lifespan (#2333)
* changed max lifespan to number input

* fixes kerberos test
2022-04-05 09:18:57 +02:00
mfrances17
24fc696022
Fixes header and cancel when adding realm roles (#2327)
* fix header and cancel btn

* fix issue with clients
2022-04-05 09:17:50 +02:00
Jon Koops
23b311c552
Fix linting issues (#2383) 2022-04-01 11:46:46 +02:00
agagancarczyk
c0981a1bae
fixed cannot destructure property error (#2377)
* fixed cannot destructure property error

* fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-31 15:23:28 +01:00
agagancarczyk
4c70064bd4
Ream-settings -> User Profile -> Edit Attribute (#2343)
* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* edit attribute - wip

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* moved form initialisation to central place

* fixed loading values

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-03-31 14:28:48 +01:00
Erik Jan de Wit
be2d7e268e
Added missing field (#2369) 2022-03-30 11:23:04 +02:00
Erik Jan de Wit
d2bac33d37
Changed to be disabled when not enabled (#2323) 2022-03-29 12:39:46 +02:00
Erik Jan de Wit
f3798324a3
Override when already set with default (#2283) 2022-03-29 11:23:26 +02:00
Erik Jan de Wit
6857d62545
added more missing fields (#2329)
fixes: #1385
2022-03-29 09:55:05 +02:00
Erik Jan de Wit
78bdf2d2ec
don't test ldap when form isn't valid (#2294)
* don't test ldap when form isn't valid

fixes: #1776

* changed to PF way of showing errors

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx

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

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-03-29 09:49:43 +02:00
Erik Jan de Wit
e9707f0a87
sort mappers in alphabetical order (#2292)
fixes: #1821
2022-03-29 09:49:19 +02:00
Erik Jan de Wit
f04788028b
Fixed the filter dropdown (#2315) 2022-03-28 22:57:32 +02:00
Erik Jan de Wit
8b8f564c61
Added service account user link (#2322) 2022-03-28 22:56:18 +02:00
Jenny
86b3fb93a9
Client credentials: "Regenerate" button fix (#2337) 2022-03-28 22:54:15 +02:00
Jenny
0c628e2b7c
fix create user bug (#2317) 2022-03-28 15:05:33 -04:00
Jenny
3efffab55d
Realm settings(login tab): Add login tests (#2260) 2022-03-28 17:34:07 +02:00
Erik Jan de Wit
de32d5d163
Fixed small layout issue and set default label of password (#2286) 2022-03-28 15:32:06 +02:00
Erik Jan de Wit
74ecc18be0
Change button text to "set password" (#2287) 2022-03-28 15:31:51 +02:00
Erik Jan de Wit
219e239c89
Show baseUrl when rootUrl is not set (#2285) 2022-03-28 15:15:12 +02:00
dependabot[bot]
631f8320c5
Bump prettier from 2.6.0 to 2.6.1
* Bump prettier from 2.6.0 to 2.6.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.6.0...2.6.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 12:55:21 +02:00
Erik Jan de Wit
bd82872282
Make the export tab tests more stable (#2339) 2022-03-25 12:19:15 +01: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
b68ddc2843
put focus on the right field (#2296)
fixes translation keys as well
fixes: #1180
2022-03-22 12:16:02 +01:00
Erik Jan de Wit
8631584920
make resouce field required (#2290)
fixes: #2061
2022-03-22 12:13:43 +01:00
agagancarczyk
12977d929c
Create attribute - required toggle in general settings (#2279)
* fixed required in general settings

* feedback

* indentation fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-21 14:46:01 +00:00
Erik Jan de Wit
3395744d3d
Revert "fixed link (#2258)" (#2312)
This reverts commit 44f0306840.
2022-03-21 12:34:43 +01:00
Jenny
08775c65a2
fix scope details title key (#2280) 2022-03-21 09:52:07 +01:00
Erik Jan de Wit
51aba823ef
Convert detail tab text to links (#2277)
* convert to link

* changed to be link to details

fixes: #2039
2022-03-21 07:45:49 +01:00
Erik Jan de Wit
44f0306840
fixed link (#2258)
fixes: #1958
2022-03-21 07:44:36 +01:00
Jenny
8d86d380ac
Auth evaluate fix (#2274)
* fix incorrect empty state

* fix incorrect empty state
2022-03-18 14:28:31 +01:00
Erik Jan de Wit
f71cbf171a
assure that the value is either emtpy or 0 (#2243)
fixes: #1941
2022-03-18 14:21:21 +01:00
Erik Jan de Wit
68a8c29a8a
always enable regenerate button (#2237)
fixes: #1832
2022-03-18 14:20:51 +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
agagancarczyk
84d501c145
added deleting validator (#2278)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-17 11:05:10 +00:00
Erik Jan de Wit
330dd33803
Always keep DEFAULT_LOCAL selected (#2241) 2022-03-16 14:58:25 +01:00
Erik Jan de Wit
b023c802f5
Fixed line up and added missing search dropdowns (#2264) 2022-03-16 14:57:50 +01:00
mfrances17
45b6be4fe8
Fixes SAML provider AuthnContext Constraints fields (#2231)
* no multiline for now

* multiline work in progress

* changed to JSON.stringify

* both multiline fields working

* check for undefined to prevent JSON issue

* streamline saml and oidc provider tests

* final tests and misc fixes

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-03-16 07:25:01 -04:00
Erik Jan de Wit
e672849935
Fix build (#2276) 2022-03-16 12:11:51 +01:00
mfrances17
8fa978aeb0
Add all missing Kerberos tests (#2263) 2022-03-16 11:48:21 +01:00
Erik Jan de Wit
0a33d5f0dd
Default value and required field for generate keys (#2195) 2022-03-16 11:37:45 +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
agagancarczyk
9242ba6935
Ream-settings-> User profile -> Create attribute (#2265)
* create attribute - wip

* create attribute - wip

* create attribute - added attributes general settings form template

* create attribute - added attributes permission form template

* added validations form

* added validations table

* added empty state for validators table

* added attribute annotations form

* attribute validations - css improvement

* attribute annotations - css improvement

* added requiredWhen label

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute - wip

* new attribute

* fixed deleting attribute

* put the validators into the form

* feedback fixes

* added defaultValues

* fixed permissions

* removed unused form value

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
2022-03-16 09:32:23 +00:00
Erik Jan de Wit
ba4765fdc5
remove add users button (#2235)
fixes: #1808
2022-03-16 10:09:27 +01:00
Erik Jan de Wit
ceffcba321
Added hint when no user found (#2257) 2022-03-15 10:44:46 +01:00
mfrances17
49c77c20cd
Change order of client sections (#2245) 2022-03-15 10:43:48 +01:00
Erik Jan de Wit
a3105e9327
Validate the input from the user (#2242) 2022-03-14 11:26:36 +01:00
Erik Jan de Wit
b426886e6a
Changed to use RoutableTabs (#2244) 2022-03-14 11:26:19 +01:00
Erik Jan de Wit
883e59a5a3
Remove "Revoke Refresh Token" when not revoke on (#2234) 2022-03-14 11:26:06 +01:00
Erik Jan de Wit
d85fc18a63
Added preselected / disabled on create permission (#2236) 2022-03-14 11:17:16 +01:00
Erik Jan de Wit
6539c8a0c1
Sort client scope dialogs (#2239) 2022-03-14 11:17:03 +01:00
Erik Jan de Wit
05f321fd06
Added confirm dialog on disable (#2238) 2022-03-14 11:16:43 +01:00
Jenny
7c4509e9bf
Add realm actions tests 2022-03-14 11:16:23 +01:00
Erik Jan de Wit
5dba749b78
Reset filter after change (#2226) 2022-03-14 11:15:48 +01:00
mfrances17
92401922d3
changed tab order (#2246) 2022-03-14 11:15:28 +01:00
mfrances17
fc4ce1201d
fix client profile links (#2247) 2022-03-14 11:15:03 +01:00
Erik Jan de Wit
4ca905d667
Added filter (#2224) 2022-03-11 11:22:09 +01:00
Erik Jan de Wit
c73b4d2432
added hidden input to submit name when disabled (#2222) 2022-03-11 11:19:43 +01:00
Jenny
b64fd23559
Fix(clients -> authorization): Evaluate results screen (#2220) 2022-03-11 11:19:20 +01:00