Skip to content

Commit 495868a

Browse files
committed
Merge branch 'develop' of git.ispconfig.org:ispconfig/ispconfig3 into develop
2 parents ec9b13e + 39e6974 commit 495868a

File tree

8 files changed

+26
-11
lines changed

8 files changed

+26
-11
lines changed

docs/autoinstall_samples/autoinstall.conf_sample.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
$autoinstall['ispconfig_port'] = '8080'; // default: 8080
1414
$autoinstall['ispconfig_use_ssl'] = 'y'; // y (default), n
1515
$autoinstall['ispconfig_admin_password'] = 'admin'; // default: admin
16+
$autoinstall['create_ssl_server_certs'] = 'y';
17+
$autoinstall['ignore_hostname_dns'] = 'n';
18+
$autoinstall['ispconfig_postfix_ssl_symlink'] = 'y';
19+
$autoinstall['ispconfig_pureftpd_ssl_symlink'] = 'y';
1620

1721
/* SSL Settings */
1822
$autoinstall['ssl_cert_country'] = 'AU';
@@ -52,6 +56,10 @@
5256
$autoupdate['ispconfig_port'] = '8080'; // default: 8080
5357
$autoupdate['create_new_ispconfig_ssl_cert'] = 'no'; // no (default), yes
5458
$autoupdate['reconfigure_crontab'] = 'yes'; // yes (default), no
59+
$autoupdate['create_ssl_server_certs'] = 'y';
60+
$autoupdate['ignore_hostname_dns'] = 'n';
61+
$autoupdate['ispconfig_postfix_ssl_symlink'] = 'y';
62+
$autoupdate['ispconfig_pureftpd_ssl_symlink'] = 'y';
5563

5664
/* These are for service-detection (defaulting to old behaviour where alle changes were automatically accepted) */
5765
$autoupdate['svc_detect_change_mail_server'] = 'yes'; // yes (default), no

docs/autoinstall_samples/autoinstall.ini.sample

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ http_server=apache
1212
ispconfig_port=8080
1313
ispconfig_use_ssl=y
1414
ispconfig_admin_password=admin
15+
create_ssl_server_certs=y
16+
ignore_hostname_dns=n
17+
ispconfig_postfix_ssl_symlink=y
18+
ispconfig_pureftpd_ssl_symlink=y
1519

1620
[ssl_cert]
1721
ssl_cert_country=AU
@@ -51,6 +55,10 @@ reconfigure_services=yes
5155
ispconfig_port=8080
5256
create_new_ispconfig_ssl_cert=no
5357
reconfigure_crontab=yes
58+
create_ssl_server_certs=y
59+
ignore_hostname_dns=n
60+
ispconfig_postfix_ssl_symlink=y
61+
ispconfig_pureftpd_ssl_symlink=y
5462

5563
; These are for service-detection (defaulting to old behaviour where alle changes were automatically accepted)
5664
svc_detect_change_mail_server=yes

install/install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@
582582

583583
// Create SSL certs for non-webserver(s)?
584584
if(!file_exists('/usr/local/ispconfig/interface/ssl/ispserver.crt')) {
585-
if(!$issue_tried && strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y') {
585+
if(!$issue_tried && strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y','create_ssl_server_certs')) == 'y') {
586586
$inst->make_ispconfig_ssl_cert();
587587
}
588588
} else {

install/lib/installer_base.lib.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class installer_base {
3535
var $db;
3636
public $install_ispconfig_interface = true;
3737
public $is_update = false; // true if it is an update, falsi if it is a new install
38-
public $min_php = '5.3.3'; // minimal php-version for update / install
38+
public $min_php = '5.4'; // minimal php-version for update / install
3939
protected $mailman_group = 'list';
4040

4141

@@ -3043,7 +3043,7 @@ public function make_ispconfig_ssl_cert() {
30433043
exec("cat $ssl_key_file $ssl_crt_file > $ssl_pem_file; chmod 600 $ssl_pem_file");
30443044

30453045
// Extend LE SSL certs to postfix
3046-
if ($conf['postfix']['installed'] == true && strtolower($this->simple_query('Symlink ISPConfig SSL certs to Postfix?', array('y', 'n'), 'y')) == 'y') {
3046+
if ($conf['postfix']['installed'] == true && strtolower($this->simple_query('Symlink ISPConfig SSL certs to Postfix?', array('y', 'n'), 'y','ispconfig_postfix_ssl_symlink')) == 'y') {
30473047

30483048
// Define folder, file(s)
30493049
$cf = $conf['postfix'];
@@ -3062,7 +3062,7 @@ public function make_ispconfig_ssl_cert() {
30623062
}
30633063

30643064
// Extend LE SSL certs to pureftpd
3065-
if ($conf['pureftpd']['installed'] == true && strtolower($this->simple_query('Symlink ISPConfig SSL certs to Pure-FTPd? Creating dhparam file may take some time.', array('y', 'n'), 'y')) == 'y') {
3065+
if ($conf['pureftpd']['installed'] == true && strtolower($this->simple_query('Symlink ISPConfig SSL certs to Pure-FTPd? Creating dhparam file may take some time.', array('y', 'n'), 'y','ispconfig_pureftpd_ssl_symlink')) == 'y') {
30663066

30673067
// Define folder, file(s)
30683068
$pureftpd_dir = '/etc/ssl/private';

install/update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@
548548

549549
// Create SSL certs for non-webserver(s)?
550550
if(!file_exists('/usr/local/ispconfig/interface/ssl/ispserver.crt')) {
551-
if(!$issue_tried && strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y')) == 'y') {
551+
if(!$issue_tried && strtolower($inst->simple_query('Do you want to create SSL certs for your server?', array('y', 'n'), 'y','create_ssl_server_certs')) == 'y') {
552552
$inst->make_ispconfig_ssl_cert();
553553
}
554554
} else {

interface/web/themes/default/assets/javascripts/ispconfig.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ var ISPConfig = {
176176
ISPConfig.onAfterContentLoad(target, $('#'+formname).serialize());
177177
ISPConfig.pageFormChanged = false;
178178
}
179-
clearTimeout(dataLogTimer);
179+
clearTimeout(ISPConfig.dataLogTimer);
180180
ISPConfig.dataLogNotification();
181181
ISPConfig.hideLoadIndicator();
182182
},
@@ -285,7 +285,7 @@ var ISPConfig = {
285285
ISPConfig.onAfterContentLoad(pagename, (params ? params : null));
286286
ISPConfig.pageFormChanged = false;
287287
}
288-
clearTimeout(dataLogTimer); // clear running dataLogTimer
288+
clearTimeout(ISPConfig.dataLogTimer); // clear running dataLogTimer
289289
ISPConfig.dataLogNotification();
290290
ISPConfig.hideLoadIndicator();
291291
},
@@ -514,12 +514,12 @@ var ISPConfig = {
514514
$('.modal-body').html(dataLogItems.join(""));
515515
$('.notification_text').text(data['count']);
516516
$('.notification').css('display','');
517-
dataLogTimer = setTimeout( function() { ISPConfig.dataLogNotification(); }, 2000 );
517+
ISPConfig.dataLogTimer = setTimeout( function() { ISPConfig.dataLogNotification(); }, 2000 );
518518
} else {
519519
$('.notification').css('display','none');
520520
$('.modal-body').html('');
521521
$('#datalogModal').modal('hide');
522-
dataLogTimer = setTimeout( function() { ISPConfig.dataLogNotification(); }, 5000 );
522+
ISPConfig.dataLogTimer = setTimeout( function() { ISPConfig.dataLogNotification(); }, 5000 );
523523
}
524524
},
525525
error: function() {

interface/web/themes/default/assets/javascripts/ispconfig.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

server/conf/sieve_filter.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if anyof (header :contains "X-Spam-Flag" "YES", header :contains "X-Spam" "Yes",
1717
<tmpl_if name="cc">
1818
# Send a copy of email to
1919
<tmpl_loop name="ccloop">
20-
redirect "<tmpl_var name='address'>";
20+
redirect :copy "<tmpl_var name='address'>";
2121
</tmpl_loop>
2222
</tmpl_if>
2323

0 commit comments

Comments
 (0)