Skip to content

Commit c03f4d6

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' into 'stable-3.1'
Stable 3.1 See merge request !535
2 parents c75ab94 + 8a46bee commit c03f4d6

31 files changed

+42
-34
lines changed

install/lib/installer_base.lib.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2340,6 +2340,12 @@ public function install_ispconfig() {
23402340
//* chown the interface files to the ispconfig user and group
23412341
$command = 'chown -R ispconfig:ispconfig '.$install_dir.'/interface';
23422342
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
2343+
2344+
//* Chmod the files and directories in the acme dir with nginx installed
2345+
if($conf['nginx']['installed'] == true) {
2346+
$command = 'chmod -R 755 '.$install_dir.'/interface/acme';
2347+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
2348+
}
23432349

23442350
//* chown the server files to the root user and group
23452351
$command = 'chown -R root:root '.$install_dir.'/server';

interface/web/admin/form/server_php.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
'formtype' => 'SELECT',
9090
'default' => '',
9191
'datasource' => array ( 'type' => 'SQL',
92-
'querystring' => 'SELECT server_id,server_name FROM server WHERE mirror_server_id = 0 AND {AUTHSQL} ORDER BY server_name',
92+
'querystring' => 'SELECT server_id,server_name FROM server WHERE mirror_server_id = 0 AND web_server = 1 AND {AUTHSQL} ORDER BY server_name',
9393
'keyfield'=> 'server_id',
9494
'valuefield'=> 'server_name'
9595
),

interface/web/dns/dns_wizard.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@
421421
"dnssec_wanted" => $enable_dnssec
422422
);
423423
$dns_soa_id = $app->db->datalogInsert('dns_soa', $insert_data, 'id');
424+
if($dns_soa_id > 0) $app->plugin->raiseEvent('dns:wizard:on_after_insert', $dns_soa_id);
424425

425426
// Insert the dns_rr records
426427
if(is_array($dns_rr) && $dns_soa_id > 0) {

interface/web/dns/form/dns_slave.tform.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,16 @@
108108
'ns' => array (
109109
'datatype' => 'VARCHAR',
110110
'formtype' => 'TEXT',
111+
/*
111112
'validators' => array ( 0 => array ( 'type' => 'REGEX',
112113
'regex' => '/^[0-9\.]{1,255}$/',
113114
'errmsg'=> 'ns_error_regex'),
114115
),
116+
*/
117+
'validators' => array ( 0 => array ( 'type' => 'ISIP',
118+
'separator' => ',',
119+
'errmsg'=> 'ns_error_regex'),
120+
),
115121
'default' => '',
116122
'value' => '',
117123
'width' => '30',

interface/web/dns/lib/lang/ar_dns_slave.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ $wb['origin_error_unique'] = 'There is already a record for this zone.';
1212
$wb['origin_error_regex'] = 'Zone has a invalid format.';
1313
$wb['ns_error_regex'] = 'NS has a invalid format.';
1414
$wb['eg_domain_tld'] = 'e.g. domain.tld.';
15-
$wb['ipv4_form_txt'] = 'IPv4 form - e.g. 1.2.3.4';
15+
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
1616
$wb['secondary_zone_txt'] = 'Secondary DNS Zone';
1717
?>

interface/web/dns/lib/lang/bg_dns_slave.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ $wb['origin_error_unique'] = 'Вече има запис за тази зона.
1212
$wb['origin_error_regex'] = 'Името на зоната е в грешен формат.';
1313
$wb['ns_error_regex'] = 'NS е в грешен формат.';
1414
$wb['eg_domain_tld'] = 'примерно domain.tld.';
15-
$wb['ipv4_form_txt'] = 'IPv4 формата изглейда така: 1.2.3.4';
15+
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
1616
$wb['secondary_zone_txt'] = 'Secondary DNS Zone';
1717
?>

interface/web/dns/lib/lang/br_dns_slave.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ $wb['origin_error_unique'] = 'Já existe um registro igual para esta zona.';
1212
$wb['origin_error_regex'] = 'Zona inválida.';
1313
$wb['ns_error_regex'] = 'Registro NS inválido.';
1414
$wb['eg_domain_tld'] = 'ex.: dominio.com.';
15-
$wb['ipv4_form_txt'] = 'Formato IPv4 - ex.: 1.2.3.4';
15+
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
1616
$wb['secondary_zone_txt'] = 'Zona dns secundária';
1717
?>

interface/web/dns/lib/lang/ca_dns_slave.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ $wb['origin_error_unique'] = 'Il y a déjà un enregistrement pour cette zone.';
1212
$wb['origin_error_regex'] = 'Le format de la zone est invalide.';
1313
$wb['ns_error_regex'] = 'Le format de l\'enregistrement NS est invalide.';
1414
$wb['eg_domain_tld'] = 'ex. domain.tld.';
15-
$wb['ipv4_form_txt'] = 'Format IPv4 - ex. 1.2.3.4';
15+
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
1616
$wb['secondary_zone_txt'] = 'Zone DNS secondaire';
1717
?>

interface/web/dns/lib/lang/cz_dns_slave.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ $wb['origin_error_unique'] = 'Pro tuto zónu již existuje záznam.';
1212
$wb['origin_error_regex'] = 'Zóna má neplatný formát.';
1313
$wb['ns_error_regex'] = 'NS má neplatný formát.';
1414
$wb['eg_domain_tld'] = 'např. domena.cz';
15-
$wb['ipv4_form_txt'] = 'IPV4 formát, např. 1.2.3.4';
15+
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
1616
$wb['secondary_zone_txt'] = 'Sekundární DNS zóna';
1717
?>

interface/web/dns/lib/lang/de_dns_slave.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ $wb['origin_error_unique'] = 'Es existiert bereits ein Eintrag für diese Zone.'
1313
$wb['origin_error_regex'] = 'Zone hat ein ungültiges Format.';
1414
$wb['ns_error_regex'] = 'NS hat ein ungültiges Format.';
1515
$wb['eg_domain_tld'] = 'Format: domain.tld.';
16-
$wb['ipv4_form_txt'] = 'IPv4 Format: 1.2.3.4';
16+
$wb['ipv4_form_txt'] = 'Separate multiple IPs with commas';
1717
?>

0 commit comments

Comments
 (0)