Commit graph

1106 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
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
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
Erik Jan de Wit
cb94c537db
don't show toolbar when not searching (#1152)
* don't show toolbar when not searching

* fixed the tests

* made switch logic more readable

* fixed test
2021-09-15 11:45:56 +02:00
Erik Jan de Wit
b8990cbf63
Make filtering of client scopes same for clients and client scope section (#1064)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-14 17:48:48 +02:00
Erik Jan de Wit
71d881ccd0
multiple issues with this mapper (#1155) 2021-09-14 14:54:14 +02:00
Erik Jan de Wit
528d22ce30
fixed missing fields (#1151) 2021-09-14 12:11:22 +02:00
Jon Koops
43b6efd820
Stop running unit tests on commit (#1148) 2021-09-13 11:28:47 +02:00
Jenny
a617c4ab12
Identity Providers(Mappers): Implement "Add Mapper" Screen/Functionality for OIDC and SAML IdPs (#1118) 2021-09-13 11:17:00 +02:00
Jenny
7414e174b6
set alias to read only in IdPs (#1144) 2021-09-13 11:15:04 +02:00
dependabot[bot]
779056bef2 Bump typescript from 4.4.2 to 4.4.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.2...v4.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 11:14:38 +02:00
dependabot[bot]
b23c04acf2 Bump @testing-library/react from 12.0.0 to 12.1.0
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 12.0.0 to 12.1.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 10:25:35 +02:00
dependabot[bot]
2eb1b27772 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.11 to 16.0.0-dev.15
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.11 to 16.0.0-dev.15.
- [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.11...v16.0.0-dev.15)

---
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-13 10:25:04 +02:00
Jon Koops
5979101b0b
Process UXD feedback for client revocation (#1139) 2021-09-10 15:25:18 +02:00
dependabot[bot]
787a565213 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.10 to 16.0.0-dev.11
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.10 to 16.0.0-dev.11.
- [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.10...v16.0.0-dev.11)

---
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-10 11:48:14 +02:00
dependabot[bot]
99dbcc7ee7 Bump prettier from 2.3.2 to 2.4.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0.
- [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.3.2...2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-09 16:14:10 +02:00
dependabot[bot]
4982869a7e Bump react-i18next from 11.11.4 to 11.12.0
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.11.4 to 11.12.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.11.4...v11.12.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-09-09 16:12:45 +02:00
Jon Koops
bd1c7fa102
Remove internationalization from 'Themes' tab (#1138) 2021-09-09 14:00:20 +02:00
agagancarczyk
b9208cb9c7
Admin events rep dialog (#1137)
* 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

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-09 11:45:19 +01:00
Jon Koops
d12851c77e
Add action to automatically publish snapshots (#1054) 2021-09-08 17:50:48 +02:00
Jenny
2923a4c16f
Identity Providers(SAML): Adds data table for SAML mappers (#1058)
* data table for saml mappers

saml mapeprs tab

fix localized text

PR feedback from Jon

remove jsx fragment

remove comment

remove toolbar button

* try fixing cypress test

* remove optional chaining

* PR feedback from Jon

* more PR feedback from Jon

* rename variable and use find()

* useFetch() change as suggested by Jon

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

* rebase and use reset function

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-08 10:33:19 -04:00
dependabot[bot]
5ca4aba375 Bump i18next from 20.6.0 to 20.6.1
Bumps [i18next](https://github.com/i18next/i18next) from 20.6.0 to 20.6.1.
- [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.0...v20.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 12:38:42 +02:00
dependabot[bot]
a0fd699049 Bump @jest/types from 27.1.0 to 27.1.1
Bumps [@jest/types](https://github.com/facebook/jest/tree/HEAD/packages/jest-types) from 27.1.0 to 27.1.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.1.1/packages/jest-types)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 12:32:37 +02:00
dependabot[bot]
f62b788223 Bump @keycloak/keycloak-admin-client from 16.0.0-dev.8 to 16.0.0-dev.10
Bumps [@keycloak/keycloak-admin-client](https://github.com/keycloak/keycloak-nodejs-admin-client) from 16.0.0-dev.8 to 16.0.0-dev.10.
- [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.8...v16.0.0-dev.10)

---
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-08 12:32:17 +02:00