191 Commits

Author SHA1 Message Date
garronej
5cfe78dcd1 Update prettier config 2023-02-26 15:39:03 +01:00
garronej
6a48325132 Be more relax on the type safety to avoir headache 2023-02-26 15:37:52 +01:00
garronej
294be0a79a see prev commit 2023-02-26 15:36:52 +01:00
garronej
c94b264b44 Don't need a dir for a single file 2023-02-26 15:36:35 +01:00
garronej
7220c4e3e3 Fix deepAssign 2023-02-26 15:35:57 +01:00
garronej
5aadeba2ec fix clsx 2023-02-26 15:35:30 +01:00
garronej
0f47a5b6ba Small Template refactor 2023-02-25 20:11:55 +01:00
garronej
37073b42be Avoir introducing breaking changes for CSS only setup 2023-02-25 19:19:46 +01:00
garronej
837501c948 Refactor 2023-02-25 18:26:39 +01:00
garronej
b300966fa8 Refactor and get rid of unessesary dependencies 2023-02-25 18:11:23 +01:00
garronej
8702ec29a8 Drop dependency to @emotion/react 2022-10-16 00:49:49 +02:00
garronej
c71c2a8710 Fix breaking change of 6.8 2022-10-15 15:39:32 +02:00
garronej
688455d0aa #191: Enable to only customize the Template 2022-10-13 11:58:31 +02:00
Joseph Garrone
5e1c5b510b
Merge pull request #185 from Mstrodl/feature/mstrodl/webauthn-authenticate
Add support for `webauthn-authenticate.ftl`
2022-10-06 20:41:31 +02:00
Mary Strodl
9e63183f4b
WebauthnAuthenticate: refactor authentication flow
Lots of weird syntax here, and we were using `useCallback` rather than
`useConstCallback`.
2022-10-06 14:25:04 -04:00
garronej
ce4ea55438 Add a big red warning when kcContext mock is enabled 2022-10-06 01:08:07 +02:00
garronej
8807743daf Ignore mock when in Keycloak: https://github.com/InseeFrLab/keycloakify/discussions/186#discussioncomment-3809320 2022-10-06 00:36:46 +02:00
Mary Strodl
4b3ae58ea7
Add support for webauthn-authenticate.ftl
Wow! This one sucks. Certainly more in need of review compared to
`login-username.ftl` and `login-password.ftl`...
2022-10-05 02:54:03 -04:00
Mary Strodl
6a0a170b17
Add support for login-password.ftl 2022-10-04 15:01:08 -04:00
Mary Strodl
e3a0639a0c
Add login-username support
Shown for the "Username Form" login step.

I would also like to work on:
- `login-password.ftl`
- `webauthn-authenticate.ftl`

But first want to see opinions on this!
2022-10-04 11:22:03 -04:00
garronej
ff16e66275 #177: Provide a simple way to disable fetching of default resources 2022-09-27 21:30:33 +02:00
garronej
8cebf049d4 Render Markdown in Terms 2022-09-09 17:24:43 +02:00
garronej
d717de006a Update kcContext def 2022-09-09 14:37:27 +02:00
garronej
1b37ba5339 Feat idp-review-user-profile.ftl #164 2022-09-09 12:56:09 +02:00
garronej
bbaa90e997 Rename misnamed default exports, removing doInsertPasswordFields 2022-09-09 10:24:50 +02:00
garronej
4159883791 Feature update-user-profile.ftl #164 2022-09-09 02:07:49 +02:00
garronej
a0be35db8b Fix compat with StrictMode react 18 2022-09-07 13:39:54 +02:00
garronej
e4a46f31de Make it allright not to provide validators object on mock data 2022-09-04 23:19:33 +02:00
garronej
5c7d3c5b44 lib target ES2017 instead of ES2020 2022-09-01 22:35:01 +02:00
garronej
b8d759cd63 Minor refactor for dryness 2022-09-01 21:31:27 +02:00
garronej
2afd36fee0 Avoid fetching locale twitch (react 18 useEffect) 2022-09-01 21:16:25 +02:00
garronej
5b20ab2f7c Upgrade to tss-react v4 2022-09-01 15:13:24 +02:00
garronej
5997416e1b Update i18n API JSDoc comments 2022-08-26 15:43:32 +07:00
garronej
9a9fc56f85 Improve documentation comment i18n (changelog ignore) 2022-08-23 07:58:39 +07:00
garronej
8031d51e15 Rename build-keycloak-theme -> keycloakify 2022-08-22 17:17:35 +07:00
garronej
a1a65c5529 Prettier: switch to trailing coma: none 2022-08-20 11:44:48 +07:00
garronej
6eaa1f69ac Fix dynamic imports 2022-08-01 06:03:48 +02:00
garronej
5aab75fae0 Only downoad terms on the Terms page 2022-08-01 04:54:02 +02:00
garronej
7407c98005 Stop self promotion in log 2022-08-01 04:49:48 +02:00
garronej
e85895ab55 User switch for dynamic import of local 2022-08-01 03:57:24 +02:00
garronej
de76d06e48 Fix build 2022-08-01 03:07:06 +02:00
garronej
a27c28c24f Avoid downloading the Terms Markdown twice in safe mode 2022-08-01 00:29:58 +02:00
garronej
7a0a046596 Refactor: Use hook instead of Context for i18n 2022-07-31 22:30:32 +02:00
garronej
0641151ca1 Fix specialization of i18n using global 2022-07-31 20:00:57 +02:00
garronej
c6dc2377fa output i18n messages to be imporable on a perl local basis 2022-07-31 19:03:20 +02:00
garronej
a3050b3983 squash 2022-07-31 19:00:57 +02:00
garronej
69c15bd473 New i18n with dynamic imports 2022-07-31 18:57:30 +02:00
garronej
d130c23f5d Do not export components in the index 2022-07-30 01:49:02 +02:00
garronej
67e3dca0c3 Minor refactor (changelog ignore) 2022-07-30 00:51:29 +02:00
garronej
de53f1ff40 Fix retrocompat with React 16 and TypeScript 3 https://github.com/garronej/tss-react/issues/95 2022-07-30 00:45:17 +02:00