Commit graph

790 commits

Author SHA1 Message Date
mfrances17
6063c8db96
add tooltips for client login fields (#1184) 2021-09-17 13:50:56 -04:00
Jon Koops
62ea6c5dca
Check types using ts-jest and upgrade Jest (#1178) 2021-09-17 09:33:15 +02:00
Erik Jan de Wit
cb94c537db
don't show toolbar when not searching (#1152)
* don't show toolbar when not searching

* fixed the tests

* made switch logic more readable

* fixed test
2021-09-15 11:45:56 +02:00
Erik Jan de Wit
b8990cbf63
Make filtering of client scopes same for clients and client scope section (#1064)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-14 17:48:48 +02:00
Erik Jan de Wit
71d881ccd0
multiple issues with this mapper (#1155) 2021-09-14 14:54:14 +02:00
Erik Jan de Wit
528d22ce30
fixed missing fields (#1151) 2021-09-14 12:11:22 +02:00
Jenny
a617c4ab12
Identity Providers(Mappers): Implement "Add Mapper" Screen/Functionality for OIDC and SAML IdPs (#1118) 2021-09-13 11:17:00 +02:00
Jenny
7414e174b6
set alias to read only in IdPs (#1144) 2021-09-13 11:15:04 +02:00
Jon Koops
5979101b0b
Process UXD feedback for client revocation (#1139) 2021-09-10 15:25:18 +02:00
Jon Koops
bd1c7fa102
Remove internationalization from 'Themes' tab (#1138) 2021-09-09 14:00:20 +02:00
agagancarczyk
b9208cb9c7
Admin events rep dialog (#1137)
* admin-events-list: added PF code editor

* realm-settings: added template for client policies tab

* realm-settings: fixed space between text and q icon

* admin-events-list: hardcoded representation dialog

* realm-settings: css improvement

* realm-settings: feedback applied

* realm-settings: feedback applied

* admin-events-list: fixed representation dialog

* admin-events-list: fixed representation dialog

* Update src/events/AdminEvents.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* admin-events-list: fixed representation dialog

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-09 11:45:19 +01:00
Jenny
2923a4c16f
Identity Providers(SAML): Adds data table for SAML mappers (#1058)
* data table for saml mappers

saml mapeprs tab

fix localized text

PR feedback from Jon

remove jsx fragment

remove comment

remove toolbar button

* try fixing cypress test

* remove optional chaining

* PR feedback from Jon

* more PR feedback from Jon

* rename variable and use find()

* useFetch() change as suggested by Jon

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* rebase and use reset function

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-08 10:33:19 -04:00
agagancarczyk
6d4b11aab2
Admin events auth dialog (#1131)
* admin-events-list: updated keys for Auth modal

* admin-events-list:added cypress test for auth dialog

* admin-events-list:added cypress test for representation dialog

* admin-events-list: fixed keys def

* admin-events-list: fixed keys def

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-09-07 12:38:36 +01:00
Jon Koops
b5e5677cb5
Keep realm value from RealmContext in sync with the URL (#1130) 2021-09-07 13:19:50 +02:00
Jon Koops
3fcf5c44d0
Link to RealmRoleRoute using a static path (#1129) 2021-09-07 12:29:34 +02:00
Erik Jan de Wit
f1f0c362b4
Add button on authentication flows (#1119) 2021-09-06 14:43:36 +02:00
dependabot[bot]
aba9e3d501
Bump typescript from 4.2.4 to 4.4.2 (#1081)
* Bump typescript from 4.2.4 to 4.4.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-06 09:48:53 +02:00
Erik Jan de Wit
e187314b1f
added user role mapping tab to user details (#1075)
* added user role mapping tab to user details

* fix imports to admin client

* Update src/user/UserRoleMapping.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/user/UserRoleMapping.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* added await

* fixed merge error

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-09-03 10:40:59 -04:00
Erik Jan de Wit
f87463d036
add action menu to current user (#1094)
* add action menu to delete current user

* added impersonate user to action manu

* fixed spelling
2021-09-03 09:54:23 -04:00
agagancarczyk
6e8ec947b5
Admin search (#1108)
* admin events: wip

* admin events: wip

* admin events: wip

* admin events: finalised admin search

* admin events: fixed user event search test

* admin events: added cypress tests

* admin events: added cypress tests

* admin events: added cypress tests for admin events search

* admin events: added auth prefix on the params

* admin events: improved search tests

* admin events: attempted fixing search tests

* admin events: fixed cypress events search tests

* admin events: fixed user events search test

* admin events: fixed user and admin events search test

* admin events: fixed admin events search test

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-09-03 11:50:45 +01:00
Stan Silvert
d35582521d
Time selector was generating duplicate id's (#1117) 2021-09-03 08:55:51 +02:00
Erik Jan de Wit
e5e07eb1bc
added remove all temporary locks (#1082) 2021-09-02 16:16:32 -04:00
Erik Jan de Wit
2416d25c38
refactor realm settings (#1083)
also fixes: #1038
2021-09-02 16:14:43 -04:00
mfrances17
3f061efead
Adds routing for and fixes add new/save existing identity providers (#1105)
* fix routing and edit existing provider

* PR review comments
2021-09-02 13:45:17 -04:00
Erik Jan de Wit
e58dfc7508
added unlock user when brute force detect on (#1093)
* added unlock user when brute force detect on

+ some light refactor

* fixed spelling

* fixed merge error
2021-09-02 09:44:31 -04:00
Stan Silvert
0853e20ba1
Fix help text for minimum quick login wait (#1106) 2021-09-01 19:20:50 +02:00
Jenny
8bfd78cea9
Users: Add Identity Provider Links tab (#1086) 2021-08-31 10:13:25 +02:00
mfrances17
299993d30b
Fix labels for user vs admin clear events (#1079)
* fix labels for user vs admin clear events

* fix lint issue unrelated to fixed issue
2021-08-27 15:18:23 -04:00
Jon Koops
e062603ff2
Remove useless React fragments (#1062) 2021-08-26 14:15:28 +02:00
Jon Koops
b15c240d9e
Fix broken import to admin client (#1077) 2021-08-26 13:04:21 +02:00
agagancarczyk
764421033f
events: reverted to Flex (#1076)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-26 11:37:56 +01:00
agagancarczyk
2657eaf1d8
Events css fixes (#1074)
* admin events: decreased form width and spaces between fields

* events: css fixes

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-26 10:15:59 +01:00
Jon Koops
9850505001
Use pre-release version of Admin Client (#1063) 2021-08-26 10:39:35 +02:00
Erik Jan de Wit
cce21c43a6
fixed removed save buttons (#1047)
fixes: #1043
2021-08-25 18:06:24 +02:00
Jenny
09f4279372
update users empty state (#1037) 2021-08-25 16:48:11 +02:00
agagancarczyk
0fbd196380
Events search fixes (#1056)
* events: uncommented test for searching user events

* events: added refresh btn and tidied up css

* events: increased search form width

* events: removed unwanted Divider

* events: fixed grey line issue when no events logged, fixed test

* events: renamed css classes to make them reusable for admin search

* events: added admin events search ui

* events: fixed refresh btn on user events tab

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2021-08-25 15:19:26 +01:00
Erik Jan de Wit
45095fdc42
Initial version of config settings for executions (#1015)
* initial version of config settings for executions

still needs to render different controls based on the types

* fixing the types

* Update src/authentication/components/ExecutionConfigModal.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* fix use effect dependency fix

* added form type

* Add ExecutionConfigModalProps type

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-25 15:36:04 +02:00
Erik Jan de Wit
5b23354e35
changed to append to url, for client role details (#1048)
fixes: #1041
2021-08-25 15:22:53 +02:00
Erik Jan de Wit
02ffc1fb88
fixed flow name (#1049)
fixes: #1045
2021-08-25 08:33:57 -04:00
Erik Jan de Wit
4fc3865bbd
use realm id instead of realm name (#1051)
fixes: #1042
2021-08-24 12:39:16 +02:00
Erik Jan de Wit
4d789f84e3
fixed logic when to show empty search result (#1053)
fixes: #1040
2021-08-24 12:38:29 +02:00
Erik Jan de Wit
89870cafc2
made realm name editable (#1001)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-23 21:00:42 +02:00
Jenny
e653d87894
add priority attribute when dragging data list elements (#947)
* fix conflict

* pr feedback from jon

* add key provider type to separate component

* remove log stmt

* remove spread syntax

* add default priority to all provider types

* remove sort by priority from providers tab

* add instruction tooltip

* correct list sorting order

* feedback from Jon wip

* more feedback from Jon

* update aria-describedby

* data list header and draggable button spacing

* Update src/realm-settings/RealmSettingsSection.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-20 12:15:12 -04:00
Erik Jan de Wit
75fd4007d3
Use correct translation for LDAP mapper (#1030) 2021-08-20 17:50:05 +02:00
Jon Koops
ddd248ed0e
Process UXD review for Client Scopes (#1026) 2021-08-20 12:37:40 +02:00
agagancarczyk
3469ccb509
events: search user events form, chips for searched fields and tests (#930) 2021-08-20 11:13:47 +02:00
mfrances17
7efa03dc3f
Add UI and partial functionality for creating SAML identity providers (#944)
* fix OIDC string issue

* preliminary UI changes

* saml create new fields added

* use new routing for saml

* add msg strings

* most fields added

* add reqAuthnConstraints section

* final help strings and options

* add cypress tests

* fix legacy cypress cleanup tasks

* fix selects and hardcoded strings

* most PR review comments incorporated

* PR review edits

* more PR review comments
2021-08-19 10:41:27 -04:00
Jon Koops
c5abf8349e
Add a constant for the default locale (#1023) 2021-08-19 15:56:00 +02:00
Jon Koops
18e0a930be
Prefer Array#includes() over Array#indexOf() (#1013) 2021-08-18 11:29:42 +02:00
Erik Jan de Wit
2f6e0064c1
update placeholder text resemble actual url (#1014) 2021-08-17 16:08:24 +02:00
Erik Jan de Wit
2581da0765
change to TextInput when editing (#991)
* change to TextInput when editing
as keycloak doesn't store the password as clear text

fixes: #971

* now part of the password field
2021-08-17 08:58:07 -04:00
Jenny
f93d478f44
Realm settings(localization): add locale dropdown to table (#936)
* add localization dropdown

uncomment isDisabled

clean up names

comment out localization tab again

disable actions menu if form not submitted

uncomment tab

use currentRealm for tableLoader

fix axe issues labeled as serious

PR feedback from Erik

use isSearching instead of keepToolbar

* fix node build

* use object entries

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-17 08:50:31 -04:00
Jenny
412e4c1f6b
Sessions(actions dropdown): Adds actions dropdown - "revocation" and "log out all sessions" (#896)
* rebase and resolve conflicts/comments

* remove badgeid
2021-08-16 15:25:36 -04:00
Erik Jan de Wit
b5e2fb802c
fixed breadcrumb for search and seach box distance (#998)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-16 14:35:39 +02:00
Erik Jan de Wit
321b259a4b
fixed focus and min value (#999)
fixes: #405
2021-08-16 11:40:14 +02:00
Erik Jan de Wit
37f0010b81
changed save buttons from tertiary to secondary (#1000)
* changed save buttons from `tertiary` to `primary`

fixes: #959

* changed buttons from `tertiary` to `secondary`

fixes: #959
2021-08-16 11:22:56 +02:00
Jon Koops
317acd8239
Prefer optional chaining over validating references (#992) 2021-08-12 13:15:47 +02:00
Erik Jan de Wit
6f29839b06
added try catch as this call fails locally (#995) 2021-08-12 10:56:25 +02:00
Jon Koops
71b1c4a444
Pass login realm to WhoAmI (#989)
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2021-08-11 16:38:55 +02:00
Erik Jan de Wit
54dca4df65
made "simple" the default authentication type (#993) 2021-08-11 16:32:40 +02:00
Erik Jan de Wit
9ce3f2c53c
added user in role for client tab (#987)
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-11 13:44:18 +02:00
Jon Koops
a6d38096b7
Fix realm intialization (#990) 2021-08-11 13:23:59 +02:00
Erik Jan de Wit
15a87b7d2e
added empty state for new realms with no sessions (#986) 2021-08-11 11:33:51 +02:00
Erik Jan de Wit
ba8f927453
keep imported json instead of only form fields (#988) 2021-08-11 11:20:49 +02:00
Jon Koops
dbedd79883
Use correct default for 'Truststore SPI' (#980) 2021-08-11 07:52:12 +02:00
Jon Koops
d2ca2bf247
Convert more links to use new routes (#933)
* Convert more links to use new routes

* convert server info dropdown

* Fix link with render prop
2021-08-10 09:07:59 -04:00
Erik Jan de Wit
b0154b39a3
added component to set lifespan of token (#955) 2021-08-10 13:49:08 +02:00
Jon Koops
45bd2fd385
Use FunctionComponent type for components needing 'children' prop (#977) 2021-08-10 13:18:48 +02:00
Erik Jan de Wit
190376590f
changed render of link so search can find the text (#967)
* changed render of link so search can find the text

fixing: #965

* Update src/realm-roles/RolesList.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/realm-roles/RolesList.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* add missing imports and disable problematic eslint rules

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-10 13:14:16 +02:00
Erik Jan de Wit
9aa1cd0286
disable save when there are no changes (#975)
fixes: #679
2021-08-10 12:15:23 +02:00
Erik Jan de Wit
d15da05d54
small fix that fixes the realm settings test (#974) 2021-08-10 11:02:44 +02:00
Jon Koops
ed33242b34
Allow multiple access for secured routes (#946) 2021-08-09 22:20:49 +02:00
Jenny
45e07266eb
Realm settings(tokens): Add tokens tab (#934)
* wip tokens tab

* tokens

* add data-testids to cypress doc

* uncomment

* uncomment

* finish tests

* remove logs

* fix help text

* fix form panel title for sessions

* removed unused useEffect

* wip tokens updates to convert function

* fix flattened attributes to match call

* interpolate timespan

* delete unused variables
2021-08-09 15:28:24 -04:00
Erik Jan de Wit
c7e72abfc1
make general settings the first item (#957) 2021-08-09 16:35:31 +02:00
Erik Jan de Wit
9eedd13a6b
fixed realm role test (#962) 2021-08-09 16:31:03 +02:00
Erik Jan de Wit
cc31f0853c
Initial version of the authentication section (#887)
* initial version of create authentication screen

* initial version of authentication details

* added flow details labels to view header

* not in use fix

* create execution tree

* fixed collapsable row layout

* fix drag and drop expand

* fix merge error

* move to modal

* diff and post drag and drop changes

* fixed locating the parent row

* move "live text" for d&d to common messages

* firefox fix

* initial version of the diagram

* use dagre to layout automatically

* moved to sperate file

* conditional node

* now renders subflows sequential

* changed to render sequential or parallel flows

* fixed render of sub flows

* added button edge, drawer and selectable nodes

* add requirement dropdown

* also do move so we can merge

* also do move so we can merge

* fixed merge

* added refresh

* change requirement

* fixed merge error

* now uses the new routes

* Split out routes into multiple files

* Update src/authentication/AuthenticationSection.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update src/authentication/FlowDetails.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* fixed labels

* merge fix

* make execution of these parrallel

* added some tests

* Update src/authentication/components/FlowRequirementDropdown.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* more review changes

* fixed merge error

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2021-08-09 10:47:34 +02:00
Jon Koops
cc664ce577
Place dropdown over DownloadDialog (#943) 2021-08-05 15:01:48 +02:00
Jon Koops
25376c75fd
Process UX feedback for DownloadDialog (#942) 2021-08-05 12:42:29 +02:00
Jon Koops
be0506653d
Hide details when adaptor config is download-only (#938) 2021-08-04 14:24:55 +02:00
Jon Koops
b99c57d43b
Re-enable localization Cypress tests (#935) 2021-08-04 12:50:25 +02:00
Erik Jan de Wit
bc1e83e63a
Introduce a standard way to create handle errors (#918) 2021-07-28 14:01:42 +02:00
Jon Koops
12d2471c3b
Enable 'no-empty-function' ESlint rule (#917) 2021-07-27 22:56:16 +02:00
Jon Koops
209a562774
Remove modules loaded as JSON (not supported by Snowpack) (#920) 2021-07-27 17:49:18 +02:00
Jon Koops
9410b89ed4
Use new routing conventions for groups routes (#913) 2021-07-26 15:40:23 +02:00
Jon Koops
eb382b5fa7
Use new routing conventions for dashboard routes (#912) 2021-07-26 15:36:18 +02:00
Jon Koops
477fa6180c
Use new routing conventions for user federation routes (#911) 2021-07-26 15:29:26 +02:00
Jon Koops
b569341195
Use new routing conventions for identity provider routes (#910) 2021-07-26 12:43:30 +02:00
Jon Koops
620ac8b024
Use new routing conventions for realm settings (#904) 2021-07-23 18:29:10 +02:00
Jon Koops
88ae607148
Use new routing conventions for event routes (#903) 2021-07-23 16:41:42 +02:00
Jon Koops
d1d99f7ee0
Use new routing conventions for session routes (#902) 2021-07-23 12:52:08 +02:00
Jon Koops
74ac0110c6
Use new routing conventions for user routes (#898) 2021-07-23 12:18:28 +02:00
Jon Koops
95289ac3e5
Disable automatically generated breadcrumbs (#894) 2021-07-22 16:48:00 +02:00
Jon Koops
bed671d8be
Use new routing conventions for realm role routes (#893) 2021-07-22 16:18:59 +02:00
Jon Koops
f3b7e22898
Use new routing conventions for client scope routes (#892) 2021-07-22 13:17:00 +02:00
Jon Koops
90a6ad3b6d
Use new routing conventions for authentication routes (#891) 2021-07-22 12:17:53 +02:00
Jon Koops
5286eb6d5a
Use new routing conventions for realm routes (#890) 2021-07-22 09:13:35 +02:00
Jon Koops
1860ea5b58
Use new routing conventions for client routes (#888) 2021-07-21 17:08:40 +02:00
Jon Koops
41a0923bad
Introduce 'useRequiredContext' utility function (#882) 2021-07-21 11:30:18 +02:00
Jon Koops
d8d230557e
Defer breadcrumbs translations on route definitions (#883) 2021-07-21 11:20:32 +02:00
Jenny
f0412fda25
fix css in sessions tab toolbar (#886) 2021-07-20 20:53:36 +02:00