Commit graph

1985 commits

Author SHA1 Message Date
Jenny
02ce5c4e6e
Realm settings(login tab): fix switches (#1183)
* fix login tab

update cypress test

cypress test

rebase

test updates

cypress test fix

get correct ids

fix get call

fix tests

try refetching realm

add useEffect to fix server GET call

uncomment test

revert to original useFetch

prettier

create new function

set timeout to 10 ms

set to 100 ms

* add comment to useEffect per Jon feedback
2021-09-27 13:15:36 -04:00
Jon Koops
bd5b0da694
Fix a typo in the publish workflow (#1243) 2021-09-27 16:59:20 +02:00
Erik Jan de Wit
673fe7c9b3
fixing messages (#1241)
fixes: #1160
2021-09-27 16:54:01 +02:00
Erik Jan de Wit
f0c0ab232a
Added missing labels on the client scope mappers (#1217)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-27 12:32:16 +02:00
Erik Jan de Wit
bd6a0a4e35
fixes: #1215 (#1235) 2021-09-27 11:57:29 +02:00
dependabot[bot]
8629366359 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.23 to 16.0.0-dev.24
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.23 to 16.0.0-dev.24.
- [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.23...v16.0.0-dev.24)

---
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-27 11:50:50 +02:00
dependabot[bot]
52f9d36784 Bump @types/lodash from 4.14.173 to 4.14.174
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.173 to 4.14.174.
- [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-27 10:58:56 +02:00
dependabot[bot]
24515a1d36 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.19 to 16.0.0-dev.23
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.19 to 16.0.0-dev.23.
- [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.19...v16.0.0-dev.23)

---
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-27 10:57:29 +02:00
dependabot[bot]
28eab75a19 Bump @types/react from 17.0.21 to 17.0.24
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.21 to 17.0.24.
- [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-27 10:56:52 +02:00
Jon Koops
c3e84021cf
Run jobs for CI in parallel (#1222) 2021-09-27 10:56:35 +02:00
Erik Jan de Wit
145cf56a2b
fixes some issue on the events tab (#1150) 2021-09-27 10:52:02 +02:00
dependabot[bot]
bb6426c86a Bump @types/node from 16.9.2 to 16.10.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.2 to 16.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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:50:44 +02:00
dependabot[bot]
cc117624dc Bump postcss from 8.3.6 to 8.3.8
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.6 to 8.3.8.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.6...8.3.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:50:27 +02:00
dependabot[bot]
a1ddc381d6 Bump @typescript-eslint/parser from 4.31.1 to 4.31.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.1 to 4.31.2.
- [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.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>
2021-09-27 10:50:07 +02:00
dependabot[bot]
7e9906fc77 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.19 to 16.0.0-dev.22
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.19 to 16.0.0-dev.22.
- [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.19...v16.0.0-dev.22)

---
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-27 10:49:43 +02:00
Jon Koops
7776adcb0b
Prevent Dependabot from automatically rebasing (#1238) 2021-09-27 10:49:15 +02:00
dependabot[bot]
95654603d1 Bump eslint-plugin-react from 7.25.3 to 7.26.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.25.3 to 7.26.0.
- [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.3...v7.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:40:50 +02:00
dependabot[bot]
24056e6c05 Bump i18next from 20.6.1 to 21.1.0
Bumps [i18next](https://github.com/i18next/i18next) from 20.6.1 to 21.1.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/v20.6.1...v21.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:40:32 +02:00
dependabot[bot]
9fdcb7e6ef Bump jest from 27.2.0 to 27.2.2
Bumps [jest](https://github.com/facebook/jest) from 27.2.0 to 27.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.0...v27.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:38:49 +02:00
Erik Jan de Wit
a74921b914
fix select paging issue (#1237)
fixes: #1213
2021-09-27 10:38:07 +02:00
dependabot[bot]
23178d8c66 Bump @types/react-router-dom from 5.1.9 to 5.3.0
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 5.1.9 to 5.3.0.
- [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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:37:31 +02:00
Stan Silvert
1432b2712b
Temporary fix for group tests. (#1223) 2021-09-26 12:41:42 +02:00
Jenny
642503e26a
Identity Providers(mappers): fix help text (#1212)
* fix help text for mapper types

* fix name field

* address PR feedback from mark and  add help text for all mapper types

* fix attribute importer help text
2021-09-24 16:27:44 -04:00
mfrances17
80ed33e832
add stored tokens readable to oidc (#1221) 2021-09-24 18:09:44 +02:00
Jon Koops
4d23bed065
Clean up workflows a little (#1211) 2021-09-24 15:47:36 +02:00
Jon Koops
668e20795b
Run the Cypress tests on master of Keycloak Server (#1207) 2021-09-24 08:41:34 -04:00
agagancarczyk
bd423c4bbe
Create profile (#1218)
* create-client-profile: creating client profile wip

* create-profile: added deleting profile

* create-profile: add executors - wip

* create-profile: add executors - wip

* create-profile: add executors - wip

* create-profile: add executors - wip

* create-profile: added testId for tests

* create-profile: added cypress tests for client profiles

* Update cypress/support/pages/admin_console/manage/realm_settings/RealmSettingsPage.ts

marking fields as private

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

* Update src/realm-settings/NewClientProfileForm.tsx

removing async (not needed)

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

* feedback fixes

* Update src/realm-settings/NewClientProfileForm.tsx

new router link implementation

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

* simplify ClientProfile type

* align form type with model

* do not delete

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-24 11:46:01 +01:00
Erik Jan de Wit
b7ebd3260b
added subflow and create flow to authentication (#1198)
* added subflow and create flow to authentication

* fixed types
2021-09-23 17:06:58 +02:00
Erik Jan de Wit
8a9f96e53a
fixes issue with selected locals (#1200)
fixes: #1179
2021-09-23 16:15:37 +02:00
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
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
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
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
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
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
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
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