Commit graph

104 commits

Author SHA1 Message Date
mfrances
018d99e03c update to PF 4.96.2 2021-04-01 11:25:47 -04:00
dependabot-preview[bot]
b035143781
[Security] Bump elliptic from 6.5.3 to 6.5.4 (#421)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.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-03-10 16:18:32 -05:00
mfrances
fa5284471d update to PF 4.90.3 2021-03-08 11:19:46 -05:00
Erik Jan de Wit
949a0e198b added delete and cypress test 2021-03-05 14:47:59 +01:00
Erik Jan de Wit
ff1fbccfdc fixed types 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
3399b16c7e initial list 2021-03-05 11:34:24 +01:00
Erik Jan de Wit
bfa0c6e1ea
Advanced tab (#373)
* initial version of the advanced tab

* added registered nodes

* added fine grain open id connect configuration

* added open id connect compatibility section

* added advanced section

* added backend

* fixed type

* renamed 'advanced' to advancedtab

to prevent strange add of '/index.js' by snowpack

* fixed storybook stories

* change '_' to '-' because '_' is also used

* fix spacing buttons

* stop passing the form

* cypress test for advanced tab

* more tests

* saml section

* changed to use NumberInput

* added authetnication flow override

* fixed merge error

* updated text and added link to settings tab

* fixed test

* added filter on flows and better reset

* added now mandetory error handler

* added sorting

* Revert "changed to use NumberInput"

This reverts commit 7829f2656ae8fc8ed4a4a6b1c4b1961241a09d8e.

* allow users to put empty string as value

* already on detail page after save

* fixed merge error
2021-02-28 15:02:31 -05:00
Erik Jan de Wit
39ef50bb1b remove seperate test project, intgrate cypress 2021-02-19 09:07:40 +01:00
Erik Jan de Wit
689e01b461
created better error handling (#362)
by using this react-error-boundary package this works also in hooks
2021-02-17 16:12:25 -05:00
mfrances
f3d2d17051 update to PF 4.87.1 2021-02-15 15:07:41 -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
a8372498c8 introduced workspace and fixed more types 2021-01-28 10:07:12 +01: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
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
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
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
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
mfrances17
af986e0f13
Merge pull request #256 from edewit/events-tab
initial version of the events tab
2020-12-11 15:31:57 -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
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
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
2be549a60e
Use new patternfly jumplinks. (#246)
* Use new patternfly jumplinks.

* Update snapshots
2020-12-07 07:51:38 -05:00
Erik Jan de Wit
acbd5a5f18
created a MockAdminClient for the storybook (#240)
* added mock for admin client so stories work again

* updated storybook to 6.1.7

* added js doc

* fix merge error
2020-12-04 13:58:28 -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
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
dependabot-preview[bot]
b618ab245e
[Security] Bump lodash from 4.17.15 to 4.17.19 (#193)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-28 14:47:03 -04:00
dependabot-preview[bot]
b1504f24c3
[Security] Bump bl from 1.2.2 to 1.2.3 (#192)
Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3. **This update includes a security fix.**
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-28 14:44:35 -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
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
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
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
Erik Jan de Wit
dfe3f31eb4
update dependencies (#110) 2020-09-23 10:05:15 +02:00
Erik Jan de Wit
338e177c51
added react hook form to do forms (#99)
* added react hook form to do forms

* removed unnessary property
2020-09-17 09:51:40 -04: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
Erik Jan de Wit
7f66895631
added export and delete (#63)
* added export and delete

* added types
2020-09-09 16:34:05 +02:00
Stan Silvert
0eea5b8057
Use isBlock instead of css (#67)
* Use isBlock instead of css

* Make prettier happy

* Fix tests
2020-09-05 15:37:42 -04:00
Erik Jan de Wit
258b21e334
remove env vars and use simple copy task to switch (#60) 2020-09-04 06:38:23 -04:00
Erik Jan de Wit
a0b2b52b4f
upgraded to storybook 6 and changed to tsx (#58) 2020-09-03 13:26:36 -04:00
dependabot-preview[bot]
ad16ce23d4
Bump i18next-http-backend from 1.0.17 to 1.0.18 (#57)
Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/i18next/i18next-http-backend/releases)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v1.0.17...v1.0.18)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-03 14:58:42 +02:00
Erik Jan de Wit
8e664659b7
postcss plugin to new snopack format (#51) 2020-09-01 16:17:48 -04:00
Erik Jan de Wit
3959d2c47e
fixed build by changing it to webpack (#50) 2020-09-01 08:21:47 -04:00
Stan Silvert
cb56cbb8fc
yarn.lock was updated with yarn install (#49) 2020-09-01 09:46:47 +02:00
Erik Jan de Wit
a1e637c5da
Added tests for alert component. (#43)
* added enzyme

* alert test
2020-08-31 10:23:57 +02:00
Eugenia
c480f9cd9d
Add routing (#42)
* WIP routing

* remove webpack plugin

* add routing

* fixes to router

Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2020-08-27 14:09:36 +02:00
Stan Silvert
18689c6194
Implement masthead (#30) 2020-08-20 20:09:05 -04:00
Erik Jan de Wit
9bacacae49 fixed tests
fixing: #29
2020-08-20 12:43:13 +02:00
Erik Jan de Wit
2caafc74b2 added post install hook to copy fonts
fixing: #20
2020-08-17 09:02:43 +02:00
Stan Silvert
d9a9f1d194
Merge pull request #4 from edewit/build-instructions
fix: added build instructions
2020-08-07 08:17:50 -04:00
Erik Jan de Wit
969d483c11 fix: added build instructions
fixing: #2
2020-08-06 17:11:12 +02:00
Erik Jan de Wit
e8662ed05c added eslint 2020-08-06 10:51:35 +02:00
Erik Jan de Wit
14860ae628 initial version
change favicon based on env props
2020-08-05 17:00:38 +02:00