Commit graph

1261 commits

Author SHA1 Message Date
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
Jenny
3a25b5e5ec
use isReadOnly (#2221) 2022-03-10 16:05:15 -05:00
Erik Jan de Wit
bc365b03b9
fixed dragging and dropping (#2219) 2022-03-10 16:16:53 +01:00
Erik Jan de Wit
c72a9bbf06
Removed the need to refresh the page (#2217) 2022-03-10 11:47:04 +01:00
Erik Jan de Wit
47a8c25c99
Catch 403 when only query-clients is allowed (#2182) 2022-03-10 11:46:42 +01:00
Erik Jan de Wit
3bdb8ce80f
Remove capabities step from wizard for SAML (#2191) 2022-03-09 17:45:53 +01:00
Erik Jan de Wit
62c13adda7
Fixed title and link to page (#2183) 2022-03-09 17:44:43 +01:00
Erik Jan de Wit
37d1087e7e
Use string[] directly removed need for converstion (#2175) 2022-03-09 17:42:23 +01:00
Jenny
ae133d675b
Clients -> Roles Tab: Adds Role Tests (#2174) 2022-03-09 17:41:45 +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
c88628d4f7
Removed 'revocation' section when client is SAML (#2192) 2022-03-08 10:53:25 +01:00
Erik Jan de Wit
1104f9ee20
Added bind type dialog (#2173) 2022-03-07 18:36:52 +01:00
Erik Jan de Wit
e3c0bb82a1
Added missing groups claim field (#2170) 2022-03-07 18:08:46 +01:00
Erik Jan de Wit
01ab5b12e0
Added and removed saml fields (#2168) 2022-03-07 18:08:14 +01:00
Erik Jan de Wit
a6cdb489b2
Removed file preview panel from keys provider (#2197) 2022-03-07 15:40:39 +01:00
agagancarczyk
9d376ebcde
User Credentials -> Draggable user credentials (#2131)
* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* added tests - wip

* added test

* draggable rows - wip

* feedback

* fixed position of reset credential btn

* fixed position of reset credential btn

* Remove unnecessary key props

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-03-07 14:32:34 +00:00
Erik Jan de Wit
a84701fe5c
added can select all checkbox (#2185) 2022-03-07 15:28:59 +01:00
Erik Jan de Wit
7d2abf0a9b
Change the way clients are stored in the form (#2184) 2022-03-07 15:28:42 +01:00
Erik Jan de Wit
2cb4fcc29d
Hide clustering section when not publicClient (#2186) 2022-03-07 15:28:26 +01:00
Erik Jan de Wit
dd35ccb9bf
Reset the form when the type is changed (#2189) 2022-03-07 15:27:10 +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
5dc2450b01
Remove authorization tab when disabled (#2181) 2022-03-07 14:49:58 +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
ikhomyn
cf695626a6
fixed msg error when clientScope created with whitespace (#1997) (#2162) 2022-03-06 16:26:52 +01:00
Erik Jan de Wit
ca350380fb
Change local development and ci to quarkus (#2115) 2022-03-06 16:25:37 +01:00
Erik Jan de Wit
e486a189c0
fix for value === 0 (#2199) 2022-03-06 12:20:51 +01:00
Jenny
bbc0bcf8b2
Add new capability configs and tests (#2164)
* add checkbox fields, more tests

unskip test

fix beforeEach

add front channel logout configs

set default to true

set default to true

fix console warning and conditionally render url field

show frontchannel settings under logout settings if OIDC client

PR feedback from Jon

* fix clients test

* resolve console warning

* addCapabilityConfigs
2022-03-02 16:59:37 -05:00
Erik Jan de Wit
b8cc2f5d7b
added missing field (#2169) 2022-03-02 22:38:52 +01:00
Jenny
741bc0d195
Add "always display" switch (#2165)
* add always display switch

* add optional param to fillClientData

* add frontchannelLogout to SAML settings

* fix test
2022-03-02 11:08:01 -05:00
Jon Koops
0152e5868d
Add form for User Profile attribute groups (#2021)
* Add form for User Profile attribute groups

* Add breadcrumbs to create and edit pages

* Add hints to form fields

* Link directly to details from overview

* Disable name field when editing

* Disable adding annotations when not valid
2022-03-01 06:44:42 +01:00
Jenny
baf2380d1e
Cypress tests: users (#2148)
* add users tests

* delete multiple users from list test

* users from search bar

* remove unnecessary its

* fix group test

* force add group click
2022-02-28 18:48:52 +01:00
Erik Jan de Wit
5c64ab6a4a
refacored the keys tab removed duplication (#2146) 2022-02-28 16:22:00 +01:00
ikhomyn
17c0eb801c
* fixed Consent screen text was not shown (#2145) 2022-02-25 18:26:07 +01:00
Erik Jan de Wit
d46263d6c6
changed to number input to allow for blank (#2138) 2022-02-24 17:12:54 +01:00
Jon Koops
07098c3f5a
Fix realm settings events tests (#2144) 2022-02-24 12:44:40 +01:00
ikhomyn
36bb8e2ecd
fix new client scope default type value (#2139) 2022-02-24 12:43:09 +01:00
Jenny
72268bb896
Fix associated roles table (#2136) 2022-02-23 18:46:52 +01:00
Jenny
ecd65b3ce7
Username field (#2135) 2022-02-23 15:46:56 +01:00
Erik Jan de Wit
2d55809caf
added the missing example code blocks (#2103) 2022-02-23 15:46:26 +01:00
Erik Jan de Wit
6a4e490928
more robust links out from events (#2133) 2022-02-23 15:28:59 +01:00
Erik Jan de Wit
bda591fb0d
added better / more realm role tests (#2119) 2022-02-23 12:05:38 +01:00
Jon Koops
06de428848
Add 'useSetTimeout' hook to manage timers (#2134) 2022-02-23 11:29:50 +01:00
Erik Jan de Wit
6ef3dc16f5
removed not working filter option (#2067) 2022-02-22 14:30:18 +01:00
ikhomyn
83d9018f6d
new Client->details->ClientScopes and ClientScopes tests (#1967) 2022-02-22 13:46:49 +01:00
Erik Jan de Wit
27ed3e40fe
Added missing fields (#2047) 2022-02-22 12:22:29 +01:00
Jenny
816d2b5221
make name required (#2100) 2022-02-21 19:13:25 +01:00
Jenny
41d58ab1b3
remove export button (#2096) 2022-02-21 18:23:44 +01:00
Stan Silvert
b892c49436
Fix bugs when admin has limited roles. (#2098) 2022-02-21 18:00:41 +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
c84c983415
changed how errors are displayed (#2066) 2022-02-21 17:06:35 +01:00
Erik Jan de Wit
35ef6aff88
Added new / missing fields (#2035) 2022-02-21 16:43:23 +01:00
Erik Jan de Wit
d5909709b7
remote client-scopes and mappers for bearer only (#2065) 2022-02-21 16:20:24 +01:00
Erik Jan de Wit
f3de9464f6
async loading group can be undefined (#2068) 2022-02-21 15:58:28 +01:00
Erik Jan de Wit
627571dbf4
fixed attribute name (#2048)
fixes: #1382
2022-02-21 15:28:04 +01:00
Erik Jan de Wit
0065e9c7c2
fixing labels in case of SAML (#2111) 2022-02-21 14:55:02 +01:00
Jenny
9fa1c1303f
Add screens for rsa-enc-generated type (#2052)
* add screens for rsa-enc-generated type

* update tests
2022-02-21 13:19:41 +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
d1fd7a2f2e
removed unusable providerId (#2108) 2022-02-18 15:06:45 +01:00
Erik Jan de Wit
9eacd55edf
fixed logo locations (#2112) 2022-02-18 12:41:44 +01:00
Jenny
14ab0ceacb
Fix policy profiles (#2120) 2022-02-18 11:51:03 +01:00
Erik Jan de Wit
3bf43f15c0
removed login settings section for baerer only (#2064)
fixes: #1504
2022-02-17 19:41:05 -05:00
Erik Jan de Wit
d56f805a4e
added missing fields: (#2049)
* `User Refresh Tokens`
* `Use Refresh Tokens for Client Credentials Grant`

as stateted in #1385
2022-02-17 16:40:09 -05:00
Jenny
fa0e162c0b
Clients(authorization -> evaluate): Adds expandable results table (#2004) 2022-02-17 17:03:18 +01:00
mfrances17
e8e64798ea
Add componentId to LDAP provider test connection/authorization (#2038)
* add componentId to test calls and fix help ids

* rm ID default
2022-02-17 09:43:52 -05:00
Erik Jan de Wit
6427a15d1b
set default for allowCreate and readonly for select (#2034)
fixes: #1939
2022-02-17 09:42:35 -05:00
Erik Jan de Wit
ebeceefcbf
added missing fields to saml details page (#2033)
fixes: #1945
2022-02-17 07:51:32 -05:00
Erik Jan de Wit
5413a87011
remove child of sub flow instead of flow itself (#2069)
fixes: #1963
2022-02-16 14:04:43 -05:00
Erik Jan de Wit
f8b3595344
fixed test if value is set (#2092)
fixes: #1386
2022-02-16 13:08:23 -05:00
Aboullos
5227115f05
Add Clients tests, fix notification message and stabilize tests (#1999)
* Add Clients tests and fix notification message

* Remove TODO message

* Add waits and refactor

* Refactor and fix tests in realm settings

* Fix lint

* Refactor, fix tests and add stability

* Refactor and stabilize tests

* Stabilize tests

* Fix Realm settings event test and stabilize

* Set confirmModal to always force click

* Add force click and wait

* Fix masthead test

* Modify cypress.json

* Modify realm dropdown selector

* Revert hook changes
2022-02-16 17:34:54 +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
agagancarczyk
a6904be9ff
Realm-settings -> User Profile -> Attributes (#2107)
* attributes tab - wip

* attributes tab - wip

* attributes tab - wip

* attributes tab - wip

* added dropdown for each attribute row

* added kebab logic

* added delete dialog - wip

* added delete dialog - wip

* added delete dialog - wip

* draggable rows - wip

* draggable rows - wip

* draggable rows - wip

* refactored draggable rows

* refactored draggable rows

* added tests

* added tests

* refactor

* refactor

* refactor

* renamed css file to realm-settings-section.css

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-02-16 11:39:08 +00:00
Jenny
42d8c31e84
fix mapper table bugs (#2093)
* fix mapperTableBugs

* use link with button

* add props
2022-02-15 14:42:04 -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
065aec9424
Fix console error on landing page (#2053) 2022-02-13 19:00:50 +01:00
Erik Jan de Wit
5fd344a7bd
Added scope typed permission screen (#1933)
* added scope type permission

* review comments

* Update src/clients/authorization/PermissionDetails.tsx

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

* Update src/clients/authorization/ScopeSelect.tsx

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

* PR review

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-10 09:23:23 +01:00
Jenny
5968e1a7ee
Clients(Authentication): Adds "Export" tab (#1937) 2022-02-09 23:37:31 +01:00
Erik Jan de Wit
8de96be98b
Refactored user credentials into seperate components (#2024) 2022-02-09 15:39:10 +01:00
Erik Jan de Wit
90199db346
Added default group tab to user registration (#1965) 2022-02-09 12:46:58 +01:00
mfrances17
f9d3f9dfa7
Add priorities to User Federation (#2005) 2022-02-09 10:16:10 +01:00
Erik Jan de Wit
d4b1230260
changed to use route functions (#1919)
fixes: #1196
2022-02-08 17:10:46 -05:00
Erik Jan de Wit
b4738bf897
handle error code < 500 in error handler (#1916)
* handle error code < 500 in error handler

also:
fixes: #378

* Update src/context/RealmsContext.tsx

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

* fixed import

* fixed tests

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-08 17:10:27 -05:00
Erik Jan de Wit
9d9388a7ea
Removed un-nessary casts (#2030) 2022-02-08 14:57:04 +01:00
Jon Koops
d85ff6e9be
Re-use User Profile logic from shared context (#1951) 2022-02-07 12:49:47 +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
Erik Jan de Wit
8b0327fa2c
Changed to use routable tabs (#1934)
* Changed to use routable tabs

* fixed tests
2022-01-31 08:20:35 +01:00
Erik Jan de Wit
b9e79b6d75
make all sub tabs routeable tabs (#1954)
* make all sub tabs routeable tabs

closes: #1507, closes: #1204

* fixed tabless route
2022-01-31 08:19:44 +01:00
Erik Jan de Wit
db63cdd61c
Removed waits from realm test (#1906) 2022-01-24 15:17:55 +01:00
Erik Jan de Wit
c4724b21c8
added permission search (#1890) 2022-01-24 15:17:32 +01:00
Jenny
dea54e674a
Clients: Authorization -> Evaluate tab (#1861) 2022-01-23 21:21:19 +01:00
Erik Jan de Wit
109c255d90
Added the policy screens (#1884)
* initial policies tab

* added initial edit create screen

* removed switch in favour of mapping list

* added pickers

* added groups

* added regex

* added role select component

* added time

* added js type

* fixed create route

* fixed details

* added tests

* changed table header to required

* added user type

* added missing validation message
2022-01-21 15:10:36 +01:00
Jenny
3f7a912c2a
Realm settings: Return user to Policies subtab (#1823)
* add function to go to policies subtab

* use routable tabs

* use new defaultLocation prop

* rebase, lint, and tests

* unskip

* fix cancel test
2022-01-20 10:34:58 -05:00
Erik Jan de Wit
bd28a912dd
optimized realm loading and added current realm (#1891) 2022-01-20 11:20:35 +01:00
Erik Jan de Wit
d5ecda9e74
added links to permission create (#1885) 2022-01-19 11:11:40 +01:00
Jon Koops
884102d83b
Make 'User Profile' tabs routable (#1862) 2022-01-19 10:41:52 +01:00
Jenny
b2b61c26ef
Fixes localization 500 error (#1858)
* fix localization crash

* add optional chain on themeTypes object

* add comment
2022-01-18 18:48:32 -05: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
Jenny
f489e186a1
Realm roles: fixes bug that prevents fields from being populated (#1839)
* realm role fields are now being populated

* remove setTimeout

* remove unnecessary conditional
2022-01-14 15:56:56 +01:00
Jon Koops
919d07c90b
Add RoutableTabs component for routed tabs (#1852) 2022-01-14 11:05:50 +01:00
Erik Jan de Wit
811131518e
Adds the permissions tab to the Authorization screen under clients (#1835)
* initial work on permissions

* search dropdown permissions

* permissions tab

* added empty state

* added new permssion detail route

* added detail screen

* fixed load

* added decision strategy

* added tests

* fixed class name and identeded the expandable table row
2022-01-12 11:01:54 -05:00
agagancarczyk
1f45fb89aa
Grouped multiple credentials (#1700)
* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - wip

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* expandable rows - css improvements

* removed unnecessary css

* css cleanup

* feedback fixes

* table refactor

* table refactor

* table refactor

* table refactor

* table refactor

* small css fix

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-01-10 10:31:50 +00:00
Aboullos
04e86e9b0b
Update Clients tests (#1824) 2022-01-08 10:27:57 +01:00
Jon Koops
ee29a308e8
Add overview for attributes groups to realm settings (#1822) 2022-01-07 13:56:27 +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
Erik Jan de Wit
f1c7e5ecb3
Create custom user federation providers page (#1745)
* Create custom user federation providers page

fixes: #1722

* added breadcrumb
2022-01-05 12:06:53 -05:00
Erik Jan de Wit
33a1769c39
Finish the policy pages of the authentication section (#1713)
* added WebauthnPolicy tab to Plicies

* change for passwordless

* added tests

* removed use of useToggle
2022-01-05 11:18:49 -05:00
Erik Jan de Wit
e6d8ffb202
initial version of the scopes screen (#1750)
* initial version of the scopes screen

* added scopes edit details

* Update src/clients/authorization/MoreLabel.tsx

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

* pr review

* Update src/clients/routes/NewScope.ts

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

* Update src/clients/authorization/Scopes.tsx

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

* Update src/clients/authorization/Scopes.tsx

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

* merge fix

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-01-04 10:17:43 +01:00
Jon Koops
f0fc136672
Add toggle for user profile to realm settings (#1717) 2022-01-03 16:00:03 +01:00
Jon Koops
acaff98e10
Fix broken Cypress tests (#1802) 2022-01-03 08:11:07 +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
Erik Jan de Wit
e4eebaffed
removed global css (#1724)
fixes: #1723
2021-12-21 10:30:27 -05:00
Jenny
05af84f20f
Edit message bundle values (#1663)
* message bundles are now editable

* update alert text in tests

* delete realm settings test

* remove updatedMessageBundles

* remove unused usefetch

* update lodash import

* fix add locale test

* fix add bundle

* cypress tests

* fix data test id on button

* remove unused isAgtive prop

* fix lint errors

* unskip tests

* refactor KDT to Table with PaginatedToolbar

* unskip tests

* uncomment

* revert KDT

* remove unused onSelect

* Apply suggestions from code review

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

* PR feedback

* PR feedback

* remove useEffect

* fix localization test

* rewrite localization test

* switch test

* unskip

* force

* PR feedback

* package lock

* remove true

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-21 07:34:44 +01: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
a473a0b07f
added import and save functions to resource tab (#1676)
* added import and save functions to resource tab

* added test

* fixed the test
2021-12-16 17:31:17 +01:00
Erik Jan de Wit
97641e51cb
changed to use Dynamic components instead (#1662)
* changed to use Dynamic components instead

* fixed merge errors

* fixed PR review issues
2021-12-16 17:24:22 +01:00
Jenny
64ee1957c8
modal fixes for predefined mappers (#1701)
* modal fixes for predefined mappers

* remove log stmt

* Update src/client-scopes/add/MapperDialog.tsx

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-15 13:37:04 -05: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
920ac1dfe3
fixed merge error (#1710) 2021-12-14 16:11:23 +01:00
Erik Jan de Wit
e8f335f199
changed all the help items (#1683) 2021-12-14 15:56:36 +01:00
Erik Jan de Wit
d4c50f6218
added otp policies screen (#1665) 2021-12-13 11:39:41 +01:00
Jenny
efa06cb329
fix client scopes mapper labels (#1678) 2021-12-10 13:27:04 +01:00
ikhomyn
383673fc1a
Fix. 1359-Can't view all scopes. (#1675) 2021-12-10 13:24:26 +01:00
Stan Silvert
6250ccdaef
Complete partial import functionality. (#1644)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-12-10 11:53:21 +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
Jon Koops
d493aa69ca
Show toolbar when filtering events results in an empty list (#1633) 2021-12-07 17:27:48 +01: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
Jon Koops
7cef4ae2d4
Trim names of client, realm role, user and group before saving (#1639) 2021-12-06 17:32:52 +01:00
Jon Koops
e53c7744a1
Trim name of client scope before saving (#1635) 2021-12-06 13:20:29 +01:00
agagancarczyk
4d4dfe0308
Multiple credentials (#1642)
* fixed user label editing bug

* fixed user label editing bug

* feedback

* fixed table

* fixed opening edit input per row

* fixed opening dropdown per row

* fixed closing dropdown per row

* feedback fixes

* added set password btn into credentials table

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-12-06 09:52:05 +00:00
Jon Koops
d7973a8008
Wait for group to be deleted before navigating (#1634) 2021-12-03 12:16:07 +01:00
agagancarczyk
72c34e0d46
Fix/edit user label (#1631)
* fixed user label editing bug

* fixed user label editing bug

* feedback

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-12-02 10:35:49 +00: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
de1d677cc1
initial version of the password policies (#1601) 2021-12-01 10:24:46 +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
agagancarczyk
93ee81b6af
User label cred edit (#1624)
* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* added deleting credentials

* replaced DataList with Table

* added reset password - wip

* added reset password

* added show data dialog - wip

* added show data dialog - wip

* added password data dialog

* added few translations

* added sorting to password data

* tidied up

* clean up rows code

* feedback fixes

* editanle user label - wip

* editanle user label - wip

* editable user label - wip

* editable user label - wip

* editable user label - wip

* editable user label - final

* added extra check for credentialId

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-30 16:18:47 +00:00
Jon Koops
61b2689864
Add useToggle hook to manage toggleable state (#1600) 2021-11-30 14:07:44 +01:00
mfrances17
31e1415758
Fix role-ldap-mapper defaults (#1578)
* fix retrieve strategy

* jenny review comments
2021-11-29 09:07:43 -05:00
Erik Jan de Wit
f4f52ad2c8
Added my PR review comments after the merge (#1605) 2021-11-29 13:51:31 +01:00
Jon Koops
74af12b2e2
Implement UXD feedback for Admin UI version (#1602)
* Implement UXD feedback for Admin UI version

* Align text further
2021-11-26 11:28:00 +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
17d9872c04
Realm settings(client policies): Add switches to client policies table (#1595) 2021-11-24 17:19:02 +01:00
agagancarczyk
25030a790f
User credentials (#1597)
* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* user credentials - wip

* added deleting credentials

* replaced DataList with Table

* added reset password - wip

* added reset password

* added show data dialog - wip

* added show data dialog - wip

* added password data dialog

* added few translations

* added sorting to password data

* tidied up

* clean up rows code

* feedback fixes

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-24 15:37:30 +00: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
Jon Koops
71350cacd5
Show exact commit hash of Admin UI in interface (#1572) 2021-11-22 12:41:12 +01:00
Erik Jan de Wit
bb46594d84
filter out unknown mappers (#1559) 2021-11-22 11:32:26 +01:00
mfrances17
7105bb9917
Fix default values for group and role mappers (#1511)
* fixed defaults for group and role mappers

* incorporate jon PR comments
2021-11-19 15:01:14 +01:00
Jenny
0b95598411
delete functionality and do not display current role in modal (#1543) 2021-11-19 11:55:52 +01:00
mfrances17
2c9a8657df
add correct help string (#1553) 2021-11-18 15:05:39 -05:00
mfrances17
a96f44a9fe
fix defaults and help for full name mapper (#1552) 2021-11-18 17:46:11 +01:00
Erik Jan de Wit
b5843b899b
enable user management with limited permissions (#1558) 2021-11-18 17:45:56 +01:00
mfrances17
c8197a67d0
Show/hide principal attribute field correctly (#1561) 2021-11-18 16:34:02 +01:00
mfrances17
b071724329
fix pass subject and add 2 missing fields (#1554) 2021-11-18 15:12:41 +01:00
Jenny
4959c3f0ca
Update to PF 4.159.1 (#1560)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-18 15:11:41 +01:00
Jon Koops
ff4f58404a
Fix Cypress tests (#1569)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-11-18 13:55:21 +01:00
Jon Koops
d591e0d4a4
Remove hack for mounting JSON editor (#1565) 2021-11-17 12:45:29 +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
ec5acf65ae
don't call onchange when contents is empty (#1557) 2021-11-16 11:52:33 +01:00
Erik Jan de Wit
9b3cd978c3
fixes: #1514 (#1551) 2021-11-15 08:30:53 +01:00
mfrances17
3b86616739
readonly default based on mapper type (#1534) 2021-11-12 10:09:08 -05:00
Jon Koops
c61ba73781
Add user profile tab to realm settings (#1509) 2021-11-12 10:04:05 -05:00
Jon Koops
d7362a97a0
Split realm context into two (#1523) 2021-11-11 17:04:04 +01:00
agagancarczyk
2b45a83109
Event listeners (#1533)
* fixed a breadcrum for edit profile

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* edit executor - wip

* executor details - wip

* fixed executors list

* fixed multivaluedList and List components

* fixed displaying default vals for global profile executors, fixed unclicking executors without congigs for global profiles

* added edit executor

* improved edit executor

* added tests for editing executors

* renamed obj

* skipping client policies tests as unstable

* feedback fixes

* fix multiValuedlist defaults - wip

* fixed defaultValues for multiValuedList

* resolved and fixed conflict for test

* added event listeners

* added event listeners

* added success and error mssgs for event listeners saving

* added tests for event listeners

* added tests for event listeners

* improved error mssg

* fixed events tests as LOGIN type no longer available

* uncommented test, but using .skip

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-11-11 12:18:50 +00:00
Erik Jan de Wit
c09f57d7b0
update the admin client to the latest version (#1522)
* update admin client to latetst

* removed type workarounds
2021-11-10 10:46:12 -05:00
agagancarczyk
4e05f0c57e
Executor details (#1499) 2021-11-10 15:26:43 +01:00
mfrances17
50548491f5
add missing field and change default (#1512) 2021-11-10 10:56:39 +01:00
Jenny
c8d4effb34
Realm settings(Client policies -> policies): Add switch for enabling/disabling policy (#1495)
* add switch for enabling/disabling policy

fix tests

* testing duplicate policy test with added wait

* unskip tests

* ccomment out JSON policies test
2021-11-09 14:36:27 -05:00
Jenny
0565f6a482
add create client policy form; WIP (#1488)
add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

PR feedback from Jon

messages

rename message

rebase

remove duplicate value

fixed multi select bug

conditionConfigs wip

add all config fields, labels, and help text for condition types

wip config POST

config post is working

fix bug in multiline string POST

fix any client empty config

client scopes config wip

fix config settings for client-updater-context

fix client access type config

clean up configuration conditionals

add aria label to resolve critical axe issue

Apply suggestions from code review

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

address PR feedback from Jon

fix undef error

wip edit condition configs

fix import

wip edit configs

wip edit condition configs

populate all multiline input fields with data from server

update functionality

condition configs done

update route and delete comment

fix client updater context

add tests

add test for editing condition

remove  comment

fix test

unskip tests

need optional chain for cypress test

fix breadcrumb
2021-11-09 13:27:25 -05:00
Jon Koops
386201595b
Use route functions for navigation in groups (#1474)
* Use route functions for navigation in groups

* pass testid to link
2021-11-09 12:53:06 -05:00
Jon Koops
c31b357429
Ask for confirmation before unlinking users (#1477)
* Ask for confirmation before unlinking users

* Refresh data after saving
2021-11-09 09:28:03 -05:00
Erik Jan de Wit
16042dd1f6
removed useEffect data load instead uses fetch (#1460)
* removed useEffect data load instead uses fetch

fixes: #1025

* fixed the test
2021-11-09 09:14:54 -05:00
Erik Jan de Wit
890d322312
Refactored dynamic components a bit more (#1462)
* moved to component folder

* replaced iteration with component

* fixed merge error

* renamed file

* tried to improve the test

* made field label lower case
2021-11-08 10:46:03 +01:00
Jenny
1faec22b4e
IDPs: go to edit form after save() (#1464)
* go to edit form on create

* tests passing locally
2021-11-04 07:24:47 +01:00
Jon Koops
3e591da25e
Use route functions for navigation in identity-providers (#1475) 2021-11-04 07:23:31 +01:00
Erik Jan de Wit
f4068debb8
can't remove english from supported locals (#1461)
fixes: #1059
2021-11-03 15:47:42 -04: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
Jenny
8e6f6fb40b
add create client policy form; WIP (#1448)
add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

add profiles modal wip

addprofiles wip

profiles wip

help text wip

add help text

remove comments

remove duplicate message

update data test id

PR feedback from Jon 1

Apply suggestions from code review

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

remove fragment

create policy detail attribute type

PR feedback from Jon 2

support editing profile name and description

add edit functionality and restore tests

Delete EditCondition.ts

Apply suggestions from code review

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

format

fix path

use route fn
2021-11-02 13:11:04 -04:00
Jon Koops
25d2e426b6
Use route functions for navigation in client scopes (#1472) 2021-11-02 15:59:22 +01:00
Jon Koops
d2b11312d8
Use route functions for navigation in authentication (#1473) 2021-11-02 15:58:56 +01:00
Jenny
bf236cb7f3
Client policies(conditions): add correct form fields for all condition types (#1430)
* add create client policy form; WIP

add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

PR feedback from Jon

messages

rename message

rebase

remove duplicate value

fixed multi select bug

conditionConfigs wip

add all config fields, labels, and help text for condition types

wip config POST

config post is working

fix bug in multiline string POST

fix any client empty config

client scopes config wip

fix config settings for client-updater-context

fix client access type config

clean up configuration conditionals

add aria label to resolve critical axe issue

Apply suggestions from code review

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

address PR feedback from Jon

fix undef error

PR feedback from Stan

add util function

* fix import stmt

* revert change to route

* fix profile create values

* fix paths
2021-11-01 18:18:27 -04:00
mfrances17
8e5ce6aa34
disable vendor if provider exists (#1447) 2021-11-01 14:44:23 -04:00