From 9b700f1b56966953130919ea96b58d33d8c2e92b Mon Sep 17 00:00:00 2001 From: Clemens Date: Fri, 16 Jun 2023 15:58:36 +0200 Subject: [PATCH] Fixed c4k-forgejo browser UI --- src/main/cljs/dda/c4k_forgejo/browser.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/cljs/dda/c4k_forgejo/browser.cljs b/src/main/cljs/dda/c4k_forgejo/browser.cljs index 2ba8bf2..70caf09 100644 --- a/src/main/cljs/dda/c4k_forgejo/browser.cljs +++ b/src/main/cljs/dda/c4k_forgejo/browser.cljs @@ -30,11 +30,11 @@ "domain" (cm/concat-vec (br/generate-input-field "fqdn" "Your fqdn:" "repo.test.de") - (br/generate-input-field "deploy-federated" "Deploy a federated version of forgejo:" "false") (br/generate-input-field "mailer-from" "Your mailer email address:" "test@test.de") (br/generate-input-field "mailer-host" "Your mailer host:" "test.de") (br/generate-input-field "mailer-port" "Your mailer port:" "123") (br/generate-input-field "service-noreply-address" "Your noreply domain:" "test.de") + (br/generate-input-field "deploy-federated" "(Optional) Deploy a federated version of forgejo:" "") (br/generate-input-field "issuer" "(Optional) Your issuer prod/staging:" "") (br/generate-input-field "app-name" "(Optional) Your app name:" "") (br/generate-input-field "domain-whitelist" "(Optional) Domain whitelist for registration email-addresses:" ""))) @@ -84,11 +84,11 @@ (defn validate-all! [] (br/validate! "fqdn" ::forgejo/fqdn) - (br/validate! "deploy-federated" ::forgejo/deploy-federated) (br/validate! "mailer-from" ::forgejo/mailer-from) (br/validate! "mailer-host" ::forgejo/mailer-host) (br/validate! "mailer-port" ::forgejo/mailer-port) (br/validate! "service-noreply-address" ::forgejo/service-noreply-address) + (br/validate! "deploy-federated" ::forgejo/deploy-federated :optional true) (br/validate! "issuer" ::forgejo/issuer :optional true) (br/validate! "app-name" ::forgejo/default-app-name :optional true) (br/validate! "domain-whitelist" ::forgejo/service-domain-whitelist :optional true)