Commit graph

419 commits

Author SHA1 Message Date
Erik Jan de Wit
688c4a0071
use patternfly timout instead of own impl (#361) 2021-02-16 09:39:46 +01:00
Erik Jan de Wit
6e69bd006d
fixing round errors in paginating (#365)
fixes: #364
2021-02-16 09:39:26 +01:00
mfrances
f3d2d17051 update to PF 4.87.1 2021-02-15 15:07:41 -05:00
Erik Jan de Wit
80cca9eca4
Limit search users when users federated or large size (#345)
* when external users then users need to search

* added email not verified icon + delete confirm

* handle search errors

* removed text

* fixed label counter
2021-02-14 13:29:43 -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
Erik Jan de Wit
3430642003
multiple ux issues around realms (#330)
* multiple ux issues around realms

fixes: #324

* changed to same size as scroll spy form width

* fixed test

* fixed realm info link

* fixes console errors

* fixed key

* fixed type

* fixed test introduced cleanup function
2021-02-09 07:32:41 -05:00
Erik Jan de Wit
4edcf233f3
now validates if gui order is a number (#338) 2021-02-09 10:35:38 +01: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
Erik Jan de Wit
8590b9cafa
toggle help on kebab click (#339)
* toggle help on kebab click

fixes: #305

* changed realm info to server info and fixed mobile layout

* added on off indication

* changed to use single key for enabled and disabled
2021-02-08 15:35:38 -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
dependabot-preview[bot]
a0fcd6c675
[Security] Bump nested-object-assign from 1.0.3 to 1.0.4 (#348)
Bumps [nested-object-assign](https://github.com/Geta/NestedObjectAssign) from 1.0.3 to 1.0.4. **This update includes a security fix.**
- [Release notes](https://github.com/Geta/NestedObjectAssign/releases)
- [Commits](https://github.com/Geta/NestedObjectAssign/compare/v1.0.3...v1.0.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-04 16:40:15 -05:00
Eugenia
db71fad81f
Realm Roles: associated roles modal functionality (#351)
* WIP  modal

* modal WIP

* add modal

* place modal in separate file

* format

* wip implementation

* getCompositeRoles with Jeff

* add associated roles tab WIP

* addComposites function WIP

* fix post call

* additional roles fetch

* big rebase

* WIP refresh

* resolve conflicts with Erik latest -> fixes role creation

* delete refresh from associatedrolestab

* fix key and localize

* gets rid of console warnings from watch

* cypress tests, bump react-hook-form to remove console warnings

* update snapshot

* fix delete confirm role name

* delete add

* refresh with Jeff, update cypress tests, select additional roles tab on add

* make dropdownId optional

* format

* remove log stmt
2021-02-04 15:50:13 -05:00
Erik Jan de Wit
45a6f9923d
sort the role list alfabaticlly (#346) 2021-01-31 13:07:06 -05:00
Erik Jan de Wit
64f622139c
partially fixes 341 (#342)
point 3 and 4 of #341 are fixed and capitalised the product name
2021-01-31 12:58:16 -05:00
Erik Jan de Wit
678ec591d6
added roles tab to clients (#312)
* added roles tab to clients

* removed duplicate id parameter

* use client roles instead of realm role for clients

* fixed formatting

* fixed create for client role

* fixed replaceAll
2021-01-29 08:59:03 -05:00
Erik Jan de Wit
acf77df64c
fixes refresh issue (#343)
* fixes refresh issue
2021-01-29 11:33:18 +01:00
mfrances17
a73b2d3a4b
Merge pull request #331 from jenny-s51/erikBlankFields
Realm roles(role attributes): adds initial empty field on load, also adds empty field on save
2021-01-28 16:24:16 -05:00
jenny-s51
d9e918a4e0 use watch on initial form field 2021-01-28 14:24:51 -05:00
jenny-s51
c1305e1e16 remove log stmts 2021-01-28 14:24:51 -05:00
jenny-s51
0bdb3b4a31 rebase and fix reload 2021-01-28 14:24:51 -05:00
jenny-s51
a7fd36369e 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 paths and use error msg from response

WIP readOnly

try setting readonly

add defaultState prop

use keycloak tabs

default values WIP

reload WIP

cleanup function

add shouldUnregister

fix for adding empty line on form load

removed debug

small fix for `isValid`

role attributes tab

format
2021-01-28 14:20:23 -05:00
jenny-s51
c2b94c1ed2 add role attributes, WIP 2021-01-28 14:19:32 -05:00
mfrances17
f406018903
Merge pull request #316 from jenny-s51/associated-roles-modal
realm roles: associated roles modal (roles list)
2021-01-28 13:18:59 -05:00
mfrances17
4a37d155f7
Merge pull request #326 from mfrances17/kerb-enable-actions
Add enable switch and action menu to kerberos settings
2021-01-28 13:18:23 -05:00
jenny-s51
85d1d0fc93 PR feedback from Mark 2021-01-28 12:52:49 -05:00
jenny-s51
5ef75a817a format after rebase 2021-01-28 12:52:49 -05:00
Eugenia
5064690ae8 remove comment
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-01-28 12:52:49 -05:00
jenny-s51
162146c371 WIP modal 2021-01-28 12:51:47 -05:00
jenny-s51
3562cf8d57 try fixing cypress test 2021-01-28 12:50:42 -05:00
jenny-s51
6c8e580e47 PR feedback from Mark 2021-01-28 12:50:42 -05:00
jenny-s51
1047326eeb fix confirmDialog jest test 2021-01-28 12:50:42 -05:00
jenny-s51
6c9eaf5342 fix cypress test 2021-01-28 12:50:42 -05:00
jenny-s51
c3c9625f6b format after rebase 2021-01-28 12:50:42 -05:00
Eugenia
ec6af8b9ae remove comment
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-01-28 12:50:42 -05:00
jenny-s51
578b853fd5 format 2021-01-28 12:50:42 -05:00
jenny-s51
50db2c73d7 WIP modal 2021-01-28 12:50:42 -05:00
Erik Jan de Wit
f669be1d78
removed cypress init spec in favor of node script (#340) 2021-01-28 16:04:48 +01:00
Aboullos
2715c89d06
Merge pull request #336 from edewit/cypress-typescript
change to use typescript
2021-01-28 13:49:35 +01:00
Erik Jan de Wit
63aec4415c fixed workflow 2021-01-28 10:34:42 +01:00
Erik Jan de Wit
a8372498c8 introduced workspace and fixed more types 2021-01-28 10:07:12 +01:00
Erik Jan de Wit
3e7ebfa06b change to use typescript 2021-01-28 08:47:10 +01: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
e90f4d3702
Merge pull request #332 from mfrances17/patternfly-4.80.2
Update to latest Patternfly releases
2021-01-27 10:25:55 -05:00
Aboullos
0cf9d3e578
Ignore login when user is already logged (#329)
* Add cookie check on Log in

* Change cookie check to body children check

* Add loadingContainer element

* Add old load container element

* Change quotes

* Disable video recording

* Replace quotes

* Refactor

* Change Cypress version
2021-01-27 07:47:57 -05:00
mfrances
5081a9602d fix tests 2021-01-26 15:54:29 -05:00
mfrances
c3ffb4e654 update to latest PF releases 2021-01-26 15:43:06 -05:00
Erik Jan de Wit
b9de247569
initial version of authentication section (#309)
* initial version of authentication section

* remove dialog for now should go to detail page

* added link and buildin label to first column

* added key attributes

* removed setTimeout workaround

* only delete when not in use

* Update src/authentication/messages.json

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

* Update src/authentication/messages.json

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

* refresh table on duplicate

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2021-01-26 14:39:01 -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