Commit graph

456 commits

Author SHA1 Message Date
Nicola Beghin
3d1c20b4a5
Add new ProviderConfigProperty type for URLs in Admin Console (#27743)
Closes #27673

Signed-off-by: Nicola Beghin <nicolabeghin@gmail.com>
2024-05-14 09:34:49 +00:00
agagancarczyk
b01e47feec
Added localization for User Profile attribute groups (#29374)
* resolved conflicts

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* added localization feature to up attributes groups

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* refactor

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fix linting

Signed-off-by: Jon Koops <jonkoops@gmail.com>

* fixed attribute groups test

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed another failing test

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* reverted the test change

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-05-13 09:50:00 -04:00
James Hewitt
ee93561706
Change the default role mapping filter to clients (#29405)
Client roles are more common that realm roles, so we should start the
user off looking at a more useful set of options.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2024-05-13 09:46:07 +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
James Hewitt
aa5c7c0310
Add a separator for listing required permissions (#29272)
Closes #29213

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2024-05-07 16:34:06 -04:00
Mark Franceschelli
579197a254
Fix deprecated PF5 Tables (#29224)
* table dep fixed

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

* fix tests

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

---------

Signed-off-by: mfrances <mfrances@redhat.com>
2024-05-07 08:15:34 -04:00
Erik Jan de Wit
02cece07e5
use default also when it doesn't contain a "##" (#29308)
fixes: #29263

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-07 09:46:20 +02:00
Anil
2dcd05134e
Improve alternative step display in FlowDiagram (#28699) (#28700)
* Refactor FlowDiagram to explicitly link concurrent groupings

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Remove subflow nodes from FlowDiagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Remove disabled steps and subflows from FlowDiagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Change alternative steps to be serial w/ labels

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

---------

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>
2024-05-07 09:43:57 +02:00
Anil
6a38be6239
Fix incorrect branching for some authentication flow diagrams. Fixes #28479 (#28480)
* Refactor node creation in FlowDiagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Fix flow diagram incorrect branching display

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Enable react unit testing with vitest

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Add react tests for FlowDiagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Add cypress test for browser flow diagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

---------

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>
2024-05-06 13:21:32 +02:00
Alexander Schwartz
a9532274e3
Generate translations for locales via built-in Java functionality (#29125)
Closes #29124

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-05-06 09:30:14 +02:00
Mark Franceschelli
98a620e227
EventsSection icons with color props should be wrapped in Icon (#28826)
* icon fixes

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

* rm autogenerated space

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

---------

Signed-off-by: mfrances <mfrances@redhat.com>
2024-04-30 08:05:55 -04:00
Erik Jan de Wit
878be98122
added params to config giving users context (#28769)
fixes: #28616

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-30 08:05:29 -04:00
Erik Jan de Wit
9e10cec665
only render when ui when feature is enabled (#29101)
fixes: #29057

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-30 08:58:45 +02:00
Erik Jan de Wit
aeed5eee17
remove deprecated select (#29082)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-26 09:51:22 +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
agagancarczyk
b8cdd81718
Replaced tooltip for adding a translations to an attribute with Info Alert (#29051)
* replaced tooltip with info alert

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* replaced tooltip with info alert

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-24 19:50:11 +01:00
Erik Jan de Wit
f6a393252a
fix default value when stringyfy is on (#29042)
fixes: #28979

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-24 11:40:29 +02:00
Hynek Mlnarik
6065f7d624 Fix missing translation
Fixes: #28744

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-04-23 13:15:19 +02:00
Erik Jan de Wit
957859d846
Automatically re-authenticate on single-logout (#28723)
Automatically forces the user to re-authenticate from the Admin and Account consoles when a single-logout occurs.

Closes #23832
Closes #23833

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-04-22 11:45:15 +00:00
agagancarczyk
750ff41691
adll 3 scenarios (#28899)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-19 15:40:49 -04: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
Thomas Darimont
68617180a2 Show indicator for transient user in user sessions list in admin ui (28879)
For transient users a transient label is now shown in the realm sessions and client sessions list in the admin ui.

Fixes #28879

Co-authored-by: Thomas Darimont <thomas.darimont@googlemail.com>
Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2024-04-19 09:48:41 +02:00
Erik Jan de Wit
2c069433f9
remove use of deprecated components (#28800)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-18 12:14:53 +02:00
Erik Jan de Wit
a8d1d6edd7
use filtered times instead of all (#28770)
fixes: #28748

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-17 09:04:41 +02:00
Erik Jan de Wit
38662c86a7
fixed style of clickable card (#28521)
* fixed style of clickable card

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

* fix aria

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

* use useId instead of passing it

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-16 15:48:58 +02:00
Erik Jan de Wit
426c13967d
use input instead of TextInput to make them truly hidden (#28618)
fixes: #28546

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-16 13:59:23 +02:00
Erik Jan de Wit
790d05817a
reload when id changes (#28773)
fixes: #28747

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-16 13:04:50 +02:00
Erik Jan de Wit
aa2ae61f22
added show inherited roles to empty state (#28793)
fixes: #28640

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-16 13:03:54 +02:00
Erik Jan de Wit
03c2629afc
use subGroupCount instead (#28719)
fixes: #28684

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-15 14:32:28 +02:00
jhchong92
dbd016d4ec
Encode realm name in URL when fetching from ui-ext (#28703)
Closes #28702

Signed-off-by: jchong <jhchong92@gmail.com>
2024-04-14 15:51:26 +00:00
Jon Koops
2ebf28ed63
Remove last violatations of no-unstable-nested-components (#28559)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-12 10:39:15 -03:00
rmartinc
6d74e6b289 Escape slashes in full group path representation but disabled by default
Closes #23900

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-04-12 10:53:39 +02:00
agagancarczyk
9e7a6b4eaf
fixed css styling (#28627)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-11 13:41:48 +01:00
agagancarczyk
adc8d388dc
fixed redirect on cancel (#28598)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-10 16:36:01 +01:00
agagancarczyk
ce8e925c1a
made roleName disabled instead of readOnly (#28590)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-10 10:20:49 -04:00
rmartinc
41b706bb6a Initial security profile SPI to integrate default client policies
Closes #27189

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-04-10 11:19:56 +02:00
agagancarczyk
38df8d5359
Fixed searchClientRegistration message text (#28556)
* fixed message text

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed message text

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed message text

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-09 15:05:22 +00:00
Jon Koops
d8a8b3f1be
Do not nest components in NewClientPolicy (#28549)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-09 14:58:26 +01:00
gregbaroni
8140c76147
Update flow diagram to support branching edges for conditionals (#28481)
- If there is a conditional subflow, instead of creating nodes
for the start and end of the subflow, there will now be branching edges
for the condition nodes, representing the false and true cases.
- Adds an optional label attribute to the edges to support having
true and false labels for condition node edges.
- Modifies auto layout to reduce the amount of overlap that
occurs with the branching condition edges and labels.
- Also removed the startSubFlow check in the createNode method
since the start and end subflow nodes are always created by the
renderSubFlowNodes method.

Closes #28453

Signed-off-by: Greg Baroni <greg.baroni@appfolio.com>
2024-04-09 14:37:10 +02:00
Erik Jan de Wit
1d8744e6c1
use subGroupCount to render subGroups (#28173)
* use subGroupCount to render subGroups

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

* PR review changes

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-08 14:29:52 +02:00
Erik Jan de Wit
582da41f4f
added unique message for key provider name (#28504)
fixes: #28486

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-08 14:22:42 +02: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
Erik Jan de Wit
73e22b32c9
Truncate the clientId (#28406)
* Truncate the clientId

fixes: #28284

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

* fxed tests

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-05 13:56:30 +02:00
Jon Koops
3fda2c0444
Convert realms settings general tab to new form controls (#28464)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-05 10:55:25 +00:00
Jon Koops
7cbe609571
Filter dedicated client scopes when searching (#28433)
Closes #28431

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-04 11:28:09 +00:00
Hynek Mlnařík
1fbdb62334
Fix navigation with realms with special chars (#28349)
Fixes: #16345

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-04-04 09:50:33 +02:00
Jon Koops
82843d3e0a
Fix broken Cypress tests (#28414)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-03 18:16:03 +01:00
Erik Jan de Wit
952d484907
filter out parent group if it doesn't match (#28344)
fixes: #28079

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-03 10:56:08 +02:00
Erik Jan de Wit
c86620963d
fixed change calculation (#28342)
fixes: #28187

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-02 14:03:47 +02:00
kouki-miura
6af512e6ee
Fix the message for "goups" and add "groupsHelp" (#27964)
Closes #27962

Closes #27965

Signed-off-by: kouki-miura2 <koki_m@i.softbank.jp>
2024-03-26 08:20:49 -04:00