214 Commits

Author SHA1 Message Date
Joseph Garrone
73a39bedf5 Apply number unformat during validation if any 2024-05-18 01:15:58 +02:00
Joseph Garrone
d04950cbc9 Load number unformat for pre form submission 2024-05-18 01:15:58 +02:00
Joseph Garrone
b4d924adfa Almost done with UserProfileFormField.tsx 2024-05-18 01:15:58 +02:00
Joseph Garrone
3f1316183d Good progress on UserProfileFormFields component 2024-05-18 01:15:58 +02:00
Joseph Garrone
b17724fdda Done with select tag 2024-05-18 01:15:58 +02:00
Joseph Garrone
41c2685dc4 Multivalued attributes that uses a single field have an inputType that starts with "multiselect" 2024-05-18 01:15:58 +02:00
Joseph Garrone
b450e3db65 If required multivalued single file must have at least one value 2024-05-18 01:15:58 +02:00
Joseph Garrone
352d2a7bc8 use valueOrValues to simplify type definitions 2024-05-18 01:15:58 +02:00
Joseph Garrone
47f2bc9cd7 We have a polyfill for Array.every 2024-05-18 01:15:58 +02:00
Joseph Garrone
2db0e8f68a Register form hook finally completed 2024-05-18 01:15:58 +02:00
Joseph Garrone
f7d733b407 Checkpoint validation supporting various multi valued fields 2024-05-18 01:15:58 +02:00
Joseph Garrone
4b78ef52e0 Progress checkpoint on useUserProfileForm 2024-05-18 01:15:58 +02:00
Joseph Garrone
f42e6764b7 Checkpoint before refactor again 2024-05-18 01:15:58 +02:00
Joseph Garrone
8f627aa382 Feature TextArea 2024-05-18 01:15:58 +02:00
Joseph Garrone
9c6e3da304 Extract field errors into a separate component 2024-05-18 01:15:58 +02:00
Joseph Garrone
319927e1dc Extract form group label into a separate component 2024-05-18 01:15:58 +02:00
Joseph Garrone
4909928d3a Progress on form reactivity 2024-05-18 01:15:58 +02:00
Joseph Garrone
423d031210 Simplify the API of useUserProfileForm 2024-05-18 01:15:58 +02:00
Joseph Garrone
ab5269ddaf Start refactor of UserProfilesFormFields 2024-05-18 01:15:58 +02:00
Joseph Garrone
96a6e81235 Implement password policy validation 2024-05-18 01:15:58 +02:00
Joseph Garrone
6d8b0e0539 do not use custom validator to check if password confirmation matches password 2024-05-18 01:15:58 +02:00
Joseph Garrone
f09ea971cf Dot not create fake attribute field, hide password confirm at an higher level 2024-05-18 01:15:58 +02:00
Joseph Garrone
8030bf42ff Big refactor of useFormValidator into useUserProfileForm 2024-05-18 01:15:58 +02:00
Joseph Garrone
008fa2b0c4 Add multivalued field validator 2024-05-18 01:15:58 +02:00
Joseph Garrone
9040704659 Update KcContext type def, use an ext to get password policies. 2024-05-18 01:15:58 +02:00
Joseph Garrone
7e793cabe8 Refactor useFormValidation 2024-05-18 01:15:58 +02:00
Joseph Garrone
f1a0887e9b checkpoint update on useFormValidation 2024-05-18 01:15:58 +02:00
Joseph Garrone
f6bdd92f9e Update Login template for Keycloak 24 2024-05-18 01:15:58 +02:00
Joseph Garrone
a0367066b4 Feat polifill for getFirstError and make existsError accept more than one field (kcContext.messagePerField) 2024-05-18 01:15:58 +02:00
Joseph Garrone
a7a3ec711b Fully sync login template with Keycloak 24 2024-05-18 01:15:58 +02:00
Joseph Garrone
de5bc82382 Update css classes keys to reflect Keycloak 24 2024-05-18 01:15:58 +02:00
Joseph Garrone
138208bf82 Update prepare template for Keycloak 24 2024-05-18 01:15:58 +02:00
Joseph Garrone
6991d868be Set html lang property and page title in usePrepareTemplate 2024-04-10 01:38:59 +02:00
Joseph Garrone
5bf33aae75 Better support for environnement variables 2024-03-02 09:29:36 +01:00
Joseph Garrone
1bb0c9dfc2 Add generic type for kcContext.properties 2024-03-02 09:01:57 +01:00
Joseph Garrone
63c40fd816 Add type definition for the user property in the kcContext of the terms.ftl page 2024-02-27 23:55:06 +01:00
Joseph Garrone
442bfa4ed6 Update types to reflect what is actually there on the kcContext 2024-02-21 20:43:18 +01:00
Joseph Garrone
e3e6847c82 Prevent users from having to use any 2024-02-12 13:27:07 +01:00
Joseph Garrone
05e5e4efec When is storybook, don't print mock related warning in console 2024-02-11 00:21:04 +01:00
Joseph Garrone
ef5e4fccd3 Replace the common asset path url in the ftl (upstream) to help pepole figure out what's going on 2024-02-10 20:04:08 +01:00
Joseph Garrone
bda76200d7 Base url that works everywhere in mocks 2024-02-10 19:51:24 +01:00
Joseph Garrone
c091089830 Apply #502 from main 2024-02-06 07:59:21 +01:00
Joseph Garrone
fde34be270 Compiling build 2024-01-30 07:10:53 +01:00
Joseph Garrone
b1e2284c0e Fix condition for displaying info in login page 2024-01-26 00:55:50 +01:00
tmoulart
faf2be23d9 Add "kcInputGroup" in ClassKey type definition and the patternfly class associated in useGetClassName 2024-01-18 17:31:16 +01:00
Rlok
a27d78fcdf
refactor: point the import statement to keycloakify instead of internal
align import statement with other page templates
2024-01-15 14:03:01 +08:00
Joseph Garrone
d5f234909f Merge branch 'main' of https://github.com/keycloakify/keycloakify 2024-01-10 12:43:11 +01:00
Joseph Garrone
600705130f #483: Enable the Template prop not to be lazy 2024-01-10 12:42:48 +01:00
Felix Gustavsson
116f88a503 Fixes #473: Set document title using the "loginTitle" translation 2023-12-18 11:56:37 +01:00
Joseph Garrone
2e8cd375fc
Merge pull request #462 from BlackVoid/fix/client-attributes
Fixes #460: Fixes KcContext to contain attributes for client object
2023-11-30 18:52:26 +01:00