94 Commits

Author SHA1 Message Date
Joseph Garrone
60a9b5a693 Improve i18n api typing 2024-12-06 00:38:09 +01: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
e5ab46727a Make the i18n API more type safe 2024-09-22 17:14:03 +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
969744f4cb Complete runtime API implementation 2024-09-21 17:59:16 +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
68e7642827 Remove extra comment 2024-09-17 01:11:14 +03:30
uchar
c8a31c4b6a Add KCSantisizer 2024-09-17 00:56:46 +03:30
Joseph Garrone
93c1c56279 Refactor checkpoint 2024-09-08 00:06:47 +02:00
Joseph Garrone
3e80aaf242 Fix vitest setup 2024-07-25 20:03:03 +02:00
Joseph Garrone
70ac07d861 css replace: Don't choke on parenthesis in urls 2024-07-14 17:45:34 +02:00
Joseph Garrone
d8e3fdeb14 Always use quotes in CSS urls 2024-07-14 16:58:35 +02:00
Joseph Garrone
f172b94467 Use uppercase for constants 2024-07-13 19:33:59 +02:00
Joseph Garrone
2754900f7a Refactor of the FreeMarker template 2024-07-13 18:17:21 +02:00
Joseph Garrone
c4638daf1b Support building account v3 2024-07-07 18:45:14 +02:00
Joseph Garrone
12fd6160c5 Fix inline CSS in html 2024-06-19 22:41:25 +02:00
Joseph Garrone
5423a07c47 Patch CSS for Keycloak by using relative paths instead of css variables 2024-06-19 01:41:22 +02:00
Joseph Garrone
d5fa6ca89a Fix unit tests 2024-06-16 17:55:06 +02:00
Joseph Garrone
f1475e5cdf Settle on calling the global 'kcContext' and reduce levels of indirections 2024-06-14 22:24:51 +02:00
Joseph Garrone
c126d080bc Make tests pass on windows OS 2024-06-14 19:06:48 +02:00
Joseph Garrone
2441d8ed8a Fix tests 2024-06-09 09:36:16 +02:00
Joseph Garrone
1a48681591 getClassName -> kcClsx 2024-06-09 08:27:07 +02:00
Joseph Garrone
f0cdb0b80b Fix build 2024-06-06 09:31:27 +02:00
Joseph Garrone
148f7fa316 Rollback unarrowing of the getKcContextMock return type 2024-06-06 02:29:09 +02:00
Joseph Garrone
aa8dc1919f Make getKcContext mock return type less narrow 2024-06-05 23:24:21 +02:00
Joseph Garrone
c7c9b19853 Fix case error 2024-06-05 23:08:40 +02:00
Joseph Garrone
68c26e0f5b Fix case issue 2024-06-05 22:55:09 +02:00
Joseph Garrone
e8a11991a0 Rename kcContext -> KcContext and improve consistency 2024-06-05 21:13:58 +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
37c90d53e0 Fix tests 2024-05-26 12:42:13 +02:00
Joseph Garrone
22e7ff1424 Update prettier configuration 2024-05-20 15:50:58 +02:00
Joseph Garrone
d4f03b6b9e bin general reresh, introducing termost 2024-05-18 01:17:31 +02:00
Joseph Garrone
e6661cb898 Fix build 2024-02-11 23:22:37 +01:00
Joseph Garrone
6d62b5a150 Don't replace process.env.PUBLIC_URL 2024-02-09 17:56:28 +01:00
Joseph Garrone
dca8c9f9d7 Merge main, fix runtime error in scripts, fix clean build 2024-02-07 20:01:26 +01:00
Joseph Garrone
5076c1e93f Unit test passing 2024-02-06 07:28:03 +01:00
Joseph Garrone
4c2e01a7a8 Done with implementation of webpack js replacer test case for support of non root base 2024-01-30 00:56:47 +01:00
Joseph Garrone
7267d2ef38 Add a test case for the code that enable the import to work in webpack if base isn't / 2024-01-30 00:37:30 +01:00
Joseph Garrone
1eb6b154f7 Rearenge test case 2024-01-30 00:15:08 +01:00
Joseph Garrone
f55d61bf0b Rename test case file 2024-01-30 00:10:59 +01:00
Joseph Garrone
5b350274bd Fundation 2024-01-30 00:06:17 +01:00
Joseph Garrone
66e595e649 Vite investigations 2024-01-27 18:49:29 +01:00
Joseph Garrone
b67aeb0d3a Fix tests #471 2023-12-14 15:33:57 +01:00
Joseph Garrone
b5818888bb
Merge branch 'v9' into v9_tmp 2023-11-26 14:45:23 +01:00