Commit graph

1910 commits

Author SHA1 Message Date
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
Aboullos
71a41694d9
Modify CRUD tests (#325) 2021-01-25 12:17:59 -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
Stan Silvert
f2e26b0049
Cypress tests for masthead. (#304)
* Cypress tests for masthead.

* Update snapshot

* Update Keycloak version.

* Fix download address

* Update start.js

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

* Follow redirect when downloading keycloak.

* Refactor HeaderPage into Masthead and ModalUtils

* Minor change to kick off build.

* logOutTest no longer needs a param

* goToAcctMgtTest no longer needs a param

* Update tests/cypress/support/pages/admin_console/Masthead.js

Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>

* Update tests/cypress/support/pages/admin_console/Masthead.js

Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>

* Fix userDropdown() method

* Minor refactor

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Aboullos <61687012+Aboullos@users.noreply.github.com>
2021-01-21 07:09:50 -05:00
Erik Jan de Wit
9ea2470aeb
fixed excedently removed columns (#310) 2021-01-20 07:53:36 +01:00
Eugenia
8f971ffca0
Realm Roles: Implements Reload Function (#308)
* refresh

* add hook

* reload WIP

* pass down defaultValues

* log stmt

* reload working on details form

* call with Erik

* format

* format

* lint

* fix reload after save
2021-01-19 14:30:52 -05:00
Erik Jan de Wit
eff8144a0a
override aria labels invalidly genrated by PF (#295) 2021-01-19 07:21:17 -05:00
mfrances17
ccb731338e
Merge pull request #301 from srambach/user-fed-mappers-text
Add text for user federation user attribute mapper
2021-01-18 10:19:00 -05:00
Erik Jan de Wit
324d9ff061
initial version dashboard section (#283)
* initial version dashboard section

* changed to new design

* changed text to "realm info"
2021-01-14 20:44:16 -05:00
Sarah Rambacher
c1d13650df fixes typos and some grammar 2021-01-14 10:56:03 -05:00