390 Commits

Author SHA1 Message Date
Joseph Garrone
8ce355df58 #442 2023-10-27 16:10:11 +02:00
Joseph Garrone
23d6939a83
Update src/lib/pages/LoginConfigTotp.tsx 2023-10-26 12:33:52 +02:00
anankul
73b3896671
Use message string for the supported applications
Apparently, the totp.policy.supportedApplications array returns the message keys for the apps, they need to be replaced by actual translation.
2023-10-25 17:43:20 -07:00
Michael Kreuzmayr
5dc692809c Fix start container script paths for windows 2023-03-15 10:07:01 +01:00
Joseph Garrone
6e97665e2e
Merge branch 'main' into lordvlad/issue257 2023-03-09 18:33:18 +01:00
garronej
1a0fee1aa2 Make things cleaner 2023-03-08 23:21:32 +01:00
garronej
dfe909606e Deprecate useFormValidationSlice 2023-03-08 22:24:51 +01:00
Waldemar Reusch
6fd0c7726c Merge branch 'lordvlad/issue257' of github.com:InseeFrLab/keycloakify into lordvlad/issue257
* 'lordvlad/issue257' of github.com:InseeFrLab/keycloakify:
  Only test build on LTS node version
  Update dependency evt to ^2.4.15
  Update README.md
  Bump version
  Avoid passing unessesary realm values in the error.ftl page
2023-03-08 10:25:10 +01:00
Waldemar Reusch
819e045811 feat(proxy): respect XDG_CACHE_HOME if set 2023-03-08 10:24:52 +01:00
Waldemar Reusch
df9f6fd7fd
Merge branch 'main' into lordvlad/issue257 2023-03-07 17:16:24 +01:00
garronej
23fedbf94a Avoid passing unessesary realm values in the error.ftl page 2023-03-07 17:07:45 +01:00
Waldemar Reusch
851dcd5bf7 Run keycloakify behind corporate proxy
Fixes #257

Use make-fetch-happen for the download step. This lib will use `PROXY`
and `HTTPS_PROXY` and `NO_PROXY` env vars out of the box.

Additionally we'll try and get proxy config from npm. Unfortunately,
the most straightforward options is to call npm config to do this, since
npm  config is not easily extracted as a lib and we don't want to
replicate the resolution mechanisms.
2023-03-07 16:43:12 +01:00
garronej
53c0079656 Use extract instead of subtype to ease copy paste into theme repo 2023-02-27 11:55:25 +01:00
garronej
b712ed0421 Avoid using tsafe utils to avoid forcing user to install tsafe 2023-02-27 11:32:00 +01:00
garronej
d13464df3d Get rid of the ReactComponent type, classes based component are no longer used 2023-02-27 11:29:05 +01:00
garronej
96c488880c Abstract away Template logic 2023-02-27 10:39:22 +01:00
garronej
2251c84171 Use the new syntax for importing as type 2023-02-26 16:37:06 +01:00
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
6cd231426d Import Blob from node builtins 2023-02-07 01:32:20 +01:00
garronej
08e26600fd Use keycloakify as bundler by default 2023-02-05 14:58:38 +01:00
Waldemar Reusch
80618bbd9c
Merge branch 'main' into mvn-begone 2023-02-05 13:36:52 +01:00
Waldemar Reusch
38ad47ea75 use hand-crafted promise, pipeline does not resolve properly 2023-02-05 13:32:24 +01:00
Waldemar Reusch
45ed359bef fix keycloak theme source path for internal bundler 2023-02-05 13:31:34 +01:00
Waldemar Reusch
fcc26c3e7a now that main is a promise, we shuold catch errors 2023-02-05 13:31:03 +01:00
Waldemar Reusch
d4ff6b1f40 fix: bundler fix missing directory 2023-02-05 12:59:05 +01:00
Waldemar Reusch
557de34eea fix: bundler fix missing change 2023-02-05 12:56:01 +01:00
Waldemar Reusch
e034dc4d90 Merge branch 'mvn-begone' of github.com:lordvlad/keycloakify into mvn-begone
* 'mvn-begone' of github.com:lordvlad/keycloakify:
  fix(deps): update garronej_modules_update
  Update README.md
  Rollback via update
  Bump version
  keycloak test script: use env to launch bash
  fix(deps): update dependency powerhooks to ^0.22.0
  Update dependency powerhooks to ^0.21.0
  Relase candidate
  fmt
  Update README.md
  Bump version
  Update src/bin/tools/downloadAndUnzip.ts
  Bump version
  #232
  Bump version
  keycloak test script: use env to launch bash
  fix(deps): update dependency powerhooks to ^0.22.0
  Update dependency powerhooks to ^0.21.0
2023-02-05 12:35:15 +01:00
Waldemar Reusch
cfbd1e5e4b fix(bundler): fix type mismatch introduced in last-minute 'fixes' 2023-02-05 12:34:48 +01:00
garronej
1a9f6d10d4 Actually run the top level await 2023-02-04 20:50:53 +01:00
garronej
64ab400af5 Temporarly restore mvn as default bundler 2023-02-04 20:38:50 +01:00
garronej
243fbd4dc9 Set the artifactId name in the build option 2023-02-04 19:36:42 +01:00
garronej
4e6a290693 Make new node based bundler the default 2023-02-04 18:02:39 +01:00
garronej
ac05d529ca Minor fixes 2023-02-04 17:44:02 +01:00
Waldemar Reusch
b38d79004a
Merge branch 'main' into mvn-begone 2023-02-03 14:42:05 +01:00
Waldemar Reusch
f4a547df11 introduce options to choose a bundle strategy
Pick from 'none', 'keycloakify' or 'mvn', default to 'mvn'. 'none' will
not create a jar, 'keycloakify' will create a jar file using only tools
available to native nodejs, no additional  system library required.
Choosing 'mvn' will behave as before, starting maven in a subprocess.

The bundler can be chosen in `package.json` or via `KEYCLOAKIFY_BUNDLER`
env var.

This commit also adds `KEYCLOAKIFY_GROUP_ID` and
`KEYCLOAKIFY_ARTIFACT_ID` env vars, which will be used to
define group id and artifact id in pom.xml and pom.properties, if given.
2023-02-03 14:28:06 +01:00
Waldemar Reusch
2b87c35058 introduce utils for creating a jar archive 2023-02-03 14:06:24 +01:00
Waldemar Reusch
b11833e450 fix typo 2023-02-03 13:48:32 +01:00
Joseph Garrone
564e1422ac
Merge pull request #226 from lordvlad/fix-win-build
windows compatibility
2023-01-27 00:20:12 +01:00
Waldemar Reusch
8ed4ed3fc4
Update src/bin/tools/downloadAndUnzip.ts 2023-01-26 22:29:51 +01:00
Waldemar Reusch
29fe4566a7 style: remove unused variable 2023-01-26 22:20:16 +01:00
Waldemar Reusch
ae3bfb28ed refactor: follow suggesion to make methods read a bit more sync 2023-01-26 22:00:31 +01:00