From 673c3ce91897ffe2866fddbf8751aa26ef40e582 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Tue, 19 Dec 2023 18:39:37 +0100 Subject: [PATCH] add new domain properties --- web/hsadmin.properties | 2 +- .../main/java/de/hsadmin/web/DomainOptionsEditor.java | 10 +++++++--- web/src/main/resources/de/hsadmin/web/main.properties | 10 +++++++++- .../main/resources/de/hsadmin/web/main_de.properties | 8 ++++++++ .../main/resources/de/hsadmin/web/main_es.properties | 4 ++++ 5 files changed, 29 insertions(+), 5 deletions(-) diff --git a/web/hsadmin.properties b/web/hsadmin.properties index 605ab9f..b643350 100644 --- a/web/hsadmin.properties +++ b/web/hsadmin.properties @@ -1,5 +1,5 @@ backendURL=https://config.hostsharing.net:443/hsar/backend -xmlrpcURL=https://config.hostsharing.net:443/hsar/xmlrpc/hsadmin +xmlrpcURL=https://config-test.hostsharing.net:443/hsar/xmlrpc/hsadmin loginURL=https://login.hostsharing.net:443/cas/v1/tickets ;xmlrpcURL=http://localhost:8080/cust-webapp/xmlrpc/hsadmin ;loginURL=TestUmgebung diff --git a/web/src/main/java/de/hsadmin/web/DomainOptionsEditor.java b/web/src/main/java/de/hsadmin/web/DomainOptionsEditor.java index 9bd72e2..2732a18 100644 --- a/web/src/main/java/de/hsadmin/web/DomainOptionsEditor.java +++ b/web/src/main/java/de/hsadmin/web/DomainOptionsEditor.java @@ -21,14 +21,18 @@ public class DomainOptionsEditor extends CustomComponent implements IHSEditor { private static final String[] OPTIONS = new String[] { "greylisting", + "autoconfig", + "dkim", + "backupmxforexternalmx", "multiviews", "indexes", "htdocsfallback", "includes", - "backupmxforexternalmx", "letsencrypt", - "autoconfig", - "dkim" + "cgi", + "fastcgi", + "passenger", + "passengerfriendlyerrorpages" }; private final PropertyInfo propertyInfo; diff --git a/web/src/main/resources/de/hsadmin/web/main.properties b/web/src/main/resources/de/hsadmin/web/main.properties index d54a5ef..c971321 100644 --- a/web/src/main/resources/de/hsadmin/web/main.properties +++ b/web/src/main/resources/de/hsadmin/web/main.properties @@ -35,6 +35,10 @@ domain.since=Domain since domain.dnsMaster=DNS master domain.domainoptions=Domain options domain.validsubdomainnames=valid subdomain names +domain.passengerpython=path to python3-binary (passenger) +domain.passengernodejs=path to node-binary (passenger) +domain.passengerruby=path to ruby-binary (passenger) +domain.fcgiphpbin=path to php-binary (fastcgi) domainoption.greylisting=greylisting domainoption.multiviews=multiviews domainoption.indexes=indexes @@ -43,7 +47,11 @@ domainoption.includes=includes domainoption.backupmxforexternalmx=backupmxforexternalmx domainoption.letsencrypt=letsencrypt domainoption.autoconfig=email autoconfig and autodiscover -domainoption.dkim=domain key - dkim +domainoption.dkim=domain key - dkim +domainoption.cgi=enable CGI +domainoption.fastcgi=enable FastCGI +domainoption.passenger=enable passenger module +domainoption.passengerfriendlyerrorpages=enable passenger error page mysqluser.name=MySql username mysqluser.instance=MySql instance mysqluser.pac=MySql package diff --git a/web/src/main/resources/de/hsadmin/web/main_de.properties b/web/src/main/resources/de/hsadmin/web/main_de.properties index fc4e8ba..5313250 100644 --- a/web/src/main/resources/de/hsadmin/web/main_de.properties +++ b/web/src/main/resources/de/hsadmin/web/main_de.properties @@ -35,6 +35,10 @@ domain.since=eingerichtet am domain.dnsMaster=DNS Server domain.domainoptions=Domain-Optionen domain.validsubdomainnames=gültige Subdomains (oder * für Wildcard) +domain.passengerpython=Pfad zum Python3-Binary (Passenger) +domain.passengernodejs=Pfad zum Node-Binary (Passenger) +domain.passengerruby=Pfad zum Ruby-Binary (Passenger) +domain.fcgiphpbin=Pfad zum PHP-Binary (Fast-CGI) domainoption.greylisting=Greylisting domainoption.multiviews=Multiviews domainoption.indexes=Indexes @@ -44,6 +48,10 @@ domainoption.backupmxforexternalmx=Backup-MX f domainoption.letsencrypt=Let's Encrypt-Zertifikat domainoption.autoconfig=E-Mail Auto-Konfiguration domainoption.dkim=Domain Key - DKIM +domainoption.cgi=CGI-Funktion aktiv +domainoption.fastcgi=FastCGI-Funltion aktiv +domainoption.passenger=Passenger-Modul aktiv +domainoption.passengerfriendlyerrorpages=Passenger Debug-Modus aktiv mysqluser.name=MySQL-Benutzer mysqluser.instance=Datenbanksystem mysqluser.pac=Web-Paket diff --git a/web/src/main/resources/de/hsadmin/web/main_es.properties b/web/src/main/resources/de/hsadmin/web/main_es.properties index 14ee648..a76409f 100644 --- a/web/src/main/resources/de/hsadmin/web/main_es.properties +++ b/web/src/main/resources/de/hsadmin/web/main_es.properties @@ -31,6 +31,10 @@ domain.user=Usuario de dominio domain.since=Dominio desde domain.dnsMaster=Maestro DNS domain.domainoptions=Opciones de dominio +domain.passengerpython=path to python3-binary (passenger) +domain.passengernodejs=path to node-binary (passenger) +domain.passengerruby=path to ruby-binary (passenger) +domain.fcgiphpbin=path to php-binary (fastcgi) domainoption.greylisting=greylisting domainoption.multiviews=multiviews domainoption.indexes=indexes