Commit graph

2948 commits

Author SHA1 Message Date
mfrances17
ef0dd869e4
Merge pull request #264 from jenny-s51/attributes-functionality
Adds functionality to attributes tab of realm roles section
2021-01-11 16:49:39 -05:00
jenny-s51
74a5bfb7cc prettier 2021-01-11 16:28:15 -05:00
jenny-s51
453d37f815 fix formaccess role 2021-01-11 16:27:13 -05:00
jenny-s51
960e43a7d9 rebase and resolve conflicts 2021-01-11 16:22:58 -05:00
jenny-s51
8ef7bd7ddb WIP role attributes
fix storybook demos

add attributes tab to realm roles section

use TableComposable

fix formatting

css updates

fix up styling of role attributes table

fix check-types erros

logic from call with Jeff

clean up, format, make eslint proud

delete roledetails

call with Erik

add delete function and css changes

fix storybook demos and format

make key input disabled once new attribute is created

minus icon gray

address PR feedback from Sarah

set add and save buttons to disabled when new input field is  empty

fix save/add

fix onChange formState

rebase with resolved conflicts

fix formatting

remove !important

Update RealmRolesSection.css

Update src/realm-roles/RoleAttributes.tsx

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

address PR feedback from Sarah and Erik

fix paths and use error msg from response

remove log stmt

fix lint

remove minLength
2021-01-11 16:19:22 -05:00
jenny-s51
5d7d2b5636 add role attributes, WIP 2021-01-11 16:15:12 -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
84ad3853a8
move common cell formatters to util functions (#278)
* move common cell formatters to util functions

* renamed ExternalLink FormattedLink
2021-01-11 14:29:52 -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
1763ee1a50
added delete client scope functionality (#272)
* added delete client scope functionality

* use error message from the response
2021-01-07 13:34:59 -05:00
Erik Jan de Wit
e6fa093925
small refactor to set realm from path (#282) 2021-01-07 09:56:14 -05:00
dependabot-preview[bot]
516c51ee05
[Security] Bump axios from 0.21.0 to 0.21.1 (#273)
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1. **This update includes a security fix.**
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-05 15:02:52 -05:00
Erik Jan de Wit
db4f7851fb
refresh and message on group delete (#270)
fixing: #129
2021-01-05 14:56:16 -05:00
Erik Jan de Wit
c1282b2973
onEnter should not post the form (#269)
* onEnter should not post the form

fixing: #257

* added focus to input field

* fixed button
2021-01-05 14:53:01 -05:00
Erik Jan de Wit
b14027ccb7
Use realm name in urls (#265)
* remove circular dependency on realm context

* added realm as a param of the url

* updated links to include realm

* null !== undefined

* set realm if realm in url

* fixed breadcrumb type

* fixed tests

* addressed pr review comments
2021-01-05 14:49:33 -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
Erik Jan de Wit
f9c44c0953
initial version of the sessions sectino (#260) 2020-12-18 08:01:35 +01:00
mfrances17
8c32f1c1c1
Merge pull request #268 from edewit/switch-issue
switches don't work in a `FormAccess` form
2020-12-17 11:44:44 -05:00
Erik Jan de Wit
8b8ce279bc fixed test 2020-12-17 17:07:50 +01:00
Erik Jan de Wit
bb51903ce8 switches don't work in a FormAccess form
not all of their props where copied
2020-12-17 16:05:44 +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
Erik Jan de Wit
0a5efbb781
added brute login user temporary lock indication (#259)
* added brute login user temporary lock indication

* spelling
2020-12-16 07:58:00 +01:00
Eugenia
79e671062c
Realm role attributes (#247)
* add role attributes, WIP

* WIP role attributes

* fix storybook demos

* add attributes tab to realm roles section

* use TableComposable

* fix formatting

* css updates

* fix up styling of role attributes table

* fix check-types erros

* fix build

* fix formatting

* address PR feedback from Sarah

* add aria label to button

* fix storybook demos and address PR feedback from Erik

* fix merge conflict

* delete unnecessary files

* remove unused code

* remove BorderColor

* delete final comment

* fix formatting

Co-authored-by: Sarah Rambacher <srambach@redhat.com>
2020-12-15 08:21:17 +01:00
Erik Jan de Wit
6ae437c86a
Updated DataTable to be capable of select (#251)
* removed unused models

* added selectable to `DataList`

* changed groups to use new `DataList`

* fixed filter for JSX.Elements columns

* better refresh
2020-12-14 09:57:05 +01:00
mfrances17
af986e0f13
Merge pull request #256 from edewit/events-tab
initial version of the events tab
2020-12-11 15:31:57 -05:00
mfrances17
30452ce3c8
Merge pull request #255 from edewit/rename-datalist
renamed data list and documented
2020-12-11 15:12:01 -05:00
Sarah Rambacher
691708e5f2
Makes jumplinks work (#254)
* jumplinks on main content scroll but buggy

* update PF and move anchor to heading

* add fix for double highlight of jumplink

* mysterious change to unrelated test

* add yarn.lock
2020-12-11 18:34:18 +01:00
Erik Jan de Wit
78d65f934c fixed id 2020-12-11 18:25:54 +01:00
Erik Jan de Wit
6b962577ba added admin events tab 2020-12-11 15:48:39 +01:00
Erik Jan de Wit
7d20fc01a7 initial version of the events tab 2020-12-11 14:05:41 +01:00
dependabot-preview[bot]
54c9698661
[Security] Bump ini from 1.3.5 to 1.3.7 (#253)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-11 11:30:45 +01:00
Erik Jan de Wit
9903b5c081 renamed files 2020-12-11 11:28:38 +01:00
Erik Jan de Wit
f8d8d08147 renamed data list and documented 2020-12-11 11:18:29 +01:00
mfrances17
83825c117b
Merge pull request #245 from edewit/issue-230
TextArea is child of controller
2020-12-10 09:10:48 -05:00
Erik Jan de Wit
3f2969e897 TextArea doesn't need to be a child of controller
fixes: #230
2020-12-10 10:07:24 +01:00
Erik Jan de Wit
78ccef0d67
initial version of the user list (#252)
* initial version of the user list

* added disabled
2020-12-09 16:55:17 -05:00
mfrances17
66d3c844f9
Merge pull request #249 from edewit/remove-all
added missing remove all kabab item
2020-12-09 09:23:04 -05:00
Erik Jan de Wit
2c2cfc0ad9 disable remove all when no row is selected 2020-12-09 07:58:19 +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
Erik Jan de Wit
41062f88f4
Introduced generic DataList component that can handle all Lists. (#241)
* initial version of a data list

* introduced paginate property

* added search key

* added types and actions

* added renderer to customize rendering of one cell

* changed `ClientList` to new `DataList`

* replaced client scope list with `DataList`

* added empty state

* Replaced RoleList with `DataList`

* switched to lodash cloneDeep

* fix merge error
2020-12-07 14:23:18 -05:00
Stan Silvert
9ff144e768
Remove useEffect import. (#250) 2020-12-07 19:57:03 +01:00
Erik Jan de Wit
5463db5a20
Initial version of the Service Account tab (#238)
* service account tab initial version

* added hide inherited function

* move empty formatter to util

* added the 'assign role' button

* only show service account tab when client is saved

* changed to toobar items to align checkbox

* added missing assignRole and renamed tab
2020-12-07 13:37:36 -05:00
Erik Jan de Wit
b0faaa829a added missing remove all kabab item 2020-12-07 14:42:08 +01:00
Stan Silvert
2be549a60e
Use new patternfly jumplinks. (#246)
* Use new patternfly jumplinks.

* Update snapshots
2020-12-07 07:51:38 -05:00