43 Commits

Author SHA1 Message Date
Joseph Garrone
8623037224 Various little adjustments relative to the new i18n API 2024-09-21 22:35:30 +02:00
Joseph Garrone
1d8b6c7792 Fix logical error in multivalued attributes 2024-08-25 03:19:34 +02:00
Joseph Garrone
5d786c922f Enable the errors to be displayed immediately and not after focus is lost 2024-07-31 18:45:48 +02:00
Joseph Garrone
c0d127e4f4 #593 2024-07-23 14:58:39 +02:00
Joseph Garrone
4292c0c642 Rework i18n 2024-07-13 09:07:11 +02:00
Joseph Garrone
9dca515a42 Add group annotations to Attribute 2024-07-13 08:00:16 +02:00
Joseph Garrone
7c257d97a7 #577 2024-07-04 19:53:57 +02:00
Joseph Garrone
ffb27fc66d Extract Props from UserProfileFormFields so it's ejectable 2024-06-11 20:27:03 +02:00
Joseph Garrone
287dd9bd31 Refactor + attributes with options rendered by default as select inputs 2024-06-11 09:22:50 +02:00
Joseph Garrone
7a040935e9 i18n need to be passed as props if we want to be able to ovewrite 2024-06-09 11:20:45 +02:00
Joseph Garrone
1a48681591 getClassName -> kcClsx 2024-06-09 08:27:07 +02:00
Joseph Garrone
e8a11991a0 Rename kcContext -> KcContext and improve consistency 2024-06-05 21:13:58 +02:00
Joseph Garrone
b1da684008 Re implement asset fetching 2024-06-05 06:10:11 +02:00
Joseph Garrone
b780d7136e Fix mistake after using attributesByName instead of attributes 2024-06-03 23:25:02 +02:00
Joseph Garrone
c1a63edd71 Refactor kcContext, avoid having mocks in the dist https://github.com/keycloakify/keycloakify/discussions/299#discussioncomment-9616747 2024-06-03 18:28:34 +02:00
Joseph Garrone
6cdb83d730 Fix the way we handle multivalued single fileld (multiselct, multiselect-checkboxes) 2024-06-02 00:24:07 +02:00
Joseph Garrone
95f06df45d Extenalize some core logic from the ejectable component 2024-06-01 22:54:17 +02:00
Joseph Garrone
d84546cd7d Correct error validation password policy 2024-05-30 22:50:06 +02:00
Joseph Garrone
ccc5ac6a1f Update prettier configuration 2024-05-20 19:30:15 +02:00
Joseph Garrone
22e7ff1424 Update prettier configuration 2024-05-20 15:50:58 +02:00
Joseph Garrone
b893eee086 Don't trust the type system to much, we don't know for sure what the kcContext is actually like 2024-05-20 10:07:34 +02:00
Joseph Garrone
0a72791022 Fix useUserProfileForm reducer 2024-05-18 01:17:31 +02:00
Joseph Garrone
43092ce81a Fix ftl template not correctly parsing numbers 2024-05-18 01:15:58 +02:00
Joseph Garrone
570fbd5632 Effort toward reconsiliating the server templating and the react world 2024-05-18 01:15:58 +02:00
Joseph Garrone
0cfa8de0ad Update update-email.ftl page 2024-05-18 01:15:58 +02:00
Joseph Garrone
f97d33ffc1 Refactor and handle legacy login-update-profile.ftl 2024-05-18 01:15:58 +02:00
Joseph Garrone
f0ffb3fc10 Fully retrocompatible, factorized Register page 🚀 2024-05-18 01:15:58 +02:00
Joseph Garrone
a633423b72 Do not inject password field when password isn't required 2024-05-18 01:15:58 +02:00
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
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
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
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