Commit graph

30 commits

Author SHA1 Message Date
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