435 Commits

Author SHA1 Message Date
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
garronej
14aab97d8a Merge branch 'main' of https://github.com/InseeFrLab/keycloakify 2023-01-26 10:50:01 +01:00
garronej
f338dcbeed #232 2023-01-26 10:48:24 +01:00
rome-user
84ca9e6b81
keycloak test script: use env to launch bash
This minor change allows users to use the latest version of `bash` on Mac OS.

`/bin/bash` is very old on Mac OS, and many users will have `bash` from MacPorts or Homebrew. This change allows such users to be able to use the newer `bash` installation.
2023-01-22 17:28:27 -08:00
Waldemar Reusch
1a0e05d073 rewrite download and unzip to use nodejs native methods 2023-01-16 14:42:20 +01:00
Waldemar Reusch
85cecc9811 fix(build): _properly_ fix bin paths 2023-01-12 22:56:02 +01:00
Waldemar Reusch
9899f742a8 fix(build): also rewrite bin paths in dist/package.json 2023-01-12 22:51:48 +01:00
Waldemar Reusch
b5484740b7 fix(build): remove dependency on *nix chown 2023-01-12 22:27:22 +01:00
garronej
6fb936798e https://github.com/InseeFrLab/keycloakify/issues/217#issuecomment-1376849781 2023-01-10 09:05:19 +01:00
garronej
49b87777f9 Fmt 2023-01-08 14:57:18 +01:00
Waldemar Reusch
d4523bb1e6
Merge branch 'main' into patch-1 2023-01-08 12:22:14 +01:00
Waldemar Reusch
e3200899e2
fix: replace rm system calls with nodejs native functions; closes #219 2023-01-08 12:19:41 +01:00
Pedro Dos Santos
bbe828071e fix - handle username and password login errors the same 2023-01-06 15:41:01 +01:00
garronej
af77b31d54 Update default test container to Keycloak 20.0.1 2022-11-11 15:48:32 +01:00
garronej
ab906ec417 #192: fix bad logic in ftl to js script 2022-10-15 14:22:11 +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
9a21656706 Apply #164 on v6 2022-09-13 10:49:20 +02:00
garronej
b421633a8a Default test container use 19.0.1 2022-09-12 23:48:34 +02:00
garronej
1b37ba5339 Feat idp-review-user-profile.ftl #164 2022-09-09 12:56:09 +02:00
garronej
4159883791 Feature update-user-profile.ftl #164 2022-09-09 02:07:49 +02:00
Joseph Garrone
36e32d6ddc
Update src/bin/download-builtin-keycloak-theme.ts 2022-09-08 15:13:21 +02:00
Joseph Garrone
84908e2ec0
Update src/bin/generate-i18n-messages.ts 2022-09-08 15:13:15 +02:00
Joseph Garrone
a2dc51d811
Update src/bin/create-keycloak-email-directory.ts 2022-09-08 15:13:09 +02:00
German Ivanov
fb3b0e2c29 fix: make sure external assets flag is a boolean 2022-09-08 15:46:27 +03:00
German Ivanov
11b2342da0 feat: add silent flag 2022-09-08 13:52:10 +03:00
garronej
a13f710325 Important fix for --external-assets 2022-09-07 11:50:24 +02:00
garronej
875322669c Rename isAppAndKeycloakServerSharingSameDomain to areAppAndKeycloakServerSharingSameDomain #145 2022-09-07 11:25:46 +02:00
garronej
8e6f597027 Fix bug with --external-assets 2022-09-06 17:39:47 +02:00
garronej
c4b985f1a4 Fix replacers 2022-09-05 00:08:50 +02:00
garronej
6d9e62d2b4 Remove unessesary log 2022-09-04 21:48:46 +02:00
garronej
30e20f4e7d Avoid redefining the properties 2022-09-01 17:22:15 +02:00