1263 Commits

Author SHA1 Message Date
Joseph Garrone
9f8a36fe93 Fix allegated vulnerability 2024-09-30 11:48:57 +02:00
Joseph Garrone
8cacb21f1b Remove unessesary reference to react specific construct in KcContext 2024-09-30 01:22:37 +02:00
Joseph Garrone
da3023cf5e Refactor: Make ClassKey importable without having react as a dependency 2024-09-30 00:31:27 +02:00
Joseph Garrone
802a6ab5ec Explicitely prohibit space and special character in theme names 2024-09-28 00:34:24 +02:00
Joseph Garrone
04307c8226 Remove dead code 2024-09-28 00:17:17 +02:00
Joseph Garrone
ff6b91b801 refactor 2024-09-28 00:05:19 +02:00
Joseph Garrone
c8ca598465 Refactor 2024-09-27 23:45:14 +02:00
Joseph Garrone
9444b897ee #669 2024-09-27 23:37:23 +02:00
Joseph Garrone
3d1951b72c Merge together generateResourcesForMainTheme and generateResourcesForThemeVariant 2024-09-27 23:05:51 +02:00
Joseph Garrone
2f02a4379c Enable i18n in Single-Page account theme 2024-09-25 10:26:25 +02:00
Joseph Garrone
f57f311aab Fix async io not awaited and don't crash if .ftl files does not exist for some reason 2024-09-24 19:47:01 +02:00
Joseph Garrone
23179cac53 Fix last bug 2024-09-23 00:19:34 +02:00
Joseph Garrone
954c3319bb Fix bug in label resolution 2024-09-22 23:46:45 +02:00
Joseph Garrone
eb6ec0275d Remove debug log 2024-09-22 22:53:31 +02:00
Joseph Garrone
890f8bc2d5 Fix: Forget to create a dir before writing files 2024-09-22 22:53:13 +02:00
Joseph Garrone
26b8dd9cda Improve intentionality 2024-09-22 22:48:31 +02:00
Joseph Garrone
c07af8491c Complete statical parsing of withExtraLanguages 2024-09-22 22:46:56 +02:00
Joseph Garrone
10d4da9fbf No need to escape since we sanitize 2024-09-22 22:18:24 +02:00
Joseph Garrone
95e861099f Integrate kcSanitize 2024-09-22 20:41:18 +02:00
Joseph Garrone
ddb0af1dcb Vendor dompurify, use isomorphic-dompurify only for tests 2024-09-22 20:12:11 +02:00
Joseph Garrone
b6e9043d91 Reorganize kcSanitarize 2024-09-22 18:56:05 +02:00
Joseph Garrone
2a6b14adc6
Merge pull request #666 from uchar/fix/dangerouslySetInnerHTML
Fix/dangerously set inner html
2024-09-22 18:27:25 +02:00
Joseph Garrone
159a5f60d0 Add missing scope in ftl template 2024-09-22 18:22:11 +02:00
Joseph Garrone
08f03b3118 Merge branch 'main' into i18n_extraLanguages_and_perThemeVariantTranslations 2024-09-22 18:15:25 +02:00
Joseph Garrone
f137960f96 Reneame useStylesAndScript to useInitialize 2024-09-22 18:12:46 +02:00
Joseph Garrone
e5ab46727a Make the i18n API more type safe 2024-09-22 17:14:03 +02:00
Joseph Garrone
8d2679b76e Progess in parsing of the extra languages provided by the user 2024-09-22 15:39:32 +02:00
Joseph Garrone
b0b6b994ed Almost done, left to extract the extra language resources 2024-09-22 04:39:24 +02:00
Joseph Garrone
439bed2f24 Update account theme i18n.ts boilerplate 2024-09-21 23:41:08 +02:00
Joseph Garrone
5a233d8878 Avoid too many types declaration indirections 2024-09-21 23:35:44 +02:00
Joseph Garrone
20cdbb6185 Rename .create() by .build() for i18nBuilder 2024-09-21 23:21:15 +02:00
Joseph Garrone
b3c4208e44 Rename i18nInitializer by i18nBuilder 2024-09-21 23:09:12 +02:00
Joseph Garrone
8623037224 Various little adjustments relative to the new i18n API 2024-09-21 22:35:30 +02:00
Joseph Garrone
e8d3d3d741 Automatically generate account i18n code 2024-09-21 21:44:14 +02:00
Joseph Garrone
cc700f0ba0 Untrack account i18n, code will be generated automatically 2024-09-21 21:33:57 +02:00
Joseph Garrone
801a5cce17 Enable to add label to extra message not in the default set 2024-09-21 21:33:04 +02:00
Joseph Garrone
2a3ad58c18 Throw an error if providing translation for a language that is already supported 2024-09-21 18:17:43 +02:00
Joseph Garrone
969744f4cb Complete runtime API implementation 2024-09-21 17:59:16 +02:00
Joseph Garrone
40ebbdebeb Fix some type errors 2024-09-21 04:45:00 +02:00
Joseph Garrone
eb64886dcf Generate LanguageTage.ts 2024-09-21 04:36:48 +02:00
uchar
81fc9d57bd remove async from sanitize 2024-09-18 18:37:17 +03:30
uchar
66b480f837 use textarea on client for decode 2024-09-18 11:13:49 +03:30
uchar
7e6a84ce19 Add more tests 2024-09-17 09:39:07 +03:30
uchar
b7c9ba8ffd Merge branch 'main' of https://github.com/uchar/keycloakify into fix/dangerouslySetInnerHTML 2024-09-17 01:01:02 +03:30
uchar
c8a31c4b6a Add KCSantisizer 2024-09-17 00:56:46 +03:30
Joseph Garrone
9a97d86ff9 #638 #631 Follow up 2024-09-16 14:30:27 +02:00
Joseph Garrone
9b22d94600 Remove previous .keycloakify dir 2024-09-16 13:49:54 +02:00
Joseph Garrone
b4e94d3c00 Use keycloakify-dev-resources instead of .keycloakify 2024-09-16 13:37:29 +02:00
Joseph Garrone
aad89a2001 Start implementing per theme variant translations and ability to add extra languages 2024-09-15 16:55:18 +02:00
Michael Kreuzer
ef4f4d8374 allow docker start script to work with podman 2024-09-13 10:58:52 +02:00