Commit graph

21873 commits

Author SHA1 Message Date
Dominik Guhr
b37f2d5915 KEYCLOAK-19396_remove_logmsg 2021-11-03 11:44:18 -03:00
Erik Jan de Wit
405d3310f3
add ability to leave multiple groups (#1431)
* add ability to leave multiple groups

fixes: #496

* With v21.0.0 a new JSON format v4 was introduced

* Update src/user/UserGroups.tsx

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

* Update src/user/UserGroups.tsx

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

* filter selected groups based on direct membership

* fixed test

* remove all the groups

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-03 09:45:37 -04:00
Pedro Igor
eaa96f6147 [KEYCLOAK-18255] - Vault Support in Dist.X 2021-11-03 09:23:33 -03:00
mfrances17
d1e45dabde
fix notifications without waits (#1449) 2021-11-02 17:00:42 -04:00
Jenny
8e6f6fb40b
add create client policy form; WIP (#1448)
add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

add profiles modal wip

addprofiles wip

profiles wip

help text wip

add help text

remove comments

remove duplicate message

update data test id

PR feedback from Jon 1

Apply suggestions from code review

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

remove fragment

create policy detail attribute type

PR feedback from Jon 2

support editing profile name and description

add edit functionality and restore tests

Delete EditCondition.ts

Apply suggestions from code review

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

format

fix path

use route fn
2021-11-02 13:11:04 -04:00
Jon Koops
25d2e426b6
Use route functions for navigation in client scopes (#1472) 2021-11-02 15:59:22 +01:00
Jon Koops
d2b11312d8
Use route functions for navigation in authentication (#1473) 2021-11-02 15:58:56 +01:00
Alec Henninger
62482eb313 KEYCLOAK-19721: Server error (NullPointerException) when trying to view users using KeycloakServer 2021-11-02 14:59:20 +01:00
Leonardo Brancalhão
a2a788ec39 KEYCLOAK-18401 Oracle test fixes 2021-11-02 11:55:38 +01:00
dependabot[bot]
3cee237fa7 Bump @typescript-eslint/parser from 5.2.0 to 5.3.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.3.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 11:05:12 +01:00
dependabot[bot]
3407c2fd3f Bump @testing-library/jest-dom from 5.14.1 to 5.15.0
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.14.1 to 5.15.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.14.1...v5.15.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 11:01:12 +01:00
dependabot[bot]
f2c20155d3 Bump react-flow-renderer from 9.6.9 to 9.6.10
Bumps [react-flow-renderer](https://github.com/wbkd/react-flow) from 9.6.9 to 9.6.10.
- [Release notes](https://github.com/wbkd/react-flow/releases)
- [Changelog](https://github.com/wbkd/react-flow/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wbkd/react-flow/compare/9.6.9...9.6.10)

---
updated-dependencies:
- dependency-name: react-flow-renderer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 11:00:31 +01:00
dependabot[bot]
7168193288 Bump @typescript-eslint/eslint-plugin from 5.2.0 to 5.3.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.3.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 11:00:06 +01:00
dependabot[bot]
803c79bf44 Bump i18next from 21.3.3 to 21.4.0
Bumps [i18next](https://github.com/i18next/i18next) from 21.3.3 to 21.4.0.
- [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/v21.3.3...v21.4.0)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 10:59:37 +01:00
dependabot[bot]
5ce613dfff Bump @keycloak/keycloak-admin-client from 16.0.0-dev.38 to 16.0.0-dev.41
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.38 to 16.0.0-dev.41.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/main/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v16.0.0-dev.38...v16.0.0-dev.41)

---
updated-dependencies:
- dependency-name: "@keycloak/keycloak-admin-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 10:59:21 +01:00
Stian Thorgersen
7f3e4f911e
Update publish.yml 2021-11-02 09:04:43 +01:00
Stian Thorgersen
b3bb01498a
Update main.yml 2021-11-02 09:04:32 +01:00
Stian Thorgersen
b894a775fc
Update cypress.yml 2021-11-02 09:04:19 +01:00
Martin Bartoš
bfce612641 KEYCLOAK-18338 Fix update user account with configured SSSD 2021-11-02 08:42:07 +01:00
Jenny
bf236cb7f3
Client policies(conditions): add correct form fields for all condition types (#1430)
* add create client policy form; WIP

add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

PR feedback from Jon

messages

rename message

rebase

remove duplicate value

fixed multi select bug

conditionConfigs wip

add all config fields, labels, and help text for condition types

wip config POST

config post is working

fix bug in multiline string POST

fix any client empty config

client scopes config wip

fix config settings for client-updater-context

fix client access type config

clean up configuration conditionals

add aria label to resolve critical axe issue

Apply suggestions from code review

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

address PR feedback from Jon

fix undef error

PR feedback from Stan

add util function

* fix import stmt

* revert change to route

* fix profile create values

* fix paths
2021-11-01 18:18:27 -04:00
mfrances17
8e5ce6aa34
disable vendor if provider exists (#1447) 2021-11-01 14:44:23 -04:00
Pedro Igor
9dfcaf0162 [KEYCLOAK-19687] - Moving cluster config parsing to build time 2021-11-01 10:26:48 -03:00
Erik Jan de Wit
9c48bb4d90
refactor + use new composite role api (#1399)
* refactor + use new composite role api

* fixed types

* Update src/realm-roles/AssociatedRolesModal.tsx

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

* Update src/realm-roles/AssociatedRolesModal.tsx

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

* Update src/realm-roles/RealmRoleTabs.tsx

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

* code review comments

* removed duplicate type

* route

* Update src/realm-roles/AssociatedRolesModal.tsx

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

* Update src/realm-roles/routes/RealmRole.ts

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

* Update src/realm-roles/AssociatedRolesModal.tsx

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

* fix unused import

* fixed test

* fixed merge errors

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-11-01 13:29:52 +01:00
agagancarczyk
e22b27b471
added tests for editing client profile, creating and deleting executors (#1450)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-11-01 10:58:31 +00:00
Martin Bartoš
340973b9cf KEYCLOAK-19333 Cannot override modules for Infinispan subsystem in distribution 2021-11-01 11:10:36 +01:00
dependabot[bot]
a30b202700 Bump react-error-boundary from 3.1.3 to 3.1.4
Bumps [react-error-boundary](https://github.com/bvaughn/react-error-boundary) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/bvaughn/react-error-boundary/releases)
- [Changelog](https://github.com/bvaughn/react-error-boundary/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bvaughn/react-error-boundary/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: react-error-boundary
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 09:57:12 +01:00
mfrances
1dd7ea8869 update to PF 4.151.4 2021-11-01 09:31:11 +01:00
dependabot[bot]
2b592e93b9 Bump react-i18next from 11.12.0 to 11.13.0
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.12.0 to 11.13.0.
- [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/v11.12.0...v11.13.0)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 09:28:50 +01:00
dependabot[bot]
7b14da28a0 Bump lint-staged from 11.2.4 to 11.2.6
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.4 to 11.2.6.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.4...v11.2.6)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 09:28:10 +01:00
Erik Jan de Wit
48a006e1fa
put shared logic into common component + fixes (#1415)
* put shared logic into common component + fixes

fixes: #1398

* removed conflicted name

* code review

* pr review comments

* update admin-client for better retrun types import
* use image file instead of encoded data:uri

* fix package lock

* is typechecked to be string
2021-11-01 08:49:23 +01:00
Jon Koops
79f8452ab5
Normalize client attributes before saving (#1442) 2021-10-29 14:28:58 -04:00
Hynek Mlnarik
877ae96590 KEYCLOAK-18854 Introduce storage-independent ModelCriteriaBuilder 2021-10-29 19:21:45 +02:00
mfrances17
861ed39dc1
Fixes for SAML identity provider principal type and allow create fields (#1377)
* principal type fixed

* add allow create switch

* change principalType condition to match value
2021-10-29 12:41:46 -04:00
Erik Jan de Wit
c96450ef61
make all routes lazy (#1445) 2021-10-29 18:11:06 +02:00
Jenny
9e5f711bea
Client policies(policies): Create, add, delete and list client profiles in existing policy (#1393)
* add create client policy form; WIP

add client policy tests

checkout realm settings test from master

RealmSettingsPage.ts master

remove comment and add missing translation

fix tests

PR feedback from Jon and Erik

rebase

editClientPolicy

edit client policy

add client policy conditions form

fix bug in create form

remove comment

update help text

fixes

breadcrumbs

add support for adding multiple conditions, deleting conditions, and list conditions in data table

clean up names

add delete functionality to conditions form

PR feedback from Jon

useMemo for conditions

remove comments and logs

remove unused hook

add profiles modal wip

addprofiles wip

profiles wip

help text wip

add help text

remove comments

remove duplicate message

update data test id

PR feedback from Jon 1

Apply suggestions from code review

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

remove fragment

create policy detail attribute type

* PR feedback from Jon 1

* PR feedback from Jon 2

* add spinner to prevent loader from being called

* remove duplicate identifier

* fix and rename route

* rename route
2021-10-29 16:19:57 +02:00
Bruno Oliveira da Silva
b0b4d01760 [KEYCLOAK-19681] Remove unused package-lock.json file in the main repository 2021-10-29 07:57:21 +02:00
Jon Koops
5e63bac12e
Implement partial realm export (#1441)
* Implement partial realm export

* Replace Switches with Checkboxes
2021-10-29 10:50:25 +08:00
mfrances17
75da445971
prevent stacked notifications (#1438) 2021-10-28 14:58:54 -04:00
alevid99
9e116daf62
Added possibility to manage array attributes (#1384)
* Added possibility to manage array attributes

* feat(attributes): added multivalue tests
2021-10-28 14:49:19 -04:00
Jenny
b80f0a3018
OIDC mapper bug fixes (#1439)
* mapper bug fixes

* change to toUpperCase()

* update data test id for regex switch

* fix cypress test
2021-10-28 10:51:26 -04:00
Joerg Matysiak
afc5cb4d14 KEYCLOAK-19617 Simplify creation of custom user profiles
* DeclarativeUserProfileProvider passes its ID to DeclarativeUserProfileModel, so this also works for derived classes.
* Moved creation of declarative user profile model to a protected factory method to allow subclasses to provide their own implementation.
* Added integration tests for custom user profile
* configured declarative-user-profile as default user profile provider in test servers
* Restore previously configured default provider after test with special provider settings
* Some refactoring in SpiProviderSwitchingUtils
2021-10-28 08:26:11 -03:00
Dominik Guhr
5628370099 KEYCLOAK-19307 provide hints in CLI 2021-10-27 15:05:04 -03:00
mfrances17
8f5fe27647
change clock skew to num (#1379) 2021-10-27 12:07:37 -04:00
Jon Koops
6cf586f447
Lazy load user tabs component to prevent circular dependencies (#1432) 2021-10-27 16:15:30 +02:00
Martin Kanis
af97849feb KEYCLOAK-19030 Implement HotRodConnectionProvider 2021-10-27 14:07:19 +02:00
Erik Jan de Wit
d0c6bc4cc1
fix issue by introducing toolbar for fedrated user (#1417)
* fix issue by introducing toolbar for fedrated user

fixes: #1416

* code review
2021-10-27 11:19:13 +02:00
agagancarczyk
56eb774dd3
Profile view update (#1357)
* added routing for viewing client profile

* added add executors form template

* added add executors form template

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* add executor: wip

* added adding excutors to profiles

* added displaying executors - wip

* added displaying executors - wip

* added navigation to client profile edit on executor creation

* replaced table with list for listing executors added

* added support for editing client profile

* added logic making executors with config links only

* added read only values for edit/view client temporarily

* added helpText for added executors listed in executors list

* added helpText for added executors listed in executors list

* added deleting executor from client profile

* fixed deleting client profile and fixed messages for delete modals

* fixed message for delete clinet profile modal

* combined delete dialogs for client profile and executor

* displaying global executors for global profiles, hiding add executor button

* fixed eslint issue

* fixed executors list

* added back button to global profile view/edit view

* fixed test

* added global batche and hid actions dropdown for global profiles

* fixed switch on/off labels

* fixed hide/display items for global and non-global profiles

* added isDirty

* feedback fixes

* feedback fixes

* feedback fixes

* feedback fixes

* feedback fixes

* feedback fix

* small refactor

* added name and removed unused state

* fixed executor creation

* fixed executor creation

* added saving edited client profile

* added saving edited client profile

* improved trash icon styles

* test fix

* Some code suggestions

* Some more code suggestions

* feedback fixes

* feedback fixes

* use find instead of filter

* feedback fixes

* added defaultValues for executors

* removed defaultValues for executors

* final feedback fixes

* minor fixes

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-10-26 16:16:19 -04:00
Jon Koops
36f7139bdd Add new personal access token for installing new Admin UI 2021-10-26 16:03:27 +02:00
mfrances17
aad3b2ba43
Fixes cypress memory issue and several tests (#1358)
* fixes memory issue and 3 tests

* all tests passing locally
2021-10-26 08:41:08 -04:00
dependabot[bot]
ecf1d7c959 Bump @types/react from 17.0.32 to 17.0.33
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.32 to 17.0.33.
- [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>
2021-10-26 12:26:26 +02:00