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
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
dependabot[bot]
fb4513d320
Bump jsdom from 21.1.2 to 22.0.0 in /js ( #20090 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 21.1.2 to 22.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/21.1.2...22.0.0 )
---
updated-dependencies:
- dependency-name: jsdom
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>
2023-05-02 20:06:00 +02:00
dependabot[bot]
a376ec774f
Bump vite from 4.3.3 to 4.3.4 in /js ( #20082 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.4/packages/vite )
---
updated-dependencies:
- dependency-name: vite
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-02 12:33:09 +00:00
dependabot[bot]
c29ac5723c
Bump rollup from 3.21.2 to 3.21.3 in /js ( #20083 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 3.21.2 to 3.21.3.
- [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.2...v3.21.3 )
---
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-02 12:28:56 +00:00
dependabot[bot]
db5db2c94b
Bump @typescript-eslint/eslint-plugin from 5.59.1 to 5.59.2 in /js ( #20084 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.59.1 to 5.59.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
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-02 12:28:22 +00:00
Erik Jan de Wit
eab11255ba
Add referrer link ( #19799 )
...
Closes #19682
2023-05-02 11:58:56 +02:00
Erik Jan de Wit
f497f8cd8f
Better default avatar if none is set ( #19804 )
...
Closes #19681
2023-05-02 11:57:36 +02: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
dependabot[bot]
81f80a725a
Bump vite-plugin-checker from 0.5.6 to 0.6.0 in /js ( #20059 )
...
Bumps [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker ) from 0.5.6 to 0.6.0.
- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases )
- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.5.6...vite-plugin-checker@0.6.0 )
---
updated-dependencies:
- dependency-name: vite-plugin-checker
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-01 21:40:43 +00:00
dependabot[bot]
059150a5fa
Bump @types/node from 18.16.0 to 18.16.3 in /js ( #20052 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 18.16.0 to 18.16.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
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-01 21:38:00 +00:00
dependabot[bot]
a18ada54f2
Bump @types/react-dom from 18.0.11 to 18.2.1 in /js ( #20058 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.0.11 to 18.2.1.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 21:36:07 +00:00
dependabot[bot]
d6abfba15e
Bump @typescript-eslint/parser from 5.59.0 to 5.59.2 in /js ( #20064 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.59.0 to 5.59.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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-01 21:34:20 +00:00
dependabot[bot]
03b5867421
Bump camelize-ts from 2.5.0 to 3.0.0 in /js ( #20050 )
...
Bumps [camelize-ts](https://github.com/kbrabrand/camelize-ts ) from 2.5.0 to 3.0.0.
- [Release notes](https://github.com/kbrabrand/camelize-ts/releases )
- [Commits](https://github.com/kbrabrand/camelize-ts/compare/v2.5.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: camelize-ts
dependency-type: direct:production
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>
2023-05-01 23:03:10 +02:00
dependabot[bot]
516a85f463
Bump eslint-plugin-cypress from 2.13.2 to 2.13.3 in /js ( #20053 )
...
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress ) from 2.13.2 to 2.13.3.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases )
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.13.2...v2.13.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
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-01 23:02:48 +02:00
dependabot[bot]
77a97854d5
Bump react-router-dom from 6.10.0 to 6.11.0 in /js ( #20056 )
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.10.0 to 6.11.0.
- [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.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
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-01 23:02:28 +02:00
dependabot[bot]
0df256673c
Bump lint-staged from 13.2.1 to 13.2.2 in /js ( #20051 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 13.2.1 to 13.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v13.2.1...v13.2.2 )
---
updated-dependencies:
- dependency-name: lint-staged
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-01 23:01:42 +02:00
dependabot[bot]
640529acc4
Bump rollup from 3.21.0 to 3.21.2 in /js ( #20057 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 3.21.0 to 3.21.2.
- [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.0...v3.21.2 )
---
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-01 23:01:01 +02:00
dependabot[bot]
7a209e15f9
Bump jsdom from 21.1.1 to 21.1.2 in /js ( #20048 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 21.1.1 to 21.1.2.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/21.1.1...21.1.2 )
---
updated-dependencies:
- dependency-name: jsdom
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-01 23:00:29 +02:00
dependabot[bot]
47a32936b7
Bump @types/chai from 4.3.4 to 4.3.5 in /js ( #20055 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
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-01 23:00:06 +02:00
dependabot[bot]
2363987066
Bump cypress from 12.10.0 to 12.11.0 in /js ( #20049 )
...
Bumps [cypress](https://github.com/cypress-io/cypress ) from 12.10.0 to 12.11.0.
- [Release notes](https://github.com/cypress-io/cypress/releases )
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/cypress-io/cypress/compare/v12.10.0...v12.11.0 )
---
updated-dependencies:
- dependency-name: cypress
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-01 22:59:50 +02:00