Stan Silvert
b63fccb062
Fix required getting toggled on when creating new UP attribute. ( #20735 )
...
Fixes #20536
2023-06-02 16:12:47 -04:00
Jon Koops
6ef73892a1
Add simplified Chinese localization for the Admin Console ( #20752 )
...
Co-authored-by: Xiankun Li <xianli@redhat.com>
2023-06-02 21:31:48 +02:00
Jon Koops
cd9dce68da
Add eslint-plugin-react-hooks
to enforce the Rules of Hooks ( #20707 )
2023-06-01 11:56:06 +02:00
Pedro Igor
8aeee928e8
Allow configuring the referrer policy ( #19917 )
...
* Allow configuring the referrer policy
Closes #17288
* fixed indentation
---------
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-05-30 12:27:12 -04:00
Erik Jan de Wit
c187c17945
navigate back to list when deleted ( #20591 )
...
fixes : #20370
2023-05-30 14:21:37 +02:00
Erik Jan de Wit
1124681603
added should dirty ( #20647 )
...
fixes : #20506
2023-05-30 08:08:37 -04:00
Erik Jan de Wit
34e56ccd81
use the first value from options as default ( #20589 )
...
fixes : #20379
2023-05-30 08:02:47 -04:00
Erik Jan de Wit
df5a823738
use display header when set ( #20553 )
2023-05-30 13:47:41 +02:00
Erik Jan de Wit
55e3e26f2e
removed need to query all groups ( #20552 )
...
* removed need to query all groups
fixes : #20489
* code review
2023-05-30 13:35:28 +02:00
Stan Silvert
88bb5977cd
Fix User Event Types not visible when 'Save events disabled` ( #20581 )
...
Fixes #20503
2023-05-30 06:36:46 -04:00
Erik Jan de Wit
00df57df3b
moved filter to it's own component ( #20286 )
...
fixes : #19999
2023-05-26 12:06:45 +00:00
Jon Koops
a58a9a89d6
Add href to brand of Masthead ( #20597 )
2023-05-26 10:57:25 +00:00
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
Jon Koops
b6f2f958c0
Add correct Node.js version range for Admin Client ( #20593 )
2023-05-26 09:50:00 +00: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
Jon Koops
df9cf53d2b
Use sandbox
attibute for iframes created by Keycloak JS ( #20544 )
2023-05-25 11:47:23 +02:00
Erik Jan de Wit
c86254972b
remove fields when standard flow disabled ( #20271 )
...
fixes : #20194
2023-05-25 09:18:00 +00:00
Jon Koops
b8b56ece65
Update dependencies to latest version ( #20545 )
2023-05-24 15:19:19 +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
Jon Koops
41b9a75f1e
Raise required version of Node.js to 18 ( #20538 )
2023-05-24 12:11:23 +00: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
Mica Hallin
7502a31421
Ensure client secret is encoded properly in Authorization
header ( #20000 )
...
Closes #19879
2023-05-16 11:18:43 +00:00
Alex Szczuczko
fabcdf53fb
Disable proxy argument passing for executions of pnpm pack ( #20373 )
...
Closes #20372
2023-05-15 22:40:21 +00:00
Erik Jan de Wit
5c8c46c7a9
add disabled and required to User Profile fields ( #19976 )
2023-05-15 17:28:18 +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
8331f57bfd
Update dependencies to latest version ( #20355 )
2023-05-15 14:58:04 +00: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
Erik Jan de Wit
46782ec139
fixed to use parameter ( #20242 )
...
fixes : #17377
2023-05-11 18:09:40 +02:00
Jon Koops
aa77f713c4
Improve coding guidelines for PNPM workspaces ( #20277 )
2023-05-10 12:43:56 +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
Jon Koops
2a18bcb246
Move from NPM to PNPM ( #19839 )
2023-05-05 12:03:24 -04: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
dependabot[bot]
b6147141f3
Bump @types/react-dom from 18.2.1 to 18.2.3 in /js ( #20157 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.2.1 to 18.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 13:30:31 +00:00
dependabot[bot]
bc144e7666
Bump @types/react from 18.2.0 to 18.2.4 in /js ( #20160 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.0 to 18.2.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 12:27:48 +00:00
dependabot[bot]
6e3e78643c
Bump react-router-dom from 6.11.0 to 6.11.1 in /js ( #20159 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.11.0 to 6.11.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.11.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 12:26:44 +00:00
dependabot[bot]
16917211d4
Bump rollup from 3.21.3 to 3.21.4 in /js ( #20161 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 3.21.3 to 3.21.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v3.21.3...v3.21.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 12:24:05 +00:00
dependabot[bot]
ef387891eb
Bump vitest from 0.30.1 to 0.31.0 in /js ( #20158 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 0.30.1 to 0.31.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.31.0/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 12:23:41 +00: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