Commit graph

51 commits

Author SHA1 Message Date
Jon Koops
bacfeed7b1
Upgrade typescript-eslint to the latest version (#32422)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-08-27 13:24:00 +02:00
Erik Jan de Wit
957f97d9cc
moved datatable to ui-shared so it can be used in account (#32122)
* moved datatable to ui-shared so it can be used in account

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* merged changes

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 13:07:38 +02:00
Erik Jan de Wit
b5597c6293
add onOpenChange to all dropdown and selects (#31230)
* add onOpenChange to all dropdown and selects

fixes: #31166
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-07-23 11:34:20 +02:00
npriebe
02217b0331 Display disabled information from user in group assignment
Closes #30682

Signed-off-by: npriebe <npriebe@avides.com>
2024-07-17 10:16:04 +02:00
Jon Koops
a0c99a7ae0
Show full error details in admin and account consoles
Closes #30705

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-07-10 16:20:26 +02:00
Erik Jan de Wit
932a92a316
don't lazy load when searching (#31100)
fixes: #31070

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-07-09 13:44:34 +02:00
Erik Jan de Wit
213b4ca6d1
reset form instead of adding to it (#30650)
fixes: #30550

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-07-01 10:49:04 +02:00
Erik Jan de Wit
716e2d4e68
add first and max to group member query (#30327)
fixes: #30143

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-06-14 14:26:19 +02:00
Erik Jan de Wit
1135f4f05f
small fix that adds collapse icon based on count (#29996)
* small fix that adds collapse icon based on count

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-30 13:46:21 +02:00
Erik Jan de Wit
5949fd43d0
remove all use of deprecated Select and Dropdown (#29270)
* removed deprecated select

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* some more deprecation removal

working towards fixing: #28197

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* changed to use new api

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* more deprecation removal

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed merge error

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* small fix

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed merge error

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* no more default text for SelectOption

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* changed to use id

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed dropdown in keycloakCard and test fixes

Signed-off-by: mfrances <mfrances@redhat.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed lint error

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix dropdown/select related test failures

Signed-off-by: mfrances <mfrances@redhat.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* i18n label

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* removed

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed merge error

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: mfrances <mfrances@redhat.com>
Co-authored-by: mfrances <mfrances@redhat.com>
2024-05-30 13:45:58 +02:00
Erik Jan de Wit
f088b0009c
initial ui for organizations (#29643)
* initial screen

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* more screens

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added members tab

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added the backend

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added member add / invite models

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* initial version of the identity provider section

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* add link and unlink providers

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* small fix

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* PR comments

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Do not validate broker domain when the domain is an empty string

Closes #29759

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added filter and value

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added first name last name

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* refresh menu when realm organization is changed

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* changed to record

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* changed to form data

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed lint error

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Changing name of invitation parameters

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Chancing name of parameters on the client

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Enable organization at the realm before running tests

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Domain help message

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Handling model validation errors when creating organizations

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Message key for organizationDetails

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Do not change kc.org attribute on group

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* add realm into the context

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* tests

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Changing button in invitation model to use Send instead of Save

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Better message when validating the organization domain

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Fixing compilation error after rebase

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* removed wait as it no longer required and skip flacky test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* skip tests that are flaky

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* stabilize user create test

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-05-29 14:34:02 +02:00
jhchong92
5cacf8637c
Add FormSubmitButton to handle form submission consistently (#28701)
Closes #28256

Signed-off-by: jchong <jhchong92@gmail.com>
2024-05-14 16:34:30 +02:00
Erik Jan de Wit
e28aa90fcb
use context for adminClient (#28693)
* use context for adminClient

Now we can reuse the components as we can use the adminClient from the context

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* split environment into base, admin and account

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added type to useEnvironment

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-08 10:23:43 +02:00
Stefan Guilhen
8fa2890f68 28818 - Reintroduce search by name for subgroups
Closes #28818

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-04-25 12:06:07 -03:00
Erik Jan de Wit
659f0f583f
changed name and added version number (#28157)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-19 14:10:34 -04:00
Jon Koops
d3c2475041
Upgrade admin and account console to PatternFly 5 (#28196)
Closes #21345
Closes #21344

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Mark Franceschelli <mfrances@redhat.com>
Co-authored-by: Hynek Mlnařík <hmlnarik@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-05 16:37:05 +02:00
agagancarczyk
7695532011
replaced KeycloakTextInput with TextControl (#27711)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-03-08 13:26:45 +01:00
Peter Keuter
21bdea3b71
Groups should be clickable when user has view-access on the group (#26033)
Closes #26040

Signed-off-by: Peter Keuter <github@peterkeuter.nl>
2024-01-24 09:17:39 +00:00
Peter Keuter
a0bcf35236
fix: check actual subgroup rights when clicking a subgroup (#26230)
Signed-off-by: Peter Keuter <github@peterkeuter.nl>
2024-01-24 07:30:47 +00:00
Erik Jan de Wit
12ae800217
fixes navigation when searching for groups (#26053)
fixes: #25927

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-16 10:59:52 +01:00
Alice
69497382d8
Group scalability upgrades (#22700)
closes #22372 


Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Michal Hajas <mhajas@redhat.com>
2023-10-26 16:50:45 +02:00
Erik Jan de Wit
fb6af4d301
fixed count for pagination (#24034)
fixes: #23709
2023-10-24 08:00:50 -04:00
kaustubh-rh
66b0fd0c88
Fix for issue #24187 (#24244) 2023-10-24 13:06:55 +02:00
himanshi1099
b8eb051adb
Fix for issue #24035 (#24154)
Co-authored-by: Himanshi Gupta <higupta@higupta.remote.csb>
2023-10-20 10:18:29 +00:00
Erik Jan de Wit
13207aabac
Encode parameters for React Router links in URL-safe manner (#23667)
Closes #22600

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-17 07:36:26 +00:00
Erik Jan de Wit
1cd20e0e43
always allow browsing as we don't know the subgroups (#23657)
fixes: #23582
2023-10-16 19:20:12 +00:00
osorionicolas
990a54dce5
Update GroupAttributes to refresh fields on group change (#23675)
Closes #23654
2023-10-08 17:40:20 +02:00
Erik Jan de Wit
c346786491
Remove the last of the namespaces for localization (#23261)
Closes #23261
2023-09-25 09:06:56 +02:00
Erik Jan de Wit
f4c8ded5f6
Removed namespaces from messages (#23205) 2023-09-14 11:01:15 +02:00
Erik Jan de Wit
90a88976b6
this removes the prefixes for (#23137)
client-scopes
client-scopes-help
clients-help
clients
working towards fixing #23094
2023-09-13 10:05:17 -04:00
Erik Jan de Wit
564441899b
merge all namespaces into one (#22949)
* merge all namespaces into one

added fallback namespace to the configuration to minimize
changes to the keys

* small fix

* Fix the broken `OverridesBackend`

* remove stray console log

* restore ns argument

* PR review

* merge main

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-09-08 15:17:17 +02:00
Erik Jan de Wit
2b8202af72
fix pagination (#22287)
fixes: #21949
2023-08-09 12:50:27 -04:00
Erik Jan de Wit
66262d0055
no longer use subgroup cache (#21783)
* no longer use subgroup cache

fixes: #21693

* pr review
2023-08-09 07:26:47 -04:00
Erik Jan de Wit
339619816a
lazy populate the treeview for groups (#21520)
* added lazy parameter

fixes: #19954

* changed to only have the parameter

* fixed merge errors

* removed the `lazy` and now add subgroups on select

* lint

* fixed prettier

* fixed nullpointer

* fixed member tab
2023-08-04 20:19:34 +00:00
Jon Koops
153d1a9841
Upgrade Prettier to the latest version (#21601) 2023-07-11 14:03:21 +00:00
Erik Jan de Wit
2c51b67b24
use group instead of name (#21475)
fixes: #21438
2023-07-11 13:05:31 +02:00
Jon Koops
c026884734
Use a different API method to move groups (#20820)
Closes #20615

Co-authored-by: daniel-brannon <daniel.brannon@ososlo.com>
2023-06-23 21:42:13 +02:00
Jon Koops
cd6cf45444
Move useFetch() to it's own utility file (#20129) 2023-05-03 15:40:27 +00:00
Jon Koops
483246e24b
Reference admin client from module instead of context (#20118) 2023-05-03 13:51:02 +00:00
Erik Jan de Wit
b22801c8dd
Made tree view paging based on count query (#19758) 2023-04-26 14:21:43 +02:00
Jon Koops
25a1496e0d
Revert "Revert "Always use useIsFeatureEnabled() hook for feature detection (#19589)" (#19635)" (#19643)
This reverts commit bcaab0e603.
2023-04-18 12:50:46 -04:00
Jon Koops
bcaab0e603
Revert "Always use useIsFeatureEnabled() hook for feature detection (#19589)" (#19635)
This reverts commit bdb9c140a4.
2023-04-11 11:28:24 +00:00
Jon Koops
bdb9c140a4
Always use useIsFeatureEnabled() hook for feature detection (#19589) 2023-04-09 16:06:08 +02:00
Stan Silvert
c595e3430e
Add access to full group tree. Fix access for members tab. Add missing (#19423)
props to Access object.
Fixes #17589
2023-03-31 15:11:13 -04:00
Jon Koops
7f85453ac8
Align route object type with React Router (#19357) 2023-03-27 16:10:48 +02:00
Jon Koops
0fb9b9becd
Move access property to React Router's handle (#19320) 2023-03-26 20:31:23 -04:00
Jon Koops
632d315c94
Align route definitions with React Router's element (#19316) 2023-03-24 14:37:24 +00:00
dependabot[bot]
710c49b803
Bump typescript from 4.9.5 to 5.0.2 in /js (#19179)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-03-21 12:05:17 +00:00
Erik Jan de Wit
39cf79dae1
Removed use of inline components (#17687) 2023-03-21 11:36:20 +01:00
Erik Jan de Wit
6d39c5336a
changed to use on select (#17564)
that  separates selection and expansion
fixes: keycloak/keycloak-ui#4560
2023-03-13 07:45:26 +01:00