From f29b119d8db6e4479dc8ca662b744ec2a0e0ff6a Mon Sep 17 00:00:00 2001 From: Peter Skopek Date: Wed, 9 Oct 2024 18:21:51 +0200 Subject: [PATCH] Downloads page has wrong Keycloak Javascript Adapter artifacts file names generated Closes #512 Signed-off-by: Peter Skopek --- templates/downloads-211.ftl | 266 ++++++++++++++++++++++++++++++++++++ templates/downloads-22.ftl | 12 +- templates/downloads-23.ftl | 12 +- templates/downloads-24.ftl | 12 +- versions/21.1.0.json | 2 +- versions/21.1.1.json | 2 +- versions/21.1.2.json | 2 +- 7 files changed, 299 insertions(+), 9 deletions(-) create mode 100644 templates/downloads-211.ftl diff --git a/templates/downloads-211.ftl b/templates/downloads-211.ftl new file mode 100644 index 00000000..32770e42 --- /dev/null +++ b/templates/downloads-211.ftl @@ -0,0 +1,266 @@ +<#macro download category label file tar=true zip=true tgz=false> +<#if zip> + + + + ZIP + +(sha1) + + +<#if tar> + + + + TAR.GZ + +(sha1) + + +<#if tgz> + + + + TGZ + + + + + +

Server

+ + + + + + + + + + + + + + + + + + + + + + + + +
KeycloakDistribution powered by Quarkus + <@download category="server" label="standalone" file="keycloak-${version.version}" /> +
Container imageFor Docker, Podman, Kubernetes and OpenShift + + + Quay + +
OperatorFor Kubernetes and OpenShift + + + OperatorHub + +
Third-party licensesLicense and source code information for third-party dependencies + + + HTML + +
+ +

Quickstarts

+ + + + + + + + +
Quickstarts distribution + + <#if quickstartsTag??> + <#assign quickstartsLink="https://github.com/keycloak/keycloak-quickstarts/tree/${version.version}"/> + <#else> + <#assign quickstartsLink="https://github.com/keycloak/keycloak-quickstarts"/> + + + + + GitHub + + + + + + ZIP + + +
+ + +

Client Adapters

+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
WildFly [DEPRECATED] + + + + + +
<= 23 + <@download category="adapter" label="wildfly" file="keycloak-oidc-wildfly-adapter-${version.version}" tar=true /> +
+
JBoss EAP [DEPRECATED] + + + + + +
7 + <@download category="adapter" label="eap7" file="keycloak-oidc-wildfly-adapter-${version.version}" tar=true /> +
+
JavaScript + + + + + +
+ + + NPM + + + <@download category="adapter" label="js" file="keycloak-js-${version.version}" zip=false tar=false tgz=true /> +
+
Node.js [DEPRECATED] + + + + + +
+ + NPM + +
+
Jetty [DEPRECATED] + + + + + +
9.4 + <@download category="adapter" label="jetty9.4" file="keycloak-oidc-jetty94-adapter-${version.version}" tar=true /> +
+
Tomcat [DEPRECATED] + + + + + +
8, 9 + <@download category="adapter" label="tomcat" file="keycloak-oidc-tomcat-adapter-${version.version}" tar=true /> +
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
WildFly + + + + + +
+ <= 23 + + <@download category="adapter-saml" label="wildfly" file="keycloak-saml-wildfly-adapter-${version.version}" tar=true /> +
+
JBoss EAP + + + + + +
7 + <@download category="adapter-saml" label="eap7" file="keycloak-saml-wildfly-adapter-${version.version}" tar=true /> +
+
Jetty [DEPRECATED] + + + + + +
9.4 + <@download category="adapter-saml" label="jetty9.4" file="keycloak-saml-jetty94-adapter-${version.version}" tar=true /> +
+
Tomcat [DEPRECATED] + + + + + +
8, 9 + <@download category="adapter-saml" label="tomcat" file="keycloak-saml-tomcat-adapter-${version.version}" tar=true /> +
+
+
+
+
diff --git a/templates/downloads-22.ftl b/templates/downloads-22.ftl index 21336106..8380e7c5 100644 --- a/templates/downloads-22.ftl +++ b/templates/downloads-22.ftl @@ -1,4 +1,4 @@ -<#macro download category label file tar=true zip=true> +<#macro download category label file tar=true zip=true tgz=false> <#if zip> @@ -17,6 +17,14 @@ (sha1) +<#if tgz> + + + + TGZ + + +

Server

@@ -117,7 +125,7 @@ NPM - <@download category="adapter" label="js" file="keycloak-oidc-js-adapter-${version.version}" tar=true /> + <@download category="adapter" label="js" file="keycloak-js-${version.version}" zip=false tar=false tgz=true /> diff --git a/templates/downloads-23.ftl b/templates/downloads-23.ftl index ed8601eb..fd9f25a3 100644 --- a/templates/downloads-23.ftl +++ b/templates/downloads-23.ftl @@ -1,4 +1,4 @@ -<#macro download category label file tar=true zip=true> +<#macro download category label file tar=true zip=true tgz=false> <#if zip> @@ -17,6 +17,14 @@ (sha1) +<#if tgz> + + + + TGZ + + +

Server

@@ -117,7 +125,7 @@ NPM - <@download category="adapter" label="js" file="keycloak-oidc-js-adapter-${version.version}" tar=true /> + <@download category="adapter" label="js" file="keycloak-js-${version.version}" zip=false tar=false tgz=true /> diff --git a/templates/downloads-24.ftl b/templates/downloads-24.ftl index 87cd88bf..9dc71943 100644 --- a/templates/downloads-24.ftl +++ b/templates/downloads-24.ftl @@ -1,4 +1,4 @@ -<#macro download category label file tar=true zip=true> +<#macro download category label file tar=true zip=true tgz=false> <#if zip> @@ -17,6 +17,14 @@ (sha1) +<#if tgz> + + + + TGZ + + +

Server

@@ -113,7 +121,7 @@ NPM - <@download category="adapter" label="js" file="keycloak-oidc-js-adapter-${version.version}" tar=true /> + <@download category="adapter" label="js" file="keycloak-js-${version.version}" zip=false tar=false tgz=true /> diff --git a/versions/21.1.0.json b/versions/21.1.0.json index cdfbf7f1..60b0dbec 100644 --- a/versions/21.1.0.json +++ b/versions/21.1.0.json @@ -3,5 +3,5 @@ "version": "21.1.0", "blogTemplate": 2, "documentationTemplate": 11, - "downloadTemplate": 21 + "downloadTemplate": 211 } diff --git a/versions/21.1.1.json b/versions/21.1.1.json index f8690214..479a4d5a 100644 --- a/versions/21.1.1.json +++ b/versions/21.1.1.json @@ -3,5 +3,5 @@ "version": "21.1.1", "blogTemplate": 2, "documentationTemplate": 11, - "downloadTemplate": 21 + "downloadTemplate": 211 } diff --git a/versions/21.1.2.json b/versions/21.1.2.json index 917b223f..53da4061 100644 --- a/versions/21.1.2.json +++ b/versions/21.1.2.json @@ -3,5 +3,5 @@ "version": "21.1.2", "blogTemplate": 2, "documentationTemplate": 11, - "downloadTemplate": 21 + "downloadTemplate": 211 }