Commit graph

173 commits

Author SHA1 Message Date
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
Jon Koops
317acd8239
Prefer optional chaining over validating references (#992) 2021-08-12 13:15:47 +02:00
Erik Jan de Wit
54dca4df65
made "simple" the default authentication type (#993) 2021-08-11 16:32:40 +02:00
Jon Koops
dbedd79883
Use correct default for 'Truststore SPI' (#980) 2021-08-11 07:52:12 +02:00
Erik Jan de Wit
bc1e83e63a
Introduce a standard way to create handle errors (#918) 2021-07-28 14:01:42 +02:00
Jon Koops
12d2471c3b
Enable 'no-empty-function' ESlint rule (#917) 2021-07-27 22:56:16 +02:00
Jon Koops
477fa6180c
Use new routing conventions for user federation routes (#911) 2021-07-26 15:29:26 +02:00
Jon Koops
41a0923bad
Introduce 'useRequiredContext' utility function (#882) 2021-07-21 11:30:18 +02:00
Jon Koops
234a2dcba6
Convert JSON files for translations to TypeScript (#841) 2021-07-14 12:15:48 +02:00
Jon Koops
64d5a498a6 Update Prettier to latest version and fix formatting 2021-07-05 15:26:07 +02:00
dependabot[bot]
0810e9f3e0 Bump prettier from 2.1.2 to 2.2.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 11:37:27 +02:00
mfrances
1894664a6d use typeahead for mapper list 2021-06-16 09:47:39 -04:00
Erik Jan de Wit
2c9b77c425
Fixing UXD review for user (#648)
* Introduced new GroupPicker.
Can be used for move group or join group

* Moved help texts to help.json

* don't set state when there was no request

* add pagination

* remove "Groups" link on root level

* use path in chip instread of name

* fixes filtering to show search not found
and removes `+1` logic from pager

* fix breadcrumb and layout

* fixed all the tests
2021-06-16 07:35:03 -04:00
mfrances
346e92aa8b add validation for req fields 2021-06-10 10:14:12 -04:00
mfrances
7ba357c223 add basic validation 2021-06-10 10:14:12 -04:00
mfrances
c56b5dc7b9 not hardcoded role now working 2021-06-10 10:03:46 -04:00
mfrances
64146b6bd4 add default values 2021-06-10 10:03:46 -04:00
mfrances
7edc76a079 role mapping working 2021-06-10 10:03:46 -04:00
mfrances
b9c38e811e fix lint issues 2021-06-10 10:03:46 -04:00
mfrances
63a365ad93 use radios for role selection user fed mappers only 2021-06-10 10:03:46 -04:00
mfrances
da45bf0e09 hardcoded version working 2021-06-10 10:03:46 -04:00
mfrances
37ad6bd14a hardcoded version of role modal 2021-06-10 10:03:46 -04:00
mfrances17
5d71a4f049
Fix additional UX issues with User Federation (#681)
* change title and breadcrumb

* only show tabs on edit not create
2021-06-09 16:13:56 -04:00
mfrances17
ce3eddfa17
fixes test btn and import users default (#647) 2021-06-01 08:15:36 -04:00
Jon Koops
f671cbed84 Extend tsconfig from Snowpack and fix type errors 2021-05-18 16:50:35 +02:00
Erik Jan de Wit
cef90aa238 fixed merge error 2021-05-18 15:12:30 +02:00
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
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
mfrances17
bd6f8a9c78
update default req values based on vendor (#578) 2021-05-14 14:12:27 -04: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
c2b78c471b
added keys tab to client details (#557) 2021-05-04 10:11:58 +02:00
mfrances17
aa7d2049d4
Cypress tests for initial 8 LDAP mappers (#550)
* create delete all mapper types working

* all tests working
2021-04-28 07:50:41 +02:00
Erik Jan de Wit
6dd314c768
Initial version of the identity providers section (#537)
* initial version identity providers section

* added order change dialog

* added tests

* added missing brand icons

* removed need for providerCount

* fixed refresh

* back to list after create

* format merge

* fixed merge error
2021-04-21 15:18:45 +02:00
mfrances
adad072eae hide mappers tab on ldap provider create 2021-04-20 10:07:31 -04:00
mfrances
9155b8bfc7 fix cancel error on empty new 2021-04-20 10:07:31 -04:00
mfrances
58882f35f8 fix strings 2021-04-20 10:07:31 -04:00
mfrances
75b3b0ebe6 add mapper type to table 2021-04-20 10:07:31 -04:00
Erik Jan de Wit
46c60c1796 fixed refresh after delete 2021-04-20 10:07:31 -04:00
Erik Jan de Wit
c87196cfd1 fixed creating new ldap settings 2021-04-20 10:07:31 -04:00
mfrances
f73c9afdd8 fix lint issue 2021-04-20 10:07:31 -04:00
mfrances
1feeb3fdea delete confirmation 2021-04-20 10:07:31 -04:00
mfrances
9339dbc54f all non-role adds and saves working 2021-04-20 10:07:31 -04:00
mfrances
775dd5c00b delete working but no refresh 2021-04-20 10:07:31 -04:00
mfrances
501cb98edc all creates working except two roles 2021-04-20 10:07:31 -04:00
mfrances
a50cf33138 all mappers saving except two roles 2021-04-20 10:07:31 -04:00
mfrances
dcbb2b90bf two mappers saving correctly 2021-04-20 10:07:31 -04:00
mfrances
73a423d95c ren details component 2021-04-20 10:07:31 -04:00
mfrances
56a1b233d4 restructure and add chooser when adding new 2021-04-20 10:06:01 -04:00
mfrances
9858cd0d30 fix url-related issues 2021-04-05 15:55:12 -04:00
mfrances
26a49d60c6 fix empty mapper string ref 2021-04-05 14:04:23 -04:00
mfrances
8c29fcabb6 all mappers working 2021-04-05 14:04:23 -04:00
mfrances
95ecc9ff40 adding role mapper 2021-04-05 14:04:23 -04:00
mfrances
f1f9f8736c nine of eleven mappers complete 2021-04-05 14:04:23 -04:00
mfrances
3e3b1d2bed separate out reusable components 2021-04-05 14:04:23 -04:00
mfrances
0b0e474caf move multi-used strings to common 2021-04-05 14:04:23 -04:00
mfrances
9166212720 two mappers complete and strings done 2021-04-05 14:04:23 -04:00
mfrances
2e7f38d9a5 mapper list and edit mapper working 2021-04-05 14:04:23 -04:00
mfrances
2a7782fbae fix url and rm hack 2021-04-05 14:04:23 -04:00
mfrances
f863f850d1 form layout no logic 2021-04-05 14:04:23 -04:00
mfrances
95c22fd862 preliminary work - list working 2021-04-05 14:04:23 -04:00
mfrances
926c97002f fix isDirty issue 2021-04-05 14:04:23 -04:00
mfrances
4593a3fa2a control debug visibliity with other kerberos 2021-04-05 14:04:22 -04:00
mfrances
bb21001d74 add mappers tab 2021-04-05 14:04:22 -04:00
mfrances17
518b21c6ae
Nonscrolling action buttons for long forms (#437)
* nonscroll action bar for long forms

* changes from PR comments

* fix border
2021-03-16 13:35:45 +01:00
mfrances
75e0bf7435 add missing kerberos fields 2021-03-12 17:31:45 -05:00
Erik Jan de Wit
ab857938cd
use === instead of == and unused imports (#431) 2021-03-12 07:42:54 +01:00
mfrances
39cc1b998c rm success string from ignored 2021-03-10 11:06:53 -05:00
mfrances
e1678d6113 pr review changes 2021-03-10 10:42:31 -05:00
mfrances
e093c15ea2 user cmds added 2021-03-09 14:56:25 -05:00
mfrances
9dce57417c enable save only on dirty 2021-03-04 11:06:22 -05:00
mfrances17
4ee7bc9033
Prevent multiple saves when creating new provider (#411)
* go to user fed view after create

* fix for misc 401 exceptions
2021-03-04 07:34:02 +01:00
mfrances
79a97a0755 add min values 2021-03-02 15:50:45 -05:00
mfrances
0ee4f7ea8e cypress tests working 2021-03-02 15:50:45 -05:00
mfrances
84d8df2b05 regex and number fields to provide simple client side validation 2021-03-02 15:50:45 -05:00
mfrances
489ed64049 fix 404 issue on new 2021-03-02 15:50:45 -05:00
mfrances
733d5f4b6f ldap saves working 2021-03-02 15:50:45 -05:00
mfrances
b5f7405fce change existing ids to data-testid 2021-03-02 15:50:45 -05:00
Erik Jan de Wit
d25ba0af2b
now it can't be called without an error handler (#389) 2021-02-23 09:52:40 +01:00
mfrances
8c4d6d4eb4 complete suite of kerberos cypress tests 2021-02-16 14:47:08 -05:00
mfrances
cf8451fe9d adding preliminary cypress tests 2021-02-16 14:47:08 -05:00
mfrances
1a78540c8f kerberos save logic 2021-02-16 14:47:08 -05:00
mfrances
70f1629be0 small update - id is an issue 2021-02-16 14:47:08 -05:00
mfrances
6c63a8d4dc preliminary work 2021-02-16 14:47:08 -05:00
mfrances17
afaa08fbc6
Kerberos and LDAP settings: Change hour and minute format to match old admin console UI (#353)
* change hour minute fmt to match old ui

* rm required max lifespan

* fix day of week default value

* create one shared cache settings component

* fix eslint and tests

* rm obsolete separate cache components

* try fixed snap
2021-02-11 15:51:51 -05:00
mfrances17
32a3ff150b
Add enable switch and action menu to LDAP settings (#349)
* add messages from sarah

* enable and delete working

* localize strings

* changes from PR

* enable now saves
2021-02-08 15:50:03 -05:00
mfrances17
4137394964
Issue 327: Fix for showing/hiding password text in Bind credentials field (#350)
* show-hide password text

* show pw icon indicator
2021-02-04 16:43:00 -05:00
mfrances
ca79f3da29 navigate to card view after delete 2021-01-27 17:11:00 -05:00
mfrances
ad7be3a62e enable and delete working 2021-01-27 17:11:00 -05:00
mfrances
35ca42f267 preliminary UI for enable and actions 2021-01-27 17:11:00 -05:00
mfrances17
5633101f42
Add Save/Cancel buttons and logic to LDAP settings (#311)
* add save cancel and move all form logic to parent

* rm obsolete convert days function

* save working all fields

* fix save on two fields and rm console msgs

* add basic validation to empty fields

* fix default value issues in cache

* fix two fields default values

* dropdown text and help fixes

* add empty option for edit mode
2021-01-25 20:41:14 -05:00
mfrances17
0dc3f08917
Add Save/Cancel buttons and logic to Kerberos settings (#307)
* initial save cancel logic

* cleanup work after merge

* move form logic up to parent

* save working

* update messages

* no longer need to pass in save from children

* pass form into wizard to fix build errors

* fix lint fmt issue

* add simple field validation and error prevention

* localize validation strings

* fix default value issues

* localize default value
2021-01-22 15:15:32 -05:00
Sarah Rambacher
c1d13650df fixes typos and some grammar 2021-01-14 10:56:03 -05:00
Sarah Rambacher
c567fdca93 deduplicates some common text strings 2021-01-13 15:48:16 -05:00
Sarah Rambacher
f36711fa2f adds user fed mappers text 2021-01-13 14:28:53 -05:00
Sarah Rambacher
dc08e13833 remove unused helpText 2021-01-11 16:07:42 -05:00