435 Commits

Author SHA1 Message Date
Waldemar Reusch
3a6fe1b374 fix(cache): fix download caches
* also fix npm config running 4 times in the worst case
* factor out unzip methods
* factor and enhance trimindent
* factor out more utils
* restore windows build, which failed cause generate-i18n-messages did not write any files
2023-03-29 09:54:29 +02:00
Waldemar Reusch
0ba2f37004 Merge branch 'main' into fix-download-cache 2023-03-29 09:22:55 +02:00
Justus Jylhä
1669c38bc9 feat: add update-email.ftl page 2023-03-28 10:26:24 +03:00
garronej
c6ce6d1b49 #281: Add location and occupation to user attribute (as a patch until https://github.com/keycloakify/keycloakify/issues/40%23issuecomment-1202102662) 2023-03-28 05:19:35 +02:00
garronej
a22b231982 Mute max listener warning 2023-03-25 05:11:25 +01:00
garronej
910bfe2318 Fix previous release 2023-03-25 05:09:28 +01:00
garronej
bf6c846fac Use locate theme dir in eject script 2023-03-25 04:56:17 +01:00
garronej
9f7fe0d8f7 Fix error initialization email 2023-03-25 04:42:44 +01:00
garronej
fff4dba708 #276: Add build option to select keycloak default assets version 2023-03-25 04:28:10 +01:00
garronej
f4f7ab3e49 Make email theme initialization work with theme-only projects 2023-03-25 04:20:10 +01:00
garronej
92c1486f6a Fix previous release 2023-03-24 06:25:25 +01:00
garronej
be57801e21 Fix email theme path 2023-03-24 05:50:40 +01:00
garronej
1e863672cb Find the email theme in src 2023-03-24 05:43:34 +01:00
garronej
05163f22cb Rename InseeFrLab to Keycloakify 2023-03-24 04:14:41 +01:00
garronej
3294aaed3b Pefrorm Keycloak theme download in paralel 2023-03-22 03:34:44 +01:00
garronej
5f43f1afc6 Shot a new post build tutorial video 2023-03-22 01:46:05 +01:00
garronej
d951a9ba02 Improve post build instructions 2023-03-21 23:21:30 +01:00
garronej
dd75d0ece7 Account theme specific instructions 2023-03-21 19:44:01 +01:00
garronej
8b101e5043 Fix error in log related to getLogoUrl 2023-03-21 16:47:30 +01:00
garronej
0c5b100dd9 Update post build instructions 2023-03-21 15:16:23 +01:00
Waldemar Reusch
253825a35e
fix(download): fix download cache not behaving as expected 2023-03-21 14:48:16 +01:00
garronej
ec479c7e91 Update initialize-email-theme script 2023-03-21 01:50:21 +01:00
garronej
fd7760d9ed Update eject-keycloak-page 2023-03-21 01:18:02 +01:00
garronej
5b4aeca63c Done implementing the templates and the two first pages 2023-03-20 05:14:25 +01:00
garronej
17871daf0c Build account theme 2023-03-20 01:48:03 +01:00
garronej
cdd4460968 Rename iitialize-email-theme 2023-03-20 01:30:42 +01:00
garronej
fa6a37880b Fix script for account and email 2023-03-20 01:30:16 +01:00
garronej
aaac1f54e8 Untrack generated messages 2023-03-20 00:03:15 +01:00
garronej
59d47592d9 Fix other scripts 2023-03-19 16:58:26 +01:00
garronej
b573bc20b5 Fix 2023-03-19 16:37:35 +01:00
garronej
7ad9d7b291 Remove all unessesary relative import 2023-03-19 16:28:38 +01:00
garronej
dbbfa07639 Feature new script: Eject-keycloak-page 2023-03-19 15:52:41 +01:00
garronej
2eccc86e83 Remove eventEmitter warning 2023-03-18 19:02:17 +01:00
garronej
43e4dd6bb6 Fix build for real 2023-03-18 16:17:33 +01:00
garronej
0040464ca1 Move lib up one level 2023-03-16 22:43:09 +01:00
garronej
79997efbb6 First commit towars supporting account theme 2023-03-16 22:13:46 +01:00
Michael Kreuzmayr
5dc692809c Fix start container script paths for windows 2023-03-15 10:07:01 +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
5cfe78dcd1 Update prettier config 2023-02-26 15:39:03 +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