Commit graph

187 commits

Author SHA1 Message Date
dependabot[bot]
cc7199c5d6
Bump @types/react from 18.2.13 to 18.2.14 in /js (#21226)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.13 to 18.2.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 16:42:56 +00:00
Jon Koops
c026884734
Use a different API method to move groups (#20820)
Closes #20615

Co-authored-by: daniel-brannon <daniel.brannon@ososlo.com>
2023-06-23 21:42:13 +02:00
Stan Silvert
080b6a7981
Allow view client roles tab without view-realm access (#21142)
* Allow view client->roles tab with view-clients access.
Fixes #21047

* Fix role deleted success message.
2023-06-23 07:04:37 -04:00
mposolda
dc3b037e3a Incorrect Signature algorithms presented by Client Authenticator
closes #15853

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-06-21 08:55:58 +02:00
Simeon Babev
7d3423ca5f
Run Cypress tests on Firefox for nightlies (#20592) 2023-06-20 08:21:49 -04:00
rmartinc
20121ee9da Update docs and tooltips for lifespan and idle timeout changes
Closes https://github.com/keycloak/keycloak/issues/20791
2023-06-20 09:01:32 +02:00
dependabot[bot]
4bde62753e
Bump @types/react-dom from 18.2.5 to 18.2.6 in /js (#21083)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.5 to 18.2.6.
- [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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 20:19:34 +02:00
dependabot[bot]
b8b46e739f
Bump reactflow from 11.7.2 to 11.7.3 in /js (#21086)
Bumps [reactflow](https://github.com/wbkd/react-flow/tree/HEAD/packages/reactflow) from 11.7.2 to 11.7.3.
- [Release notes](https://github.com/wbkd/react-flow/releases)
- [Changelog](https://github.com/wbkd/react-flow/blob/main/packages/reactflow/CHANGELOG.md)
- [Commits](https://github.com/wbkd/react-flow/commits/reactflow@11.7.3/packages/reactflow)

---
updated-dependencies:
- dependency-name: reactflow
  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>
2023-06-19 16:56:17 +00:00
dependabot[bot]
c4d8114c6e
Bump @types/react from 18.2.12 to 18.2.13 in /js (#21087)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.12 to 18.2.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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 16:43:34 +00:00
dependabot[bot]
db3fe435b7
Bump vitest from 0.32.0 to 0.32.2 in /js (#21088)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.32.0 to 0.32.2.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.32.2/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  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>
2023-06-19 16:39:21 +00:00
Jon Koops
48f83f71d9
Upgrade TypeScript to latest version (#21077) 2023-06-19 15:53:14 +00:00
Jon Koops
dca71d84c3
Update i18next and react-18next to the latest version (#21070) 2023-06-19 14:59:21 +00:00
Erik Jan de Wit
0ca9b21765
added default values for user profile annotations (#20949)
* initial version of the "known" annotation picker

* fixed empty value

* add input type select when validator is options

* fixed test

* Update js/apps/admin-ui/public/locales/en/common.json

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

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-06-19 10:06:40 +02:00
Erik Jan de Wit
39e3820e9e
use array instead of first (#20964)
* use array instead of first

fixes: #19638

* pr review
2023-06-19 06:59:45 +00:00
Jon Koops
808988fe20
Update dependencies to latest version (#21002) 2023-06-15 11:46:41 +02:00
Erik Jan de Wit
c87f9a0686
move jumplinks to the top if there no room (#20952)
fixes: #20951
2023-06-14 11:10:21 +02:00
Erik Jan de Wit
c0ac409974
fixed pagination on the sessions tab (#20865)
* fixed pagination on the sessions tab

fixes: #20835

* changed to use steam
2023-06-14 08:25:27 +00:00
Erik Jan de Wit
30a0c31153
remove attributes form when use profile enabled (#20923)
When user profile is activated the attributes tab is useless

towards fixing: #20837
2023-06-14 08:02:12 +02:00
Jon Koops
c998193797
Pass client id for Account and Admin consoles through environment (#20961) 2023-06-13 16:29:37 +00:00
Andreas Blättlinger
35736b86ae
User Attribute Search (#19574)
Co-authored-by: Andreas Blaettlinger <bln1imb@bosch.com>
2023-06-12 14:17:54 +02:00
Erik Jan de Wit
4b3733de2e
little wrapper around the time selector (#20881)
this makes it easier to use
2023-06-12 12:53:29 +02:00
Erik Jan de Wit
c771890da8
added test saml advanced tab (#20880) 2023-06-12 12:52:45 +02:00
Erik Jan de Wit
9c9cd4cf21
increased policy row with (#20816)
fixes: #20674
2023-06-12 12:51:37 +02:00
Erik Jan de Wit
e750ad71de
added fix for url encoded paths (#20813)
fixes: #20782
2023-06-12 12:51:19 +02:00
Erik Jan de Wit
911663b65c
use admin client instead of fetch (#20774) 2023-06-12 12:50:53 +02:00
Erik Jan de Wit
db315b59f6
use ui ext groups endpoint (#20772)
so that we have filtering for fine grained groups
fixes: https://github.com/keycloak/keycloak/issues/19655#issuecomment-1573350358
2023-06-12 12:50:26 +02:00
Erik Jan de Wit
a61b1e7fb2
use id instead of name (#20717)
fixes: #20694
2023-06-12 12:50:03 +02:00
Erik Jan de Wit
8d2dbbe6ad
added missing "allow ecp flow" field (#20713)
fixes: #20673
2023-06-12 12:46:03 +02:00
Jon Koops
fcd2a5138d
Update dependencies to latest version (#20788) 2023-06-06 12:35:06 -04:00
Erik Jan de Wit
cbed5849f5
join title and expand section together (#20590)
* join title and expand section together

fixes: #20329

* but expandable inside <li>
2023-06-06 07:33:02 +02:00
Stan Silvert
b63fccb062
Fix required getting toggled on when creating new UP attribute. (#20735)
Fixes #20536
2023-06-02 16:12:47 -04:00
Jon Koops
6ef73892a1
Add simplified Chinese localization for the Admin Console (#20752)
Co-authored-by: Xiankun Li <xianli@redhat.com>
2023-06-02 21:31:48 +02:00
Jon Koops
cd9dce68da
Add eslint-plugin-react-hooks to enforce the Rules of Hooks (#20707) 2023-06-01 11:56:06 +02:00
Pedro Igor
8aeee928e8
Allow configuring the referrer policy (#19917)
* Allow configuring the referrer policy

Closes #17288

* fixed indentation

---------

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-05-30 12:27:12 -04:00
Erik Jan de Wit
c187c17945
navigate back to list when deleted (#20591)
fixes: #20370
2023-05-30 14:21:37 +02:00
Erik Jan de Wit
1124681603
added should dirty (#20647)
fixes: #20506
2023-05-30 08:08:37 -04:00
Erik Jan de Wit
34e56ccd81
use the first value from options as default (#20589)
fixes: #20379
2023-05-30 08:02:47 -04:00
Erik Jan de Wit
df5a823738
use display header when set (#20553) 2023-05-30 13:47:41 +02:00
Erik Jan de Wit
55e3e26f2e
removed need to query all groups (#20552)
* removed need to query all groups

fixes: #20489

* code review
2023-05-30 13:35:28 +02:00
Stan Silvert
88bb5977cd
Fix User Event Types not visible when 'Save events disabled` (#20581)
Fixes #20503
2023-05-30 06:36:46 -04:00
Erik Jan de Wit
00df57df3b
moved filter to it's own component (#20286)
fixes: #19999
2023-05-26 12:06:45 +00:00
Erik Jan de Wit
9dabbe951e
added error on password confirm on password change (#20236)
* added error on password confirm on password change

fixes: #16577

* Update js/apps/admin-ui/src/user/user-credentials/ResetPasswordDialog.tsx

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

* linting

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-05-26 11:57:57 +02:00
Erik Jan de Wit
8a6790be1d
be sure to only select one if type is not multi (#20410)
fixes: #20304
2023-05-25 13:01:30 +02:00
Erik Jan de Wit
c86254972b
remove fields when standard flow disabled (#20271)
fixes: #20194
2023-05-25 09:18:00 +00:00
Jon Koops
b8b56ece65
Update dependencies to latest version (#20545) 2023-05-24 15:19:19 +00:00
Andreas Blättlinger
828a7ae874
19847 - Fix Split UsersSection into components for better maintainability (#20539)
Co-authored-by: Andreas Blaettlinger <bln1imb@bosch.com>
2023-05-24 10:05:00 -04:00
Erik Jan de Wit
0a46930962
remove styles and use css modules (#20018) 2023-05-24 12:11:06 +00:00
Erik Jan de Wit
9943c977de
use addError so we see the message (#20420)
fixes: #20401
2023-05-18 08:34:11 +02:00
danielFesenmeyer
d543ba5b56 Consistent message resolving regarding language fallbacks for all themes
- the prio of messages is now as follows for all themes (RL = realm localization, T = Theme i18n files): RL <variant> > T <variant> > RL <region> > T <region> > RL <language> > T <language> > RL en > T en
- centralize the message resolving logic in helper methods in LocaleUtil and use it for all themes, add unit tests in LocaleUtilTest
- add basic integration tests to check whether realm localization can be used in all supported contexts:
  - Account UI V2: org.keycloak.testsuite.ui.account2.InternationalizationTest
  - Login theme: LoginPageTest
  - Email theme: EmailTest
- deprecate the param useRealmDefaultLocaleFallback=true of endpoint /admin/realms/{realm}/localization/{locale}, because it does not resolve fallbacks as expected and is no longer used in admin-ui v2
- fix locale selection in DefaultLocaleSelectorProvider that a supported region (like "de-CH") will no longer selected instead of a supported language (like "de"), when just the language is requested, add corresponding unit tests
- improvements regarding message resolving in Admin UI V2:
  - add cypress test i18n_test.spec.ts, which checks the fallback implementation
  - log a warning instead of an error, when messages for some languages/namespaces cannot be loaded (the page will probably work with fallbacks in that case)

Closes #15845
2023-05-17 15:00:32 +02:00
Stan Silvert
74dd370906
Allow changing admin console logo and favicon from theme.properties (#20201)
* Allow changing admin console logo and favicon from theme.properties
Fixes #19968

* Make isRunningAsTheme the last env prop.
2023-05-17 07:53:38 -04:00