Commit graph

1048 commits

Author SHA1 Message Date
Jon Koops
c5abf8349e
Add a constant for the default locale (#1023) 2021-08-19 15:56:00 +02:00
dependabot[bot]
5467d8acb5 Bump ts-node from 10.2.0 to 10.2.1
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.2.0 to 10.2.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.2.0...v10.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 14:10:09 +02:00
dependabot[bot]
2c5b848ed7 Bump @types/react from 17.0.18 to 17.0.19
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.18 to 17.0.19.
- [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-08-19 14:09:30 +02:00
dependabot[bot]
dcbb6fd56e Bump keycloak-admin from 1.14.21 to 1.14.22
Bumps keycloak-admin from 1.14.21 to 1.14.22.

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 14:07:33 +02:00
Jon Koops
18e0a930be
Prefer Array#includes() over Array#indexOf() (#1013) 2021-08-18 11:29:42 +02:00
Erik Jan de Wit
2f6e0064c1
update placeholder text resemble actual url (#1014) 2021-08-17 16:08:24 +02:00
Erik Jan de Wit
2581da0765
change to TextInput when editing (#991)
* change to TextInput when editing
as keycloak doesn't store the password as clear text

fixes: #971

* now part of the password field
2021-08-17 08:58:07 -04:00
Jenny
f93d478f44
Realm settings(localization): add locale dropdown to table (#936)
* add localization dropdown

uncomment isDisabled

clean up names

comment out localization tab again

disable actions menu if form not submitted

uncomment tab

use currentRealm for tableLoader

fix axe issues labeled as serious

PR feedback from Erik

use isSearching instead of keepToolbar

* fix node build

* use object entries

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-17 08:50:31 -04:00
dependabot[bot]
c575ffa491 Bump @typescript-eslint/parser from 4.29.1 to 4.29.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.1 to 4.29.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.29.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 11:58:17 +02:00
dependabot[bot]
813d8ce6d0 Bump cypress from 8.2.0 to 8.3.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.2.0...v8.3.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-08-17 11:17:36 +02:00
Jon Koops
84d272babd
Fix CVEs from NPM audit (#1008) 2021-08-17 10:55:36 +02:00
Jon Koops
475285ed5f
Disable major updates of broken dependencies (#1009) 2021-08-17 10:53:18 +02:00
Jenny
412e4c1f6b
Sessions(actions dropdown): Adds actions dropdown - "revocation" and "log out all sessions" (#896)
* rebase and resolve conflicts/comments

* remove badgeid
2021-08-16 15:25:36 -04:00
Erik Jan de Wit
b5e2fb802c
fixed breadcrumb for search and seach box distance (#998)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-16 14:35:39 +02:00
dependabot[bot]
7865a2b0b1 Bump @typescript-eslint/parser from 4.29.0 to 4.29.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.0 to 4.29.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 13:07:32 +02:00
dependabot[bot]
71cb2fdc09 Bump @types/react from 17.0.16 to 17.0.18
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.16 to 17.0.18.
- [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-08-16 13:06:44 +02:00
dependabot[bot]
8894840efc Bump i18next from 20.3.5 to 20.4.0
Bumps [i18next](https://github.com/i18next/i18next) from 20.3.5 to 20.4.0.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v20.3.5...v20.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 13:05:46 +02:00
Erik Jan de Wit
321b259a4b
fixed focus and min value (#999)
fixes: #405
2021-08-16 11:40:14 +02:00
Erik Jan de Wit
37f0010b81
changed save buttons from tertiary to secondary (#1000)
* changed save buttons from `tertiary` to `primary`

fixes: #959

* changed buttons from `tertiary` to `secondary`

fixes: #959
2021-08-16 11:22:56 +02:00
dependabot[bot]
7ab7af8528
Bump keycloak-admin from 1.14.20 to 1.14.21 (#1006)
Bumps keycloak-admin from 1.14.20 to 1.14.21.

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 09:01:40 +02:00
Jon Koops
317acd8239
Prefer optional chaining over validating references (#992) 2021-08-12 13:15:47 +02:00
Erik Jan de Wit
6f29839b06
added try catch as this call fails locally (#995) 2021-08-12 10:56:25 +02:00
Stan Silvert
5af816d369
Fix loginRealm to work on old and new Keycloak (#994) 2021-08-12 10:26:26 +02:00
Jon Koops
71b1c4a444
Pass login realm to WhoAmI (#989)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-08-11 16:38:55 +02:00
Erik Jan de Wit
54dca4df65
made "simple" the default authentication type (#993) 2021-08-11 16:32:40 +02:00
Erik Jan de Wit
9ce3f2c53c
added user in role for client tab (#987)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-11 13:44:18 +02:00
Jon Koops
a6d38096b7
Fix realm intialization (#990) 2021-08-11 13:23:59 +02:00
Erik Jan de Wit
15a87b7d2e
added empty state for new realms with no sessions (#986) 2021-08-11 11:33:51 +02:00
Erik Jan de Wit
ba8f927453
keep imported json instead of only form fields (#988) 2021-08-11 11:20:49 +02:00
Jon Koops
dbedd79883
Use correct default for 'Truststore SPI' (#980) 2021-08-11 07:52:12 +02:00
Jon Koops
9849c87270
Update Keycloak to version 15.0.1 (#978) 2021-08-10 15:10:43 +02:00
Jon Koops
d2ca2bf247
Convert more links to use new routes (#933)
* Convert more links to use new routes

* convert server info dropdown

* Fix link with render prop
2021-08-10 09:07:59 -04:00
Erik Jan de Wit
fe740c0c21
added test for adding service account role (#954) 2021-08-10 14:41:56 +02:00
Erik Jan de Wit
b0154b39a3
added component to set lifespan of token (#955) 2021-08-10 13:49:08 +02:00
Jon Koops
45bd2fd385
Use FunctionComponent type for components needing 'children' prop (#977) 2021-08-10 13:18:48 +02:00
Erik Jan de Wit
190376590f
changed render of link so search can find the text (#967)
* changed render of link so search can find the text

fixing: #965

* Update src/realm-roles/RolesList.tsx

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

* Update src/realm-roles/RolesList.tsx

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

* add missing imports and disable problematic eslint rules

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-10 13:14:16 +02:00
Erik Jan de Wit
9aa1cd0286
disable save when there are no changes (#975)
fixes: #679
2021-08-10 12:15:23 +02:00
Erik Jan de Wit
d15da05d54
small fix that fixes the realm settings test (#974) 2021-08-10 11:02:44 +02:00
Jon Koops
ed33242b34
Allow multiple access for secured routes (#946) 2021-08-09 22:20:49 +02:00
Jenny
45e07266eb
Realm settings(tokens): Add tokens tab (#934)
* wip tokens tab

* tokens

* add data-testids to cypress doc

* uncomment

* uncomment

* finish tests

* remove logs

* fix help text

* fix form panel title for sessions

* removed unused useEffect

* wip tokens updates to convert function

* fix flattened attributes to match call

* interpolate timespan

* delete unused variables
2021-08-09 15:28:24 -04:00
Erik Jan de Wit
c7e72abfc1
make general settings the first item (#957) 2021-08-09 16:35:31 +02:00
Erik Jan de Wit
5edea49497
re-enable crud test (#956) 2021-08-09 16:31:41 +02:00
Erik Jan de Wit
9eedd13a6b
fixed realm role test (#962) 2021-08-09 16:31:03 +02:00
dependabot[bot]
55c0e5766f Bump ts-node from 10.1.0 to 10.2.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.1.0 to 10.2.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.1.0...v10.2.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-08-09 11:01:59 +02:00
Erik Jan de Wit
cc31f0853c
Initial version of the authentication section (#887)
* initial version of create authentication screen

* initial version of authentication details

* added flow details labels to view header

* not in use fix

* create execution tree

* fixed collapsable row layout

* fix drag and drop expand

* fix merge error

* move to modal

* diff and post drag and drop changes

* fixed locating the parent row

* move "live text" for d&d to common messages

* firefox fix

* initial version of the diagram

* use dagre to layout automatically

* moved to sperate file

* conditional node

* now renders subflows sequential

* changed to render sequential or parallel flows

* fixed render of sub flows

* added button edge, drawer and selectable nodes

* add requirement dropdown

* also do move so we can merge

* also do move so we can merge

* fixed merge

* added refresh

* change requirement

* fixed merge error

* now uses the new routes

* Split out routes into multiple files

* Update src/authentication/AuthenticationSection.tsx

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

* Update src/authentication/FlowDetails.tsx

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

* Update src/authentication/FlowDetails.tsx

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

* Update src/authentication/FlowDetails.tsx

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

* Update src/authentication/FlowDetails.tsx

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

* fixed labels

* merge fix

* make execution of these parrallel

* added some tests

* Update src/authentication/components/FlowRequirementDropdown.tsx

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

* more review changes

* fixed merge error

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-09 10:47:34 +02:00
dependabot[bot]
0cfa5c2c80 Bump cypress from 8.1.0 to 8.2.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.1.0...v8.2.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-08-07 18:44:38 +02:00
dependabot[bot]
489cb328db Bump @types/react from 17.0.15 to 17.0.16
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.15 to 17.0.16.
- [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-08-07 18:44:12 +02:00
dependabot[bot]
0bda78dd28 Bump lint-staged from 11.1.1 to 11.1.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.1.1 to 11.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.1.1...v11.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-07 11:14:38 +02:00
dependabot[bot]
8e406406cb Bump @typescript-eslint/parser from 4.28.5 to 4.29.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.28.5 to 4.29.0.
- [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.29.0/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>
2021-08-07 11:13:44 +02:00
dependabot[bot]
5e7a72e7df Bump @types/lodash from 4.14.171 to 4.14.172
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.171 to 4.14.172.
- [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-08-07 11:12:59 +02:00