Commit graph

123 commits

Author SHA1 Message Date
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
Sarah Rambacher
c3a11434c4 remove modal header on wizard 2021-01-11 16:07:42 -05:00
Sarah Rambacher
ac65df58b8 fix spacing of wizard section header 2021-01-11 16:07:42 -05:00
Sarah Rambacher
7cea09ef8a rebase on user federation wizard screens (storybook) 2021-01-11 16:07:30 -05:00
Sarah Rambacher
006356d9e3 adds wizard buttons 2021-01-11 16:04:56 -05:00
Sarah Rambacher
cc2dd3e512 adds user federation kerberos wizard 2021-01-11 16:04:56 -05:00
Erik Jan de Wit
feca61d2b0
renamed useFetch to asyncStateFetch (#277)
* renamed `useFetch` to `asyncStateFetch`

otherwise React will mistake it for a react hook and will complain.

* added jsdoc

* fixed the user red stories

* renamed
2021-01-11 13:56:19 -05:00
Erik Jan de Wit
27d9dadee7
only update state when component is mounted (#266)
* only update state when component is mounted

* removed unused import

* `useFetch` function to update state when mounted
2021-01-05 08:39:27 -05:00
mfrances17
03e7ec760c
Show/hide Kerberos cache policy related controls (#267)
* preliminary usewatch changes

* show hide working

* fix switches with form access

* make auth-pw control edit mode
2020-12-18 10:20:11 +01:00
mfrances17
7c3a5739eb
User Federation: populate all LDAP settings (#261)
* separate card paths

* organize settings file structure

* most ldap fields working

* allow same path to multiple components

* fix several fields

* all values fetched correctly

* changes from PR
2020-12-16 08:02:41 +01:00
mfrances17
ff43970e9a
User Federation: populate Kerberos required and cache settings data (#243)
* pull in kerberos data

* fix build fails and cleanup msgs

* fix 2x build errs

* fix broken test

* fix route, bcrumb, and card click

* lint fixes

* final changes from PR review

* add old breadcrumb functionality back

* fix breadcrumb test

* lint fix
2020-12-08 07:30:53 +01:00
mfrances17
98a5b69b52
Merge pull request #237 from srambach/user-fed-fix-ldap-controllers
User fed fix ldap controllers
2020-12-04 10:50:26 -05:00
Sarah Rambacher
76ff85f8d8 add FormAccess 2020-11-25 11:17:50 -05:00
Sarah Rambacher
707457f5a9 remove local model from ldap settings 2020-11-25 09:50:40 -05:00
Erik Jan de Wit
2e64f144d5
update to latest keycloak-admin (#234)
* update to latest keycloak-admin

also fix name of project

* removed workaround type
2020-11-24 15:45:12 -05:00
Sarah Rambacher
ad09c883e3
Add User federation kerberos settings controllers (#224)
* add form controllers to user fed kerberos settings

* comments out test buttons

* add optional settings with todos

* correct the kerberos help text

* updates cache policy dropdowns

* use ComponentRepresentation

* use FormAccess component

* fix required settings and i18n

* remove unused form

* remove unused file

Co-authored-by: jenny-s51 <jshandel12@gmail.com>
2020-11-24 08:56:31 -05:00
Sarah Rambacher
7592621d77
223-fix-user-fed-card-wrapping (#226) 2020-11-18 16:06:56 +01:00
mfrances17
bd2c8d8f86
Fix disabled label for user fed card view (#218)
* fixes three issues

* lint issues
2020-11-16 14:09:39 -05:00
Erik Jan de Wit
dcb18c5488
Use keycloak-admin with axios instead of fetch wrapper (#212)
* changed to use the admin client

* added helper to always set realm

* fixed merge

* no need to polyfill anymore

* updated to use keycloak-admin-client

* updated to release version

* fixed types

* added user federation

* update test

* lint
2020-11-12 07:55:52 -05:00
mfrances17
42bb5cfe3f
User Federation card view implementation (#208)
* initial html css changes

* additional look and feel

* merge empty state changes

* fix dup key

* pull in real data

* real data and empty

* fix bad paren

* add delete functionality

* rm debug msg

* fix rediculous prettier trailing commas

* changes from PR

* css changes from PR

* use good userfed info link

* use consistent state names

* fix msg merge issue

* update and use ViewHeader

* fix broken tests

* add and use generic card component

* additional empty state behavior

* delete confirm modal
2020-11-10 15:26:20 -05:00
Sarah Rambacher
1756b38e2f
User federation Kerberos settings wip (#203)
* lays out fields for user fed kerberos settings

* fix lint
2020-11-09 07:31:05 -05:00
Sarah Rambacher
6b3990e1b9
540 user fed settings (#198)
* all fields roughed in working on tab

* reduce to just the settings without page

* remove unused imports

* fix some comments

* correct some typos and capitalization

* remove ldap translation
2020-10-30 16:15:37 -04:00
Sarah Rambacher
93233ee861
161 user federation landing (#172)
* initial user federation landing page

* builds user federation screen with more info link

* change providers to h2

* remove unused imports and translate text

* updates user fed landing page for new mockup
2020-10-15 07:50:47 +02:00
Erik Jan de Wit
1297c9f391
Restructure (#78)
* moved files into new structure

* translation files / namespace per "page"

fixes: #77

* renamed pages to sections

* moved save, delete and others to common bundle
2020-09-10 14:04:03 -04:00