Commit graph

148 commits

Author SHA1 Message Date
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
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
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]
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
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]
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]
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]
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]
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
dependabot[bot]
9ac2595dfd
Bump @types/react from 18.0.38 to 18.2.0 in /js (#20054)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.38 to 18.2.0.
- [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-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:18 +02:00
dependabot[bot]
2749c616cb
Bump vite from 4.3.1 to 4.3.3 in /js (#20061)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.3.1 to 4.3.3.
- [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.3/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-01 22:47:49 +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
48354a1bb8
Use correct environment variables in Account Console v3 (#19934) 2023-04-25 11:11:20 +00:00
Jon Koops
3026d8fad2
Ensure correct options are displayed for 'Archive format' (#19914) 2023-04-24 17:33:15 +02:00
dependabot[bot]
4bac7a66ef
Bump vite from 4.2.2 to 4.3.1 in /js (#19905)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.2.2 to 4.3.1.
- [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.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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-04-24 11:40:01 +00:00
dependabot[bot]
56dae13411
Bump react-i18next from 12.2.0 to 12.2.2 in /js (#19904)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 12.2.0 to 12.2.2.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v12.2.0...v12.2.2)

---
updated-dependencies:
- dependency-name: react-i18next
  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-04-24 11:35:18 +00:00
dependabot[bot]
df4419ffb5
Bump @types/react from 18.0.37 to 18.0.38 in /js (#19901)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.37 to 18.0.38.
- [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-04-24 11:34:37 +00:00
dependabot[bot]
fd30af644d
Bump i18next from 22.4.14 to 22.4.15 in /js (#19899)
Bumps [i18next](https://github.com/i18next/i18next) from 22.4.14 to 22.4.15.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v22.4.14...v22.4.15)

---
updated-dependencies:
- dependency-name: i18next
  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-04-24 11:30:37 +00:00