Skip to content

Commit 32062dc

Browse files
author
Kristan Kenney
committed
Merge branch 'staging/fixes' into main
2 parents 2e1fa96 + 3419511 commit 32062dc

File tree

6 files changed

+34
-33
lines changed

6 files changed

+34
-33
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
### Features
66

77
### Bugfixes
8-
8+
- Create mailhelo.conf if it doesnt exist to prevent a error message during grep.
99

1010
## [1.2.1] - Service Release 1 (beta)
1111
### Features

bin/v-add-mail-domain

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
101101
echo "$local_ip" > $HOMEDIR/$user/conf/mail/$domain/ip
102102
fi
103103

104+
# Touch mailhelo.conf if it doesnt exist
105+
if [ ! -f "/etc/exim4/mailhelo.conf" ]; then
106+
touch /etc/exim4/mailhelo.conf
107+
fi
108+
104109
# Setting HELO for mail domain
105110
if [ ! -z "$local_ip" ]; then
106111
IP_RDNS=$(is_ip_rdns_valid "$local_ip")

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ rebuild_user_conf() {
1515
chmod 660 $USER_DATA/stats.log
1616

1717
# Update FNAME LNAME to NAME
18-
if [ -z $NAME ]; then
18+
if [ -z "$NAME" ]; then
1919
NAME="$FNAME $LNAME"
2020
sed -i "s/FNAME='$FNAME'/NAME='$NAME'/g" $USER_DATA/user.conf
2121
sed -i "/LNAME='$LNAME'/d" $USER_DATA/user.conf

install/deb/apache2/apache2.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ LogFormat "%{Referer}i -> %U" referer
8080
LogFormat "%{User-agent}i" agent
8181
LogFormat "%b" bytes
8282

83-
Include conf.d/
83+
Include conf.d/*.conf
8484
IncludeOptional conf.d/domains/*.conf
8585

8686
# Include the virtual host configurations:

web/edit/user/index.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
$v_time = $data[$v_username]['TIME'];
5959
$v_date = $data[$v_username]['DATE'];
6060

61+
if(empty($v_phpcli)){
62+
$v_phpcli = substr(DEFAULT_PHP_VERSION,4);
63+
}
64+
6165
// List packages
6266
exec (HESTIA_CMD."v-list-user-packages json", $output, $return_var);
6367
$packages = json_decode(implode('', $output), true);

web/inc/i18n/es.php

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@
235235
'Normal password' => 'Contraseña normal',
236236
'database' => 'base de datos',
237237
'User' => 'Usuario',
238-
'Host' => 'Host',
239238
'Charset' => 'Codificación de caracteres',
240239
'Min' => 'Minuto',
241240
'Hour' => 'Hora',
@@ -581,7 +580,7 @@
581580
'ftp' => 'FTP',
582581
'sftp' => 'SFTP',
583582
'SFTP Chroot' => 'SFTP Chroot',
584-
'FileSystem Disk Quota' => 'FileSystem - Cuota de disco',
583+
'FileSystem Disk Quota' => 'Cuota de disco',
585584
'Hestia Control Panel Plugins' => 'Plugins de Hestia Control Panel',
586585
'preview' => 'previsualizar',
587586
'Reseller Role' => 'Rol de Revendedor',
@@ -594,7 +593,6 @@
594593
'sort by' => 'ordenar por',
595594
'Date' => 'Fecha',
596595
'Starred' => 'Favorito',
597-
'Name' => 'Nombre',
598596

599597
'save to favorites' => 'guardar en favoritos',
600598

@@ -751,7 +749,7 @@
751749

752750
'Email Credentials' => 'Enviar credenciales al correo',
753751

754-
'Theme' => 'Aspecto',
752+
'Theme' => 'Tema',
755753
'Operating System' => 'Sistema operativo',
756754

757755
'Please wait while php is installed or removed' => 'Los cambios pueden tardar unos minutos en guardarse. Espere hasta que se complete el proceso y no actualice la página.',
@@ -829,7 +827,7 @@
829827
//Server
830828
'Restart' => 'Reiniciar',
831829
'Mail Server' => 'Servidor de correo',
832-
'Enabled multi PHP versions' => 'Versiones PHP habilitadas',
830+
'Enabled multi PHP versions' => 'Habilitar múltiples versiones de PHP',
833831
'Service' => 'Servicio',
834832
'Description' => 'Descripción',
835833

@@ -856,40 +854,34 @@
856854
'Enable 2FA' => 'Habilitar autenticación de dos factores',
857855
'Please scan the code below in your 2FA application:' => 'Para terminar de configurar la autenticación de dos factores, escanee el código QR a continuación<br />usando una aplicación de autenticación (como <a href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2">Autenticador de Google</a>):',
858856
'2FA Reset Code:' => 'Código de recuperación de cuenta:',
859-
860-
'Records_DNS' => 'Registros',
861-
'backend server' => 'Backend Server',
862-
863-
//list user
864-
'Name' => 'Name',
857+
858+
//list user
859+
'Name' => 'Nombre',
865860
//Add / Edit user
866-
'Contact' => 'Name',
867-
'GREETINGS_GORDON' => "Hello, %s,\n",
868-
861+
'Contact' => 'Contacto',
862+
'GREETINGS_GORDON' => "Hola, %s,\n",
869863
//List Mail Accounts
870864
'Forwarding' => 'Reenvío',
871-
872865
//Cron Jobs
873866
'Cron Job' => 'Tarea Programada',
874-
//Edit server
875-
'Host' => 'Host',
876-
877-
//list Backups
878-
'1 backups' => '1 copia de seguridad',
879-
'%s backups' => '%s copias de seguridad',
867+
//Edit server
868+
'backend server' => 'Servidor de Backend',
869+
'Host' => 'Anfitrión',
870+
//list Backups
871+
'1 backups' => '1 respaldo',
872+
'%s backups' => '%s respaldos',
880873
//list Firewall Rules
881-
'1 firewall rule' => '1 regla de firewall',
882-
'%s firewall rules' => '%s reglas de firewall',
874+
'1 firewall rule' => '1 regla de cortafuegos',
875+
'%s firewall rules' => '%s reglas de cortafuegos',
883876
//list ip
884-
'1 banned IP address' => '1 dirección IP prohibida',
885-
'%s banned IP addresses' => '%s direcciones IP prohibidas',
877+
'1 banned IP address' => '1 dirección IP bloqueada',
878+
'%s banned IP addresses' => '%s direcciones IP bloqueadas',
886879
//list DNS
887880
'Records_DNS' => 'Registros',
888881
//Dowload Backup
889-
'BACKUP_DOWNLOAD_SCHEDULED' => 'La descarga para copia de seguridad ha sido programada.',
890-
891-
'backend server' => 'Servidor de Backend',
882+
'BACKUP_DOWNLOAD_SCHEDULED' => 'La descarga del respaldo ha sido programada.',
883+
884+
'traffic' => 'Tráfico',
885+
'disk' => 'Disco',
892886

893-
'traffic' => 'Traffic',
894-
'disk' => 'Disk',
895887
);

0 commit comments

Comments
 (0)