Commit graph

195 commits

Author SHA1 Message Date
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
Eugenia
dc2ceef27b
Adds tab for realm role details + update/save functionality (#228)
* add file for realm role details

* add details and attributes tabs

* clean up a bit

* get name working

* add reload

* fix route config

* fix prettier

* call with Don

* header and description working

* update route-config.ts

* wrap in FormAccess component

* name input gets value from call

* try to get save working

* feedback from Erik

* more feedback from Erik

* fix formatting

* format

* address PR feedback from Erik

* delete comment

* set name field to read-only

* delete defaultValue prop
2020-11-23 10:20:21 -05:00
Eugenia
147be1d6b2
Adds realm role details tab to storybook (#217)
* parent 9eabcdbee4
author jenny-s51 <jshandel12@gmail.com> 1602688597 -0400
committer jenny-s51 <jshandel12@gmail.com> 1605296992 -0500

add file for realm role details

add details and attributes tabs

clean up a bit

get name working

add reload

fix route config

fix prettier

add storybook demo for realm details

add details and attributes tabs

* parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297630 -0500

parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297556 -0500

parent 95101205603aec53689aa61488ffb4820591b8d1
author jenny-s51 <jshandel12@gmail.com> 1604507462 -0500
committer jenny-s51 <jshandel12@gmail.com> 1605297545 -0500

parent 9eabcdbee4
author jenny-s51 <jshandel12@gmail.com> 1602688597 -0400
committer jenny-s51 <jshandel12@gmail.com> 1605296992 -0500

add file for realm role details

add details and attributes tabs

clean up a bit

get name working

add reload

fix route config

fix prettier

add storybook demo for realm details

add details and attributes tabs

clean up a bit

clean up a bit

add reload

fix route config

add storybook demo for realm details

Delete messages.json

cleaning up, wip

fix CI

clean up more

* add back role messages

* fix format

* revert role list to master

* remove reload

* fix spacing and add FormAccess component

* fix route

* fix formatting
2020-11-18 16:52:18 -05:00
Sarah Rambacher
7592621d77
223-fix-user-fed-card-wrapping (#226) 2020-11-18 16:06:56 +01:00
Erik Jan de Wit
49ef2bd665
Add role mapping into the flow and filter the clients that don't have roles (#222)
* addd role mapping into the flow

* added filter for clients that don't have roles

* fixed types
2020-11-17 16:39:28 -05:00
Erik Jan de Wit
ba761c0526
added by configuration dialog into the flow (#221)
* updated the detail screen to support new mapping

* fix merge error

* added by configuration dialog
2020-11-17 16:28:34 -05:00
Erik Jan de Wit
8e33519df1
fixed x and empty select on dialog (#220)
* fixed x and empty select on dialog

fixes: #210

* make button disabled when nothing is selected
2020-11-17 15:56:23 -05: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
9eabcdbee4
changed how whoAmI uses the admin client (#216)
this avoids a circle dependency on realm
2020-11-12 14:16:41 -05:00
Erik Jan de Wit
b06cea6fd9
make the part to update smaller (#214)
This makes switching between sections a bit nicer
2020-11-12 14:08:09 -05:00
Mounika Kella
19e1b70a12
Update route-config.ts (#215)
Fixed error "`path` must be provided in every route object" in console
2020-11-12 13:59:23 -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
Erik Jan de Wit
c781d86026
added validated property to fields instead of only on FormGroup (#205)
* added validated to fields to make them nicer

* removed console log
2020-11-09 14:49:32 -05:00
Erik Jan de Wit
54550fa2f5
fixed issue with Checkbox and small refactor (#204) 2020-11-09 14:23:58 -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
Erik Jan de Wit
d6e1161c83
hooked up the build in mapper dialog (#197)
* hooked up the build in mapper dialog

* spelling

* useEffect for setTimout

* fix state

* fix bug with alerts clearing checked items

* fixed tests

* Update src/client-scopes/messages.json

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* simplified dialog usage

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-11-05 16:26:43 -05:00
Erik Jan de Wit
7ebe695921
removed "Home" from navigation (#209)
* only show breadcrumb when there are 2 levels
* renamed the list clients and client scopes
2020-11-05 15:40:00 +01:00
Erik Jan de Wit
fb21266695
add small top margin on the form (#202) 2020-11-02 15:31:00 -05:00
Erik Jan de Wit
2393b40c9b
Added the credentials tab (#196)
* initial version credentials tab

* added signed jwt

* submit token endpoint  signing alg

* added x509

* show tab when public client

* fixed test default confimnation dailog size is small

* pr review comments
2020-11-02 15:15:09 -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
Erik Jan de Wit
2766f8b14b
removed placeholder value (#201)
fixing: #200
2020-10-30 14:44:48 -04:00
Stan Silvert
78529f979f
Cleanup create realm. (#199) 2020-10-29 14:56:52 -04:00
Erik Jan de Wit
52afed2b64
only update snippet when component is mounted (#191)
* only update snippet when component is mounted

fixing: #190

* removed debug console.log
2020-10-29 13:02:06 -04:00
Eugenia
f5091d133e
Realm role empty state (#189)
* add file for realm role details

* add empty state

* empty state

* delete unused imports

* delete noRealmRoles.tsx
2020-10-28 14:33:54 -04:00
Erik Jan de Wit
2543893373
Change the input fields based on access rights (#184)
* poc of possible way to change form dynamically

* fixed detail routs

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* added more form access and logic for Controller

* render switches for boolean types

* better render of `<Controller` wrapped components

* added isDisabled property

* added test

* small refactor

* fixed types

* TextArea doesn't support isDisabled

* when field is disabled, disable button as well

* added jsdoc

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-10-28 14:17:15 -04:00
Christie Molloy
889f8078d2
add multiple group delete functionality (#185)
* add multiple group delete functionality

* fix the deleting bug and deleting during filering

* fix stans comment

* format files

* fix lint

* fix lint

* fix messages

* fix modal

* fix error mark found
2020-10-27 19:45:35 -04:00
Erik Jan de Wit
aea12169f4
initial version of the role mapping create form (#177)
* initial version of the role mapping create form

[marvel](https://marvelapp.com/prototype/f0e8fih/screen/72042619)

* fixed format

* changed to typeahead

* format

* group by

* review fixes

* added group and divider

* change name to realm name
2020-10-27 07:25:54 -04:00
Stan Silvert
45b878e2e6
Allow login to different realms using query param (#188) 2020-10-26 09:00:05 +01:00
Stan Silvert
9fb081e3bf
Fix exact routes (#187) 2020-10-23 07:52:51 +02:00
Erik Jan de Wit
4195e0fbf3
Adding Mapping list and detail screen (#180)
* added client scope details screen

* initial version of the mapping list

* added tabs

* changed route create

* merge

* added detail mapper page

* fixed merge errors

* fix merge error

* dynamic title

* added access types to routs
2020-10-21 13:38:11 -04:00
Erik Jan de Wit
a9dc031fff
Introduced a predefined mapper dialog (#169)
* added optional dialog variant

* added predefined scope dialog

* added mapper dialog for predefined and custom

* format

* changed to use dataList instead of table

* fixed test
2020-10-21 08:18:41 -04:00
Stan Silvert
49284a0f11
Implement basic access control. (#183)
* Implement basic access control.

* Fix formatting
2020-10-21 07:31:41 -04:00
Erik Jan de Wit
34723a0ebf
moved workaround for dots in form names to util (#182) 2020-10-20 16:47:23 -04:00
Erik Jan de Wit
6514c5e410
changed path (#181)
fixes: #178
2020-10-20 16:45:40 -04:00
Sarah Rambacher
b5aa560dcc
Change list view header action menu from select to dropdown (#179)
* change select to dropdown in viewheader

* make the action happen

* remove comment
2020-10-19 09:44:22 -04:00
Erik Jan de Wit
be2d5d1249
added client scope details screen (#159)
* added client scope details screen

* fixed:
* added includeInTokenScope field
* removed not editable type field

* changed to display order
2020-10-15 13:09:32 -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
mfrances17
bcd864bfc9
Merge pull request #142 from christiemolloy/createGroup
Add Create Group Functionality
2020-10-14 17:20:18 -04:00
Christie Molloy
2897e59004 update 2020-10-14 17:02:31 -04:00
Christie Molloy
59bfeda338 format 2020-10-14 16:53:32 -04:00
Eugenia
caec08f95f
Adds functionality to delete realm role (#160)
* added function to refresh the dataloader data

* add Realm Roles page

add section for no realm roles

update role-model, fixed UI to match designs

fix paths

add storybook demo and role actions kebab

fix build and clean up

fix formatting

fix lint

fix test and update snapshot

update snapshot after rebase

PR feedback from Stan

add back pf addons

localize NoRealmRoles component

changes to PR suggested by Sarah

adds new role form

rename fields

cleaning up

address PR feedback from Stan

add logic to delete realm role

format

rebase with erik branch

resolves merge conflicts

fix check types error

fix invalid state

fix check-types

fix ts error

* fix format

* remove log stmt

* address PR feedback from Erik and Sarah

* remove utility class

* address Erik comment

* fix formatting

* fix bug and address PR feedback

* move msg

* fix lint

* fix format

* delete details file (on another branch)

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-10-14 16:50:10 -04:00
Christie Molloy
a4b858cdc0 update 2020-10-14 16:47:29 -04:00
Christie Molloy
35584207c8
Add empty state (#147)
* add empty states

* add two empty states

* updates to empty state

* update PR

* fix merge conflict

* fix formatting and add prettier

* updated test

* review comments

* update snapshot
2020-10-14 15:48:36 -04:00
Christie Molloy
4fdbb4ea5f review 2020-10-14 15:16:51 -04:00
Erik Jan de Wit
85b8f17f35
changed default type to secondary (#174) 2020-10-14 16:29:06 +02:00
Erik Jan de Wit
90779b6da4
introduced "/" for keycloak.json (#170)
fixes: #165
2020-10-14 08:53:51 -04:00
Christie Molloy
d7b154b656 format 2020-10-13 17:06:58 -04:00
Christie Molloy
82fb002e76 make updates 2020-10-13 16:52:23 -04:00
Erik Jan de Wit
cb3eca46ec
added download dialog to client actions (#164)
* added download dialog to client actions

* fixed format
2020-10-13 13:57:35 -04:00
Sarah Rambacher
3882d3ec43
adds optional link to the subkey of a view header (#166)
* adds optional link to the subkey of a view header

* changes props to button props
2020-10-13 09:15:16 -04:00
Donald Labaj
651205af29 Fixed build by making secondaryActions optional 2020-10-12 16:34:20 -04:00
Erik Jan de Wit
09f09893a2
added ability to add mulitple actions (#163)
* added ability to add mulitple actions

* fixed format

* changed to use secondaryActions
2020-10-12 14:02:17 -04:00
Erik Jan de Wit
4fa325f45c
initial version of the mapping list (#162)
* initial version of the mapping list

* added story to show mapper list

* fixed format

* changed to use intermediate type
2020-10-12 13:59:15 -04:00
Erik Jan de Wit
b49d07e18c
fixed create client scope header (#155) 2020-10-09 14:19:14 -04:00
Sarah Rambacher
0aa63ddfbb
Field level help (#152)
* refactors form field help

* format and test

* add interpolation of help text

* implement HelpItem and move help text

* update DownloadDialog with new HelpItem

* remove commented out code
2020-10-09 08:48:50 +02:00
Erik Jan de Wit
f44dad9e25
introduced server info context (#138)
* introduced server info context

* move to context folder

* moved model to context
2020-10-08 07:38:25 -04:00
Erik Jan de Wit
556f474fa6
i18n keys for success and error message (#154)
fixes: #151
2020-10-07 12:01:16 -04:00
Erik Jan de Wit
8e2000283c
Some pages don't support pagination (#134)
* introduced non paginating toolbar

* use patternfly util class instead of inline css
2020-10-07 11:47:03 -04:00
Donald Labaj
57fdb46b1f
Added coding standards to the project. (#139)
Added coding standards and also updated the package json so that the scripts have consistent naming conventions. Fixed incorrect import for context as well.
2020-10-06 17:42:32 -04:00
Erik Jan de Wit
908842542c
partial mocked download dialog (#140)
* partial mocked download dialog

* messages

* added toggle

* removed commened import
2020-10-06 15:51:21 -04:00
Erik Jan de Wit
587ae5ce81
changed alerts to have a provider (#137)
fixes: #132
2020-10-06 15:25:05 -04:00
Christie Molloy
64969fac0b prettier 2020-10-06 10:36:09 -04:00
Christie Molloy
bcffc68fdc fix merge conflict 2020-10-06 10:12:05 -04:00
Erik Jan de Wit
410c553ac0
added function to refresh the dataloader data (#143) 2020-10-06 07:56:06 -04:00
Stan Silvert
bfe6e2c236
Move contexts under a single directory. (#145) 2020-10-06 10:25:38 +02:00
Christie Molloy
eb57faf826 fix validation error 2020-10-05 15:45:06 -04:00
Erik Jan de Wit
932906a103
added client list search (#133)
* added client list search

* changed to only search onClick
2020-10-05 14:13:23 -04:00
Erik Jan de Wit
ed25dbc5a0
Added client setttings header with actions (#125)
* added client settings header

* added confirmation dailog

* format

* pr review

* use placeholder text instead of property

* change title to use clientId instead

* added state for dynamic name
2020-10-02 15:56:46 +02:00
Stan Silvert
f800e000be
Create whoami context (#136)
* Fix conflicts

* Fix formatting

* Get tests to pass

* Fix conflict again
2020-10-02 08:47:32 +02:00
Christie Molloy
a405dc9e13 fix formatting 2020-10-01 15:15:23 -04:00
Christie Molloy
28b16e9770 add create group functionality 2020-10-01 14:52:18 -04:00
Erik Jan de Wit
2fa8855bf4
initial version of the breadcrumb component (#119)
* initial version of the breadcrumb component

* moved breadcrumbs to Page component
2020-10-01 10:25:29 -04:00
Christie Molloy
66e28638db fix delete 2020-09-30 10:03:46 -04:00
Christie Molloy
1f3cfddac8 create group now working 2020-09-30 09:55:18 -04:00
Christie Molloy
4e67ecc1da update groups section 2020-09-29 14:21:07 -04:00
Eugenia
ba6d4877ab
Create realm role page (#114)
* add Realm Roles page

* add section for no realm roles

* update role-model, fixed UI to match designs

* fix paths

* add storybook demo and role actions kebab

* fix build and clean up

* fix formatting

* fix lint

* fix test and update snapshot

* update snapshot after rebase

* PR feedback from Stan

* add back pf addons

* localize NoRealmRoles component

* changes to PR suggested by Sarah

* adds new role form

* fix path

* rename fields

* HTTP post is working

* move create msg

* cleaning up

* address PR feedback from Stan

* added validation and changed to text area

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-29 13:54:42 -04:00
Sarah Rambacher
457729ba75
fixes vertical alignment of forms with switches (#122) 2020-09-29 08:34:27 +02:00
Christie Molloy
8a513e3ecf pull in master branch 2020-09-28 17:09:34 -04:00
Christie Molloy
32f5aa0e6f
First page within Group section (#108)
* add code to group section

* updates to group section

* more updates to groupsection

* add Eriks changes

* groups broken

* more group work

* lots of updates

* fix bugs

* working on typescript and clearing out dead code

* fix TS errors and PR feedback

* more TS fixes

* fixed the TS errors

* run prettier

* fix errors from yarn checktypes command

* fix prettier

* fix lint and checktypes

* remove isInline

* revert prettier

* revert prettier commits

* update i18

* fix prettier

* feedback

* fix error
2020-09-28 11:58:03 -04:00
Christie Molloy
f1cd864f05 more progress on group modal 2020-09-25 14:21:18 -04:00
Erik Jan de Wit
94b26936d3
fetch and save client (#116)
* fetch and save client

* added multi line for redirect uris

* format

* review
2020-09-25 13:42:32 -04:00
Erik Jan de Wit
19b458577b
Generic view header (#115)
* implements static template for table view header

* initial table view header layout

* renamed

* added actions

* format

* review

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-09-25 13:29:03 -04:00
Erik Jan de Wit
e7b108a623
Initial version client scopes (#111)
* initial version client scopes

* remove use of newer replaceAll

* review
2020-09-25 13:11:25 -04:00
Erik Jan de Wit
8210ba5ba0
initial version of confirm dialog (#117)
* initial version of confirm dialog

* introduced helper funciton to toggle dialog

* review
2020-09-25 09:17:55 -04:00
Christie Molloy
1573acc0ef add modal 2020-09-24 16:57:07 -04:00
Erik Jan de Wit
7161af82b8
initial version of the multi line input (#107)
* initial version of the multi select input

* changed direction and fixed tab index
2020-09-24 09:27:23 +02:00
jenny-s51
aebcea2ac1 CI :) 2020-09-23 15:49:05 -04:00
jenny-s51
65a6e1ca24 update HelpItem snapshot 2020-09-23 15:42:02 -04:00
jenny-s51
87363f69cd fix check-types 2020-09-23 15:42:02 -04:00
jenny-s51
7ba5ef7b5e format test 2020-09-23 15:42:02 -04:00
jenny-s51
f3c731e472 fix conflicts 2020-09-23 15:42:02 -04:00
jenny-s51
7bd8f6c883 try to fix tests 2020-09-23 15:39:52 -04:00
Sarah Rambacher
0a6281e209 fix button props on external link
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-09-23 15:39:52 -04:00
Sarah Rambacher
6189795aaf make prettier happy 2020-09-23 15:39:52 -04:00
Sarah Rambacher
985375ef02 remove the disabled link test 2020-09-23 15:39:52 -04:00
Sarah Rambacher
9f47fb5fca change external link to pf component 2020-09-23 15:39:52 -04:00
Erik Jan de Wit
3479adb356
Small client form fixes (#104)
* made clientId required

* changed space between the 2 columns of check boxes

* merge fix
2020-09-23 15:19:02 -04:00
Erik Jan de Wit
bb3598930f
always show realm add button and filter on keystroke (#105)
* always show realm add button and
filter on keystroke

* fixed formatting

* fixes within the realm selector dropdown

* format

* fixed test

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-09-23 10:19:46 +02:00
Erik Jan de Wit
dfe3f31eb4
update dependencies (#110) 2020-09-23 10:05:15 +02:00