Commit graph

1187 commits

Author SHA1 Message Date
Jenny
6e5fa7df66
Realm settings(keys): add rsa provider details (#871)
* add rsa details

* remove log

* master package-lock
2021-07-19 14:35:06 -04:00
Jenny
0530b08c74
Realm settings(keys): add rsa-generated provider details (#872) 2021-07-19 17:07:19 +02:00
Jenny
7d57da1567
Realm settings(keys): add ECDSA provider details (#850)
* parent a03c8fc79b
author jenny-s51 <jshandel@redhat.com> 1624022352 -0400
committer jenny-s51 <jshandel@redhat.com> 1626287571 -0400

parent a03c8fc79b
author jenny-s51 <jshandel@redhat.com> 1624022352 -0400
committer jenny-s51 <jshandel@redhat.com> 1626287382 -0400

parent a03c8fc79b
author jenny-s51 <jshandel@redhat.com> 1624022352 -0400
committer jenny-s51 <jshandel@redhat.com> 1626286966 -0400

wip provider details

provider details wip

move files wip

wip

wip all provider details

remove controllers

save and update working

address console warnings

remove log stmt

update test

keep aes only

remove comments

remove unused hook and function

remove unused props

revert ldap logs

fix conflict and remove duplicate function

Partial import phase 2 (#702)

* Process the JSON and present user options

* Finish checkboxes.  Refactor.

* Add tests

* Refactor after rebase

* Add more test data for manual testing.

* Fix linting errors

* Put JsonFileUpload back the way it was.

* Clean up comments

* Update src/realm-settings/PartialImport.tsx

Remove comment

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Fixing UXD review for user (#648)

* Introduced new GroupPicker.
Can be used for move group or join group

* Moved help texts to help.json

* don't set state when there was no request

* add pagination

* remove "Groups" link on root level

* use path in chip instread of name

* fixes filtering to show search not found
and removes `+1` logic from pager

* fix breadcrumb and layout

* fixed all the tests

Localization tab (#685)

* localization wip

wip localization

return key value data as array

localization table

css

lint

lint

clean up log stmts

clean up log stmts

* PR feedback from Erik

* fix logic for supported locales

* update empty state text

* set default value

* fix cypress test

* Update src/realm-settings/RealmSettingsSection.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix rsa-generated delete bug; PR feedback frog Erik

* revert locale abbreviation

* remove log stmts

* PR feedback from Erik, fix undefined

* fix loader w Erik

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

add divider on section

Prepare for first alpha release (#711)

use typeahead for mapper list

fix test

Default roles: UI Changes from KEYCLOAK-14846 (#693)

* defaultRoles wip

default role changes done

clean up log stmts

update snapshot

fix masthead test

* fix cypress test

* fix tabs

Comment out Realm role CRUD test (#712)

* Bogus change

* Bogus change

* Comment out Realm role CRUD test

Bump postcss-cli from 7.1.1 to 8.3.1 (#718)

Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.1...8.3.1)

---
updated-dependencies:
- dependency-name: postcss-cli
  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>

Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#717)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.12.0 to 5.14.1.
- [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.12.0...v5.14.1)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fixing issue (#709)

* fixing issue

fixing: #680

* added kebab on row

* added more clear group seperation

Bump cypress from 7.4.0 to 7.5.0 (#715)

Bump @babel/preset-typescript from 7.13.0 to 7.14.5 (#714)

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.13.0 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-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>

Bump @testing-library/react from 10.4.6 to 11.2.7 (#716)

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.6 to 11.2.7.
- [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/v10.4.6...v11.2.7)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  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>

inherited roles disabled instead of non selectable

more style fixes

fixed size

change title of tab

add unassign kebab on row

added help item on enable switch

test email working, modal wip

email connection done

remove comment

fix cypress test

revert test file

fdisable email prompting when user email entered

prettier

update cypress tests

fix lint

try fix cypress test

try longer wait

save and test connection

fix test

disable test connection button if form fields not entered

lint

afix username/password fields

fix test

mark suggested change

add modal button and input functions

fixed default value warning

fixing issue

fixing: #650

updated admin client with new endpoints (#725)

Bump react-i18next from 11.7.0 to 11.11.0 (#733)

Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.7.0 to 11.11.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.7.0...v11.11.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump @typescript-eslint/eslint-plugin from 3.8.0 to 3.10.1 (#731)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.8.0 to 3.10.1.
- [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/v3.10.1/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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump @jest/types from 26.6.2 to 27.0.2 (#730)

Bumps [@jest/types](https://github.com/facebook/jest/tree/HEAD/packages/jest-types) from 26.6.2 to 27.0.2.
- [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.0.2/packages/jest-types)

---
updated-dependencies:
- dependency-name: "@jest/types"
  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>

Bump eslint from 7.6.0 to 7.29.0 (#734)

Bump @patternfly/react-table from 4.27.24 to 4.29.0 (#732)

Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 4.27.24 to 4.29.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.27.24...@patternfly/react-table@4.29.0)

---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
  dependency-type: direct:production
  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>

fixed issue

fixing: #706

fixed types

fixed lint

fixed description coll with and make text truncate

removed member count column

right align kebab

Fixed these 2 issues: (#741)

* fix order of alerts where the newest is on the top

* removed double loading indicator

* fixes showing old alerts again

Realm settings(localization): Add bundle functionality (#739)

* wip provider details

provider details wip

move files wip

wip

wip all provider details

remove controllers

save and update working

address console warnings

remove log stmt

update test

keep aes only

remove comments

remove unused hook and function

remove unused props

revert ldap logs

fix conflict and remove duplicate function

Partial import phase 2 (#702)

* Process the JSON and present user options

* Finish checkboxes.  Refactor.

* Add tests

* Refactor after rebase

* Add more test data for manual testing.

* Fix linting errors

* Put JsonFileUpload back the way it was.

* Clean up comments

* Update src/realm-settings/PartialImport.tsx

Remove comment

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Fixing UXD review for user (#648)

* Introduced new GroupPicker.
Can be used for move group or join group

* Moved help texts to help.json

* don't set state when there was no request

* add pagination

* remove "Groups" link on root level

* use path in chip instread of name

* fixes filtering to show search not found
and removes `+1` logic from pager

* fix breadcrumb and layout

* fixed all the tests

Localization tab (#685)

* localization wip

wip localization

return key value data as array

localization table

css

lint

lint

clean up log stmts

clean up log stmts

* PR feedback from Erik

* fix logic for supported locales

* update empty state text

* set default value

* fix cypress test

* Update src/realm-settings/RealmSettingsSection.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix rsa-generated delete bug; PR feedback frog Erik

* revert locale abbreviation

* remove log stmts

* PR feedback from Erik, fix undefined

* fix loader w Erik

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

add divider on section

Prepare for first alpha release (#711)

use typeahead for mapper list

fix test

Default roles: UI Changes from KEYCLOAK-14846 (#693)

* defaultRoles wip

default role changes done

clean up log stmts

update snapshot

fix masthead test

* fix cypress test

* fix tabs

Comment out Realm role CRUD test (#712)

* Bogus change

* Bogus change

* Comment out Realm role CRUD test

Bump postcss-cli from 7.1.1 to 8.3.1 (#718)

Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.1...8.3.1)

---
updated-dependencies:
- dependency-name: postcss-cli
  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>

Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#717)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.12.0 to 5.14.1.
- [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.12.0...v5.14.1)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fixing issue (#709)

* fixing issue

fixing: #680

* added kebab on row

* added more clear group seperation

Bump cypress from 7.4.0 to 7.5.0 (#715)

Bump @babel/preset-typescript from 7.13.0 to 7.14.5 (#714)

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.13.0 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-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>

Bump @testing-library/react from 10.4.6 to 11.2.7 (#716)

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.6 to 11.2.7.
- [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/v10.4.6...v11.2.7)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  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>

inherited roles disabled instead of non selectable

more style fixes

fixed size

change title of tab

add unassign kebab on row

added help item on enable switch

test email working, modal wip

email connection done

remove comment

fix cypress test

revert test file

fdisable email prompting when user email entered

prettier

update cypress tests

fix lint

try fix cypress test

try longer wait

save and test connection

make wait longer

increase wait

fix test

disable test connection button if form fields not entered

lint

afix username/password fields

fix test

mark suggested change

add modal button and input functions

fixed default value warning

fixing issue

fixing: #650

updated admin client with new endpoints (#725)

fix add function and add test

remove aes provider changes

remove comments

format

update cypress test

update add bundle function

fix test

remove comment

* remove merge conflict markers

* more markers

* format

fixed type of save button

Fix localization bug (#747)

* wip provider details

provider details wip

move files wip

wip

wip all provider details

remove controllers

save and update working

address console warnings

remove log stmt

update test

keep aes only

remove comments

remove unused hook and function

remove unused props

revert ldap logs

fix localization bug

remove files

* format

fixed bad testids (#748)

Update to Patternfly 4.115.2 (latest release) (#737)

* update to latest PF

* fix tests

Bump eslint from 7.29.0 to 7.30.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump @typescript-eslint/parser from 3.8.0 to 3.10.1

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.8.0 to 3.10.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/v3.10.1/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>

Bump postcss-import from 12.0.1 to 14.0.2

Bumps [postcss-import](https://github.com/postcss/postcss-import) from 12.0.1 to 14.0.2.
- [Release notes](https://github.com/postcss/postcss-import/releases)
- [Changelog](https://github.com/postcss/postcss-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-import/compare/12.0.1...14.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump @testing-library/react from 11.2.7 to 12.0.0

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.2.7 to 12.0.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/v11.2.7...v12.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump cypress from 7.5.0 to 7.6.0

Bumps [cypress](https://github.com/cypress-io/cypress) from 7.5.0 to 7.6.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/v7.5.0...v7.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump postcss from 8.3.3 to 8.3.5

Bumps [postcss](https://github.com/postcss/postcss) from 8.3.3 to 8.3.5.
- [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.3...8.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump react-dom from 16.13.1 to 16.14.0

Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react-dom)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump prettier from 2.1.2 to 2.2.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.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.1.2...2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

bumped babel-core dependency to 7.11.5

Increase Dependabot PR limit

Bump react-hook-form from 6.15.1 to 6.15.8

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 6.15.1 to 6.15.8.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v6.15.1...v6.15.8)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @types/react-dom from 16.9.5 to 17.0.8

Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 16.9.5 to 17.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump @jest/types from 27.0.2 to 27.0.6

Bumps [@jest/types](https://github.com/facebook/jest/tree/HEAD/packages/jest-types) from 27.0.2 to 27.0.6.
- [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.0.6/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>

Bump use-react-router-breadcrumbs from 2.0.0 to 2.0.2

Bumps [use-react-router-breadcrumbs](https://github.com/icd2k3/use-react-router-breadcrumbs) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/icd2k3/use-react-router-breadcrumbs/releases)
- [Commits](https://github.com/icd2k3/use-react-router-breadcrumbs/compare/2.0.0...2.0.2)

---
updated-dependencies:
- dependency-name: use-react-router-breadcrumbs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @snowpack/plugin-postcss from 1.4.0 to 1.4.3

Bumps [@snowpack/plugin-postcss](https://github.com/snowpackjs/snowpack/tree/HEAD/plugins/plugin-postcss) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/snowpackjs/snowpack/releases)
- [Changelog](https://github.com/snowpackjs/snowpack/blob/main/plugins/plugin-postcss/CHANGELOG.md)
- [Commits](https://github.com/snowpackjs/snowpack/commits/@snowpack/plugin-postcss@1.4.3/plugins/plugin-postcss)

---
updated-dependencies:
- dependency-name: "@snowpack/plugin-postcss"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @snowpack/plugin-webpack from 2.3.1 to 3.0.0

Bumps [@snowpack/plugin-webpack](https://github.com/snowpackjs/snowpack/tree/HEAD/plugins/plugin-webpack) from 2.3.1 to 3.0.0.
- [Release notes](https://github.com/snowpackjs/snowpack/releases)
- [Changelog](https://github.com/snowpackjs/snowpack/blob/main/plugins/plugin-webpack/CHANGELOG.md)
- [Commits](https://github.com/snowpackjs/snowpack/commits/@snowpack/plugin-webpack@3.0.0/plugins/plugin-webpack)

---
updated-dependencies:
- dependency-name: "@snowpack/plugin-webpack"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump typescript from 4.2.4 to 4.3.5

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump eslint-plugin-react from 7.23.2 to 7.24.0

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.23.2 to 7.24.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.23.2...v7.24.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>

Bump @types/react from 16.9.23 to 17.0.13

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.23 to 17.0.13.
- [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-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump i18next from 20.3.1 to 20.3.2

Bumps [i18next](https://github.com/i18next/i18next) from 20.3.1 to 20.3.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/v20.3.1...v20.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump @snowpack/app-scripts-react from 1.10.0 to 1.12.6

Bumps [@snowpack/app-scripts-react](https://github.com/snowpackjs/snowpack/tree/HEAD/create-snowpack-app/app-scripts-react) from 1.10.0 to 1.12.6.
- [Release notes](https://github.com/snowpackjs/snowpack/releases)
- [Changelog](https://github.com/snowpackjs/snowpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/snowpackjs/snowpack/commits/@snowpack/app-scripts-react@1.12.6/create-snowpack-app/app-scripts-react)

---
updated-dependencies:
- dependency-name: "@snowpack/app-scripts-react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Update Prettier to latest version and fix formatting

Update @typescript-eslint to latest version and fix issues

Fix Storybook server and update to latest version

- Fix build for Storybook
- Update Storybook and dependencies to latest version
- Update Storybook files from React template
- Add task to CI to verify Storybook build

Revert "Bump typescript from 4.2.4 to 4.3.5"

This reverts commit cb653cee68.

sessions: added sessions type dropdown

sessions: re-formatted code

sessions: removed unused key

sessions: improved dropdown

sessions: added texts to messages.json

Bump @typescript-eslint/parser from 4.28.1 to 4.28.2

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.28.1 to 4.28.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.28.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>

Changed the group picker to reflect the updated design (#743)

Instantly paste large resource files in Cypress tests

Drop snapshot tests in Jest

Bump @types/snowpack-env from 2.3.3 to 2.3.4

Bumps [@types/snowpack-env](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/snowpack-env) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/snowpack-env)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump react-i18next from 11.11.0 to 11.11.1

Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.11.0 to 11.11.1.
- [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.0...v11.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump @types/jest from 26.0.23 to 26.0.24

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.23 to 26.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Signed-off-by: dependabot[bot] <support@github.com>

Convert DataLoader test to use React Testing Library

Convert FormAccess test to use React Testing Library

Convert ConfirmDialog test to use React Testing Library

Convert MapperDialog test to use React Testing Library

Bump @types/lodash from 4.14.170 to 4.14.171

Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.170 to 4.14.171.
- [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>

Remove Enzyme from testing suite

format

Update to React 17

Update ts-node to latest version

Use WebPack 5 for Storybook builds

Switch to NPM as the default package manager

Disable WebPack production build to pass tests

Optimize performance of Cypress tests on CI (#809)

- Disable uploads for videos of tests that have passed
- Disable compression of videos to speed up runs

Bump snowpack from 2.11.1 to 2.18.5

Bumps [snowpack](https://github.com/snowpackjs/snowpack) from 2.11.1 to 2.18.5.
- [Release notes](https://github.com/snowpackjs/snowpack/releases)
- [Changelog](https://github.com/snowpackjs/snowpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/snowpackjs/snowpack/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>

Added accessability fixes

fixed dependencies in package-lock.json

fixed dependencies in package-lock.json

Added Security Defenses tab in the realm settings (#738)

* initial version of the Security defenses tab

* disable when not dirty

* added test

* removed unsessary fetches

* fixed format

* fixed tests

* fixed title

* Update src/realm-settings/security-defences/BruteForceDetection.tsx

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* Update src/realm-settings/messages.json

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* fixed test

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Revert "Ay11"

added accessibility fixes

Bump @storybook/addon-links from 6.3.2 to 6.3.4

Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.3.2 to 6.3.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.3.4/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump @storybook/addon-actions from 6.3.2 to 6.3.4

Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.3.2 to 6.3.4.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.3.4/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump ts-node from 10.0.0 to 10.1.0

Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.0.0...v10.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump cypress from 7.6.0 to 7.7.0

Bumps [cypress](https://github.com/cypress-io/cypress) from 7.6.0 to 7.7.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/v7.6.0...v7.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Bump @types/file-saver from 2.0.2 to 2.0.3

Bumps [@types/file-saver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/file-saver) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/file-saver)

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

Signed-off-by: dependabot[bot] <support@github.com>

added acessibility fixes

added acessibility fixes

parent a03c8fc79b (#729)

author jenny-s51 <jshandel@redhat.com> 1624022352 -0400
committer jenny-s51 <jshandel@redhat.com> 1625159705 -0400

wip provider details

provider details wip

move files wip

wip

wip all provider details

remove controllers

save and update working

address console warnings

remove log stmt

update test

keep aes only

remove comments

remove unused hook and function

remove unused props

revert ldap logs

fix conflict and remove duplicate function

format and cypress test

Partial import phase 2 (#702)

* Process the JSON and present user options

* Finish checkboxes.  Refactor.

* Add tests

* Refactor after rebase

* Add more test data for manual testing.

* Fix linting errors

* Put JsonFileUpload back the way it was.

* Clean up comments

* Update src/realm-settings/PartialImport.tsx

Remove comment

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Localization tab (#685)

* localization wip

wip localization

return key value data as array

localization table

css

lint

lint

clean up log stmts

clean up log stmts

* PR feedback from Erik

* fix logic for supported locales

* update empty state text

* set default value

* fix cypress test

* Update src/realm-settings/RealmSettingsSection.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix rsa-generated delete bug; PR feedback frog Erik

* revert locale abbreviation

* remove log stmts

* PR feedback from Erik, fix undefined

* fix loader w Erik

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

add divider on section

Prepare for first alpha release (#711)

use typeahead for mapper list

fix test

Default roles: UI Changes from KEYCLOAK-14846 (#693)

* defaultRoles wip

default role changes done

clean up log stmts

update snapshot

fix masthead test

* fix cypress test

* fix tabs

Comment out Realm role CRUD test (#712)

* Bogus change

* Bogus change

* Comment out Realm role CRUD test

Bump postcss-cli from 7.1.1 to 8.3.1 (#718)

Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.1...8.3.1)

---
updated-dependencies:
- dependency-name: postcss-cli
  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>

Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#717)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.12.0 to 5.14.1.
- [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.12.0...v5.14.1)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fixing issue (#709)

* fixing issue

fixing: #680

* added kebab on row

* added more clear group seperation

Bump cypress from 7.4.0 to 7.5.0 (#715)

Bump @babel/preset-typescript from 7.13.0 to 7.14.5 (#714)

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.13.0 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-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>

Bump @testing-library/react from 10.4.6 to 11.2.7 (#716)

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.6 to 11.2.7.
- [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/v10.4.6...v11.2.7)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  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>

inherited roles disabled instead of non selectable

more style fixes

fixed size

change title of tab

add unassign kebab on row

added help item on enable switch

test email working, modal wip

email connection done

remove comment

fix cypress test

revert test file

fdisable email prompting when user email entered

prettier

update cypress tests

fix lint

try fix cypress test

try longer wait

save and test connection

make wait longer

increase wait

fix test

disable test connection button if form fields not entered

lint

afix username/password fields

fix test

mark suggested change

add modal button and input functions

fixed default value warning

fixing issue

fixing: #650

remove provider form

add delete cleanup function

AESproviderDetails extend wait for video

update test

test wait after

rebase

remove comments

remove log

format

format

PR feedback from Jon

Apply suggestions from Jon's code review

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

remove duplicate form

form

use array desctructuring

Apply suggestions from code review

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

update useroutematch

format

format

back to async

pretty

cypress test

remove email verification switch toggle

fix add provider on non-master realm

cleaning up

fix save

fix save for other providers

fix fetch

fix runtime error

remove unused import

Apply suggestions from code review

suggested changes for non-null assertions

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

make props required

make provider type required

use realm-settings file for translation

format and roll back route changes

Integrate Prettier into ESLint and fix linting issues

Other changes:
- Ensure that .tsx files are included in the linting process

Add GIT hooks to run CI tasks before pushing

rebase

Add a 'Package Managers' section to the coding guidelines

Convert JSON files for translations to TypeScript (#841)

sessions: added cypress tests for session types dropdown display

sessions: added cypress tests review changes

Use a Snowpack plugin to enable React Fast Refresh (#845)

Enable Strict Mode for React (#846)

Upgrade PatternFly to a prerelease version (#847)

Co-authored-by: jenny-s51 <jshandel@redhat.com>

Run as theme (#840)

* Build for Keycloak theme

* Update based on lastest index.html changes.

* Fix realm dropdown when home realm is not master.

* Fix readme.

* Fix linting errors.

* Try to fix tests.

* Address Jon's comments.

ecdsa details

update files to master

update paths

update more paths

more paths

Delete ECDSAGeneratedModal.tsx

even more paths

update import path

remove conflict markers

remove unused ecdsa modal file

rebase to resolve conflict

fix console warning and dropdown

* delete assets

* fix route-config spacing

* fix forID on elliptic curve
2021-07-19 09:58:35 -04:00
Jon Koops
c4a32b6571
Upgrade to Snowpack 3 (#839) 2021-07-16 10:59:46 +02:00
Jenny
b5da41c651
Realm settings(keys): add hmac provider details (#860) 2021-07-16 10:22:08 +02:00
Stan Silvert
bcc3a84bb0
Comment out localization tab. (#861) 2021-07-16 10:10:06 +02:00
Jenny
6d8db5d533
Realm settings: Sessions tab (#807) 2021-07-15 16:25:22 +02:00
Jon Koops
8236528a07
Parse environment information as JSON (#851)
* Parse environment information as JSON

* Pass 'isRunningAsTheme' from injected environment

* Update comment to use index.ftl instead of html

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update realm param comment

* Update version param

* add more sensible defaults

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2021-07-15 11:50:01 +02:00
Stan Silvert
d606dc6bee
Run as theme (#840)
* Build for Keycloak theme

* Update based on lastest index.html changes.

* Fix realm dropdown when home realm is not master.

* Fix readme.

* Fix linting errors.

* Try to fix tests.

* Address Jon's comments.
2021-07-14 11:35:49 -04:00
Jon Koops
0930778390
Upgrade PatternFly to a prerelease version (#847)
Co-authored-by: jenny-s51 <jshandel@redhat.com>
2021-07-14 16:43:08 +02:00
Jon Koops
9cb973f188
Enable Strict Mode for React (#846) 2021-07-14 14:20:04 +02:00
Jon Koops
eaeebdc242
Use a Snowpack plugin to enable React Fast Refresh (#845) 2021-07-14 14:17:57 +02:00
Jon Koops
234a2dcba6
Convert JSON files for translations to TypeScript (#841) 2021-07-14 12:15:48 +02:00
Jon Koops
fc85d1a005 Integrate Prettier into ESLint and fix linting issues
Other changes:
- Ensure that .tsx files are included in the linting process
2021-07-13 15:20:36 +02:00
Jenny
9ad9d6c314
parent a03c8fc79b (#729)
author jenny-s51 <jshandel@redhat.com> 1624022352 -0400
committer jenny-s51 <jshandel@redhat.com> 1625159705 -0400

wip provider details

provider details wip

move files wip

wip

wip all provider details

remove controllers

save and update working

address console warnings

remove log stmt

update test

keep aes only

remove comments

remove unused hook and function

remove unused props

revert ldap logs

fix conflict and remove duplicate function

format and cypress test

Partial import phase 2 (#702)

* Process the JSON and present user options

* Finish checkboxes.  Refactor.

* Add tests

* Refactor after rebase

* Add more test data for manual testing.

* Fix linting errors

* Put JsonFileUpload back the way it was.

* Clean up comments

* Update src/realm-settings/PartialImport.tsx

Remove comment

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Localization tab (#685)

* localization wip

wip localization

return key value data as array

localization table

css

lint

lint

clean up log stmts

clean up log stmts

* PR feedback from Erik

* fix logic for supported locales

* update empty state text

* set default value

* fix cypress test

* Update src/realm-settings/RealmSettingsSection.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix rsa-generated delete bug; PR feedback frog Erik

* revert locale abbreviation

* remove log stmts

* PR feedback from Erik, fix undefined

* fix loader w Erik

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

add divider on section

Prepare for first alpha release (#711)

use typeahead for mapper list

fix test

Default roles: UI Changes from KEYCLOAK-14846 (#693)

* defaultRoles wip

default role changes done

clean up log stmts

update snapshot

fix masthead test

* fix cypress test

* fix tabs

Comment out Realm role CRUD test (#712)

* Bogus change

* Bogus change

* Comment out Realm role CRUD test

Bump postcss-cli from 7.1.1 to 8.3.1 (#718)

Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.1...8.3.1)

---
updated-dependencies:
- dependency-name: postcss-cli
  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>

Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#717)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.12.0 to 5.14.1.
- [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.12.0...v5.14.1)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fixing issue (#709)

* fixing issue

fixing: #680

* added kebab on row

* added more clear group seperation

Bump cypress from 7.4.0 to 7.5.0 (#715)

Bump @babel/preset-typescript from 7.13.0 to 7.14.5 (#714)

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.13.0 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-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>

Bump @testing-library/react from 10.4.6 to 11.2.7 (#716)

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.6 to 11.2.7.
- [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/v10.4.6...v11.2.7)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  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>

inherited roles disabled instead of non selectable

more style fixes

fixed size

change title of tab

add unassign kebab on row

added help item on enable switch

test email working, modal wip

email connection done

remove comment

fix cypress test

revert test file

fdisable email prompting when user email entered

prettier

update cypress tests

fix lint

try fix cypress test

try longer wait

save and test connection

make wait longer

increase wait

fix test

disable test connection button if form fields not entered

lint

afix username/password fields

fix test

mark suggested change

add modal button and input functions

fixed default value warning

fixing issue

fixing: #650

remove provider form

add delete cleanup function

AESproviderDetails extend wait for video

update test

test wait after

rebase

remove comments

remove log

format

format

PR feedback from Jon

Apply suggestions from Jon's code review

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

remove duplicate form

form

use array desctructuring

Apply suggestions from code review

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

update useroutematch

format

format

back to async

pretty

cypress test

remove email verification switch toggle

fix add provider on non-master realm

cleaning up

fix save

fix save for other providers

fix fetch

fix runtime error

remove unused import

Apply suggestions from code review

suggested changes for non-null assertions

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

make props required

make provider type required

use realm-settings file for translation

format and roll back route changes
2021-07-12 14:19:50 -04:00
Agnieszka Gancarczyk
cd23824973 added acessibility fixes 2021-07-12 15:11:33 +01:00
Agnieszka Gancarczyk
74deaad0b9 added acessibility fixes 2021-07-12 15:09:14 +01:00
Agnieszka Gancarczyk
032fa57383 added accessibility fixes 2021-07-09 17:15:21 +01:00
agagancarczyk
3c16cbe5e6
Merge pull request #815 from keycloak/revert-813-ay11
Revert "Ay11"
2021-07-09 16:11:50 +01:00
Erik Jan de Wit
dfda67146c
Added Security Defenses tab in the realm settings (#738)
* initial version of the Security defenses tab

* disable when not dirty

* added test

* removed unsessary fetches

* fixed format

* fixed tests

* fixed title

* Update src/realm-settings/security-defences/BruteForceDetection.tsx

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* Update src/realm-settings/messages.json

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* fixed test

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-07-09 10:23:49 -04:00
agagancarczyk
4133a432de
Revert "Ay11" 2021-07-09 14:42:45 +01:00
Agnieszka Gancarczyk
812d626541 Added accessability fixes 2021-07-08 18:14:04 +01:00
Jon Koops
a2bce22bdc Convert MapperDialog test to use React Testing Library 2021-07-07 14:50:06 +02:00
Jon Koops
ad7b77503a Convert ConfirmDialog test to use React Testing Library 2021-07-07 14:49:49 +02:00
Jon Koops
ffe9f74294 Convert FormAccess test to use React Testing Library 2021-07-07 14:49:39 +02:00
Jon Koops
dd15b13a4c Convert DataLoader test to use React Testing Library 2021-07-07 14:48:58 +02:00
Jon Koops
18e96fda16 Drop snapshot tests in Jest 2021-07-07 10:57:35 +02:00
Erik Jan de Wit
707d11fe93
Changed the group picker to reflect the updated design (#743) 2021-07-06 11:31:14 +02:00
Agnieszka Gancarczyk
5979cf2c37 sessions: added texts to messages.json 2021-07-06 09:57:29 +01:00
Agnieszka Gancarczyk
a08bf78d05 sessions: improved dropdown 2021-07-06 09:17:04 +01:00
Agnieszka Gancarczyk
f7012a3a72 sessions: removed unused key 2021-07-05 17:22:55 +01:00
Agnieszka Gancarczyk
be539849d7 sessions: re-formatted code 2021-07-05 17:13:17 +01:00
Agnieszka Gancarczyk
3bd475f703 sessions: added sessions type dropdown 2021-07-05 16:58:19 +01:00
Jon Koops
1b90900a52 Update @typescript-eslint to latest version and fix issues 2021-07-05 15:26:20 +02:00
Jon Koops
64d5a498a6 Update Prettier to latest version and fix formatting 2021-07-05 15:26:07 +02:00
dependabot[bot]
0810e9f3e0 Bump prettier from 2.1.2 to 2.2.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.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.1.2...2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 11:37:27 +02:00
mfrances17
5c3c1bbb46
Update to Patternfly 4.115.2 (latest release) (#737)
* update to latest PF

* fix tests
2021-07-02 07:45:08 -04:00
mfrances17
d327d64b7f
fixed bad testids (#748) 2021-07-01 13:53:33 -04:00
Jenny
1fe7e4ccab
Fix localization bug (#747)
* wip provider details

provider details wip

move files wip

wip

wip all provider details

remove controllers

save and update working

address console warnings

remove log stmt

update test

keep aes only

remove comments

remove unused hook and function

remove unused props

revert ldap logs

fix localization bug

remove files

* format
2021-07-01 18:44:36 +02:00
Erik Jan de Wit
255e338da9 fixed type of save button 2021-07-01 08:53:58 +02:00
Jenny
d53542f3df
Realm settings(localization): Add bundle functionality (#739)
* wip provider details

provider details wip

move files wip

wip

wip all provider details

remove controllers

save and update working

address console warnings

remove log stmt

update test

keep aes only

remove comments

remove unused hook and function

remove unused props

revert ldap logs

fix conflict and remove duplicate function

Partial import phase 2 (#702)

* Process the JSON and present user options

* Finish checkboxes.  Refactor.

* Add tests

* Refactor after rebase

* Add more test data for manual testing.

* Fix linting errors

* Put JsonFileUpload back the way it was.

* Clean up comments

* Update src/realm-settings/PartialImport.tsx

Remove comment

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Fixing UXD review for user (#648)

* Introduced new GroupPicker.
Can be used for move group or join group

* Moved help texts to help.json

* don't set state when there was no request

* add pagination

* remove "Groups" link on root level

* use path in chip instread of name

* fixes filtering to show search not found
and removes `+1` logic from pager

* fix breadcrumb and layout

* fixed all the tests

Localization tab (#685)

* localization wip

wip localization

return key value data as array

localization table

css

lint

lint

clean up log stmts

clean up log stmts

* PR feedback from Erik

* fix logic for supported locales

* update empty state text

* set default value

* fix cypress test

* Update src/realm-settings/RealmSettingsSection.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix rsa-generated delete bug; PR feedback frog Erik

* revert locale abbreviation

* remove log stmts

* PR feedback from Erik, fix undefined

* fix loader w Erik

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

add divider on section

Prepare for first alpha release (#711)

use typeahead for mapper list

fix test

Default roles: UI Changes from KEYCLOAK-14846 (#693)

* defaultRoles wip

default role changes done

clean up log stmts

update snapshot

fix masthead test

* fix cypress test

* fix tabs

Comment out Realm role CRUD test (#712)

* Bogus change

* Bogus change

* Comment out Realm role CRUD test

Bump postcss-cli from 7.1.1 to 8.3.1 (#718)

Bumps [postcss-cli](https://github.com/postcss/postcss-cli) from 7.1.1 to 8.3.1.
- [Release notes](https://github.com/postcss/postcss-cli/releases)
- [Changelog](https://github.com/postcss/postcss-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-cli/compare/7.1.1...8.3.1)

---
updated-dependencies:
- dependency-name: postcss-cli
  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>

Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#717)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.12.0 to 5.14.1.
- [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.12.0...v5.14.1)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fixing issue (#709)

* fixing issue

fixing: #680

* added kebab on row

* added more clear group seperation

Bump cypress from 7.4.0 to 7.5.0 (#715)

Bump @babel/preset-typescript from 7.13.0 to 7.14.5 (#714)

Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.13.0 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-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>

Bump @testing-library/react from 10.4.6 to 11.2.7 (#716)

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.6 to 11.2.7.
- [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/v10.4.6...v11.2.7)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  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>

inherited roles disabled instead of non selectable

more style fixes

fixed size

change title of tab

add unassign kebab on row

added help item on enable switch

test email working, modal wip

email connection done

remove comment

fix cypress test

revert test file

fdisable email prompting when user email entered

prettier

update cypress tests

fix lint

try fix cypress test

try longer wait

save and test connection

make wait longer

increase wait

fix test

disable test connection button if form fields not entered

lint

afix username/password fields

fix test

mark suggested change

add modal button and input functions

fixed default value warning

fixing issue

fixing: #650

updated admin client with new endpoints (#725)

fix add function and add test

remove aes provider changes

remove comments

format

update cypress test

update add bundle function

fix test

remove comment

* remove merge conflict markers

* more markers

* format
2021-07-01 08:48:30 +02:00
Erik Jan de Wit
1613331bba
Fixed these 2 issues: (#741)
* fix order of alerts where the newest is on the top

* removed double loading indicator

* fixes showing old alerts again
2021-07-01 08:48:03 +02:00
mfrances17
dd07911a72
Merge pull request #735 from edewit/removed-member-count
removed member count column
2021-06-30 10:00:12 -04:00
Erik Jan de Wit
1bc377aac9 right align kebab 2021-06-30 08:24:57 +02:00
mfrances17
19459edf6c
Merge pull request #724 from edewit/description-col-with
fixed description coll with and make text truncate
2021-06-29 09:18:34 -04:00
mfrances17
a626b15d4b
Merge pull request #721 from edewit/issue-706
fixed issue
2021-06-29 09:15:32 -04:00
Erik Jan de Wit
6807c987af fixed lint 2021-06-29 08:46:10 +02:00
Erik Jan de Wit
f94873f99a fixed types 2021-06-29 08:40:41 +02:00
Erik Jan de Wit
83bd0e1070 removed member count column 2021-06-28 12:15:10 +02:00
Erik Jan de Wit
6864207dac
updated admin client with new endpoints (#725) 2021-06-28 08:02:35 +02:00
Erik Jan de Wit
d6e9dcff8c fixed description coll with and make text truncate 2021-06-24 09:35:13 +02:00
mfrances17
80fc50e642
Merge pull request #722 from edewit/issue-650
fixing issue
2021-06-23 11:00:00 -04:00
Erik Jan de Wit
0dc7a3ca5f fixed default value warning 2021-06-23 13:36:10 +02:00
Erik Jan de Wit
32492152aa fixed issue
fixing: #706
2021-06-23 13:16:10 +02:00
Erik Jan de Wit
4b9a4ea504 fixing issue
fixing: #650
2021-06-23 12:59:45 +02:00
mfrances17
125fd1fe3d
Merge pull request #696 from jenny-s51/testEmailConnection
Test email connection
2021-06-22 16:17:31 -04:00
jenny-s51
0a7387be6c afix username/password fields 2021-06-22 11:19:13 -04:00
jenny-s51
e565b3a3f8 lint 2021-06-22 10:18:38 -04:00
jenny-s51
e6136b0d7e disable test connection button if form fields not entered 2021-06-22 10:17:45 -04:00
mfrances17
d90b1842ce
Merge pull request #708 from edewit/service-roles
fixing issue
2021-06-22 09:17:11 -04:00
Erik Jan de Wit
fb8419f3e1 added help item on enable switch 2021-06-22 10:32:04 +02:00
Erik Jan de Wit
4e45bc2a35 add unassign kebab on row 2021-06-22 07:52:13 +02:00
Erik Jan de Wit
e3b51d3645 change title of tab 2021-06-22 07:51:54 +02:00
jenny-s51
cc336ca16b save and test connection 2021-06-21 14:47:34 -04:00
jenny-s51
fd1466c0d6 test email working, modal wip
email connection done

remove comment

fix cypress test

revert test file

fdisable email prompting when user email entered

prettier

update cypress tests

fix lint

try fix cypress test

try longer wait
2021-06-21 14:47:34 -04:00
Erik Jan de Wit
a964abed8d
fixing issue (#709)
* fixing issue

fixing: #680

* added kebab on row

* added more clear group seperation
2021-06-21 13:55:51 -04:00
Jenny
5e6c6b0775
Default roles: UI Changes from KEYCLOAK-14846 (#693)
* defaultRoles wip

default role changes done

clean up log stmts

update snapshot

fix masthead test

* fix cypress test

* fix tabs
2021-06-18 16:04:20 -04:00
mfrances17
bb1b48e4c8
Merge pull request #710 from mfrances17/mapper-typeahead
Use typeahead for mapper list
2021-06-17 08:36:57 -04:00
mfrances17
ec6550a9ec
Merge pull request #707 from edewit/divider
add divider on section
2021-06-16 11:47:51 -04:00
mfrances
1894664a6d use typeahead for mapper list 2021-06-16 09:47:39 -04:00
Jenny
d2bf69fac7
Localization tab (#685)
* localization wip

wip localization

return key value data as array

localization table

css

lint

lint

clean up log stmts

clean up log stmts

* PR feedback from Erik

* fix logic for supported locales

* update empty state text

* set default value

* fix cypress test

* Update src/realm-settings/RealmSettingsSection.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fix rsa-generated delete bug; PR feedback frog Erik

* revert locale abbreviation

* remove log stmts

* PR feedback from Erik, fix undefined

* fix loader w Erik

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-06-16 07:38:36 -04:00
Erik Jan de Wit
2c9b77c425
Fixing UXD review for user (#648)
* Introduced new GroupPicker.
Can be used for move group or join group

* Moved help texts to help.json

* don't set state when there was no request

* add pagination

* remove "Groups" link on root level

* use path in chip instread of name

* fixes filtering to show search not found
and removes `+1` logic from pager

* fix breadcrumb and layout

* fixed all the tests
2021-06-16 07:35:03 -04:00
Stan Silvert
1bf423b505
Partial import phase 2 (#702)
* Process the JSON and present user options

* Finish checkboxes.  Refactor.

* Add tests

* Refactor after rebase

* Add more test data for manual testing.

* Fix linting errors

* Put JsonFileUpload back the way it was.

* Clean up comments

* Update src/realm-settings/PartialImport.tsx

Remove comment

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2021-06-16 13:03:55 +02:00
Erik Jan de Wit
27c3c58af1 add divider on section 2021-06-16 08:12:53 +02:00
Erik Jan de Wit
3b231a2a91 fixed size 2021-06-15 14:39:03 +02:00
Erik Jan de Wit
2765af69c5 more style fixes 2021-06-15 13:12:32 +02:00
Erik Jan de Wit
a03c8fc79b
Fixed issue comment on PR (#694)
* Fixed issue comment on PR

see: https://github.com/keycloak/keycloak-admin-ui/pull/657#issuecomment-857488393

* remove delete action on create
2021-06-15 13:08:58 +02:00
Erik Jan de Wit
e68d4ff5c8 inherited roles disabled instead of non selectable 2021-06-15 08:14:38 +02:00
mfrances17
861d382621
Merge pull request #660 from edewit/issue-416
fixing issue 416
2021-06-14 09:18:16 -04:00
Erik Jan de Wit
1a9618edff
fixes issue (#663)
* fixes issue

fixes: #636

* fixed display order

* more fixes

* fix reseet and sync default value

* fixed types

* fixed?

* fixed titles

* fixed default id

* fixed redirect url for oidc

* fixed more issues

* revert "none" option on sync mode

* updated text to use "None"

* fixed tests
2021-06-14 07:31:45 -04:00
Erik Jan de Wit
3e4a73ebfb PR review fix 2021-06-14 09:34:37 +02:00
mfrances17
04bdf4bfa5
Merge pull request #691 from jenny-s51/consentsUIFixes
Consents UI fixes
2021-06-10 12:02:59 -04:00
jenny-s51
f8d325b3f0 fix localization 2021-06-10 11:08:11 -04:00
mfrances
346e92aa8b add validation for req fields 2021-06-10 10:14:12 -04:00
mfrances
7ba357c223 add basic validation 2021-06-10 10:14:12 -04:00
mfrances
c56b5dc7b9 not hardcoded role now working 2021-06-10 10:03:46 -04:00
mfrances
64146b6bd4 add default values 2021-06-10 10:03:46 -04:00
mfrances
7edc76a079 role mapping working 2021-06-10 10:03:46 -04:00
mfrances
b9c38e811e fix lint issues 2021-06-10 10:03:46 -04:00
mfrances
63a365ad93 use radios for role selection user fed mappers only 2021-06-10 10:03:46 -04:00
mfrances
da45bf0e09 hardcoded version working 2021-06-10 10:03:46 -04:00
mfrances
37ad6bd14a hardcoded version of role modal 2021-06-10 10:03:46 -04:00
Erik Jan de Wit
be94f1f9f0
fixing issue 629 (#655)
* address some of the issues in 629

* made breadcrumb/page title same as other sections

* fixed tests
2021-06-10 09:25:02 -04:00
mfrances17
5d71a4f049
Fix additional UX issues with User Federation (#681)
* change title and breadcrumb

* only show tabs on edit not create
2021-06-09 16:13:56 -04:00
jenny-s51
76f47f17f2 remove comment 2021-06-09 14:01:41 -04:00
jenny-s51
aefac52144 add revoke action 2021-06-09 14:01:14 -04:00
jenny-s51
0647b88083 consents fixes done 2021-06-09 09:35:35 -04:00
Erik Jan de Wit
fbe3986a57
fixed default value and link to settings on create (#657) 2021-06-09 09:09:59 +02:00
jenny-s51
67b6c52c65 consents wip 2021-06-08 13:56:03 -04:00
Jenny
d77d9a2a63
Add filter capability to keys section in realm settings (#666)
* rebase

* fix empty state text
2021-06-08 11:45:37 -04:00
jenny-s51
5ea204b003 wip consents UI fixes 2021-06-08 09:23:32 -04:00
Erik Jan de Wit
f322edec10
fixing issue comment: (#656)
https://github.com/keycloak/keycloak-admin-ui/issues/396#issuecomment-846901717
2021-06-08 09:13:04 -04:00
Erik Jan de Wit
707380c228
fixes issue around importing files (#643)
* fixes issue around importing files

fixes: #628

* fixed tests

* fixed moving cursor to end of text area

did have to remove the dirty check because of this
2021-06-08 13:49:59 +02:00
Erik Jan de Wit
544dcd31db
Introduces new Realm Events tab (#618)
* initial version events tab

* added save

* fix for admin events

* added clear and reset

* add type add dialog

* add remove and add actions

* fix ids

* add cofirm disable button

* added key

* added tests

* fixed messages

* add disabled on save on not dirty

* fixed review comment

* fixed test

* merged tests
2021-06-08 07:29:56 +02:00
Erik Jan de Wit
1955a468c9
fixed issue + small layout of page (#658)
fixing: #492
2021-06-07 14:58:47 +02:00
Jenny
8a3c30b918
Realm settings(keys): add functionality to delete provider (#606)
* wip keys

keys

adds keys table to realm settings

wip key providers

add providers and search functionality

clean up stylesheet

wip delete provider

wip delete toggles

add delete functionality to each provider in data list

rebase

format

pr feedback from erik

* Delete LocalizationTab.tsx
2021-06-03 16:40:48 -04:00
Jenny
2746109e78
Realm settings(keys): toggle provider modal for all provider types (#642)
* changes after rebase

* add cypress tests

* addProviderModal done

* fix lint

* clean up ids/fieldids

* divide modals into separate components

* format

* cypress

* fix realm settings test

* clean up cypress tests

* try remove after all hook
2021-06-03 14:31:47 -04:00
Erik Jan de Wit
8a73291bc2 fixing issue 416 2021-06-03 07:26:00 +02:00
mfrances17
ce3eddfa17
fixes test btn and import users default (#647) 2021-06-01 08:15:36 -04:00
Jenny
347a2db8bd
themes ux review (#646) 2021-06-01 08:14:56 -04:00
mfrances17
1e2de8d570
Merge pull request #644 from edewit/cypress-client-scope
makes client scope test more reliable
2021-05-27 09:49:30 -04:00
mfrances17
b84d8bce5f
Merge pull request #634 from edewit/issue-632
fixed type of save button
2021-05-27 09:45:56 -04:00
Erik Jan de Wit
bb090200fe catch errors when removing scope type 2021-05-27 13:41:29 +02:00
Erik Jan de Wit
bbc177abb8
fixes realm save (#633)
* fixes realm save

currently save on realm screen didn't work as the email settings where required. Fixed this by changing email to be it's own section. Also email section was using the wrong attributes therefor the changes where not reflected in the old console

* fix empty realmComponent array

* fixed password help text
2021-05-27 09:01:55 +02:00
Jenny
f278f34fe5
Fixes form panel styling in clients -> advanced tab (#631)
* fix form panel styling

* remove modal styles
2021-05-25 14:03:20 +02:00
Erik Jan de Wit
188ac0757f fixed type of save button
fixing: #632
2021-05-25 12:04:58 +02:00
Erik Jan de Wit
29323cb12c
fixing the remainder of issue 428 (#621)
* fixing the remainder of issue 428

fixing: #428

* fix undefined

* add leave dialog
2021-05-24 06:21:49 +02:00
Erik Jan de Wit
0f6ce35687
Fixing UXD design review (#560)
* Fixing UXD design review

* Removed divider
* Adding type field
* Hide "Consent screen text" field when display consent screen is off
* Fixed cancel button

* fixed type save

* type fix
2021-05-21 12:34:05 -04:00
Erik Jan de Wit
9c82353f37
fixed name (#620)
fixing: #607
2021-05-21 10:48:46 -04:00
mfrances17
394c5fd81b
Merge pull request #617 from mfrances17/patternfly-4.103.6
Update to Patternfly 4.103.6 (latest release)
2021-05-21 08:40:27 -04:00
mfrances17
bf3ed710b4
Merge pull request #590 from jenny-s51/rowsandchecks
Users: update checkbox styling and add disabled checkboxes/row functionality to modal
2021-05-20 11:47:22 -04:00
mfrances17
0c6e1620fd
Merge pull request #585 from jenny-s51/rsKeyProviders
Realm settings(keys): add providers sub-tab
2021-05-20 11:44:48 -04:00
mfrances
50b15c83a9 update lock file and tests after rebase 2021-05-20 11:31:54 -04:00
Erik Jan de Wit
586375b5f4
fixing issues described in 595 (#602)
fixing: #595
2021-05-20 11:38:37 +02:00
Jenny
a85fe2626a
Delete KeysTab.tsx 2021-05-19 09:35:37 -04:00
Erik Jan de Wit
561605cc63
filter recent used realms as well as others (#580)
* filter recent used realms as well as others

fixing: #577

* use memo instead of direved state
2021-05-19 14:35:11 +02:00
Erik Jan de Wit
10f06af8aa
add / after baseUrl (#605) 2021-05-19 09:56:59 +02:00
jenny-s51
81a7aeca89 add type 2021-05-18 15:21:45 -04:00
Jenny
9485e31c23
Merge branch 'master' into rowsandchecks 2021-05-18 15:18:29 -04:00
jenny-s51
afb78cc646 fix import type 2021-05-18 14:14:15 -04:00
jenny-s51
cdc46ef72f align buttons 2021-05-18 14:03:20 -04:00
jenny-s51
096378e75e remove log 2021-05-18 14:03:20 -04:00
jenny-s51
dd41d93f38 show public key and certificate correctly 2021-05-18 14:03:20 -04:00
jenny-s51
e82be4ccf8 remove log stmt 2021-05-18 14:03:20 -04:00
Jenny
7c20226022 Update src/realm-settings/KeysListTab.tsx
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-05-18 14:03:20 -04:00
jenny-s51
ae18cee673 fix format 2021-05-18 14:03:20 -04:00
jenny-s51
5dca0bcba9 clean up stylesheet 2021-05-18 14:03:20 -04:00
jenny-s51
345c924e0f add providers and search functionality 2021-05-18 14:03:20 -04:00
jenny-s51
59f7812a24 wip key providers 2021-05-18 14:03:20 -04:00
jenny-s51
78a22cd5b8 rebase 2021-05-18 14:03:20 -04:00
jenny-s51
335e408d28 wip providers table 2021-05-18 14:02:55 -04:00
jenny-s51
12fe660816 adds keys table to realm settings 2021-05-18 14:02:21 -04:00
jenny-s51
d5c5e3c01b keys 2021-05-18 14:02:21 -04:00
jenny-s51
abec27a334 wip keys 2021-05-18 14:02:21 -04:00
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +02:00
jenny-s51
07c55b4693 fix format 2021-05-18 10:47:21 -04:00
jenny-s51
4fcc9654dc rowsandchecks 2021-05-18 10:39:17 -04:00
jenny-s51
981a532a35 remove comment 2021-05-18 10:33:37 -04:00
jenny-s51
d5d6f1b30a update checkbox styles and add disabled functionality to user grops modal 2021-05-18 10:33:37 -04:00
Erik Jan de Wit
cef90aa238 fixed merge error 2021-05-18 15:12:30 +02:00
Erik Jan de Wit
f064218251 fixed test 2021-05-18 14:35:11 +02:00
Erik Jan de Wit
7f21d03bc2 changed asyncStateFetch to be it's own hook
it now cancels pending requests making sure we
don't leak memory + it makes for an nicer looking API
2021-05-18 14:35:09 +02:00
Erik Jan de Wit
a9a34102bc
using smarter wait to fix group tests (#604)
* using smarter wait

instead of static waiting wait for the memeber query to finish

* revert

* query less by creating navigation on click

* only search in the displayed table

* fixed test
2021-05-18 08:25:46 -04:00
Erik Jan de Wit
9fc96d0afc
only query each client session once (#601)
this makes the ids unique so that they only get queried once
2021-05-17 15:35:12 +02:00
mfrances
df2263d11b fix types and one user fed test 2021-05-14 15:47:28 -04:00
mfrances
04a928085d lint fix 2021-05-14 15:47:28 -04:00
mfrances
8ec44f2dc8 add sync toggles with text fields 2021-05-14 15:47:28 -04:00
mfrances
1e9d183570 re-add working changes 2021-05-14 15:47:28 -04:00
Erik Jan de Wit
8c1a1fade8 added test ldap button 2021-05-14 15:47:28 -04:00
mfrances
ac664a2f54 show hide dn and pw 2021-05-14 15:47:28 -04:00
Jenny
8e1a1c57bd
Realm settings(keys): Adds keys list to Realm settings keys tab (#555)
* wip keys

* keys

* keys

* adds keys table to realm settings

* rebase and fix conflicts

* rebase and fix conflicts

* remove unused declarations

* fix lint

* fix groups test locally

* address PR feedback from Stan
2021-05-14 14:58:08 -04:00
mfrances17
bd6f8a9c78
update default req values based on vendor (#578) 2021-05-14 14:12:27 -04:00
Erik Jan de Wit
c5ff588791
add OIDC provider to the idp section (#553)
* initial version of oidc

* fixed fetch and added missing fields

* fixed file upload

* added scopse

* added details

* added disable action and save

* updated to use new design based on discovery response

* new design

* set default value

* added tests

* fixed tests

* fixed labels

* changed direction to up
2021-05-06 14:59:00 -04:00
mfrances17
84d621f70a
Show hand cursor when hovering over User Fed empty state cards (#569)
* add hand cursor for empty state cards

* add default ldap name value

* move card css up and add to provider cards
2021-05-06 09:23:51 +02:00
Erik Jan de Wit
d3615b1780
fixed undefined (#582)
fixing: #453
2021-05-06 07:32:42 +02:00
Erik Jan de Wit
c2b78c471b
added keys tab to client details (#557) 2021-05-04 10:11:58 +02:00
Jenny
15677b6bfb
Realm settings(Email): Adds email tab to realm settings section (#549)
* email tab wip

* save username and pw info on auth toggle

* add email tab

* remove comments

* remove log stmt

* add help text

* adjust styles

* format

* fix conflicts and address PR feedback

* add back ref on reply to display name

* rebase and fix conflicts

* prevent save without sender email

* add className prop to formpanel
2021-05-03 16:00:12 -04:00
Erik Jan de Wit
78f843cdcc
Fixes with realm list (#576)
* only query realms endpoint once

currently the realm list query is expensive and we only need it once.

* fixed refresh issues

* fixed tests

* fixed imports

* fixed types

* removed strange non code

* reload instead

* added more realm tests
2021-05-03 12:44:47 -04:00
Erik Jan de Wit
e1d53c640e
only query realm once (#563)
fixing: #548
2021-04-30 15:08:12 -04:00
Eugenia
721ed1bcaf
Realm settings(themes): Add themes tab + tests (#544)
* wip add realm themes

* get switch value from server

* add tests

* fix admin theme help text

* remove requireSsl forlabel

* update dropdown options

* wip fix for locales

* format

* save/update locales done

* expose all themes in dropdown

* remove comments

* remove theme types
2021-04-29 13:39:19 -04:00
mfrances17
aa7d2049d4
Cypress tests for initial 8 LDAP mappers (#550)
* create delete all mapper types working

* all tests working
2021-04-28 07:50:41 +02:00
Erik Jan de Wit
9e4d1d34ee
add option to add borders on scroll panel (#551) 2021-04-28 07:50:17 +02:00
xianli123
6cf2d50e0e
Merge pull request #547 from edewit/authorisation-authentication
fixing PR comment:
2021-04-26 20:48:30 +08:00
Erik Jan de Wit
27c25472ee small fixes 2021-04-26 13:48:09 +02:00
Erik Jan de Wit
1521024abf fixed the wrong comment 2021-04-26 09:40:59 +02:00
mfrances17
010745ac1c
Merge pull request #545 from jenny-s51/fixAssociatedRolesListBug
Fix associated roles list
2021-04-23 09:39:08 -04:00
Erik Jan de Wit
2a02b38888 fixing PR comment:
https://github.com/keycloak/keycloak-admin-ui/pull/474#issuecomment-825417974
2021-04-23 11:55:15 +02:00
jenny-s51
5bcfa03747 add help text for direct membership 2021-04-22 16:37:10 -04:00
jenny-s51
58d3052fd8 revert one more type 2021-04-22 16:11:03 -04:00
jenny-s51
7b22ac4659 clean up types 2021-04-22 16:10:04 -04:00
jenny-s51
b3f8c45ddc fix data list bug 2021-04-22 16:04:56 -04:00
jenny-s51
817714df0b fix data list bug 2021-04-22 16:04:26 -04:00
mfrances17
4182f2bd58
Merge pull request #542 from jenny-s51/updateUserForm
Users(Create user form): Update create user form with new design
2021-04-21 10:17:48 -04:00
jenny-s51
68066d093e address PR feedback from Mark 2021-04-21 09:53:21 -04:00
Erik Jan de Wit
6dd314c768
Initial version of the identity providers section (#537)
* initial version identity providers section

* added order change dialog

* added tests

* added missing brand icons

* removed need for providerCount

* fixed refresh

* back to list after create

* format merge

* fixed merge error
2021-04-21 15:18:45 +02:00
mfrances17
f3511d0be1
Merge pull request #535 from mfrances17/save-mapper
Add/edit/delete LDAP mappers
2021-04-20 16:53:55 -04:00
Erik Jan de Wit
5c94dd584b
fixing comment on issue: (#522)
* fixing comment on issue:

https://github.com/keycloak/keycloak-admin-ui/issues/428#issuecomment-818504696

* fixed top margin

* fixed devider length
2021-04-20 15:46:07 -04:00
jenny-s51
cbce18f5f7 navigate to subgroups in modal 2021-04-20 11:08:33 -04:00
jenny-s51
033388bb67 update user form with new design 2021-04-20 10:12:29 -04:00
jenny-s51
10b3619ae9 wip add groups to user form 2021-04-20 10:12:29 -04:00
jenny-s51
62b21dbfe1 add functionality to select and add multiple groups 2021-04-20 10:12:29 -04:00
jenny-s51
559bf1ccee cfixcheckbox select bug 2021-04-20 10:12:09 -04:00
jenny-s51
0b106cb559 add logic for selecting multiple groups, API does not support this yet 2021-04-20 10:10:35 -04:00
jenny-s51
d8c491123a add user to groups modal wip 2021-04-20 10:10:35 -04:00
mfrances
adad072eae hide mappers tab on ldap provider create 2021-04-20 10:07:31 -04:00
mfrances
9155b8bfc7 fix cancel error on empty new 2021-04-20 10:07:31 -04:00
mfrances
58882f35f8 fix strings 2021-04-20 10:07:31 -04:00
mfrances
75b3b0ebe6 add mapper type to table 2021-04-20 10:07:31 -04:00
Erik Jan de Wit
46c60c1796 fixed refresh after delete 2021-04-20 10:07:31 -04:00
Erik Jan de Wit
c87196cfd1 fixed creating new ldap settings 2021-04-20 10:07:31 -04:00
mfrances
f73c9afdd8 fix lint issue 2021-04-20 10:07:31 -04:00
mfrances
1feeb3fdea delete confirmation 2021-04-20 10:07:31 -04:00
mfrances
9339dbc54f all non-role adds and saves working 2021-04-20 10:07:31 -04:00
mfrances
775dd5c00b delete working but no refresh 2021-04-20 10:07:31 -04:00
mfrances
501cb98edc all creates working except two roles 2021-04-20 10:07:31 -04:00
mfrances
a50cf33138 all mappers saving except two roles 2021-04-20 10:07:31 -04:00
mfrances
dcbb2b90bf two mappers saving correctly 2021-04-20 10:07:31 -04:00
mfrances
73a423d95c ren details component 2021-04-20 10:07:31 -04:00
mfrances
56a1b233d4 restructure and add chooser when adding new 2021-04-20 10:06:01 -04:00
Erik Jan de Wit
9e5104b668
fixing UXD review issue (#529)
* fixing UXD review issue

fixing: #509

* added detail expandable sections
2021-04-20 08:28:21 -04:00
Erik Jan de Wit
b86db32ba8
Add scope tab to client scope detail page (#514)
* initial version of the scope tab

* fixed assign

* moved form logic added test

* added unassign

* fixed merge error

* fixed labels
2021-04-20 08:10:00 -04:00
Erik Jan de Wit
3332bd1a01
added unwrap so that HelpItem can be on a button (#540)
fixing: #539
2021-04-20 10:06:20 +02:00
Eugenia
820af6abca
Users(groups): functionality for adding multiple users to groups (#534)
* add user to groups modal wip

* add logic for selecting multiple groups, API does not support this yet

* cfixcheckbox select bug

* add functionality to select and add multiple groups

* function name

* update cypress test
2021-04-19 15:53:28 -04:00
Eugenia
ba4e576a2d
Realm settings(login): adds login tab and tests (#531)
* realm settings tabs wip

* realm settings wip

* switches

* updates to login tab watch

* remove controller and call save in onChange

* add cypress tests

* remove log stmt

* fix lint

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Update src/realm-settings/LoginTab.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Remove form

* format

* lint

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-04-19 13:41:07 +02:00
mfrances17
54ea8858ed
Merge pull request #532 from edewit/issue-510
fixing issues defined in 510
2021-04-15 17:24:54 -04:00
Erik Jan de Wit
cb55f67fdc fixed tests 2021-04-15 15:29:50 +02:00
Erik Jan de Wit
f75838cea7 changed all cancel buttons to type "link"
fixing: #459
2021-04-15 12:52:34 +02:00
Erik Jan de Wit
42da9bf637 fixing issues defined in 510
fixing: #510
2021-04-15 12:23:36 +02:00
Erik Jan de Wit
9ec20852be
removed top margin (#524)
fixing issue comment
https://github.com/keycloak/keycloak-admin-ui/issues/422#issuecomment-815421080
2021-04-15 10:54:06 +02:00
Eugenia
2bcdf51075
Users(Consents): add empty state and list consents (#516)
* user consents

* remove form prop

* address PR feedback from Stan and list consents in data table

* update test

* revert css updates
2021-04-14 14:39:21 -04:00
Eugenia
6f4ea86ecb
Users(groups): Add modal for joining user groups (#513)
* add cypress test to add groups to user

* add test to leave group

* format

* update snapshots

* add user to groups modal wip

* wip join group functionality

* add modal to add user groups

* add refresh

* remove comment

* lint and format

* fix empty state

* add cypress test to add groups to user

* format

* revert snap

* remove existing joined groups from modal
2021-04-14 14:19:39 -04:00
Stan Silvert
3deea60a87
Begin implementation of Partial Import modal. (#515)
* Begin implementation of Partial Import modal.

* Fix linting errors

* Remove console.log
2021-04-14 10:17:41 -04:00
Erik Jan de Wit
c0e881c591 protocol can be not set
fixing: #521
2021-04-13 10:01:21 +02:00
Erik Jan de Wit
eb94ded90a
more help items and small linout (#519)
* more help items and small linout

* fixed clicking the steps links clearing the form

* fixed validation when jumping pages

* changed help text

* Update src/clients/help.json

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
2021-04-12 20:05:00 -04:00
Erik Jan de Wit
ceabb4f690
added max length check (#506)
fixing: #317
2021-04-12 15:55:38 -04:00
Erik Jan de Wit
42dae904d0
move back to list on delete (#520)
fixes: #507
2021-04-12 17:42:36 +02:00
Eugenia
dd1e1f511e
Realm roles(associated roles): fix search filtering bug (#497)
* realm roles UX review progress wip

* filter realm roles on Enter key press, add filter functionality

* clean up

* filterChips logic now in table toolbar

* fix lint and format

* save with erik

* remove filter chips functionality

* fix check-types

* fix realm roles cypress test

* format

* wip pagination

* rebase

* fix roles pagination

* format

* add back save

* remove duplicates in associated roles table, can now paginate modal

* remove logs

* rebase and fix pagination/search

* remove slice

* pagination in modal and associated roles tab

* show client roles

* lint and format

* fix ts error in AliasRenderer

* fix lint

* add filterType

* wip search in component

* fix associated roles tab pagination

* revert KDT changes

* fix text

* add promise resolve type

* format

* remove comment

* add alphabetize function

* fix search

* remove log stmt

* clean up

* address PR feedback from Erik and render clientId badge in associated roles

* remove comment

* fix type

* format

* make checkboxes selectable

* address PR feedbak from Erik

* changes from rebase
2021-04-09 17:08:40 +02:00
Erik Jan de Wit
f37802bd01
disable when nothing selected (#508)
* disable when nothing selected

fixing: #495

* fixes:
* cancel button style
* client name
* disabled on none selected
2021-04-09 09:23:19 -04:00
Erik Jan de Wit
eb9092116d
added recently used realms to the top (#502)
* added recently used realms to the top

fixing: #396

* fixed add realm button

* moved setting recent to setRealm
cleanup to where realm list is updated
2021-04-08 15:20:35 -04:00
Erik Jan de Wit
5142d1b4bc
can't move groups to the root level (#485)
* can't move groups to the root level

disabled "Move" button on root level

* can now move groups to root

* added move to root test
2021-04-07 13:58:29 -04:00
Erik Jan de Wit
408caf6d0f
fixed uxd review issues (#478)
fixing: #464
2021-04-07 13:55:50 -04:00
Erik Jan de Wit
2417c285e3
fixing uxd issues (#477)
* fixing uxd issues

* add select all checkbox

* added intermidate "style" to select all checkbox
2021-04-07 07:42:30 +02:00
Erik Jan de Wit
dd19613557
public client = false when clientAuthentication (#505)
fixing: #392
2021-04-06 14:14:56 -04:00
Erik Jan de Wit
8cd88b9a1d
rename clientID to clientId (#504) 2021-04-06 13:39:27 -04:00
Erik Jan de Wit
a27045c617
re added floating action (#500) 2021-04-06 13:19:15 -04:00
Erik Jan de Wit
e75deb3305
give protocol a bit more width (#503)
* give protocol a bit more width

* change to uppercase
2021-04-06 13:11:39 +02:00
Erik Jan de Wit
4d52871fc2
fixed issues described in #468 (#479)
* fixed issues described in #468

fixing: #468

* fixed type

* fixed column size and order
2021-04-06 09:29:11 +02:00
Stan Silvert
83a8f2baa7
Allow four ways to set location of keycloak server. (#482)
* Allow four ways to set location of keycloak server.

* Make it work for devs on Keycloak 12 and below.
2021-04-06 08:44:37 +02:00
mfrances
9858cd0d30 fix url-related issues 2021-04-05 15:55:12 -04:00
mfrances
4054bd8b65 add new test snap after rebase 2021-04-05 14:04:24 -04:00
mfrances
66ce876d48 fixed test odd that it was flagged 2021-04-05 14:04:23 -04:00
mfrances
26a49d60c6 fix empty mapper string ref 2021-04-05 14:04:23 -04:00
mfrances
8c29fcabb6 all mappers working 2021-04-05 14:04:23 -04:00
mfrances
95ecc9ff40 adding role mapper 2021-04-05 14:04:23 -04:00
mfrances
f1f9f8736c nine of eleven mappers complete 2021-04-05 14:04:23 -04:00
mfrances
3e3b1d2bed separate out reusable components 2021-04-05 14:04:23 -04:00
mfrances
0b0e474caf move multi-used strings to common 2021-04-05 14:04:23 -04:00
mfrances
9166212720 two mappers complete and strings done 2021-04-05 14:04:23 -04:00
mfrances
2e7f38d9a5 mapper list and edit mapper working 2021-04-05 14:04:23 -04:00
mfrances
2a7782fbae fix url and rm hack 2021-04-05 14:04:23 -04:00
mfrances
f863f850d1 form layout no logic 2021-04-05 14:04:23 -04:00
mfrances
95c22fd862 preliminary work - list working 2021-04-05 14:04:23 -04:00
mfrances
926c97002f fix isDirty issue 2021-04-05 14:04:23 -04:00
mfrances
4593a3fa2a control debug visibliity with other kerberos 2021-04-05 14:04:22 -04:00
mfrances
bb21001d74 add mappers tab 2021-04-05 14:04:22 -04:00
Eugenia
a4242dd370
set leave buttons only on dgroups with direct membership (#499) 2021-04-05 13:55:17 -04:00
mfrances17
32f4299d23
Merge pull request #491 from mfrances17/patternfly-4.96.2
Update to latest Patternfly releases
2021-04-05 13:20:53 -04:00
Eugenia
5dbb6726ed
Users(groups): list top level groups, implement direct membership check (#467)
* usergroups call wip

user groups

add user groups tab and list group data

clean up log stmts

add cypress test

clean up userGroups

remove comment

fix types

cypress test

fix lint and cypress test

lint

address PR feedback from Mark

clean up

remove component from viewheader

rebase and format

remove duplicate identifier

wrap groups in section

fix ts errors

add search functionality

remove comment

list groups initially

remove log stmt

wip parent groups listing

list parent groups

format

direct membership check

* format

* lint

* wip get intermediate groups

* wip get leafs

* wip list all groups

* wip list all paths

* listing for all groups completed

* remove comment

* wip filter out unjoinedf groups

* list all subgroups done

* format

* remove log stmts
2021-04-01 14:47:05 -04:00
mfrances
e0c5bd8a6d fix test 2021-04-01 11:25:47 -04:00
mfrances17
4a2fd791e2
Merge pull request #486 from edewit/issue-462
added `isRowDisabled` function to disble rows
2021-04-01 10:41:47 -04:00
Erik Jan de Wit
84bf7925a6
Created add service account roles assign screen (#465)
* service account dialog

* create test

* fixed types

* fixed realm roles selection

* disable when no rows are selected

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
2021-04-01 10:14:19 -04:00
Eugenia
a0faba0f97
Fix roles pagination+filter out duplicates from associated roles list (#460)
* realm roles UX review progress wip

* filter realm roles on Enter key press, add filter functionality

* clean up

* filterChips logic now in table toolbar

* fix lint and format

* save with erik

* remove filter chips functionality

* fix check-types

* fix realm roles cypress test

* format

* wip pagination

* rebase

* fix roles pagination

* format

* add back save

* remove duplicates in associated roles table, can now paginate modal

* remove logs

* PR feedback from Erik

* rebase and fix pagination/search

* remove slice

* pagination in modal and associated roles tab

* show client roles

* lint and format

* remove unused variable

* address tbody console warning, clean up log stmts

* clean up log stmts

* fix ts error in AliasRenderer

* fix lint

* lint

* PR feedback from Erik

* resolve conflicts and format

* comment
2021-04-01 15:41:21 +02:00
Erik Jan de Wit
c503663e4e
fixed urls (#489)
fixing: #454
2021-04-01 08:36:14 +02:00
Erik Jan de Wit
116800b1ee also disable action when row is disabled 2021-04-01 08:35:38 +02:00
xianli123
e0e6f677c6
Merge pull request #474 from edewit/issue-446
new client wizard uxd review
2021-04-01 11:29:17 +08:00
Erik Jan de Wit
579719c3bd
use diff instead of xor (#487)
fixing: #461
2021-03-31 15:45:20 -04:00
Erik Jan de Wit
f1a658da01
small refactor (#484) 2021-03-31 15:08:56 -04:00
Erik Jan de Wit
6102770fbf
can not set state in render (#483) 2021-03-31 15:07:04 -04:00
Erik Jan de Wit
74aee6090d
genericly we want all sections to look like this (#473)
* genericly we want all sections to look like this

* remove the divider when there are tabs on the page
* fix insert on keycloakTab component

* lint
2021-03-31 15:16:58 +02:00
Erik Jan de Wit
c45de338c0 added isRowDisabled function to disble rows
fixing: #462
2021-03-31 10:48:14 +02:00
Erik Jan de Wit
33a29d4735
add missing cancel button (#475)
fixing: #459
2021-03-31 08:58:55 +02:00
Erik Jan de Wit
3e02fd1aa6
adds fake pagination to datatable (#472)
even when the backend doesn't support pagination we still show paginated results
2021-03-30 08:25:45 -04:00
Erik Jan de Wit
17a3fe51bb
removed double query for realm roles (#471) 2021-03-29 14:46:46 -04:00
Erik Jan de Wit
f10661444d
initial move group dialog (#455)
* initial move group dialog

* added test

* fixed search and added breadcrumb

* filter current group

* added empty state

* add cancel button to modal

* fixed merge error
2021-03-29 07:37:47 -04:00
Eugenia
6ea4f88b5b
roles(associated roles+attributes): address UX feedback (#451)
* alphabetize and sort roles

* change delete to remove

* make col widths stationary

* remove duplicate identifier

* fix lint

* update attributes to match new design

* (-) button working

* remove log

* format

* add attribute wip

* fix attributes revert

* enable add button

* disable attributes button when last field empty

* add init field on role creation

* remove log stmts
2021-03-29 07:35:13 -04:00
Erik Jan de Wit
f0558d847b changed to be progressive added help to type
and made `openid-connect` the default

fixes: #446
2021-03-29 12:00:56 +02:00
Erik Jan de Wit
50920b3df2
Added rename group and adding members to a group (#448)
* users can now rename groups

* add members to a group

* added cypress test

* remove rename and delete when no group is selected

* added test

* keep selected rows form other pages

* fixed empty first page and cancel button
2021-03-24 10:07:49 -04:00
Eugenia
236e89dc63
Users: Add groups tab and list groups (#450)
* usergroups call wip

* user groups

* add user groups tab and list group data

* clean up log stmts

* add cypress test

* clean up userGroups

* remove comment

* fix types

* cypress test

* fix lint and cypress test

* lint

* address PR feedback from Mark

* clean up

* remove component from viewheader

* rebase and format

* remove duplicate identifier

* wrap groups in section

* fix ts errors

* add search functionality

* remove comment

* list groups initially

* remove log stmt
2021-03-23 15:02:27 -04:00
Eugenia
bf4cae6735
Changes from Realm Roles UX Review [List] (#433)
* realm roles UX review progress wip

* filter realm roles on Enter key press, add filter functionality

* remove chip group filters

* clean up

* format

* filterChips logic now in table toolbar

* fix lint and format

* save with erik

* remove filter chips functionality

* fix check-types

* fix realm roles cypress test

* format

* revert changes to group attributes

* cypress test

* use filter

* remove log

* remove unused prop
2021-03-22 09:14:24 +01:00
Erik Jan de Wit
6c399c1484
fixed group navigation (#452) 2021-03-19 14:37:21 -04:00
Erik Jan de Wit
dfc4beced4
changed to use the keycloak datatable (#432)
* changed to use the keycloak datatable

so it will benifid from a general way tables work in the admin console

* null check

* changed to use any active tab

seems sometimes the tab doesn't get set properly
so instead of "mappers" it's still "settings"
this change makes it work with both
2021-03-19 08:43:32 -04:00
Erik Jan de Wit
b56788d942
fixed visual and logical errors described in #423 (#429)
* fixed visual and logical errors described in #423

fixing: #423

* changed reload to reset

* format
2021-03-19 08:49:33 +01:00
Stan Silvert
398ca19ec1
Allow New Admin Console to run as a WAR on Keycloak server. (#439)
* Allow app to run as a WAR on Keycloak server.

* New client creation json that works for both dev and prod

* fixed tests

* Try Mark's trick to get realm_test to run.

* Make tests use keycloakBefore()

* Fix duplicate import

* fix github actions

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-03-18 08:48:14 -04:00
Erik Jan de Wit
21c0cfcdad
changed time select order + added success message (#447)
* changed time select order + added success message

fixes: #445

* show time instead of the nice from now

* made "Remaining count" wrappable
2021-03-18 09:07:26 +01:00
Erik Jan de Wit
3b1d89fedb
partially solves issue #422 (#442)
* partially solves issue #422

* fixed section

* added not before now set / clear alerts
2021-03-17 14:40:19 +01:00
Erik Jan de Wit
a81164ee2a
fixed issue described by 428 (#441)
fixing: #428
2021-03-17 08:10:30 +01:00
Erik Jan de Wit
7d4adc683f
added search empty state (#435) 2021-03-16 13:42:05 +01:00
Erik Jan de Wit
e4d83d0fe3
Group details (#425)
* added details for groups

* add includeSubGroups checkbox

* added tests

* fixed reload for group attributes

* fixed spacing on associate roles tab

* fixed group reload after save

* fixed test
2021-03-16 08:37:57 -04:00
mfrances17
518b21c6ae
Nonscrolling action buttons for long forms (#437)
* nonscroll action bar for long forms

* changes from PR comments

* fix border
2021-03-16 13:35:45 +01:00
mfrances17
96d89ab72e
Merge pull request #443 from edewit/issue-415
fixed text for empty state #415
2021-03-15 16:16:46 -04:00
mfrances17
c1f5c4db82
Merge pull request #438 from mfrances17/revert-button
Rename Reload buttons to Revert
2021-03-15 14:11:27 -04:00
Erik Jan de Wit
3978191d24 fixed text for empty state #415 2021-03-15 14:42:19 +01:00
mfrances
75e0bf7435 add missing kerberos fields 2021-03-12 17:31:45 -05:00
mfrances
b717954709 change reload txt to revert 2021-03-12 11:30:14 -05:00
Erik Jan de Wit
ab857938cd
use === instead of == and unused imports (#431) 2021-03-12 07:42:54 +01:00
Eugenia
28f1fdfda4
Users: Adds user details tab and save/update functionality (#426)
* userDetails tab done, save function wip

* userDetails update working

* add cypress test

* fix default value

* PR feedback from Erik
2021-03-11 21:23:08 +01:00
mfrances
39cc1b998c rm success string from ignored 2021-03-10 11:06:53 -05:00
mfrances
e1678d6113 pr review changes 2021-03-10 10:42:31 -05:00
mfrances
e093c15ea2 user cmds added 2021-03-09 14:56:25 -05:00
Erik Jan de Wit
7bf85196e3
Fixed issue using import (#393)
* add icons change description to use TextArea

* add missing saml config

* switch based on protocol

* add capabilty config to import

* fixed key element warning

* fixed merge error

* don't clear on file drag event

* don't allow editing of json

* prettier

* fix tests

* missing timeout
2021-03-09 08:59:41 -05:00
Erik Jan de Wit
4ba5fcc723
put loading spinner inside table as proposed by PF (#418) 2021-03-09 07:34:39 +01:00
Erik Jan de Wit
b01088fb90 fixed spelling 2021-03-08 09:17:35 +01:00
Erik Jan de Wit
949a0e198b added delete and cypress test 2021-03-05 14:47:59 +01:00
Erik Jan de Wit
5a8762b3fa fixed merge error 2021-03-05 11:51:20 +01:00
Erik Jan de Wit
3f4e32dc5a fixed routing 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
ff1fbccfdc fixed types 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
e87cfb6a1c format section 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
957e08cf1c added empty state to list 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
3fe5d8383a added save dialog 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
3399b16c7e initial list 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
b4a73f86c1 added initial access token tab 2021-03-05 11:34:22 +01:00
mfrances17
7c816736d2
Merge pull request #410 from jenny-s51/createUser
Users: Adds create user page to users section
2021-03-04 15:09:53 -05:00
jenny-s51
cc2a3d2ee5 update snapshot 2021-03-04 13:55:36 -05:00
jenny-s51
a534cfc351 update cypress test to work on empty state and search page 2021-03-04 13:49:05 -05:00
mfrances
9dce57417c enable save only on dirty 2021-03-04 11:06:22 -05:00
jenny-s51
aa1448ca56 address PR feedback from Mark 2021-03-04 10:13:36 -05:00
jenny-s51
39cd530696 add cypress test to create user 2021-03-04 09:26:21 -05:00
Erik Jan de Wit
02ec114adf fixed type 2021-03-04 11:51:37 +01:00
mfrances17
4ee7bc9033
Prevent multiple saves when creating new provider (#411)
* go to user fed view after create

* fix for misc 401 exceptions
2021-03-04 07:34:02 +01:00
mfrances17
9c1efdcc3b
Merge pull request #401 from jenny-s51/usersInRole
Realm roles: add "users in role" tab
2021-03-03 16:24:53 -05:00
jenny-s51
117ccf05b0 add API call, disable create button if username field empty 2021-03-03 16:17:01 -05:00
jenny-s51
3b9edc483a resolve issues in axe report 2021-03-03 14:36:21 -05:00
jenny-s51
1a4c635946 clean up and add cypress test 2021-03-03 14:12:16 -05:00
jenny-s51
669c8d7377 add create user page 2021-03-03 13:56:03 -05:00
jenny-s51
d45bb1d5ad user details WIP 2021-03-03 08:53:42 -05:00
Erik Jan de Wit
b7d96fb3da fixed tests 2021-03-03 09:10:30 +01:00
Erik Jan de Wit
9907cef5d2 removed bookmarable sub tab
Made tab name mandetory
2021-03-03 08:34:16 +01:00
mfrances
79a97a0755 add min values 2021-03-02 15:50:45 -05:00
mfrances
0ee4f7ea8e cypress tests working 2021-03-02 15:50:45 -05:00
mfrances
84d8df2b05 regex and number fields to provide simple client side validation 2021-03-02 15:50:45 -05:00
mfrances
489ed64049 fix 404 issue on new 2021-03-02 15:50:45 -05:00
mfrances
733d5f4b6f ldap saves working 2021-03-02 15:50:45 -05:00
mfrances
b5f7405fce change existing ids to data-testid 2021-03-02 15:50:45 -05:00
jenny-s51
78a2c76c79 hide popover link when help enabled 2021-03-02 11:11:08 -05:00
jenny-s51
74638f9eb3 revert changes to RealmRolesSection 2021-03-02 10:29:04 -05:00
jenny-s51
c5cfd9cd7a cleaning up 2021-03-02 10:28:03 -05:00
jenny-s51
f763fa85fb paginate users table 2021-03-02 10:27:33 -05:00
Erik Jan de Wit
5d5160bddc added space between buttons 2021-03-02 08:39:17 +01:00
Erik Jan de Wit
72907d2583
remain active on child pages of main section (#403)
fixing: #402
2021-03-01 16:12:57 -05:00
jenny-s51
e672ed42ee fix lint 2021-03-01 14:20:45 -05:00
jenny-s51
24d136eeed add links to empty state 2021-03-01 14:20:26 -05:00
jenny-s51
5c78afef50 remove useEffect 2021-03-01 14:09:55 -05:00
jenny-s51
47acb3764f clean css 2021-03-01 12:22:01 -05:00
jenny-s51
65348bd125 add popover 2021-03-01 12:20:58 -05:00
jenny-s51
fdf3e7e78a fix lint 2021-03-01 10:55:54 -05:00
jenny-s51
f1224a5ef0 rebase and use new empty state logic 2021-03-01 10:30:16 -05:00
jenny-s51
993e75b14f refactor tests to use data-testid 2021-03-01 10:27:24 -05:00
jenny-s51
5c317ba477 remove ID col 2021-03-01 10:27:24 -05:00
jenny-s51
eca3bb8e71 address PR feedback from Erik, remove user ID per Haley feedback 2021-03-01 10:27:24 -05:00
jenny-s51
1f379e70eb format 2021-03-01 10:27:24 -05:00
jenny-s51
7657c4df73 cypress test 2021-03-01 10:27:24 -05:00
jenny-s51
8ead0d0fff read-only users in role tab 2021-03-01 10:27:24 -05:00
jenny-s51
88711202ef users tab WIP 2021-03-01 10:27:24 -05:00
Erik Jan de Wit
a48088765a
Search and create sub groups (#387)
* fixed group section

* simplified create group dialog

* create subgroup

* initial search groups

* added initial search

* add empty state and links to details

* Added cypress tests

* fixed types

* changed to the more clear getId

* changed to use testid

* fixed merge error

* fixed test

* changed text for empty sub groups

* fix merge error

* fix test
2021-03-01 10:06:04 -05:00
Erik Jan de Wit
bfa0c6e1ea
Advanced tab (#373)
* initial version of the advanced tab

* added registered nodes

* added fine grain open id connect configuration

* added open id connect compatibility section

* added advanced section

* added backend

* fixed type

* renamed 'advanced' to advancedtab

to prevent strange add of '/index.js' by snowpack

* fixed storybook stories

* change '_' to '-' because '_' is also used

* fix spacing buttons

* stop passing the form

* cypress test for advanced tab

* more tests

* saml section

* changed to use NumberInput

* added authetnication flow override

* fixed merge error

* updated text and added link to settings tab

* fixed test

* added filter on flows and better reset

* added now mandetory error handler

* added sorting

* Revert "changed to use NumberInput"

This reverts commit 7829f2656ae8fc8ed4a4a6b1c4b1961241a09d8e.

* allow users to put empty string as value

* already on detail page after save

* fixed merge error
2021-02-28 15:02:31 -05:00
Eugenia
da2fa32a69
Realm roles: adds "Inherited From" column to Associated Roles tab (#391)
* WIP  modal

* modal WIP

add modal

place modal in separate file

format

wip implementation

getCompositeRoles with Jeff

add associated roles tab WIP

addComposites function WIP

fix post call

additional roles fetch

big rebase

WIP refresh

resolve conflicts with Erik latest -> fixes role creation

cypress tests, bump react-hook-form to remove console warnings

delete add

refresh with Jeff, update cypress tests, select additional roles tab on add

make dropdownId optional

format

add additionalRolesModal to associated roles tab

add toolbar items

add toolbaritems to associated role tab, matches mock

rebase

add descriptions to alert

add badge

fix badge logic

fix URL when associate roles are deleted, format

update cypress test

format

add associated roles refresh, PR feedback from Erik

add associated roles refresh, PR feedback from Erik

lint

* add inherited roles with Jeff

* hide inherited roles

* clean up

* rebase

* clean up modal file

* remove filter dropdown

* remove log stmts

* fix types error with Erik

* format after rebase

* fix lint

* fix cypress test

* PR feedback from Erik

* PR feedback from Erik

* remove comment

* remove client hook

* remove unused declaration
2021-02-25 10:10:28 +01:00
Erik Jan de Wit
7924080847
added missing confirm dialog (#395) 2021-02-24 08:59:12 +01:00
Erik Jan de Wit
ca92447444
removed need of refresher (#394) 2021-02-24 08:58:50 +01:00
Eugenia
e370859690
Modal with clients (#380)
* WIP  modal

* modal WIP

add modal

place modal in separate file

format

wip implementation

getCompositeRoles with Jeff

add associated roles tab WIP

addComposites function WIP

fix post call

additional roles fetch

big rebase

WIP refresh

resolve conflicts with Erik latest -> fixes role creation

cypress tests, bump react-hook-form to remove console warnings

delete add

refresh with Jeff, update cypress tests, select additional roles tab on add

make dropdownId optional

format

add additionalRolesModal to associated roles tab

add toolbar items

add toolbaritems to associated role tab, matches mock

rebase

add descriptions to alert

add badge

fix badge logic

fix URL when associate roles are deleted, format

update cypress test

format

add associated roles refresh, PR feedback from Erik

add associated roles refresh, PR feedback from Erik

lint

WIP modal with client roles

add clients to modal

WIP label

labels WIP

promises wip

wip

add clients to modal with labels

modal with Clients

format

* rebase

* fix check types

* PR feedback from Erik
2021-02-23 08:36:37 -05:00
Erik Jan de Wit
a83ae98175
Fix some issues on client detail page (#388)
* adding missing fields

fixes: #377

* fixed redirects from cancel and save button

fixes: #386

* fixed filter
2021-02-23 09:55:24 +01:00
Erik Jan de Wit
d25ba0af2b
now it can't be called without an error handler (#389) 2021-02-23 09:52:40 +01:00
Erik Jan de Wit
e4c2259563
updated to match ui design (#369)
* updated to match ui design

fixes: #323

* fixed test

* Update src/components/help-enabler/HelpHeader.tsx

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

* Update src/components/help-enabler/help-header.css

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>

* fixed merge error

* changed to use "t" function

Co-authored-by: Eugenia <32821331+jenny-s51@users.noreply.github.com>
2021-02-18 08:06:51 +01:00
Eugenia
93d5d21894
Realm roles: fix pagination by 10 (#367)
* fix pagination by 10

* fix types

* format

* format

* PR feedback from Erik
2021-02-18 07:38:23 +01:00
Erik Jan de Wit
689e01b461
created better error handling (#362)
by using this react-error-boundary package this works also in hooks
2021-02-17 16:12:25 -05:00
Erik Jan de Wit
3a3bce0955
fixed search text (#366)
fixes: #363
2021-02-17 15:34:35 -05:00
mfrances17
473d7840c6
Merge pull request #371 from mfrances17/add-kerberos
User fed: Add Kerberos provider and tests
2021-02-17 14:22:37 -05:00
mfrances17
bc5de3dcb4
Merge pull request #368 from mfrances17/patternfly-4.87.1
Update to latest Patternfly releases
2021-02-17 13:31:57 -05:00
Eugenia
a5f08a9202
Realm roles: associated roles tab (#358)
* WIP  modal

* modal WIP

* add modal

* place modal in separate file

* format

* wip implementation

* getCompositeRoles with Jeff

* add associated roles tab WIP

* addComposites function WIP

* fix post call

* additional roles fetch

* big rebase

* WIP refresh

* resolve conflicts with Erik latest -> fixes role creation

* cypress tests, bump react-hook-form to remove console warnings

* delete add

* refresh with Jeff, update cypress tests, select additional roles tab on add

* make dropdownId optional

* format

* add additionalRolesModal to associated roles tab

* add toolbar items

* add toolbaritems to associated role tab, matches mock

* rebase

* add descriptions to alert

* add badge

* fix badge logic

* fix URL when associate roles are deleted, format

* update cypress test

* format

* add associated roles refresh, PR feedback from Erik

* add associated roles refresh, PR feedback from Erik

* lint
2021-02-17 08:17:04 +01:00
mfrances
757288ded9 update test snap 2021-02-16 15:52:45 -05:00
mfrances
2f0b343661 put id higher in props 2021-02-16 15:29:06 -05:00
mfrances
8345f5cb3d fix broken test 2021-02-16 14:47:08 -05:00
mfrances
8c4d6d4eb4 complete suite of kerberos cypress tests 2021-02-16 14:47:08 -05:00
mfrances
cf8451fe9d adding preliminary cypress tests 2021-02-16 14:47:08 -05:00
mfrances
1a78540c8f kerberos save logic 2021-02-16 14:47:08 -05:00
mfrances
70f1629be0 small update - id is an issue 2021-02-16 14:47:08 -05:00
mfrances
6c63a8d4dc preliminary work 2021-02-16 14:47:08 -05:00
Erik Jan de Wit
86cf4f8501
ux review fixes (#356)
* ux review fixes

fixes: #352

* added max length to description field

* fixed types

* fixed test
2021-02-16 14:18:09 -05:00
Erik Jan de Wit
688c4a0071
use patternfly timout instead of own impl (#361) 2021-02-16 09:39:46 +01:00
Erik Jan de Wit
6e69bd006d
fixing round errors in paginating (#365)
fixes: #364
2021-02-16 09:39:26 +01:00
mfrances
f3d2d17051 update to PF 4.87.1 2021-02-15 15:07:41 -05:00
Erik Jan de Wit
80cca9eca4
Limit search users when users federated or large size (#345)
* when external users then users need to search

* added email not verified icon + delete confirm

* handle search errors

* removed text

* fixed label counter
2021-02-14 13:29:43 -05:00
mfrances17
afaa08fbc6
Kerberos and LDAP settings: Change hour and minute format to match old admin console UI (#353)
* change hour minute fmt to match old ui

* rm required max lifespan

* fix day of week default value

* create one shared cache settings component

* fix eslint and tests

* rm obsolete separate cache components

* try fixed snap
2021-02-11 15:51:51 -05:00
Erik Jan de Wit
3430642003
multiple ux issues around realms (#330)
* multiple ux issues around realms

fixes: #324

* changed to same size as scroll spy form width

* fixed test

* fixed realm info link

* fixes console errors

* fixed key

* fixed type

* fixed test introduced cleanup function
2021-02-09 07:32:41 -05:00
Erik Jan de Wit
4edcf233f3
now validates if gui order is a number (#338) 2021-02-09 10:35:38 +01:00
mfrances17
32a3ff150b
Add enable switch and action menu to LDAP settings (#349)
* add messages from sarah

* enable and delete working

* localize strings

* changes from PR

* enable now saves
2021-02-08 15:50:03 -05:00
Erik Jan de Wit
8590b9cafa
toggle help on kebab click (#339)
* toggle help on kebab click

fixes: #305

* changed realm info to server info and fixed mobile layout

* added on off indication

* changed to use single key for enabled and disabled
2021-02-08 15:35:38 -05:00
mfrances17
4137394964
Issue 327: Fix for showing/hiding password text in Bind credentials field (#350)
* show-hide password text

* show pw icon indicator
2021-02-04 16:43:00 -05:00
Eugenia
db71fad81f
Realm Roles: associated roles modal functionality (#351)
* WIP  modal

* modal WIP

* add modal

* place modal in separate file

* format

* wip implementation

* getCompositeRoles with Jeff

* add associated roles tab WIP

* addComposites function WIP

* fix post call

* additional roles fetch

* big rebase

* WIP refresh

* resolve conflicts with Erik latest -> fixes role creation

* delete refresh from associatedrolestab

* fix key and localize

* gets rid of console warnings from watch

* cypress tests, bump react-hook-form to remove console warnings

* update snapshot

* fix delete confirm role name

* delete add

* refresh with Jeff, update cypress tests, select additional roles tab on add

* make dropdownId optional

* format

* remove log stmt
2021-02-04 15:50:13 -05:00
Erik Jan de Wit
45a6f9923d
sort the role list alfabaticlly (#346) 2021-01-31 13:07:06 -05:00
Erik Jan de Wit
64f622139c
partially fixes 341 (#342)
point 3 and 4 of #341 are fixed and capitalised the product name
2021-01-31 12:58:16 -05:00
Erik Jan de Wit
678ec591d6
added roles tab to clients (#312)
* added roles tab to clients

* removed duplicate id parameter

* use client roles instead of realm role for clients

* fixed formatting

* fixed create for client role

* fixed replaceAll
2021-01-29 08:59:03 -05:00
Erik Jan de Wit
acf77df64c
fixes refresh issue (#343)
* fixes refresh issue
2021-01-29 11:33:18 +01:00
jenny-s51
d9e918a4e0 use watch on initial form field 2021-01-28 14:24:51 -05:00
jenny-s51
c1305e1e16 remove log stmts 2021-01-28 14:24:51 -05:00
jenny-s51
0bdb3b4a31 rebase and fix reload 2021-01-28 14:24:51 -05:00
jenny-s51
a7fd36369e WIP role attributes
fix storybook demos

add attributes tab to realm roles section

use TableComposable

fix formatting

css updates

fix up styling of role attributes table

fix check-types erros

logic from call with Jeff

clean up, format, make eslint proud

delete roledetails

call with Erik

add delete function and css changes

fix storybook demos and format

make key input disabled once new attribute is created

minus icon gray

address PR feedback from Sarah

set add and save buttons to disabled when new input field is  empty

fix save/add

fix onChange formState

rebase with resolved conflicts

fix paths and use error msg from response

WIP readOnly

try setting readonly

add defaultState prop

use keycloak tabs

default values WIP

reload WIP

cleanup function

add shouldUnregister

fix for adding empty line on form load

removed debug

small fix for `isValid`

role attributes tab

format
2021-01-28 14:20:23 -05:00
jenny-s51
c2b94c1ed2 add role attributes, WIP 2021-01-28 14:19:32 -05:00
mfrances17
f406018903
Merge pull request #316 from jenny-s51/associated-roles-modal
realm roles: associated roles modal (roles list)
2021-01-28 13:18:59 -05:00
jenny-s51
85d1d0fc93 PR feedback from Mark 2021-01-28 12:52:49 -05:00
jenny-s51
5ef75a817a format after rebase 2021-01-28 12:52:49 -05:00
Eugenia
5064690ae8 remove comment
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-01-28 12:52:49 -05:00
jenny-s51
162146c371 WIP modal 2021-01-28 12:51:47 -05:00
jenny-s51
6c8e580e47 PR feedback from Mark 2021-01-28 12:50:42 -05:00
jenny-s51
1047326eeb fix confirmDialog jest test 2021-01-28 12:50:42 -05:00
jenny-s51
6c9eaf5342 fix cypress test 2021-01-28 12:50:42 -05:00
jenny-s51
c3c9625f6b format after rebase 2021-01-28 12:50:42 -05:00
Eugenia
ec6af8b9ae remove comment
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-01-28 12:50:42 -05:00
jenny-s51
578b853fd5 format 2021-01-28 12:50:42 -05:00
jenny-s51
50db2c73d7 WIP modal 2021-01-28 12:50:42 -05:00
mfrances
ca79f3da29 navigate to card view after delete 2021-01-27 17:11:00 -05:00
mfrances
ad7be3a62e enable and delete working 2021-01-27 17:11:00 -05:00
mfrances
35ca42f267 preliminary UI for enable and actions 2021-01-27 17:11:00 -05:00
mfrances
5081a9602d fix tests 2021-01-26 15:54:29 -05:00
Erik Jan de Wit
b9de247569
initial version of authentication section (#309)
* initial version of authentication section

* remove dialog for now should go to detail page

* added link and buildin label to first column

* added key attributes

* removed setTimeout workaround

* only delete when not in use

* Update src/authentication/messages.json

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/authentication/messages.json

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* refresh table on duplicate

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2021-01-26 14:39:01 -05:00
mfrances17
5633101f42
Add Save/Cancel buttons and logic to LDAP settings (#311)
* add save cancel and move all form logic to parent

* rm obsolete convert days function

* save working all fields

* fix save on two fields and rm console msgs

* add basic validation to empty fields

* fix default value issues in cache

* fix two fields default values

* dropdown text and help fixes

* add empty option for edit mode
2021-01-25 20:41:14 -05:00
mfrances17
0dc3f08917
Add Save/Cancel buttons and logic to Kerberos settings (#307)
* initial save cancel logic

* cleanup work after merge

* move form logic up to parent

* save working

* update messages

* no longer need to pass in save from children

* pass form into wizard to fix build errors

* fix lint fmt issue

* add simple field validation and error prevention

* localize validation strings

* fix default value issues

* localize default value
2021-01-22 15:15:32 -05:00
Stan Silvert
f2e26b0049
Cypress tests for masthead. (#304)
* Cypress tests for masthead.

* Update snapshot

* Update Keycloak version.

* Fix download address

* Update start.js

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Follow redirect when downloading keycloak.

* Refactor HeaderPage into Masthead and ModalUtils

* Minor change to kick off build.

* logOutTest no longer needs a param

* goToAcctMgtTest no longer needs a param

* Update tests/cypress/support/pages/admin_console/Masthead.js

Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>

* Update tests/cypress/support/pages/admin_console/Masthead.js

Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>

* Fix userDropdown() method

* Minor refactor

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
2021-01-21 07:09:50 -05:00
Erik Jan de Wit
9ea2470aeb
fixed excedently removed columns (#310) 2021-01-20 07:53:36 +01:00
Eugenia
8f971ffca0
Realm Roles: Implements Reload Function (#308)
* refresh

* add hook

* reload WIP

* pass down defaultValues

* log stmt

* reload working on details form

* call with Erik

* format

* format

* lint

* fix reload after save
2021-01-19 14:30:52 -05:00
Erik Jan de Wit
eff8144a0a
override aria labels invalidly genrated by PF (#295) 2021-01-19 07:21:17 -05:00
mfrances17
ccb731338e
Merge pull request #301 from srambach/user-fed-mappers-text
Add text for user federation user attribute mapper
2021-01-18 10:19:00 -05:00
Erik Jan de Wit
324d9ff061
initial version dashboard section (#283)
* initial version dashboard section

* changed to new design

* changed text to "realm info"
2021-01-14 20:44:16 -05:00
Sarah Rambacher
c1d13650df fixes typos and some grammar 2021-01-14 10:56:03 -05:00
Erik Jan de Wit
9548038631
added links to marvel for work in progress parts (#297) 2021-01-13 15:59:49 -05:00
Sarah Rambacher
c567fdca93 deduplicates some common text strings 2021-01-13 15:48:16 -05:00
Erik Jan de Wit
0d9b4ff054
created bookmarkable tabs component (#296) 2021-01-13 15:47:40 -05:00
Erik Jan de Wit
45cda0a969
initial version realm settings section (#281)
* initial version realm settings section

* simpified save

* fixed reload

* fixed merge error
2021-01-13 14:59:45 -05:00
Sarah Rambacher
f36711fa2f adds user fed mappers text 2021-01-13 14:28:53 -05:00
Erik Jan de Wit
ce0ce6d59e
Sub group navigation in groups section (#274)
* list sub group of a group using the id

* introduced group bread crumb component to render

this builds up the groups as you click to subgroups

* added deeplinking

* fixed route config types

* fixed new realm prefix

* added null checks for if group not found

* changed labes to groups
2021-01-12 09:00:44 -05:00
Erik Jan de Wit
bbfccea940
Evaluate tab clients client-scopes (#263)
* created scope picker

* added user select

* added evaluate function

* added the tabs

* added generated token

* added useFetch

* fixed formating after merge

* fixed the tabs layout

Co-authored-by: srambach

* added space between tabs and content

* added help into text
2021-01-12 08:16:35 -05:00
Erik Jan de Wit
dba53a01b3
update who am i on realm create as we need the accessTypes (#276)
* whoAmI has the realm access information
so when a new realm is created the whoAmI request has to be done again

* fixed "add realm" button

* remove debug

* refactor

* also force token update

* refresh realm list on realm change
2021-01-12 07:39:37 -05:00
Erik Jan de Wit
be2268df2f
only add isDisabled when needed otherwise (#289)
as before it would override an existing isDisabled
2021-01-11 19:43:32 -05:00
mfrances17
853fd2c220
Merge pull request #275 from srambach/user-fed-wizard
User fed wizard
2021-01-11 16:50:39 -05:00
jenny-s51
74a5bfb7cc prettier 2021-01-11 16:28:15 -05:00
jenny-s51
453d37f815 fix formaccess role 2021-01-11 16:27:13 -05:00
jenny-s51
960e43a7d9 rebase and resolve conflicts 2021-01-11 16:22:58 -05:00
jenny-s51
8ef7bd7ddb WIP role attributes
fix storybook demos

add attributes tab to realm roles section

use TableComposable

fix formatting

css updates

fix up styling of role attributes table

fix check-types erros

logic from call with Jeff

clean up, format, make eslint proud

delete roledetails

call with Erik

add delete function and css changes

fix storybook demos and format

make key input disabled once new attribute is created

minus icon gray

address PR feedback from Sarah

set add and save buttons to disabled when new input field is  empty

fix save/add

fix onChange formState

rebase with resolved conflicts

fix formatting

remove !important

Update RealmRolesSection.css

Update src/realm-roles/RoleAttributes.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

address PR feedback from Sarah and Erik

fix paths and use error msg from response

remove log stmt

fix lint

remove minLength
2021-01-11 16:19:22 -05:00
jenny-s51
5d7d2b5636 add role attributes, WIP 2021-01-11 16:15:12 -05:00
Sarah Rambacher
dc08e13833 remove unused helpText 2021-01-11 16:07:42 -05:00
Sarah Rambacher
c3a11434c4 remove modal header on wizard 2021-01-11 16:07:42 -05:00
Sarah Rambacher
ac65df58b8 fix spacing of wizard section header 2021-01-11 16:07:42 -05:00
Sarah Rambacher
7cea09ef8a rebase on user federation wizard screens (storybook) 2021-01-11 16:07:30 -05:00
Sarah Rambacher
006356d9e3 adds wizard buttons 2021-01-11 16:04:56 -05:00
Sarah Rambacher
cc2dd3e512 adds user federation kerberos wizard 2021-01-11 16:04:56 -05:00
Erik Jan de Wit
84ad3853a8
move common cell formatters to util functions (#278)
* move common cell formatters to util functions

* renamed ExternalLink FormattedLink
2021-01-11 14:29:52 -05:00
Erik Jan de Wit
feca61d2b0
renamed useFetch to asyncStateFetch (#277)
* renamed `useFetch` to `asyncStateFetch`

otherwise React will mistake it for a react hook and will complain.

* added jsdoc

* fixed the user red stories

* renamed
2021-01-11 13:56:19 -05:00
Erik Jan de Wit
1763ee1a50
added delete client scope functionality (#272)
* added delete client scope functionality

* use error message from the response
2021-01-07 13:34:59 -05:00
Erik Jan de Wit
e6fa093925
small refactor to set realm from path (#282) 2021-01-07 09:56:14 -05:00
Erik Jan de Wit
db4f7851fb
refresh and message on group delete (#270)
fixing: #129
2021-01-05 14:56:16 -05:00
Erik Jan de Wit
c1282b2973
onEnter should not post the form (#269)
* onEnter should not post the form

fixing: #257

* added focus to input field

* fixed button
2021-01-05 14:53:01 -05:00
Erik Jan de Wit
b14027ccb7
Use realm name in urls (#265)
* remove circular dependency on realm context

* added realm as a param of the url

* updated links to include realm

* null !== undefined

* set realm if realm in url

* fixed breadcrumb type

* fixed tests

* addressed pr review comments
2021-01-05 14:49:33 -05:00
Erik Jan de Wit
27d9dadee7
only update state when component is mounted (#266)
* only update state when component is mounted

* removed unused import

* `useFetch` function to update state when mounted
2021-01-05 08:39:27 -05:00
mfrances17
03e7ec760c
Show/hide Kerberos cache policy related controls (#267)
* preliminary usewatch changes

* show hide working

* fix switches with form access

* make auth-pw control edit mode
2020-12-18 10:20:11 +01:00
Erik Jan de Wit
f9c44c0953
initial version of the sessions sectino (#260) 2020-12-18 08:01:35 +01:00
Erik Jan de Wit
8b8ce279bc fixed test 2020-12-17 17:07:50 +01:00
Erik Jan de Wit
bb51903ce8 switches don't work in a FormAccess form
not all of their props where copied
2020-12-17 16:05:44 +01:00
mfrances17
7c3a5739eb
User Federation: populate all LDAP settings (#261)
* separate card paths

* organize settings file structure

* most ldap fields working

* allow same path to multiple components

* fix several fields

* all values fetched correctly

* changes from PR
2020-12-16 08:02:41 +01:00
Erik Jan de Wit
0a5efbb781
added brute login user temporary lock indication (#259)
* added brute login user temporary lock indication

* spelling
2020-12-16 07:58:00 +01:00
Eugenia
79e671062c
Realm role attributes (#247)
* add role attributes, WIP

* WIP role attributes

* fix storybook demos

* add attributes tab to realm roles section

* use TableComposable

* fix formatting

* css updates

* fix up styling of role attributes table

* fix check-types erros

* fix build

* fix formatting

* address PR feedback from Sarah

* add aria label to button

* fix storybook demos and address PR feedback from Erik

* fix merge conflict

* delete unnecessary files

* remove unused code

* remove BorderColor

* delete final comment

* fix formatting

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-12-15 08:21:17 +01:00
Erik Jan de Wit
6ae437c86a
Updated DataTable to be capable of select (#251)
* removed unused models

* added selectable to `DataList`

* changed groups to use new `DataList`

* fixed filter for JSX.Elements columns

* better refresh
2020-12-14 09:57:05 +01:00
mfrances17
af986e0f13
Merge pull request #256 from edewit/events-tab
initial version of the events tab
2020-12-11 15:31:57 -05:00
mfrances17
30452ce3c8
Merge pull request #255 from edewit/rename-datalist
renamed data list and documented
2020-12-11 15:12:01 -05:00
Sarah Rambacher
691708e5f2
Makes jumplinks work (#254)
* jumplinks on main content scroll but buggy

* update PF and move anchor to heading

* add fix for double highlight of jumplink

* mysterious change to unrelated test

* add yarn.lock
2020-12-11 18:34:18 +01:00
Erik Jan de Wit
78d65f934c fixed id 2020-12-11 18:25:54 +01:00
Erik Jan de Wit
6b962577ba added admin events tab 2020-12-11 15:48:39 +01:00
Erik Jan de Wit
7d20fc01a7 initial version of the events tab 2020-12-11 14:05:41 +01:00
Erik Jan de Wit
9903b5c081 renamed files 2020-12-11 11:28:38 +01:00
Erik Jan de Wit
f8d8d08147 renamed data list and documented 2020-12-11 11:18:29 +01:00
mfrances17
83825c117b
Merge pull request #245 from edewit/issue-230
TextArea is child of controller
2020-12-10 09:10:48 -05:00
Erik Jan de Wit
3f2969e897 TextArea doesn't need to be a child of controller
fixes: #230
2020-12-10 10:07:24 +01:00
Erik Jan de Wit
78ccef0d67
initial version of the user list (#252)
* initial version of the user list

* added disabled
2020-12-09 16:55:17 -05:00
mfrances17
66d3c844f9
Merge pull request #249 from edewit/remove-all
added missing remove all kabab item
2020-12-09 09:23:04 -05:00
Erik Jan de Wit
2c2cfc0ad9 disable remove all when no row is selected 2020-12-09 07:58:19 +01:00
mfrances17
ff43970e9a
User Federation: populate Kerberos required and cache settings data (#243)
* pull in kerberos data

* fix build fails and cleanup msgs

* fix 2x build errs

* fix broken test

* fix route, bcrumb, and card click

* lint fixes

* final changes from PR review

* add old breadcrumb functionality back

* fix breadcrumb test

* lint fix
2020-12-08 07:30:53 +01:00
Erik Jan de Wit
41062f88f4
Introduced generic DataList component that can handle all Lists. (#241)
* initial version of a data list

* introduced paginate property

* added search key

* added types and actions

* added renderer to customize rendering of one cell

* changed `ClientList` to new `DataList`

* replaced client scope list with `DataList`

* added empty state

* Replaced RoleList with `DataList`

* switched to lodash cloneDeep

* fix merge error
2020-12-07 14:23:18 -05:00
Stan Silvert
9ff144e768
Remove useEffect import. (#250) 2020-12-07 19:57:03 +01:00
Erik Jan de Wit
5463db5a20
Initial version of the Service Account tab (#238)
* service account tab initial version

* added hide inherited function

* move empty formatter to util

* added the 'assign role' button

* only show service account tab when client is saved

* changed to toobar items to align checkbox

* added missing assignRole and renamed tab
2020-12-07 13:37:36 -05:00
Erik Jan de Wit
b0faaa829a added missing remove all kabab item 2020-12-07 14:42:08 +01:00
Stan Silvert
2be549a60e
Use new patternfly jumplinks. (#246)
* Use new patternfly jumplinks.

* Update snapshots
2020-12-07 07:51:38 -05:00
Erik Jan de Wit
b59902e3c8
fix for login on realm other then master (#244) 2020-12-05 08:16:50 -05:00
Erik Jan de Wit
56db3cfee5
added actions to client scope mapping screen (#242) 2020-12-04 16:08:11 -05:00
Erik Jan de Wit
acbd5a5f18
created a MockAdminClient for the storybook (#240)
* added mock for admin client so stories work again

* updated storybook to 6.1.7

* added js doc

* fix merge error
2020-12-04 13:58:28 -05:00
mfrances17
98a5b69b52
Merge pull request #237 from srambach/user-fed-fix-ldap-controllers
User fed fix ldap controllers
2020-12-04 10:50:26 -05:00
Erik Jan de Wit
7059297d5f
merged "new role form" and "role details" into one (#239) 2020-12-02 16:04:54 -05:00
Erik Jan de Wit
a92f5edcb1
be able to use admin client in nodejs mode (#231) 2020-12-02 08:37:40 -05:00
Erik Jan de Wit
2b5ef5b165
removed inline created component (#233)
* removed inline created component

* fixed merge error
2020-11-30 14:33:31 -05:00
Erik Jan de Wit
cf95b7184d
Small refactor (#232)
because `canSelectAll` is false there is no need for this check
2020-11-30 14:30:44 -05:00
Sarah Rambacher
76ff85f8d8 add FormAccess 2020-11-25 11:17:50 -05:00
Sarah Rambacher
707457f5a9 remove local model from ldap settings 2020-11-25 09:50:40 -05:00
Eugenia
17b1fab80e
adds delete action to realm details page (#236) 2020-11-24 16:11:35 -05:00
Erik Jan de Wit
2e64f144d5
update to latest keycloak-admin (#234)
* update to latest keycloak-admin

also fix name of project

* removed workaround type
2020-11-24 15:45:12 -05:00
Erik Jan de Wit
29a1d82c7f
Initial version of the client scope tab for clients (#227)
* initial version of  client scope tab for clients

* initial version evaluate tab

* changed to use new adminCliend
and merged default and optional

* added add dialog

* removed "always" and "required" scopes

* better seach types dropdown layout

* added switch implementation
2020-11-24 15:11:13 -05:00
Sarah Rambacher
ad09c883e3
Add User federation kerberos settings controllers (#224)
* add form controllers to user fed kerberos settings

* comments out test buttons

* add optional settings with todos

* correct the kerberos help text

* updates cache policy dropdowns

* use ComponentRepresentation

* use FormAccess component

* fix required settings and i18n

* remove unused form

* remove unused file

Co-authored-by: jenny-s51 <jshandel12@gmail.com>
2020-11-24 08:56:31 -05:00
Eugenia
dc2ceef27b
Adds tab for realm role details + update/save functionality (#228)
* add file for realm role details

* add details and attributes tabs

* clean up a bit

* get name working

* add reload

* fix route config

* fix prettier

* call with Don

* header and description working

* update route-config.ts

* wrap in FormAccess component

* name input gets value from call

* try to get save working

* feedback from Erik

* more feedback from Erik

* fix formatting

* format

* address PR feedback from Erik

* delete comment

* set name field to read-only

* delete defaultValue prop
2020-11-23 10:20:21 -05:00
Eugenia
147be1d6b2
Adds realm role details tab to storybook (#217)
* parent 9eabcdbee4
author jenny-s51 <jshandel12@gmail.com> 1602688597 -0400
committer jenny-s51 <jshandel12@gmail.com> 1605296992 -0500

add file for realm role details

add details and attributes tabs

clean up a bit

get name working

add reload

fix route config

fix prettier

add storybook demo for realm details

add details and attributes tabs

* parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297630 -0500

parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297556 -0500

parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297545 -0500

parent 9eabcdbee4
author jenny-s51 <jshandel12@gmail.com> 1602688597 -0400
committer jenny-s51 <jshandel12@gmail.com> 1605296992 -0500

add file for realm role details

add details and attributes tabs

clean up a bit

get name working

add reload

fix route config

fix prettier

add storybook demo for realm details

add details and attributes tabs

clean up a bit

clean up a bit

add reload

fix route config

add storybook demo for realm details

Delete messages.json

cleaning up, wip

fix CI

clean up more

* add back role messages

* fix format

* revert role list to master

* remove reload

* fix spacing and add FormAccess component

* fix route

* fix formatting
2020-11-18 16:52:18 -05:00
Sarah Rambacher
7592621d77
223-fix-user-fed-card-wrapping (#226) 2020-11-18 16:06:56 +01:00
Erik Jan de Wit
49ef2bd665
Add role mapping into the flow and filter the clients that don't have roles (#222)
* addd role mapping into the flow

* added filter for clients that don't have roles

* fixed types
2020-11-17 16:39:28 -05:00
Erik Jan de Wit
ba761c0526
added by configuration dialog into the flow (#221)
* updated the detail screen to support new mapping

* fix merge error

* added by configuration dialog
2020-11-17 16:28:34 -05:00
Erik Jan de Wit
8e33519df1
fixed x and empty select on dialog (#220)
* fixed x and empty select on dialog

fixes: #210

* make button disabled when nothing is selected
2020-11-17 15:56:23 -05:00
mfrances17
bd2c8d8f86
Fix disabled label for user fed card view (#218)
* fixes three issues

* lint issues
2020-11-16 14:09:39 -05:00
Erik Jan de Wit
9eabcdbee4
changed how whoAmI uses the admin client (#216)
this avoids a circle dependency on realm
2020-11-12 14:16:41 -05:00
Erik Jan de Wit
b06cea6fd9
make the part to update smaller (#214)
This makes switching between sections a bit nicer
2020-11-12 14:08:09 -05:00
Mounika Kella
19e1b70a12
Update route-config.ts (#215)
Fixed error "`path` must be provided in every route object" in console
2020-11-12 13:59:23 -05:00
Erik Jan de Wit
dcb18c5488
Use keycloak-admin with axios instead of fetch wrapper (#212)
* changed to use the admin client

* added helper to always set realm

* fixed merge

* no need to polyfill anymore

* updated to use keycloak-admin-client

* updated to release version

* fixed types

* added user federation

* update test

* lint
2020-11-12 07:55:52 -05:00
mfrances17
42bb5cfe3f
User Federation card view implementation (#208)
* initial html css changes

* additional look and feel

* merge empty state changes

* fix dup key

* pull in real data

* real data and empty

* fix bad paren

* add delete functionality

* rm debug msg

* fix rediculous prettier trailing commas

* changes from PR

* css changes from PR

* use good userfed info link

* use consistent state names

* fix msg merge issue

* update and use ViewHeader

* fix broken tests

* add and use generic card component

* additional empty state behavior

* delete confirm modal
2020-11-10 15:26:20 -05:00
Erik Jan de Wit
c781d86026
added validated property to fields instead of only on FormGroup (#205)
* added validated to fields to make them nicer

* removed console log
2020-11-09 14:49:32 -05:00
Erik Jan de Wit
54550fa2f5
fixed issue with Checkbox and small refactor (#204) 2020-11-09 14:23:58 -05:00
Sarah Rambacher
1756b38e2f
User federation Kerberos settings wip (#203)
* lays out fields for user fed kerberos settings

* fix lint
2020-11-09 07:31:05 -05:00
Erik Jan de Wit
d6e1161c83
hooked up the build in mapper dialog (#197)
* hooked up the build in mapper dialog

* spelling

* useEffect for setTimout

* fix state

* fix bug with alerts clearing checked items

* fixed tests

* Update src/client-scopes/messages.json

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* simplified dialog usage

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-11-05 16:26:43 -05:00
Erik Jan de Wit
7ebe695921
removed "Home" from navigation (#209)
* only show breadcrumb when there are 2 levels
* renamed the list clients and client scopes
2020-11-05 15:40:00 +01:00
Erik Jan de Wit
fb21266695
add small top margin on the form (#202) 2020-11-02 15:31:00 -05:00
Erik Jan de Wit
2393b40c9b
Added the credentials tab (#196)
* initial version credentials tab

* added signed jwt

* submit token endpoint  signing alg

* added x509

* show tab when public client

* fixed test default confimnation dailog size is small

* pr review comments
2020-11-02 15:15:09 -05:00
Sarah Rambacher
6b3990e1b9
540 user fed settings (#198)
* all fields roughed in working on tab

* reduce to just the settings without page

* remove unused imports

* fix some comments

* correct some typos and capitalization

* remove ldap translation
2020-10-30 16:15:37 -04:00
Erik Jan de Wit
2766f8b14b
removed placeholder value (#201)
fixing: #200
2020-10-30 14:44:48 -04:00
Stan Silvert
78529f979f
Cleanup create realm. (#199) 2020-10-29 14:56:52 -04:00
Erik Jan de Wit
52afed2b64
only update snippet when component is mounted (#191)
* only update snippet when component is mounted

fixing: #190

* removed debug console.log
2020-10-29 13:02:06 -04:00
Eugenia
f5091d133e
Realm role empty state (#189)
* add file for realm role details

* add empty state

* empty state

* delete unused imports

* delete noRealmRoles.tsx
2020-10-28 14:33:54 -04:00
Erik Jan de Wit
2543893373
Change the input fields based on access rights (#184)
* poc of possible way to change form dynamically

* fixed detail routs

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* added more form access and logic for Controller

* render switches for boolean types

* better render of `<Controller` wrapped components

* added isDisabled property

* added test

* small refactor

* fixed types

* TextArea doesn't support isDisabled

* when field is disabled, disable button as well

* added jsdoc

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-10-28 14:17:15 -04:00
Christie Molloy
889f8078d2
add multiple group delete functionality (#185)
* add multiple group delete functionality

* fix the deleting bug and deleting during filering

* fix stans comment

* format files

* fix lint

* fix lint

* fix messages

* fix modal

* fix error mark found
2020-10-27 19:45:35 -04:00
Erik Jan de Wit
aea12169f4
initial version of the role mapping create form (#177)
* initial version of the role mapping create form

[marvel](https://marvelapp.com/prototype/f0e8fih/screen/72042619)

* fixed format

* changed to typeahead

* format

* group by

* review fixes

* added group and divider

* change name to realm name
2020-10-27 07:25:54 -04:00
Stan Silvert
45b878e2e6
Allow login to different realms using query param (#188) 2020-10-26 09:00:05 +01:00
Stan Silvert
9fb081e3bf
Fix exact routes (#187) 2020-10-23 07:52:51 +02:00
Erik Jan de Wit
4195e0fbf3
Adding Mapping list and detail screen (#180)
* added client scope details screen

* initial version of the mapping list

* added tabs

* changed route create

* merge

* added detail mapper page

* fixed merge errors

* fix merge error

* dynamic title

* added access types to routs
2020-10-21 13:38:11 -04:00
Erik Jan de Wit
a9dc031fff
Introduced a predefined mapper dialog (#169)
* added optional dialog variant

* added predefined scope dialog

* added mapper dialog for predefined and custom

* format

* changed to use dataList instead of table

* fixed test
2020-10-21 08:18:41 -04:00
Stan Silvert
49284a0f11
Implement basic access control. (#183)
* Implement basic access control.

* Fix formatting
2020-10-21 07:31:41 -04:00
Erik Jan de Wit
34723a0ebf
moved workaround for dots in form names to util (#182) 2020-10-20 16:47:23 -04:00
Erik Jan de Wit
6514c5e410
changed path (#181)
fixes: #178
2020-10-20 16:45:40 -04:00
Sarah Rambacher
b5aa560dcc
Change list view header action menu from select to dropdown (#179)
* change select to dropdown in viewheader

* make the action happen

* remove comment
2020-10-19 09:44:22 -04:00
Erik Jan de Wit
be2d5d1249
added client scope details screen (#159)
* added client scope details screen

* fixed:
* added includeInTokenScope field
* removed not editable type field

* changed to display order
2020-10-15 13:09:32 -04:00
Sarah Rambacher
93233ee861
161 user federation landing (#172)
* initial user federation landing page

* builds user federation screen with more info link

* change providers to h2

* remove unused imports and translate text

* updates user fed landing page for new mockup
2020-10-15 07:50:47 +02:00
mfrances17
bcd864bfc9
Merge pull request #142 from christiemolloy/createGroup
Add Create Group Functionality
2020-10-14 17:20:18 -04:00
Christie Molloy
2897e59004 update 2020-10-14 17:02:31 -04:00
Christie Molloy
59bfeda338 format 2020-10-14 16:53:32 -04:00
Eugenia
caec08f95f
Adds functionality to delete realm role (#160)
* added function to refresh the dataloader data

* add Realm Roles page

add section for no realm roles

update role-model, fixed UI to match designs

fix paths

add storybook demo and role actions kebab

fix build and clean up

fix formatting

fix lint

fix test and update snapshot

update snapshot after rebase

PR feedback from Stan

add back pf addons

localize NoRealmRoles component

changes to PR suggested by Sarah

adds new role form

rename fields

cleaning up

address PR feedback from Stan

add logic to delete realm role

format

rebase with erik branch

resolves merge conflicts

fix check types error

fix invalid state

fix check-types

fix ts error

* fix format

* remove log stmt

* address PR feedback from Erik and Sarah

* remove utility class

* address Erik comment

* fix formatting

* fix bug and address PR feedback

* move msg

* fix lint

* fix format

* delete details file (on another branch)

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-10-14 16:50:10 -04:00
Christie Molloy
a4b858cdc0 update 2020-10-14 16:47:29 -04:00
Christie Molloy
35584207c8
Add empty state (#147)
* add empty states

* add two empty states

* updates to empty state

* update PR

* fix merge conflict

* fix formatting and add prettier

* updated test

* review comments

* update snapshot
2020-10-14 15:48:36 -04:00
Christie Molloy
4fdbb4ea5f review 2020-10-14 15:16:51 -04:00
Erik Jan de Wit
85b8f17f35
changed default type to secondary (#174) 2020-10-14 16:29:06 +02:00
Erik Jan de Wit
90779b6da4
introduced "/" for keycloak.json (#170)
fixes: #165
2020-10-14 08:53:51 -04:00
Christie Molloy
d7b154b656 format 2020-10-13 17:06:58 -04:00
Christie Molloy
82fb002e76 make updates 2020-10-13 16:52:23 -04:00
Erik Jan de Wit
cb3eca46ec
added download dialog to client actions (#164)
* added download dialog to client actions

* fixed format
2020-10-13 13:57:35 -04:00
Sarah Rambacher
3882d3ec43
adds optional link to the subkey of a view header (#166)
* adds optional link to the subkey of a view header

* changes props to button props
2020-10-13 09:15:16 -04:00
Donald Labaj
651205af29 Fixed build by making secondaryActions optional 2020-10-12 16:34:20 -04:00
Erik Jan de Wit
09f09893a2
added ability to add mulitple actions (#163)
* added ability to add mulitple actions

* fixed format

* changed to use secondaryActions
2020-10-12 14:02:17 -04:00
Erik Jan de Wit
4fa325f45c
initial version of the mapping list (#162)
* initial version of the mapping list

* added story to show mapper list

* fixed format

* changed to use intermediate type
2020-10-12 13:59:15 -04:00
Erik Jan de Wit
b49d07e18c
fixed create client scope header (#155) 2020-10-09 14:19:14 -04:00
Sarah Rambacher
0aa63ddfbb
Field level help (#152)
* refactors form field help

* format and test

* add interpolation of help text

* implement HelpItem and move help text

* update DownloadDialog with new HelpItem

* remove commented out code
2020-10-09 08:48:50 +02:00
Erik Jan de Wit
f44dad9e25
introduced server info context (#138)
* introduced server info context

* move to context folder

* moved model to context
2020-10-08 07:38:25 -04:00
Erik Jan de Wit
556f474fa6
i18n keys for success and error message (#154)
fixes: #151
2020-10-07 12:01:16 -04:00
Erik Jan de Wit
8e2000283c
Some pages don't support pagination (#134)
* introduced non paginating toolbar

* use patternfly util class instead of inline css
2020-10-07 11:47:03 -04:00
Donald Labaj
57fdb46b1f
Added coding standards to the project. (#139)
Added coding standards and also updated the package json so that the scripts have consistent naming conventions. Fixed incorrect import for context as well.
2020-10-06 17:42:32 -04:00
Erik Jan de Wit
908842542c
partial mocked download dialog (#140)
* partial mocked download dialog

* messages

* added toggle

* removed commened import
2020-10-06 15:51:21 -04:00
Erik Jan de Wit
587ae5ce81
changed alerts to have a provider (#137)
fixes: #132
2020-10-06 15:25:05 -04:00
Christie Molloy
64969fac0b prettier 2020-10-06 10:36:09 -04:00
Christie Molloy
bcffc68fdc fix merge conflict 2020-10-06 10:12:05 -04:00
Erik Jan de Wit
410c553ac0
added function to refresh the dataloader data (#143) 2020-10-06 07:56:06 -04:00
Stan Silvert
bfe6e2c236
Move contexts under a single directory. (#145) 2020-10-06 10:25:38 +02:00
Christie Molloy
eb57faf826 fix validation error 2020-10-05 15:45:06 -04:00
Erik Jan de Wit
932906a103
added client list search (#133)
* added client list search

* changed to only search onClick
2020-10-05 14:13:23 -04:00
Erik Jan de Wit
ed25dbc5a0
Added client setttings header with actions (#125)
* added client settings header

* added confirmation dailog

* format

* pr review

* use placeholder text instead of property

* change title to use clientId instead

* added state for dynamic name
2020-10-02 15:56:46 +02:00
Stan Silvert
f800e000be
Create whoami context (#136)
* Fix conflicts

* Fix formatting

* Get tests to pass

* Fix conflict again
2020-10-02 08:47:32 +02:00
Christie Molloy
a405dc9e13 fix formatting 2020-10-01 15:15:23 -04:00
Christie Molloy
28b16e9770 add create group functionality 2020-10-01 14:52:18 -04:00
Erik Jan de Wit
2fa8855bf4
initial version of the breadcrumb component (#119)
* initial version of the breadcrumb component

* moved breadcrumbs to Page component
2020-10-01 10:25:29 -04:00
Christie Molloy
66e28638db fix delete 2020-09-30 10:03:46 -04:00
Christie Molloy
1f3cfddac8 create group now working 2020-09-30 09:55:18 -04:00
Christie Molloy
4e67ecc1da update groups section 2020-09-29 14:21:07 -04:00
Eugenia
ba6d4877ab
Create realm role page (#114)
* add Realm Roles page

* add section for no realm roles

* update role-model, fixed UI to match designs

* fix paths

* add storybook demo and role actions kebab

* fix build and clean up

* fix formatting

* fix lint

* fix test and update snapshot

* update snapshot after rebase

* PR feedback from Stan

* add back pf addons

* localize NoRealmRoles component

* changes to PR suggested by Sarah

* adds new role form

* fix path

* rename fields

* HTTP post is working

* move create msg

* cleaning up

* address PR feedback from Stan

* added validation and changed to text area

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-29 13:54:42 -04:00
Sarah Rambacher
457729ba75
fixes vertical alignment of forms with switches (#122) 2020-09-29 08:34:27 +02:00
Christie Molloy
8a513e3ecf pull in master branch 2020-09-28 17:09:34 -04:00
Christie Molloy
32f5aa0e6f
First page within Group section (#108)
* add code to group section

* updates to group section

* more updates to groupsection

* add Eriks changes

* groups broken

* more group work

* lots of updates

* fix bugs

* working on typescript and clearing out dead code

* fix TS errors and PR feedback

* more TS fixes

* fixed the TS errors

* run prettier

* fix errors from yarn checktypes command

* fix prettier

* fix lint and checktypes

* remove isInline

* revert prettier

* revert prettier commits

* update i18

* fix prettier

* feedback

* fix error
2020-09-28 11:58:03 -04:00
Christie Molloy
f1cd864f05 more progress on group modal 2020-09-25 14:21:18 -04:00
Erik Jan de Wit
94b26936d3
fetch and save client (#116)
* fetch and save client

* added multi line for redirect uris

* format

* review
2020-09-25 13:42:32 -04:00
Erik Jan de Wit
19b458577b
Generic view header (#115)
* implements static template for table view header

* initial table view header layout

* renamed

* added actions

* format

* review

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-09-25 13:29:03 -04:00
Erik Jan de Wit
e7b108a623
Initial version client scopes (#111)
* initial version client scopes

* remove use of newer replaceAll

* review
2020-09-25 13:11:25 -04:00
Erik Jan de Wit
8210ba5ba0
initial version of confirm dialog (#117)
* initial version of confirm dialog

* introduced helper funciton to toggle dialog

* review
2020-09-25 09:17:55 -04:00
Christie Molloy
1573acc0ef add modal 2020-09-24 16:57:07 -04:00
Erik Jan de Wit
7161af82b8
initial version of the multi line input (#107)
* initial version of the multi select input

* changed direction and fixed tab index
2020-09-24 09:27:23 +02:00
jenny-s51
aebcea2ac1 CI :) 2020-09-23 15:49:05 -04:00
jenny-s51
65a6e1ca24 update HelpItem snapshot 2020-09-23 15:42:02 -04:00
jenny-s51
87363f69cd fix check-types 2020-09-23 15:42:02 -04:00
jenny-s51
7ba5ef7b5e format test 2020-09-23 15:42:02 -04:00
jenny-s51
f3c731e472 fix conflicts 2020-09-23 15:42:02 -04:00
jenny-s51
7bd8f6c883 try to fix tests 2020-09-23 15:39:52 -04:00
Sarah Rambacher
0a6281e209 fix button props on external link
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-23 15:39:52 -04:00
Sarah Rambacher
6189795aaf make prettier happy 2020-09-23 15:39:52 -04:00
Sarah Rambacher
985375ef02 remove the disabled link test 2020-09-23 15:39:52 -04:00
Sarah Rambacher
9f47fb5fca change external link to pf component 2020-09-23 15:39:52 -04:00
Erik Jan de Wit
3479adb356
Small client form fixes (#104)
* made clientId required

* changed space between the 2 columns of check boxes

* merge fix
2020-09-23 15:19:02 -04:00
Erik Jan de Wit
bb3598930f
always show realm add button and filter on keystroke (#105)
* always show realm add button and
filter on keystroke

* fixed formatting

* fixes within the realm selector dropdown

* format

* fixed test

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-09-23 10:19:46 +02:00
Erik Jan de Wit
dfe3f31eb4
update dependencies (#110) 2020-09-23 10:05:15 +02:00
Erik Jan de Wit
0f1d93d672
initial version of the client settings page (#89)
* initial version of the client settings page

* fix test

* fixed spelling

* merge errors

* fix merge error

* renamed Step1 and Step2
2020-09-22 08:43:51 -04:00
Stan Silvert
c656d6acee
Localize NavItems (#106)
* Localize NavItems

* Fix group titles.
2020-09-21 14:54:42 +02:00
Sarah Rambacher
48e13b7204
Empty state for a list (#95)
* add an empty state for a list

* rename component and add click handler

* add metadata to list empty state story

* add tests to list empty state
2020-09-19 14:05:14 -04:00
Eugenia
9fd54eb964
Adds realm roles section to app and storybook (#79)
* add Realm Roles page

* add section for no realm roles

* update role-model, fixed UI to match designs

* fix paths

* add storybook demo and role actions kebab

* fix build and clean up

* fix formatting

* fix lint

* fix test and update snapshot

* fix storybook demo

* update snapshot after rebase

* PR feedback from Stan

* add back pf addons

* Update src/realm-roles/RealmRolesSection.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* fix format

* localize NoRealmRoles component

* fix formatting

* changes to PR suggested by Sarah

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-09-18 10:04:55 +02:00
Erik Jan de Wit
338e177c51
added react hook form to do forms (#99)
* added react hook form to do forms

* removed unnessary property
2020-09-17 09:51:40 -04:00
Erik Jan de Wit
b87bd2ca76
updated the realm selector (#90)
* updated the realm selector with:

1. realm context that works on other requests
2. added search bar when realm list > 5 realms

* fixed merge
2020-09-17 07:37:30 -04:00
Erik Jan de Wit
79c8942eeb
changed messages to keys (#88) 2020-09-16 10:56:23 -04:00
Erik Jan de Wit
601bba8057
initial version of groups (#86) 2020-09-15 15:54:52 -04:00