Commit graph

18510 commits

Author SHA1 Message Date
Jon Koops
453b5a07e7
Add editMode as a required field (#1209) 2021-09-23 16:11:41 +02:00
Jenny
bef9539389
Realm Settings(Client Policies): Add policies list (#1201)
* wip client policies: policies tab

* wip switches

* wip client policies: policies tab

* client policies list

* package.json

* revert to enabled
2021-09-23 09:41:29 -04:00
Erik Jan de Wit
8fc517f2a0
fix the name of the fields introduced test (#1199)
* fix the name of the fields introduced test

fixes: #1182

* changed to use display none to hide fields
2021-09-23 09:48:23 +02:00
Jenny
83d5624bf4
Identity Providers(Mappers): Edit mappers (#1140)
* rebase

dont fetch rolesbyID if mapperId

save attributes

fix cypress test

cypress test updates

fix cancel route

route fix with Erik

Apply suggestions from Jon's code review

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

pr feedback from jon

remove unused import

* usefindbytestid

* PR feedback from Jon

* fix tests

* fix save bug and feedback from Jon

* remove unnecessary type

* fix cypress test
2021-09-22 16:27:30 -04:00
Daniel Fesenmeyer
339224578e KEYCLOAK-10603 adjust assignments to roles (user-role and group-role assignments, client-scope and client "scope mappings"): allow assignments of roles which are already indirectly assigned (e.g. by composite role)
- extend RoleMapperModel with method hasDirectRole(RoleModel), which only checks for direct assignment in contrast to the existing method hasRole(RoleModel)
- extend ScopeContainerModel with method hasDirectScope(RoleModel), which only checks for direct scope mapping in contrast to the existing method hasScope(RoleModel)
- use the new hasDirectRole and hasDirectScope methods to check whether a role is in the "available" list and whether it can be assigned (previously, the hasRole method was used for this purpose)
- add hint to UI that available roles contain effectively assigned roles which are not directly assigned
- adjust and extend tests
2021-09-22 13:56:29 +02:00
Erik Jan de Wit
809247a686
changed to use code editor (#1161)
* changed to use code editor

* Update src/components/json-file-upload/JsonFileUpload.tsx

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

* fixed tests

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-22 10:54:53 +02:00
Erik Jan de Wit
34e9d7a3ca
added description on new client scope screen (#1203) 2021-09-22 10:35:02 +02:00
Nikolas Laskaris
8f09d34272
KEYCLOAK-18288 (#8096)
RealmsAdminResource now returns also a brief representation (not by default, to be backwards compatible) for realms[] if the appropriate flag is sent.
2021-09-20 15:32:15 -04:00
Dominik
ac9e1f7f92 KEYCLOAK-13701 Fix Corrupted STDOUT warning 2021-09-20 15:18:37 -03:00
Luca Graf
2c22ccbf97 KEYCLOAK-19286 Use client storage provider id to construct client StorageId, so that a valid 'external' client id will be generated. 2021-09-20 19:43:20 +02:00
Erik Jan de Wit
27dd8d7e13
deleted original screens, works like old console (#1187)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-20 17:31:05 +02:00
Jon Koops
c9f9a9b0c5
Check types when running Cypress (#1186) 2021-09-20 16:56:02 +02:00
agagancarczyk
2237ee4d65
Realm setting profiles (#1149)
* admin-events-list: added PF code editor

* realm-settings: added template for client policies tab

* realm-settings: fixed space between text and q icon

* admin-events-list: hardcoded representation dialog

* realm-settings: css improvement

* realm-settings: feedback applied

* realm-settings: feedback applied

* admin-events-list: fixed representation dialog

* admin-events-list: fixed representation dialog

* Update src/events/AdminEvents.tsx

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

* admin-events-list: fixed representation dialog

* real-settings-profile: added subtabs

* realm-settings-list: added table displaying client profiles and delete dialog

* realm-settings-list: updated column name

* realm-settings-list: implemented radio button format change

* realm-settings-list: added buttons for JSON editor

* realm-settings-list: added isPaginated to profiles table

* realm-settings-list: impoved css for json editor

* realm-settings-list: fix for loader

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: feedback fixes

* realm-settings-list: disbaled row when profile is global

* realm-settings-new-profile: added template for new profile - wip

* realm-settings-list: feedback fixes

* Add some @ts-ignore comments for the links

* Split routes into multiple files

* realm-settings: temporarily hardcoded path for cancelling new profile btn, bumped admin-client dep

* realm-settings: reverted back to Link

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-20 13:42:07 +01:00
Victor-Philipp Negoescu
d562bea54e KEYCLOAK-19246 Always use locale en-US when executing unit tests 2021-09-20 09:18:49 -03:00
Vlastimil Elias
28e220fa6d KEYCLOAK-18497 - Support different input types in built-in dynamic forms 2021-09-20 09:14:49 -03:00
Takashi Norimatsu
375e47877e KEYCLOAK-18558 Client Policy - Endpoint : support Device Authorization Endpoint 2021-09-20 11:22:58 +02:00
Jess Thrysoee
b4fe7bbda2 KEYCLOAK-19344 Add CORS to Device Authorization Request
Add CORS headers to the Device Authorization Request (OAuth 2.0 Device Authorization Grant)
to make it available for non-confidential public webbrowser based clients, e.g. SPA like
signage or kiosk webapps.
2021-09-20 10:32:10 +02:00
dependabot[bot]
9adcc7a52d Bump @patternfly/react-core from 4.157.2 to 4.157.3
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react) from 4.157.2 to 4.157.3.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@4.157.2...@patternfly/react-core@4.157.3)

---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 10:26:43 +02:00
dependabot[bot]
26682a75a9 Bump eslint-plugin-react from 7.25.2 to 7.25.3
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.25.2 to 7.25.3.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.2...v7.25.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 10:26:05 +02:00
dependabot[bot]
89dac7b7b8 Bump @patternfly/react-table from 4.30.2 to 4.30.3
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 4.30.2 to 4.30.3.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.30.2...@patternfly/react-table@4.30.3)

---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 10:25:36 +02:00
dependabot[bot]
85e1da0f1c Bump @patternfly/react-code-editor from 4.3.60 to 4.3.61
Bumps [@patternfly/react-code-editor](https://github.com/patternfly/patternfly-react) from 4.3.60 to 4.3.61.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@4.3.60...@patternfly/react-code-editor@4.3.61)

---
updated-dependencies:
- dependency-name: "@patternfly/react-code-editor"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 10:25:17 +02:00
dependabot[bot]
8d14a07670 Bump cypress from 8.4.0 to 8.4.1
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.4.0...v8.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 10:24:51 +02:00
chen kqing
c9809f0151 KEYCLOAK-18873 href attribute of a "Unable to scan?" tag is wrong in "Configure TOTP" page 2021-09-20 10:09:58 +02:00
stianst
12b8c0c9d3 Temporary fix to set keycloak-admin-ui version 2021-09-20 08:33:38 +02:00
Miquel Simon
07dc8417dc KEYCLOAK-19336. Temporarily set version for keycloak-admin-ui artifact. 2021-09-20 08:33:38 +02:00
mfrances17
e89a69047f
SAML ID provider cleanup (#1170)
* most fields fixed

* small issues

* all but one value working

* all SAML fields working

* add fixes from jon review
2021-09-17 13:51:43 -04:00
mfrances17
6063c8db96
add tooltips for client login fields (#1184) 2021-09-17 13:50:56 -04:00
Jon Koops
775885c56b
Configure Cypress to use the correct types (#1168) 2021-09-17 15:23:34 +02:00
Dominik
6d036a4647 KEYCLOAK-13770 Already working Tests after upgrade to Quarkus2 2021-09-17 10:03:26 -03:00
dependabot[bot]
0160738ec0 Bump eslint-plugin-react from 7.25.1 to 7.25.2
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.25.1 to 7.25.2.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.1...v7.25.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 10:18:53 +02:00
Bruno Oliveira da Silva
6ec4f45dd9 [KEYCLOAK-19321] Remove the remaining Travis files 2021-09-17 10:08:49 +02:00
Stian Thorgersen
934d1e3e64
Update MAINTAINERS.md 2021-09-17 09:40:19 +02:00
Jon Koops
62ea6c5dca
Check types using ts-jest and upgrade Jest (#1178) 2021-09-17 09:33:15 +02:00
Jenny
b7553b50f4
update to PF 4.135 (#1164) 2021-09-16 23:54:08 +02:00
Dominik
4090114398 KEYCLOAK-16246 Revert changes from workaround made in KEYCLOAK-16244 after upgrading to quarkus 2
Also fixed a small type in testclass.
This reverts commit 9b2f2015f7.
2021-09-16 15:42:48 -03:00
dependabot[bot]
36dcb69d57 Bump cypress from 8.3.1 to 8.4.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.3.1 to 8.4.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.3.1...v8.4.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-16 17:22:10 +02:00
dependabot[bot]
3f60e567c3 Bump @types/react-router-dom from 5.1.8 to 5.1.9
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 5.1.8 to 5.1.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom)

---
updated-dependencies:
- dependency-name: "@types/react-router-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-16 17:07:01 +02:00
dependabot[bot]
3f04471631 Bump @types/react from 17.0.20 to 17.0.21
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.20 to 17.0.21.
- [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-09-16 17:06:46 +02:00
dependabot[bot]
2e75bcc7c6 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.15 to 16.0.0-dev.17
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.15 to 16.0.0-dev.17.
- [Release notes](https://github.com/keycloak/keycloak-nodejs-admin-client/releases)
- [Changelog](https://github.com/keycloak/keycloak-nodejs-admin-client/blob/master/tsconfig.release.json)
- [Commits](https://github.com/keycloak/keycloak-nodejs-admin-client/compare/v16.0.0-dev.15...v16.0.0-dev.17)

---
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-09-16 16:30:07 +02:00
dependabot[bot]
fa0e116e47 Bump @types/lodash from 4.14.172 to 4.14.173
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.172 to 4.14.173.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-16 16:29:28 +02:00
dependabot[bot]
20336c8ca0 Bump @typescript-eslint/parser from 4.31.0 to 4.31.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.0 to 4.31.1.
- [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/v4.31.1/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>
2021-09-16 16:29:09 +02:00
dependabot[bot]
9ffc28710a Bump prettier from 2.4.0 to 2.4.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.0 to 2.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/2.4.0...2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-16 16:28:40 +02:00
Jon Koops
6e0d4e4dfa
Prevent publish from running on forked repositories (#1169) 2021-09-16 15:35:06 +02:00
Jon Koops
27bcd66a29
Lint all files in the project (#1167) 2021-09-16 12:24:21 +02:00
Miklín Vojtěch
78d3e2ebad KEYCLOAK-19300 Update Czech translation of email messages 2021-09-15 16:59:45 +02:00
Sophie Tauchert
b5d477c421 [KEYCLOAK-18556] Check for federated credentials when resolving authenticators 2021-09-15 16:54:56 +02:00
Jeswin Simon
daf39e2a63
KEYCLOAK-19281 Added missing closing div tag in login-username template (#8435) 2021-09-15 16:52:11 +02:00
Stan Silvert
93e229e45d
KEYCLOAK-18512: Integrate New Admin Console into Keycloak build (#8366)
* KEYCLOAK-18512: Integrate New Admin Console into Keycloak build

* KEYCLOAK-18512: Integrate New Admin Console into Keycloak build

* Change version to project version.  Make experimental.

* Add PAT for reading packages (#12)

* Add PAT for reading packages

* Encode token

* Use generic GH account for installation of packages

* Enable Github packages repo only for snapshots

* KEYCLOAK-18512: Make ADMIN2 experimental instead of preview

* KEYCLOAK-18512: Remove early return

* KEYCLOAK-18512: Fix formatting issue

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-15 10:09:06 -04:00
Miklín Vojtěch
24811f1ef5 KEYCLOAK-19288 Update Czech translation of login messages 2021-09-15 15:01:16 +02:00
Vlastimil Elias
2be5f528e4 KEYCLOAK-18700 - consistently record User profile attribute changes in
UPDATE_PROFILE event
2021-09-15 08:26:01 -03:00