Commit graph

586 commits

Author SHA1 Message Date
Erik Jan de Wit
9dabbe951e
added error on password confirm on password change (#20236)
* added error on password confirm on password change

fixes: #16577

* Update js/apps/admin-ui/src/user/user-credentials/ResetPasswordDialog.tsx

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

* linting

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-05-26 11:57:57 +02:00
Erik Jan de Wit
8a6790be1d
be sure to only select one if type is not multi (#20410)
fixes: #20304
2023-05-25 13:01:30 +02:00
Erik Jan de Wit
c86254972b
remove fields when standard flow disabled (#20271)
fixes: #20194
2023-05-25 09:18:00 +00:00
Andreas Blättlinger
828a7ae874
19847 - Fix Split UsersSection into components for better maintainability (#20539)
Co-authored-by: Andreas Blaettlinger <bln1imb@bosch.com>
2023-05-24 10:05:00 -04:00
Erik Jan de Wit
0a46930962
remove styles and use css modules (#20018) 2023-05-24 12:11:06 +00:00
Erik Jan de Wit
9943c977de
use addError so we see the message (#20420)
fixes: #20401
2023-05-18 08:34:11 +02:00
danielFesenmeyer
d543ba5b56 Consistent message resolving regarding language fallbacks for all themes
- the prio of messages is now as follows for all themes (RL = realm localization, T = Theme i18n files): RL <variant> > T <variant> > RL <region> > T <region> > RL <language> > T <language> > RL en > T en
- centralize the message resolving logic in helper methods in LocaleUtil and use it for all themes, add unit tests in LocaleUtilTest
- add basic integration tests to check whether realm localization can be used in all supported contexts:
  - Account UI V2: org.keycloak.testsuite.ui.account2.InternationalizationTest
  - Login theme: LoginPageTest
  - Email theme: EmailTest
- deprecate the param useRealmDefaultLocaleFallback=true of endpoint /admin/realms/{realm}/localization/{locale}, because it does not resolve fallbacks as expected and is no longer used in admin-ui v2
- fix locale selection in DefaultLocaleSelectorProvider that a supported region (like "de-CH") will no longer selected instead of a supported language (like "de"), when just the language is requested, add corresponding unit tests
- improvements regarding message resolving in Admin UI V2:
  - add cypress test i18n_test.spec.ts, which checks the fallback implementation
  - log a warning instead of an error, when messages for some languages/namespaces cannot be loaded (the page will probably work with fallbacks in that case)

Closes #15845
2023-05-17 15:00:32 +02:00
Stan Silvert
74dd370906
Allow changing admin console logo and favicon from theme.properties (#20201)
* Allow changing admin console logo and favicon from theme.properties
Fixes #19968

* Make isRunningAsTheme the last env prop.
2023-05-17 07:53:38 -04:00
Stan Silvert
e5b3c92b42
Fix otp on credentials page. (#20295)
Fixes #20258
2023-05-17 07:33:14 -04:00
Erik Jan de Wit
67f401b029
added default value back when not new (#20235)
fixes: #19852
2023-05-17 10:05:44 +02:00
Andreas Blättlinger
ab8366fb7e
Split UsersSection into components for better maintainability (#19848)
Closes #19847
2023-05-15 17:18:45 +02:00
Jon Koops
04ab848003
Rework merging of message bundles for localization of Admin Console (#20183)
Closes #20182
2023-05-11 14:23:10 -04:00
Erik Jan de Wit
92f26b9f7e
empty array instead of null (#20104)
fixes: #20068
2023-05-11 18:20:11 +02:00
Erik Jan de Wit
a2bdfab9c5
added min length > 0 check to required (#20234)
fixes: #20096
2023-05-11 18:17:24 +02:00
Erik Jan de Wit
4326a46dd0
add 'seconds' unit if value not valid (#20240)
fixes: #17165
2023-05-11 18:10:15 +02:00
Jon Koops
64a65bd0aa
Force user to authenticate before bootstrapping Admin Console (#20251) 2023-05-10 08:20:49 +02:00
rmartinc
025778fe9c SSSD User Federation integration for quarkus distribution
Closes https://github.com/keycloak/keycloak/issues/16165
2023-05-09 11:32:52 +02:00
Erik Jan de Wit
e50580c465
use event id instead of name (#20109)
* use id instead of name to add event

* "translated" ids to name
2023-05-05 11:54:48 +02:00
Erik Jan de Wit
c4186100a5
on the roles page we have paging on others not (#20102)
fixes:  #19981
2023-05-03 18:10:18 +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
Jon Koops
228da0e29a
Refactor initalization of Keycloak JS in Admin Console (#20100) 2023-05-03 13:27:27 +02:00
Jon Koops
20772dbdde
Rename 'resources' directory to 'locales' (#20095) 2023-05-03 09:38:02 +02:00
Stan Silvert
51b0eec685
Fix custom userFed that doesn't implement CredentialInputUpdater (#20062)
* Fix custom userFed that doesn't implement CredentialInputUpdater
Fixes #19491

* Cleanup from Jon's review

* Specify dependency

* Revert "Specify dependency"

This reverts commit a52d5d993aa1f9cf4503e6101eb49c20b27b38fc.
2023-05-02 17:09:44 -04:00
Erik Jan de Wit
e8ed1abda7
Added missing fields when dynamic scope is enabled (#19984)
Closes #19865
2023-05-02 11:46:57 +02:00
Erik Jan de Wit
9e8f5bb45c
added check for undefined (#19949)
fixes: #19883
2023-04-27 08:51:16 +02:00
Erik Jan de Wit
b22801c8dd
Made tree view paging based on count query (#19758) 2023-04-26 14:21:43 +02:00
kaustubh-rh
035fdc4047
Make JavaScript authorization policy read-only (#19594)
Closes #19532
2023-04-26 08:18:43 +00:00
Erik Jan de Wit
1f51ddb86e
Use Admin API extension to group sessions (#19837)
Fixes #19673
2023-04-26 08:17:58 +00:00
Jon Koops
3026d8fad2
Ensure correct options are displayed for 'Archive format' (#19914) 2023-04-24 17:33:15 +02:00
Erik Jan de Wit
04301422d1
add validations to validator when creating new (#19872) 2023-04-21 14:29:06 +02:00
Erik Jan de Wit
399bd42124
Disable stringify by default and enable it for authorization (#19871) 2023-04-21 11:15:42 +00:00
Erik Jan de Wit
3b65f1163d
issue 19582 (#19749)
* fixed paginate subgroups + nav

* render matched sub groups and fix pagination when searching
2023-04-19 15:35:36 -04: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
b6c8344fb5
Ensure user details form state remains in sync (#19696) 2023-04-13 15:55:50 +02: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
Erik Jan de Wit
291f4ec9bb
fixed filter user profile attributes (#19602)
fixes: #19578
2023-04-11 08:08:01 +02:00
Jon Koops
bdb9c140a4
Always use useIsFeatureEnabled() hook for feature detection (#19589) 2023-04-09 16:06:08 +02:00
eatikrh
396e2ba931
Allow users with 'view-users' permission to see the 'credentials' tab (#19587)
Closes #17174
2023-04-07 14:13:43 +02:00
Stan Silvert
2c663c2fcc
Disable client policies tab if feature is disabled. (#19558)
Closes #19460
2023-04-07 13:51:37 +02:00
Pedro Hos
2de052889a
Show correct breadcrumb title for resource, policy and scope details (#19581)
Closes #19533
2023-04-07 11:06:08 +02:00
Jon Koops
58c4fa4139
Ensure requests are cancelled properly in useFetch() (#19568) 2023-04-06 12:07:08 +00:00
Gabriel Padilha Santos
7a5b6efe7f
Feature to filter Login Events by IP Address (#19341)
Closes #19289
2023-04-06 11:33:15 +00:00
Jon Koops
84e763b472
Fix problems with key value input and empty entries (#19421) 2023-04-04 10:09:31 +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
Stan Silvert
139b809f72
Fixes access for credentials tab. (#19449)
Fixes #19134
2023-03-31 12:55:40 -04:00
agagancarczyk
f0520c855f
Fixed moderate a11y violations for Authentication (#19448) 2023-03-30 14:49:34 +00:00
agagancarczyk
2ecd17c90c
Fix a11y violation for client scopes/scopes (#19446) 2023-03-30 16:40:52 +02:00
agagancarczyk
639d931251
fixed color contrast serious a11y violation (#19434) 2023-03-30 12:48:42 +02:00
agagancarczyk
2ed1a9b72d
Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
Michal Hajas
e49dfe534e Fix missing migration when reading TERMS_AND_CONDITIONS required action in legacy store
Closes #17277
2023-03-29 16:43:01 +02:00
agagancarczyk
0a4456cc61
Fixed a11y violation for link style (#19395) 2023-03-28 16:47:26 +00:00
Oliver
fc0a9be79f
Only show activated required actions in credentials reset dialog (#19048) 2023-03-28 12:44:01 +00:00
Laurent
e40fa5fcb4
SOAP backchannel logout for SAML protocol (#17722) 2023-03-28 12:42:48 +00:00
Jon Koops
f0057157da
Use new React Router API for the Admin UI (#19361) 2023-03-27 16:34:53 +00: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
Erik Jan de Wit
d29f3e4dfc
Change client description component to use utils (#19165) 2023-03-24 16:53:43 +01:00
Jon Koops
632d315c94
Align route definitions with React Router's element (#19316) 2023-03-24 14:37:24 +00:00
Erik Jan de Wit
c36b220745
Use signature providers instead of hardcoded index (#19198) 2023-03-23 16:27:51 +01:00
Erik Jan de Wit
e50526338b
Move credentials reset button to show always (#19201) 2023-03-23 16:24:35 +01:00
agagancarczyk
089492c746
fixed serious a11y violation (#19245)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-23 12:06:16 +01:00
agagancarczyk
e77c084135
Add cypress-axe and checks for accessibility issues (#19086) 2023-03-22 17:14:53 +01:00
Erik Jan de Wit
5b4691fe3c
Add display name to resources and scope (#19210) 2023-03-22 13:29:53 +01:00
agagancarczyk
65b828edf9
Add missing aria-label (#19215)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-21 15:40:57 +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
a63438c30e
Add missing fields when jwks is off (#19195) 2023-03-21 11:38:27 +01:00
Erik Jan de Wit
4f88e41fc7
Filter out disabled user storage providers (#19063) 2023-03-21 11:37:49 +01:00
Erik Jan de Wit
6b9dbc32e9
Add error to details panel (#17510) 2023-03-21 11:36:42 +01:00
Erik Jan de Wit
39cf79dae1
Removed use of inline components (#17687) 2023-03-21 11:36:20 +01:00
Erik Jan de Wit
0ddb0f9022
Fixed pagination bug due to fixed entry (#19075) 2023-03-21 09:55:30 +00:00
Erik Jan de Wit
1cde3dd30e
Make title clickable instead of card (#17511) 2023-03-21 10:25:57 +01:00
Erik Jan de Wit
d8a4e7cd32
fixed size of dropdown (#17689)
fixes: #17683
2023-03-20 12:50:33 -04:00
Erik Jan de Wit
3825a5882f
fixed reset of section fields (#17685)
fixes: #17676
2023-03-16 09:05:38 +01:00
Erik Jan de Wit
7aede42b8d
Revert not user realm roles are not paginated (#17619) 2023-03-14 13:08:22 +01:00
Erik Jan de Wit
9bd0e156a4
add isDisabled to components (#17508) 2023-03-14 12:38:22 +01:00
Erik Jan de Wit
f5ebe675a8
add unique title to pagination controls (#17542)
fixes: keycloak/keycloak-ui#4501
2023-03-13 07:46:10 +01:00
Erik Jan de Wit
4f4c850766
move empty state out of list (#17560)
fixes: keycloak/keycloak-ui#4561
2023-03-13 07:45:44 +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
agagancarczyk
340025b412
fixed a11y heading violation for Alert (#17540)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-10 11:32:06 +01:00
agagancarczyk
598076368c
fixed a11y violations (#17550)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-10 09:55:39 +00:00
agagancarczyk
429e45b94c
Applied darker grey colour to fix the insuffient colour contrast a11y serious issue (#17545)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-10 09:55:03 +00:00
agagancarczyk
d3dcab396e
fixed a11y violations (#17536)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-03-10 09:54:35 +00:00
Erik Jan de Wit
d7388c479b
changed id of dropdown (#17512)
fixes: https://github.com/keycloak/keycloak-ui/issues/4483
2023-03-09 14:50:11 +01:00
Erik Jan de Wit
e2a0c0df8e
based id on keyfield instead of id (#17509)
fixes: https://github.com/keycloak/keycloak-ui/issues/4484
2023-03-09 12:36:35 +01:00
Jon Koops
ec8e24c550
Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00