Commit graph

39 commits

Author SHA1 Message Date
Jon Koops
fefe2f57ae
Use JavaScript private class features (#24054)
Uses JavaScript [private class features](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields) over TypeScript's `private` keyword. Also introduces some ESLint configuration to enforce this rule throughout the project.
2023-10-23 14:12:55 -04:00
Jon Koops
0844b57f64
Wait for request when testing session revocation (#24048) 2023-10-17 11:43:41 +02:00
Vojtěch Boček
8871983b33
Add support for single-tenant mode to Microsoft Identity Provider (#20699)
* Add support for single-tenant mode to Microsoft Identity Provider

Fixes #20695
Closes #11207

* Add SocialLoginTest for Microsoft single-tenant variant
2023-10-10 16:35:36 -04:00
Pedro Igor
290bee0787
Resolve several usability issues around User Profile (#23537)
Closes #23507, #23584, #23740, #23774

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-06 10:15:39 -03:00
Erik Jan de Wit
e9d8ecb07a
try and make, (#23550)
identity_providers_test.spec.ts > should revert and save options less flaky
2023-10-03 08:24:37 -04:00
Erik Jan de Wit
c346786491
Remove the last of the namespaces for localization (#23261)
Closes #23261
2023-09-25 09:06:56 +02:00
Erik Jan de Wit
f4c8ded5f6
Removed namespaces from messages (#23205) 2023-09-14 11:01:15 +02:00
Jon Koops
403d678e00
Refactor tests to use new LinkedIn provider (#23133)
Co-authored-by: stianst <stianst@gmail.com>
2023-09-11 11:49:48 +02:00
Erik Jan de Wit
564441899b
merge all namespaces into one (#22949)
* merge all namespaces into one

added fallback namespace to the configuration to minimize
changes to the keys

* small fix

* Fix the broken `OverridesBackend`

* remove stray console log

* restore ns argument

* PR review

* merge main

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-09-08 15:17:17 +02:00
Erik Jan de Wit
430af7a1e3
removed check as condition has pagination but it's disabled (#22826) 2023-08-31 09:21:48 +02:00
Stan Silvert
65d9099e86
Make base theme hidden for admin and account UIs. (#22672)
* Make base theme hidden for admin and account UIs.

* Fix test.
2023-08-24 15:49:05 -04:00
Ricardo Martin
a8bca522c1
Fix issue with access tokens claims not being imported using OIDC IDP Attribute Mappers (#21627)
Closes #9004


Co-authored-by: Armel Soro <armel@rm3l.org>
2023-08-02 09:36:50 +02:00
Jon Koops
4932494a9c
Use new Root API to render Admin UI (#21102) 2023-07-25 18:56:44 +02:00
Jon Koops
82f28f3bae
Fix intermittent failures of the users tests (#21924) 2023-07-25 13:32:01 +02:00
Erik Jan de Wit
e24d51edca
only use the names of the realms (#21576)
* only use the names of the realms

fixes: #21555

* fixed merge error

* fixed test

* removed braces from arrow function
2023-07-18 09:52:06 +02:00
Andreas Blättlinger
cd732ae44f
Allow navigation to policy on permission screen (#21411)
Closes #20884
2023-07-17 13:45:50 +02:00
Jon Koops
153d1a9841
Upgrade Prettier to the latest version (#21601) 2023-07-11 14:03:21 +00:00
Stijn Last
91e543f415
Improve error messages when testing LDAP connection (#21013)
Closes #15434
2023-07-01 19:45:49 +02:00
Daniele Martinoli
e2ac9487f7
Conditional login through identity provider (#20188)
Closes #20191


Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
2023-06-29 18:44:15 +02:00
agagancarczyk
a8bea49451
Fixed moderate and critical a11y issues for realm settings (#21267)
* Fixed moderate and critical a11y issues for realm settings

* improved with patternfly colour

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-06-29 12:59:52 +01:00
Erik Jan de Wit
a6c85439c9
fix identity test (#21312)
* fix identity test

* crazy that this fixes it
2023-06-29 12:11:59 +01:00
Hynek Mlnarik
b8149d66ca Remove ldapsOnly (console and docs)
Closes: #9313
2023-06-28 08:30:09 +02: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
Simeon Babev
7d3423ca5f
Run Cypress tests on Firefox for nightlies (#20592) 2023-06-20 08:21:49 -04: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
c771890da8
added test saml advanced tab (#20880) 2023-06-12 12:52:45 +02:00
Erik Jan de Wit
0a46930962
remove styles and use css modules (#20018) 2023-05-24 12:11:06 +00: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
Erik Jan de Wit
67f401b029
added default value back when not new (#20235)
fixes: #19852
2023-05-17 10:05:44 +02:00
Jon Koops
b6c8344fb5
Ensure user details form state remains in sync (#19696) 2023-04-13 15:55:50 +02:00
Gabriel Padilha Santos
7a5b6efe7f
Feature to filter Login Events by IP Address (#19341)
Closes #19289
2023-04-06 11:33:15 +00:00
Jon Koops
84e763b472
Fix problems with key value input and empty entries (#19421) 2023-04-04 10:09:31 +02:00
Jon Koops
3e77a007b6
Remove Cypress component tests (#19441) 2023-03-30 10:58:52 -04:00
agagancarczyk
2ed1a9b72d
Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
Michal Hajas
e49dfe534e Fix missing migration when reading TERMS_AND_CONDITIONS required action in legacy store
Closes #17277
2023-03-29 16:43:01 +02:00
Erik Jan de Wit
d29f3e4dfc
Change client description component to use utils (#19165) 2023-03-24 16:53:43 +01:00
agagancarczyk
e77c084135
Add cypress-axe and checks for accessibility issues (#19086) 2023-03-22 17:14:53 +01:00
Jon Koops
b69e8f4a73
Add job for end-to-end tests of the Admin UI (#17544) 2023-03-20 08:38:10 -04:00
Jon Koops
ec8e24c550
Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00