Commit graph

21499 commits

Author SHA1 Message Date
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
Martin Bartos
18cef60bbd KEYCLOAK-19037 Problems with validation of Email field that contains uppercase character 2021-08-19 11:13:42 +02:00
bohmber
ba946b54f7 KEYCLOAK-19021
LDAPOperationManager.getFilterById is causing additional call to AD
2021-08-19 09:25:33 +02:00
Thomas Darimont
f9b4e47851 KEYCLOAK-19036 Avoid infinite loop during LDAP sync with OpenLDAP and olcSizeLimit
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2021-08-18 17:42:13 +02:00
mposolda
418d1e3471 KEYCLOAK-19039 Sync UPDATE_PASSWORD required action to only to MSAD with WRITABLE edit mode. Add tests for MSAD mapper 2021-08-18 17:39:19 +02:00
Jon Koops
18e0a930be
Prefer Array#includes() over Array#indexOf() (#1013) 2021-08-18 11:29:42 +02:00
Thomas Darimont
a7fd1bc3a9 KEYCLOAK-18954 Add test for user consent retrieval with offline access consents
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2021-08-18 10:39:44 +02:00
Thomas Darimont
f16eb4d8b9 KEYCLOAK-18954 Refactor user consent list retrieval to avoid ConcurrentModificationException
This avoids a ConcurrentModificationException to be thrown in UserResource.getConsents()
calls that got introduced in 4e8b18f560 by filtering
the resulting stream explicitly instead of removing items from the collection
that we iterate over, which triggered the CME in the first place.

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2021-08-18 10:39:44 +02:00
wuweixin
6431afe360 KEYCLOAK-18974 BitbucketIdentityProvider IdentityBrokerException message
github => bitbucket
2021-08-18 10:32:07 +02:00
rmartinc
5ff6ff57a8 [KEYCLOAK-18535] KeycloakSanitizerMethod causes java.lang.IndexOutOfBoundsException when there is more then one href in a sanitized message 2021-08-18 10:19:22 +02:00
Bruno Oliveira da Silva
9e9e716369
Create snyk.yml 2021-08-17 20:10:37 -03:00
mposolda
3e0f8aed30 KEYCLOAK-19038 Reload user after being updated 2021-08-17 19:28:18 +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
Vlastimil Elias
afa6e31d36 [KEYCLOAK-19006] User Profile: Patched handling of the "whitespace-only"
texts in pattern and length validators
2021-08-10 08:43:58 -03: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