Erik Jan de Wit
4fc64e6915
Removes the already added validators after closing the dialog ( #2435 )
2022-04-13 15:18:26 +02:00
agagancarczyk
7418bca8f4
Realm-settings -> User Profile -> Create/Edit Attribute tests ( #2410 )
...
* added tests for creating new attribute
* added more tests
* removed temporary skips
* added more tests
* added more tests
* fixed typo
* fixed focus bug
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-04-11 15:00:08 +01:00
Jon Koops
4a7c0436cc
Move React Hook Form errors to formState ( #2412 )
2022-04-08 14:37:31 +02:00
Erik Jan de Wit
2d1baed0e9
Remove picked validators from list ( #2405 )
2022-04-07 16:35:17 +02:00
Jenny
bb226b52ff
Adds Realm Settings tests for general tab ( #2336 )
2022-04-05 21:34:21 +02:00
Jon Koops
23b311c552
Fix linting issues ( #2383 )
2022-04-01 11:46:46 +02:00
agagancarczyk
c0981a1bae
fixed cannot destructure property error ( #2377 )
...
* fixed cannot destructure property error
* fix
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-31 15:23:28 +01:00
agagancarczyk
4c70064bd4
Ream-settings -> User Profile -> Edit Attribute ( #2343 )
...
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* edit attribute - wip
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* moved form initialisation to central place
* fixed loading values
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2022-03-31 14:28:48 +01:00
Erik Jan de Wit
f3798324a3
Override when already set with default ( #2283 )
2022-03-29 11:23:26 +02:00
Erik Jan de Wit
78bdf2d2ec
don't test ldap when form isn't valid ( #2294 )
...
* don't test ldap when form isn't valid
fixes : #1776
* changed to PF way of showing errors
* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
* Update src/user-federation/kerberos/KerberosSettingsRequired.tsx
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-03-29 09:49:43 +02:00
Erik Jan de Wit
f04788028b
Fixed the filter dropdown ( #2315 )
2022-03-28 22:57:32 +02:00
Jenny
3efffab55d
Realm settings(login tab): Add login tests ( #2260 )
2022-03-28 17:34:07 +02:00
dependabot[bot]
631f8320c5
Bump prettier from 2.6.0 to 2.6.1
...
* Bump prettier from 2.6.0 to 2.6.1
Bumps [prettier](https://github.com/prettier/prettier ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.6.0...2.6.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 12:55:21 +02:00
Erik Jan de Wit
b68ddc2843
put focus on the right field ( #2296 )
...
fixes translation keys as well
fixes : #1180
2022-03-22 12:16:02 +01:00
agagancarczyk
12977d929c
Create attribute - required toggle in general settings ( #2279 )
...
* fixed required in general settings
* feedback
* indentation fix
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-21 14:46:01 +00:00
Erik Jan de Wit
f3d1c0fc2d
generate provider form with the dynmic components ( #2198 )
...
* generate provider form with the dynmic components
Added a FileComponent and removed the need for custom views
* fixed merge error
* fixed tests
* Update src/realm-settings/keys/key-providers/KeyProviderForm.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-03-18 14:20:23 +01:00
agagancarczyk
84d501c145
added deleting validator ( #2278 )
...
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-03-17 11:05:10 +00:00
Erik Jan de Wit
330dd33803
Always keep DEFAULT_LOCAL selected ( #2241 )
2022-03-16 14:58:25 +01:00
Erik Jan de Wit
e672849935
Fix build ( #2276 )
2022-03-16 12:11:51 +01:00
agagancarczyk
9242ba6935
Ream-settings-> User profile -> Create attribute ( #2265 )
...
* create attribute - wip
* create attribute - wip
* create attribute - added attributes general settings form template
* create attribute - added attributes permission form template
* added validations form
* added validations table
* added empty state for validators table
* added attribute annotations form
* attribute validations - css improvement
* attribute annotations - css improvement
* added requiredWhen label
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute - wip
* new attribute
* fixed deleting attribute
* put the validators into the form
* feedback fixes
* added defaultValues
* fixed permissions
* removed unused form value
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
2022-03-16 09:32:23 +00:00
Erik Jan de Wit
883e59a5a3
Remove "Revoke Refresh Token" when not revoke on ( #2234 )
2022-03-14 11:26:06 +01:00
Erik Jan de Wit
05f321fd06
Added confirm dialog on disable ( #2238 )
2022-03-14 11:16:43 +01:00
mfrances17
fc4ce1201d
fix client profile links ( #2247 )
2022-03-14 11:15:03 +01:00
Erik Jan de Wit
4ca905d667
Added filter ( #2224 )
2022-03-11 11:22:09 +01:00
Erik Jan de Wit
c73b4d2432
added hidden input to submit name when disabled ( #2222 )
2022-03-11 11:19:43 +01:00
Jenny
3a25b5e5ec
use isReadOnly ( #2221 )
2022-03-10 16:05:15 -05:00
Erik Jan de Wit
c72a9bbf06
Removed the need to refresh the page ( #2217 )
2022-03-10 11:47:04 +01:00
Erik Jan de Wit
a6cdb489b2
Removed file preview panel from keys provider ( #2197 )
2022-03-07 15:40:39 +01:00
Erik Jan de Wit
dd35ccb9bf
Reset the form when the type is changed ( #2189 )
2022-03-07 15:27:10 +01:00
Erik Jan de Wit
b7ea8629a2
Refactored the way we show time using Intl
( #2178 )
2022-03-07 14:49:38 +01:00
Jon Koops
0152e5868d
Add form for User Profile attribute groups ( #2021 )
...
* Add form for User Profile attribute groups
* Add breadcrumbs to create and edit pages
* Add hints to form fields
* Link directly to details from overview
* Disable name field when editing
* Disable adding annotations when not valid
2022-03-01 06:44:42 +01:00
Erik Jan de Wit
5c64ab6a4a
refacored the keys tab removed duplication ( #2146 )
2022-02-28 16:22:00 +01:00
Jon Koops
07098c3f5a
Fix realm settings events tests ( #2144 )
2022-02-24 12:44:40 +01:00
Jenny
ecd65b3ce7
Username field ( #2135 )
2022-02-23 15:46:56 +01:00
Erik Jan de Wit
10b53617a0
removed components that don't adhere to server configuration ( #2091 )
2022-02-21 17:30:57 +01:00
Jenny
9fa1c1303f
Add screens for rsa-enc-generated type ( #2052 )
...
* add screens for rsa-enc-generated type
* update tests
2022-02-21 13:19:41 +01:00
Jenny
14ab0ceacb
Fix policy profiles ( #2120 )
2022-02-18 11:51:03 +01:00
Erik Jan de Wit
c0a9b5cebc
Made form readonly and fixed initialisation ( #2070 )
...
* add the ablity for dynamic component to become
disabeled when used in a <FormAccess component
* add ability to manually make form readonly
* added readonly + fixed form initialize
fixes : #1898
* Update src/components/form-access/FormAccess.tsx
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2022-02-16 09:53:45 -05:00
agagancarczyk
a6904be9ff
Realm-settings -> User Profile -> Attributes ( #2107 )
...
* attributes tab - wip
* attributes tab - wip
* attributes tab - wip
* attributes tab - wip
* added dropdown for each attribute row
* added kebab logic
* added delete dialog - wip
* added delete dialog - wip
* added delete dialog - wip
* draggable rows - wip
* draggable rows - wip
* draggable rows - wip
* refactored draggable rows
* refactored draggable rows
* added tests
* added tests
* refactor
* refactor
* refactor
* renamed css file to realm-settings-section.css
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2022-02-16 11:39:08 +00:00
Erik Jan de Wit
90199db346
Added default group tab to user registration ( #1965 )
2022-02-09 12:46:58 +01:00
Erik Jan de Wit
d4b1230260
changed to use route functions ( #1919 )
...
fixes : #1196
2022-02-08 17:10:46 -05:00
Jon Koops
d85ff6e9be
Re-use User Profile logic from shared context ( #1951 )
2022-02-07 12:49:47 +01:00
Erik Jan de Wit
6a970e6cb7
updated and fixed user test ( #1956 )
...
* updated and fixed user test
* Update cypress/integration/users_test.spec.ts
* fixed the confirm button test id
* fixed tests
* fix
* removed unused refresh
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2022-02-02 12:44:52 +01:00
Jon Koops
b9224862de
Replace Lodash with it's ESM variant ( #1990 )
2022-02-02 11:33:57 +01:00
Erik Jan de Wit
b9e79b6d75
make all sub tabs routeable tabs ( #1954 )
...
* make all sub tabs routeable tabs
closes : #1507 , closes : #1204
* fixed tabless route
2022-01-31 08:19:44 +01:00
Erik Jan de Wit
db63cdd61c
Removed waits from realm test ( #1906 )
2022-01-24 15:17:55 +01:00
Jenny
3f7a912c2a
Realm settings: Return user to Policies subtab ( #1823 )
...
* add function to go to policies subtab
* use routable tabs
* use new defaultLocation prop
* rebase, lint, and tests
* unskip
* fix cancel test
2022-01-20 10:34:58 -05:00
Jon Koops
884102d83b
Make 'User Profile' tabs routable ( #1862 )
2022-01-19 10:41:52 +01:00
Jenny
b2b61c26ef
Fixes localization 500 error ( #1858 )
...
* fix localization crash
* add optional chain on themeTypes object
* add comment
2022-01-18 18:48:32 -05:00
Jon Koops
919d07c90b
Add RoutableTabs component for routed tabs ( #1852 )
2022-01-14 11:05:50 +01:00