Skip to content

Commit 0832c83

Browse files
author
Marius Cramer
committed
Merge remote-tracking branch 'origin/stable-3.0.5'
Conflicts: install/sql/ispconfig3.sql install/tpl/config.inc.php.master install/tpl/debian_postfix.conf.master install/tpl/fedora_postfix.conf.master install/tpl/gentoo_postfix.conf.master install/tpl/opensuse_postfix.conf.master interface/lib/config.inc.php interface/web/sites/lib/lang/cz_web_subdomain.lng interface/web/sites/lib/lang/cz_web_subdomain_list.lng interface/web/sites/lib/lang/cz_web_vhost_subdomain_list.lng interface/web/themes/blue/ispconfig_version
2 parents 773b716 + 9cb6fe1 commit 0832c83

File tree

214 files changed

+262
-50
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+262
-50
lines changed

install/lib/install.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ function getapachemodules() {
865865
return array();
866866
}
867867

868-
exec($cmd, $output, $return_var);
868+
exec($cmd . ' 2>/dev/null', $output, $return_var);
869869
if($return_var != 0 || !$output[0]) {
870870
$app->log("Could not check apache modules, apachectl did not return any data.", LOGLEVEL_WARN);
871871
return array();

install/lib/installer_base.lib.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,10 +1277,20 @@ public function configure_apache() {
12771277

12781278
if(is_file('/etc/apache2/apache.conf')) {
12791279
if(hasLine('/etc/apache2/apache.conf', 'Include sites-enabled/', 1) == false) {
1280-
if(hasLine('/etc/apache2/apache.conf', 'IncludeOptional sites-enabled/*.conf', 1) == false) {
1280+
if(hasLine('/etc/apache2/apache.conf', 'IncludeOptional sites-enabled/*.conf', 1) == false && hasLine('/etc/apache2/apache.conf', 'IncludeOptional sites-enabled/', 1) == false) {
12811281
replaceLine('/etc/apache2/apache.conf', 'Include sites-enabled/', 'Include sites-enabled/', 1, 1);
12821282
} elseif(hasLine('/etc/apache2/apache.conf', 'IncludeOptional sites-enabled/*.vhost', 1) == false) {
1283-
replaceLine('/etc/apache2/apache.conf', 'IncludeOptional sites-enabled/*.vhost', 'IncludeOptional sites-enabled/*.vhost', 1, 1);
1283+
replaceLine('/etc/apache2/apache.conf', 'IncludeOptional sites-enabled/*.vhost', 'IncludeOptional sites-enabled/', 1, 1);
1284+
}
1285+
}
1286+
}
1287+
1288+
if(is_file('/etc/apache2/apache2.conf')) {
1289+
if(hasLine('/etc/apache2/apache2.conf', 'Include sites-enabled/', 1) == false && hasLine('/etc/apache2/apache2.conf', 'IncludeOptional sites-enabled/', 1) == false) {
1290+
if(hasLine('/etc/apache2/apache2.conf', 'Include sites-enabled/*.conf', 1) == true) {
1291+
replaceLine('/etc/apache2/apache2.conf', 'Include sites-enabled/*.conf', 'Include sites-enabled/', 1, 1);
1292+
} elseif(hasLine('/etc/apache2/apache2.conf', 'IncludeOptional sites-enabled/*.conf', 1) == true) {
1293+
replaceLine('/etc/apache2/apache2.conf', 'IncludeOptional sites-enabled/*.conf', 'IncludeOptional sites-enabled/', 1, 1);
12841294
}
12851295
}
12861296
}

install/tpl/apache_ispconfig.conf.master

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m
104104
</tmpl_if>
105105
</Directory>
106106

107+
<tmpl_if name='apache_version' op='<' value='2.4' format='version'>
107108
Alias /awstats-icon "/usr/share/awstats/icon"
109+
</tmpl_if>
108110

109111
NameVirtualHost *:80
110112
NameVirtualHost *:443

install/tpl/debian_postfix.conf.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ mime_header_checks = regexp:{config_dir}/mime_header_checks
3131
nested_header_checks = regexp:{config_dir}/nested_header_checks
3232
body_checks = regexp:{config_dir}/body_checks
3333
owner_request_special = no
34+
smtp_tls_security_level = may

install/tpl/fedora_postfix.conf.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ mime_header_checks = regexp:{config_dir}/mime_header_checks
2828
nested_header_checks = regexp:{config_dir}/nested_header_checks
2929
body_checks = regexp:{config_dir}/body_checks
3030
inet_interfaces = all
31+
smtp_tls_security_level = may

install/tpl/gentoo_postfix.conf.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ mime_header_checks = regexp:{config_dir}/mime_header_checks
2828
nested_header_checks = regexp:{config_dir}/nested_header_checks
2929
body_checks = regexp:{config_dir}/body_checks
3030
inet_interfaces = all
31+
smtp_tls_security_level = may

install/tpl/opensuse_postfix.conf.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ mime_header_checks = regexp:{config_dir}/mime_header_checks
2828
nested_header_checks = regexp:{config_dir}/nested_header_checks
2929
body_checks = regexp:{config_dir}/body_checks
3030
inet_interfaces = all
31+
smtp_tls_security_level = may

interface/lib/lang/cz.lng

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,16 @@ $wb['no_destination_perm'] = 'Nemáte oprávnění pro tuto destinaci.';
136136
$wb['client_you_are_locked'] = 'Nemáte oprávnění měnit žádná nastavení.';
137137
$wb['gender_m_txt'] = 'Pan';
138138
$wb['gender_f_txt'] = 'Paní';
139-
$wb['client_cannot_be_deleted_because_of_billing_module_txt'] = 'This client has records in the billing module, therefore he cannot be deleted.';
139+
$wb['client_cannot_be_deleted_because_of_billing_module_txt'] = 'Tento klient má záznamy v modulu fakturace, proto nemůže být odstraněn.';
140140
$wb['yes_txt'] = 'Ano';
141141
$wb['no_txt'] = 'Ne';
142-
$wb['None'] = 'None';
143-
$wb['strength_1'] = 'Slabé';
144-
$wb['strength_2'] = 'Podprůměrné';
145-
$wb['strength_3'] = 'Dobré';
146-
$wb['strength_4'] = 'Silné';
147-
$wb['strength_5'] = 'Velmi silné';
142+
$wb['None'] = 'Žádná';
143+
$wb['strength_1'] = 'Slabá';
144+
$wb['strength_2'] = 'Podprůměrná';
145+
$wb['strength_3'] = 'Dobrá';
146+
$wb['strength_4'] = 'Silná';
147+
$wb['strength_5'] = 'Velmi silná';
148148
$wb['weak_password_txt'] = 'Zvolené heslo neodpovídá požadavkům zásad pro tvorbu hesel. Heslo musí být alespoň {chars} znaků dlouhé a mající sílu \"{strength}\".';
149149
$wb['weak_password_length_txt'] = 'Zvolené heslo neodpovídá požadavkům zásad pro tvorbu hesel. Heslo musí být alespoň {chars} znaků dlouhé.';
150150
?>
151+

interface/web/admin/lib/lang/cz.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ $wb['Do OS-Update'] = 'Aktualizovat operační systém';
4848
$wb['Do ISPConfig-Update'] = 'Aktualizovat ISPConfig';
4949
$wb['Directive Snippets'] = 'Directive Snippets';
5050
?>
51+

interface/web/admin/lib/lang/cz_directive_snippets.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ $wb['directive_snippets_name_empty'] = 'Please specify a name for the snippet.';
88
$wb['directive_snippets_name_error_unique'] = 'There is already a directive snippet with this name.';
99
$wb['variables_txt'] = 'Proměnné';
1010
?>
11+

0 commit comments

Comments
 (0)