Commit graph

3014 commits

Author SHA1 Message Date
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
dependabot[bot]
2c23807742
Bump postcss from 8.2.14 to 8.2.15 (#609)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.14 to 8.2.15.
- [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.2.14...8.2.15)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-18 10:43:19 +02: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
mfrances17
07e6628040
Merge pull request #587 from mfrances17/fix-bind-type
LDAP Providers - do not show DN and Credentials when bind type is none
2021-05-14 16:14:37 -04: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
dependabot[bot]
78721498cf
Bump keycloak-admin from 1.14.15 to 1.14.16 (#600)
Bumps keycloak-admin from 1.14.15 to 1.14.16.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 14:34:27 -04:00
dependabot[bot]
1bce04dcca
Bump postcss from 7.0.32 to 8.2.14 (#599)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.32 to 8.2.14.
- [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/7.0.32...8.2.14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 14:34:14 -04:00
dependabot[bot]
24e9c20f14
Bump eslint-plugin-react from 7.20.5 to 7.23.2 (#597)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.5 to 7.23.2.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.5...v7.23.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 14:34:00 -04:00
dependabot[bot]
6ddb063e0a
Bump @storybook/addon-actions from 6.1.7 to 6.2.9 (#596)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.1.7 to 6.2.9.
- [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.2.9/addons/actions)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 14:33:26 -04:00
mfrances17
bd6f8a9c78
update default req values based on vendor (#578) 2021-05-14 14:12:27 -04:00
mfrances17
40d004cdf1
Merge pull request #592 from mfrances17/fix-identity-tests
fixes identity provider cypress tests
2021-05-07 17:21:47 -04:00
mfrances
9b607a3021 use alternate click than helpid 2021-05-07 16:43:10 -04:00
mfrances
12d3661383 temp rm cleanup 2021-05-07 15:56:44 -04:00
mfrances
23d2d6b123 rm scrollintoview 2021-05-07 14:42:59 -04:00
mfrances
d780ef2d0c fixes identity provider cypress tests 2021-05-07 12:54:23 -04:00
mfrances17
84bc7e8091
Merge pull request #588 from edewit/default-value
Fixed bug
2021-05-07 11:34:30 -04:00
Erik Jan de Wit
fc6d2e7ecf fixed test?? 2021-05-07 13:38:18 +02:00
Erik Jan de Wit
55f585413a
removed unused dependencies (#581) 2021-05-07 10:40:51 +02:00
Erik Jan de Wit
c036253ac5 fixed test by clearing field first 2021-05-07 09:45:42 +02: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
Erik Jan de Wit
dbd544be37 don't use private fields 2021-05-06 11:06:20 +02:00
Erik Jan de Wit
f6357ccc7c put assign and initialize into one line 2021-05-06 10:38:45 +02:00
Erik Jan de Wit
312927e3d2 removed invalid default value 2021-05-06 10:37:55 +02: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
8d72f8a705
Fixing cypress tests (#586)
* upgrade cypress

* fixed delete now has dialog

* also check "unAssign"

* client type no longer required

* providers and group changes

* grp creation working

* moved create realm button ouside the dropdown

* sped up test and added cleanup

* Revert "moved create realm button ouside the dropdown"

This reverts commit e2076a5305808417de910ba8fada8e528e5c356a.

* make test re-runnable

* removed un needed navigation

* Fix misformed Cypress config for GitHub Action

* cleanup after test

* fixed cleanup

* temporary removed this test

* also remove user "new"

* try adding a wait for CI

* get different modal id

* add {force: true} to modal functions

* mv grp search last and ignore 401

* try using cy.get and disable video for testing

* add back video artifacts

Co-authored-by: mfrances <mfrances@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: jenny-s51 <jshandel@redhat.com>
2021-05-06 07:31:40 +02:00
dependabot[bot]
9d25c48e63
Bump typescript from 3.8.3 to 4.2.4 (#573)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 4.2.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v4.2.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 11:51:09 +02:00
dependabot[bot]
441a3fe6cf
Bump react-error-boundary from 3.1.0 to 3.1.1 (#571)
Bumps [react-error-boundary](https://github.com/bvaughn/react-error-boundary) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/bvaughn/react-error-boundary/releases)
- [Changelog](https://github.com/bvaughn/react-error-boundary/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bvaughn/react-error-boundary/compare/v3.1.0...v3.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 10:21:59 +02:00
dependabot[bot]
0e83e2b1c5
Bump @snowpack/plugin-webpack from 2.0.12 to 2.3.1 (#574)
Bumps [@snowpack/plugin-webpack](https://github.com/snowpackjs/snowpack/tree/HEAD/plugins/plugin-webpack) from 2.0.12 to 2.3.1.
- [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@2.3.1/plugins/plugin-webpack)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 10:15:24 +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
dependabot[bot]
ffbeddebe7
Bump @storybook/react from 6.1.7 to 6.2.9 (#570)
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.1.7 to 6.2.9.
- [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.2.9/app/react)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 13:32:33 -04:00
dependabot[bot]
91aeb02331
Bump @patternfly/react-table from 4.26.6 to 4.26.7 (#568)
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 4.26.6 to 4.26.7.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.26.6...@patternfly/react-table@4.26.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 13:06:05 -04:00
dependabot[bot]
4df62e42f5
Bump @storybook/addons from 6.1.7 to 6.2.9 (#567)
Bumps [@storybook/addons](https://github.com/storybookjs/storybook/tree/HEAD/lib/addons) from 6.1.7 to 6.2.9.
- [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.2.9/lib/addons)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 12:44:31 -04:00
dependabot[bot]
c8fb7887eb
Bump @types/file-saver from 2.0.1 to 2.0.2 (#565)
Bumps [@types/file-saver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/file-saver) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/file-saver)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 12:44:18 -04:00
dependabot[bot]
3fb72be0a2
Bump @types/lodash from 4.14.165 to 4.14.168 (#566)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.165 to 4.14.168.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 12:43:48 -04:00
dependabot[bot]
11ca7ad483
Bump file-saver from 2.0.2 to 2.0.5 (#564)
Bumps [file-saver](https://github.com/eligrey/FileSaver.js) from 2.0.2 to 2.0.5.
- [Release notes](https://github.com/eligrey/FileSaver.js/releases)
- [Changelog](https://github.com/eligrey/FileSaver.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eligrey/FileSaver.js/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 12:43:34 -04:00
Jon Koops
c13007b083
Add Dependabot configuration to keep dependencies up-to-date (#562) 2021-04-30 09:24:49 -04:00
Jon Koops
8fa10a5919
Convert Jest configuration to TypeScript (#561) 2021-04-30 08:26:06 -04:00
Jon Koops
c6122eea93
Update to latest version of NodeJS (#558) 2021-04-30 10:43:23 +02: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