26872 Commits

Author SHA1 Message Date
Jon Koops
faf36dd2f0
Move root PNPM workspace to js directory (#35456)
Closes #35455

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-11-29 17:20:32 +01:00
Stefan Guilhen
9861acc2aa UserSessionProvider.removeUserSessions now removes all user sessions (both regular and offline)
Closes #31359

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-11-29 12:35:15 -03:00
vramik
3c2e53136b organizationEnabled and verifiableCredentialsEnabled attributes are present as attributes in an export
Closes #35052

Signed-off-by: vramik <vramik@redhat.com>
2024-11-29 11:57:32 -03:00
Venkatesh Kannan
f043beb3e9 Persist admin event only when roles is non-empty
Currently, an adminEvent is created regardless of if the roles passed to the
role-mapping API is empty. The event should only be created when the list
`roles` is non-empty.

Closes #33195

Signed-off-by: Venkatesh Kannan <venkatesprasad512@gmail.com>
2024-11-29 10:51:35 -03:00
Jon Koops
89f7d73486
Upgrade tooling to Node.js version 22 (#35137)
Closes #35136

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-11-29 13:48:28 +01:00
Peter Skopek
aceb8bce92 SAML Adapter Galleon Pack for EAP8 cannot use new metadata options for layers
Closes #35410

Signed-off-by: Peter Skopek <pskopek@redhat.com>
2024-11-29 12:53:15 +01:00
Miquel Simon
d6d03e2137
Instructions for moving and refactoring tests to the new testsuite (#35396)
Closes #35315

Signed-off-by: Miquel Simon <msimonma@redhat.com>
2024-11-29 11:50:41 +01:00
dependabot[bot]
8222dfca8b
Bump vite from 5.4.11 to 6.0.1 (#35380)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.11 to 6.0.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/create-vite@6.0.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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>
2024-11-29 10:16:28 +00:00
dependabot[bot]
e5342e3cc4
Bump typescript from 5.6.3 to 5.7.2 (#35271)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.3 to 5.7.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.2)

---
updated-dependencies:
- dependency-name: typescript
  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>
2024-11-29 10:27:58 +01:00
kanwhoa
85c582bb73
Aligned call flags for addDefaultRequiredActions
Closes #34769

Signed-off-by: kanwhoa <kano@kano.org.uk>
2024-11-29 10:14:01 +01:00
Alexander Schwartz
909db9e65e
Add a span per rest resource, thereby showing subresources (#35420)
* Add a span per rest resource, thereby showing subresources

Closes #35419

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-29 10:09:34 +01:00
Rishabh Singh
8cad78b1df setting the user in ExecuteActionsActionTokenHandler.handleToken to manage user null case in FreeMarkerLoginFormsProvider.createResponse
Closes #17233

Signed-off-by: Rishabh Singh <rishabhsvats@gmail.com>
2024-11-29 09:55:08 +01:00
Alexander Schwartz
27ab2f86e9
Show spans in transaction completion at the end of a request (#35426)
Closes #35425
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-29 09:37:50 +01:00
dependabot[bot]
924053935c
Bump @types/node from 22.10.0 to 22.10.1 (#35442)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.0 to 22.10.1.
- [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>
2024-11-29 08:55:16 +01:00
Stian Thorgersen
252a2955b3
Updated tested MariaDB version to 11.4 (#35334)
Closes #35333

Signed-off-by: stianst <stianst@gmail.com>
2024-11-29 08:39:33 +01:00
Stian Thorgersen
cf4d7c62ce
Updated tested PostgreSQL version to 17 (#35332)
Closes #35331

Signed-off-by: stianst <stianst@gmail.com>
2024-11-29 08:39:27 +01:00
Jon Koops
7f0983a48c
Move themes PNPM build into js directory (#35413)
Closes #35411

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-11-29 08:37:26 +01:00
Ryan Emerson
20e68ffb15 Remove outdated protostream.version comment
Closes #34931

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-11-28 19:58:25 +01:00
Pedro Igor
4668abc802 Better message when failing to update passwords due to invalid constraint/policy violation
Closes #35421

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-11-28 18:28:26 +01:00
Martin Bartoš
10657d7396 OTelTracingProvider should be request-scoped
Fixes #35427

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-11-28 17:47:19 +01:00
Giuseppe Graziano
a659c8d1cb
Sign AUTH_SESSION_ID cookie (#35297)
closes #34027

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2024-11-28 17:28:52 +01:00
Erik Jan de Wit
94fa14b868
another try to stabilize the test (#35182)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

#34751
2024-11-28 15:37:12 +00:00
Erik Jan de Wit
a3f85ec2a0
added missing components to the bundle (#35312)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-11-28 15:34:56 +00:00
Erik Jan de Wit
0805de8d6f
stabilize the realm test for firefox wait until code editor is loaded (#35330)
related: #34821

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-11-28 15:29:10 +00:00
Erik Jan de Wit
f5d515aeb4
removed inRealm and fixed stabilization (#35337)
fixes: #35219

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-11-28 15:28:17 +00:00
Stan Silvert
c5d9750490
Fix help text for role policy. (#35423)
Fixes #35273

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
2024-11-28 15:19:24 +00:00
Nagy Vilmos
12fe39c9d6
Fix Hungarian translations
Closes #35414

- change a few capitalizations and word order to sound more natural
  - add the translation for `selectALocale`, which was added in #21398

Signed-off-by: Vilmos Nagy <me@vnagy.eu>
2024-11-28 14:51:05 +00:00
Alexander Schwartz
83b324d98a
Consistent use of log.debugf() to avoid generating too much GC overhead (#35403)
Closes #35402

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-28 14:36:31 +01:00
Sebastian Rose
015f06b5b8
Adjust documentation according to new home in keycloak/docs/documentation
- refer mvnw instead of mvn
- contributing.adoc reflects GitHub-Issues and new git-structure

Closes #35373

Signed-off-by: Sebastian Rose <sebastian.rose@gmail.com>
2024-11-28 14:28:11 +01:00
Anton Siuvaev
19f22b5283
Fix incorrect placeholders in message files
* Fix incorrect placeholders in message files

Only fixed those placeholders, that were not the same as in
`messages_en.properties` file. Did not replace differentiating numeric placeholders with single/double
curly braces (i.e. `{1}` instead of `{{1}}` in `en` file)

Closes #35340

Signed-off-by: Anton Siuvaev <anton@siuvaev.ru>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Anton Siuvaev <anton.siuvaev@xgroup.cy>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-28 13:25:41 +00:00
Miguel C
195ace8cb8 Use regular CREATE TABLE instead of CREATE TEMPORARY
Some hosted/managed environments like google CloudSQL, might not support this type of statement (i.e. when using replication and GTID)

Since we are dropping the table anyway it seems a regular CREATE statement should work fine here.

Signed-off-by: mike-pt <mike-pt@users.noreply.github.com>
2024-11-28 10:17:04 -03:00
Martin Bartoš
594218382d
OTEL: Instrument parts of Keycloak with OTEL spans
Closes #32114

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-28 12:08:50 +00:00
dependabot[bot]
e8c993ce55
Bump vitest from 2.1.5 to 2.1.6 (#35379)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.6/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  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>
2024-11-28 11:55:19 +00:00
dependabot[bot]
1077dcd7ca
Bump @vitejs/plugin-react-swc from 3.7.1 to 3.7.2 (#35378)
Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) from 3.7.1 to 3.7.2.
- [Release notes](https://github.com/vitejs/vite-plugin-react-swc/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react-swc/compare/v3.7.1...v3.7.2)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react-swc"
  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>
2024-11-28 11:54:34 +00:00
Pedro Ruivo
9bd0cdc00f Flaky test: AuthenticationSessionTest
Enable transactions to handle conflicts.

Unrelated changes:
* Disable IP multicast (not available in MacOS by default)
* Bind JGroups to 127.0.0.1
* Remove FD_SOCK2 (single JVM tests do not require failure detection)

Closes #35087
Closes #35015

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-11-28 12:39:06 +01:00
Jon Koops
687223f3b1 Improve session polling to prevent accidental redirects
Closes #33071

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-11-28 12:21:27 +01:00
dependabot[bot]
7e19ae47a4
Bump @types/node from 22.9.4 to 22.10.0 (#35381)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.4 to 22.10.0.
- [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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 11:39:46 +01:00
dependabot[bot]
458624e13d
Bump prettier from 3.3.3 to 3.4.1 (#35382)
Bumps [prettier](https://github.com/prettier/prettier) from 3.3.3 to 3.4.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.3...3.4.1)

---
updated-dependencies:
- dependency-name: prettier
  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>
2024-11-28 11:39:22 +01:00
dependabot[bot]
55e6b93e5e
Bump react-i18next from 15.1.1 to 15.1.2 (#35383)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 15.1.1 to 15.1.2.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v15.1.1...v15.1.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>
2024-11-28 11:39:01 +01:00
Martin Bartoš
959ce9c483 Provide Tracing SPI
Closes #34711

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2024-11-28 10:45:31 +01:00
Stian Thorgersen
c0209ccd03
Migrate EmailEventListenerTest (#35202)
* Move EmailEventListenerTest

Part of #34494

Signed-off-by: stianst <stianst@gmail.com>

* Update EmailEventListenerTest for migration

Part of #34494

Signed-off-by: stianst <stianst@gmail.com>

---------

Signed-off-by: stianst <stianst@gmail.com>
2024-11-28 10:19:45 +01:00
Pedro Ruivo
a65fd34bbf Make PermissionTicket events marshallable
Fixes #35328

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-11-28 10:14:54 +01:00
Agnieszka Gancarczyk
fda6dde44f
Revert top level await config (#35345)
Signed-off-by: Agnieszka Gancarczyk <agagancarczyk@gmail.com>
2024-11-27 18:37:00 +01:00
Pedro Igor
45f9bcd673 Resolve scopes from bearer tokens when processing requests to the Account API
Closes #35357

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-11-27 14:17:53 -03:00
rmartinc
8a4651c664 Do not count current sessions in UserSessionLimitsAuthenticator
Closes #35276

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-11-27 17:24:13 +01:00
Stian Thorgersen
c429c9aa55
Updated tested MySQL version to 8.4 (#35336)
Closes #35335

Signed-off-by: stianst <stianst@gmail.com>
2024-11-27 10:06:21 +01:00
dependabot[bot]
b20cfbbfa5
Bump lightningcss from 1.28.1 to 1.28.2 (#35304)
Bumps [lightningcss](https://github.com/parcel-bundler/lightningcss) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/parcel-bundler/lightningcss/releases)
- [Commits](https://github.com/parcel-bundler/lightningcss/commits/v1.28.2)

---
updated-dependencies:
- dependency-name: lightningcss
  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>
2024-11-26 11:22:54 +00:00
dependabot[bot]
58f960b5fa
Bump typescript-eslint from 8.15.0 to 8.16.0 (#35303)
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.15.0 to 8.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.16.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  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>
2024-11-26 11:41:43 +01:00
dependabot[bot]
97b8707d5d
Bump @types/node from 22.9.3 to 22.9.4 (#35305)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.3 to 22.9.4.
- [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>
2024-11-26 11:40:56 +01:00
dependabot[bot]
47139fca59
Bump i18next from 24.0.0 to 24.0.2 (#35306)
Bumps [i18next](https://github.com/i18next/i18next) from 24.0.0 to 24.0.2.
- [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/v24.0.0...v24.0.2)

---
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>
2024-11-26 11:40:29 +01:00