Commit graph

1827 commits

Author SHA1 Message Date
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
agagancarczyk
ca03bb4cc9
Merge pull request #843 from agagancarczyk/sessionType-test
Session type test
2021-07-14 11:47:52 +01:00
Jon Koops
ef1f8b0734
Use a Snowpack plugin to check TypeScript types (#844) 2021-07-14 12:43:21 +02:00
Agnieszka Gancarczyk
b758a1f8b6 sessions: added cypress tests review changes 2021-07-14 11:41:04 +01:00
Agnieszka Gancarczyk
2b0276b45e master changes 2021-07-14 11:16:00 +01:00
Jon Koops
234a2dcba6
Convert JSON files for translations to TypeScript (#841) 2021-07-14 12:15:48 +02:00
Agnieszka Gancarczyk
c7fc0a8002 sessions: added cypress tests for session types dropdown display 2021-07-14 11:14:03 +01:00
Jon Koops
7e130e5e98 Add a 'Package Managers' section to the coding guidelines 2021-07-14 00:36:28 +02:00
Jon Koops
d5b75adf74 Add GIT hooks to run CI tasks before pushing 2021-07-13 15:55:42 +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
agagancarczyk
13a20d2e42
Merge pull request #833 from agagancarczyk/accessibility-more-fixes
Accessibility more fixes
2021-07-12 16:07:02 +01: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
dependabot[bot]
7682f5c4c5 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>
2021-07-10 19:11:02 +02:00
dependabot[bot]
04d1d0e4fa 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>
2021-07-10 18:29:01 +02:00
dependabot[bot]
79f143b20e 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>
2021-07-10 18:28:39 +02:00
dependabot[bot]
1c86275fd2 Bump @types/react-dom from 17.0.8 to 17.0.9
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.8 to 17.0.9.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-10 18:28:06 +02:00
dependabot[bot]
d6b84e2122 Bump @storybook/addon-essentials from 6.3.2 to 6.3.4
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) 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/essentials)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-10 15:15:31 +02:00
dependabot[bot]
2c5f31ad60 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>
2021-07-10 11:47:07 +02:00
dependabot[bot]
a50c8f1412 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>
2021-07-10 11:46:26 +02:00
dependabot[bot]
0ee0e413fe Bump @storybook/react from 6.3.2 to 6.3.4
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) 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/app/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-10 11:46:15 +02:00
dependabot[bot]
865d1556cb Bump @types/react from 17.0.13 to 17.0.14
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.13 to 17.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-10 11:33:15 +02:00
dependabot[bot]
2aa2a3bd4f Bump @types/react-router-dom from 5.1.7 to 5.1.8
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 5.1.7 to 5.1.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-10 11:32:39 +02:00
agagancarczyk
d1d2eea739
Merge pull request #817 from agagancarczyk/accessibility-fixes
added accessibility fixes
2021-07-09 18:43:27 +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
agagancarczyk
b0d6ad9356
Merge pull request #813 from agagancarczyk/ay11
Ay11
2021-07-09 14:41:36 +01:00
Agnieszka Gancarczyk
b1614e5141 added latest package-lock.json 2021-07-09 14:27:57 +01:00
Agnieszka Gancarczyk
d6ad83c90c fixed dependencies in package-lock.json 2021-07-08 20:50:28 +01:00
Agnieszka Gancarczyk
b530dccd0e fixed dependencies in package-lock.json 2021-07-08 20:25:31 +01:00
Agnieszka Gancarczyk
e96235a898 fixed dependencies in package-lock.json 2021-07-08 20:04:23 +01:00
Agnieszka Gancarczyk
b0e5dd680a Merge branch 'master' of github.com:keycloak/keycloak-admin-ui into ay11 2021-07-08 18:20:04 +01:00
Agnieszka Gancarczyk
812d626541 Added accessability fixes 2021-07-08 18:14:04 +01:00
dependabot[bot]
035ca62f63 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>
2021-07-08 13:30:42 +02:00
Jon Koops
d1ea86ac3f
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
2021-07-08 13:09:29 +02:00
Jon Koops
510bf9508b Disable WebPack production build to pass tests 2021-07-08 12:30:22 +02:00
Jon Koops
898df795d9 Switch to NPM as the default package manager 2021-07-07 17:26:50 +02:00
Jon Koops
263bd5d0c2 Use WebPack 5 for Storybook builds 2021-07-07 17:04:11 +02:00
Jon Koops
d995e0f0e1 Update ts-node to latest version 2021-07-07 16:03:26 +02:00
Jon Koops
dd5c4afd6c Update to React 17 2021-07-07 15:56:53 +02:00
Jon Koops
b0c33007ec Remove Enzyme from testing suite 2021-07-07 15:40:50 +02:00
dependabot[bot]
ee63b0ce7a 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>
2021-07-07 14:53:52 +02: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