Skip to content

Commit 3bd0d08

Browse files
author
Marius Burkard
committed
Merge branch 'stable-3.1' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.1
2 parents 0e3cf6f + 2e998b9 commit 3bd0d08

File tree

481 files changed

+915
-836
lines changed

Some content is hidden

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

481 files changed

+915
-836
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ public function grant_master_database_rights($verbose = false) {
585585
$this->warning('Unable to set rights of user in master database: '.$value['db']."\n Query: ".$query."\n Error: ".$this->dbmaster->errorMessage);
586586
}
587587

588-
$query = "GRANT SELECT, UPDATE (`ssl_request`, `ssl_cert`, `ssl_action`, `ssl_key`) ON ?? TO ?@?";
588+
$query = "GRANT SELECT, UPDATE (`ssl`, `ssl_letsencrypt`, `ssl_request`, `ssl_cert`, `ssl_action`, `ssl_key`) ON ?? TO ?@?";
589589
if ($verbose){
590590
echo $query ."\n";
591591
}

install/lib/update.lib.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,9 @@ function updateDbAndIni() {
394394
unset($old_ini_array);
395395
unset($tpl_ini_array);
396396
unset($new_ini);
397+
398+
// Truncate sys_session
399+
$inst->db->query('TRUNCATE ??', $conf['mysql']['database'].'sys_session');
397400
}
398401

399402

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
UPDATE `sys_user` SET `app_theme` = 'default' WHERE 1;
2+
ALTER TABLE `ftp_user` ADD `user_type` SET('user','system') NOT NULL DEFAULT 'user' AFTER `expires`, ADD `user_config` TEXT NULL AFTER `user_type`;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `web_domain` CHANGE `folder_directive_snippets` `folder_directive_snippets` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL;

install/sql/ispconfig3.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,8 @@ CREATE TABLE `ftp_user` (
644644
`ul_bandwidth` int(11) NOT NULL default '-1',
645645
`dl_bandwidth` int(11) NOT NULL default '-1',
646646
`expires` datetime NULL DEFAULT NULL,
647+
`user_type` set('user','system') NOT NULL DEFAULT 'user',
648+
`user_config` text,
647649
PRIMARY KEY (`ftp_user_id`),
648650
KEY `active` (`active`),
649651
KEY `server_id` (`server_id`),
@@ -1983,7 +1985,7 @@ CREATE TABLE `web_domain` (
19831985
`enable_pagespeed` ENUM('y','n') NOT NULL DEFAULT 'n',
19841986
`http_port` int(11) unsigned NOT NULL DEFAULT '80',
19851987
`https_port` int(11) unsigned NOT NULL DEFAULT '443',
1986-
`folder_directive_snippets` text NOT NULL,
1988+
`folder_directive_snippets` text,
19871989
PRIMARY KEY (`domain_id`),
19881990
UNIQUE KEY `serverdomain` ( `server_id` , `ip_address`, `domain` )
19891991
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

install/tpl/nginx_ispconfig.vhost.master

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ server {
55
{ssl_comment}ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
66
{ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
77
{ssl_comment}ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key;
8+
{ssl_comment}ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';
9+
{ssl_comment}ssl_prefer_server_ciphers on;
810

911
# redirect to https if accessed with http
1012
{ssl_comment}error_page 497 https://$host:{vhost_port}$request_uri;

interface/lib/lang/cz.lng

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,3 @@ $wb['select_directive_snippet_txt'] = 'Directive Snippets';
154154
$wb['select_master_directive_snippet_txt'] = 'Master Directive Snippets';
155155
?>
156156

157-
158-

interface/lib/lang/dk.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ $wb['strength_2'] = 'Nogenlunde';
146146
$wb['strength_3'] = 'God';
147147
$wb['strength_4'] = 'Stærk';
148148
$wb['strength_5'] = 'Meget Stærk';
149-
$wb['weak_password_txt'] = 'Den valgte adgangskode matcher ikke retningslinjerne for sikkerhedsindstillingerne. Det skal være mindst {chars} tegn i længden og have en styrke på \"{strength}\".';
149+
$wb['weak_password_txt'] = 'Den valgte adgangskode matcher ikke retningslinjerne for sikkerhedsindstillingerne. Det skal være mindst {chars} tegn i længden og have en styrke på \\"{strength}\\".';
150150
$wb['weak_password_length_txt'] = 'Den valgte adgangskode matcher ikke retningslinjerne for sikkerhedsindstillingerne. Det skal være mindst {chars} tegn i længden.';
151151
$wb['security_check1_txt'] = 'Check for sikkerheds tilladelse:';
152152
$wb['security_check2_txt'] = 'mislykkedes.';

interface/lib/lang/tr.lng

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ $wb['strength_2'] = 'Yeterli';
146146
$wb['strength_3'] = 'İyi';
147147
$wb['strength_4'] = 'Güçlü';
148148
$wb['strength_5'] = 'Çok Güçlü';
149-
$wb['weak_password_txt'] = 'Yazdığınız parola güvenlik ilkesine uygun değil. Parola en az {chars} karakter uzunluğunda ve \"{strength}\" güçlüğünde olmalı.';
149+
$wb['weak_password_txt'] = 'Yazdığınız parola güvenlik ilkesine uygun değil. Parola en az {chars} karakter uzunluğunda ve \\"{strength}\\" güçlüğünde olmalı.';
150150
$wb['weak_password_length_txt'] = 'Yazdığınız parola güvenlik ilkesine uygun değil. Parola en az {chars} karakter uzunluğunda olmalı.';
151151
$wb['security_check1_txt'] = 'Güvenlik iznini denetle:';
152152
$wb['security_check2_txt'] = 'başarısız.';

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ $wb['tcp_port_help_txt'] = 'Separated by comma';
66
$wb['udp_port_help_txt'] = 'Separated by comma';
77
$wb['active_txt'] = 'Active';
88
$wb['firewall_error_unique'] = 'There is already a firewall record for this server.';
9-
$wb['tcp_ports_error_regex'] = 'Character not allowed in tcp port definition. Allowed characters are numbers, \":\" and \",\".';
10-
$wb['udp_ports_error_regex'] = 'Character not allowed in udp port definition. Allowed characters are numbers, \":\" and \",\".';
9+
$wb['tcp_ports_error_regex'] = 'Character not allowed in tcp port definition. Allowed characters are numbers, \\":\\" and \\",\\".';
10+
$wb['udp_ports_error_regex'] = 'Character not allowed in udp port definition. Allowed characters are numbers, \\":\\" and \\",\\".';
1111
?>

0 commit comments

Comments
 (0)