Skip to content

Commit 3faab0c

Browse files
author
Marius Cramer
committed
Merge remote-tracking branch 'origin/stable-3.0.5'
Conflicts: interface/web/sites/lib/lang/de_web_folder.lng interface/web/sites/lib/lang/de_web_folder_user.lng interface/web/sites/lib/lang/de_web_vhost_domain.lng interface/web/sites/lib/lang/en_web_domain.lng server/lib/classes/db_mysql.inc.php
2 parents 83c58eb + f4de70a commit 3faab0c

Some content is hidden

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

41 files changed

+195
-13
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE `mail_user` ADD `disablesieve-filter` ENUM( 'y', 'n' ) NOT NULL DEFAULT 'n' AFTER `disablesieve`;

install/sql/ispconfig3.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,7 @@ CREATE TABLE `mail_user` (
910910
`disabledeliver` enum('n','y') NOT NULL default 'n',
911911
`disablesmtp` enum('n','y') NOT NULL default 'n',
912912
`disablesieve` enum('n','y') NOT NULL default 'n',
913+
`disablesieve-filter` enum('n','y') NOT NULL default 'n',
913914
`disablelda` enum('n','y') NOT NULL default 'n',
914915
`disablelmtp` enum('n','y') NOT NULL default 'n',
915916
`disabledoveadm` enum('n','y') NOT NULL default 'n',

install/tpl/debian6_dovecot-sql.conf.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ connect = host={mysql_server_host} dbname={mysql_server_database} user={mysql_se
1414
default_pass_scheme = CRYPT
1515

1616
password_query = SELECT password FROM mail_user WHERE (login = '%u' OR email = '%u') AND disable%Ls = 'n'
17-
user_query = SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE (login = '%u' OR email = '%u') AND disable%Ls = 'n'
17+
user_query = SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE (login = '%u' OR email = '%u') AND `disable%Ls` = 'n'
1818

1919
# The iterate_query is required for the doveadm command only and works only on dovecot 2 servers.
2020
# Do not enable it on Dovecot 1.x servers

install/tpl/fedora_dovecot-sql.conf.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ connect = host={mysql_server_host} dbname={mysql_server_database} user={mysql_se
134134
default_pass_scheme = CRYPT
135135

136136
password_query = SELECT password FROM mail_user WHERE (login = '%u' OR email = '%u') AND disable%Ls = 'n'
137-
user_query = SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE (login = '%u' OR email = '%u') AND disable%Ls = 'n'
137+
user_query = SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE (login = '%u' OR email = '%u') AND `disable%Ls` = 'n'
138138

139139
# The iterate_query is required for the doveadm command only and works only on dovecot 2 servers.
140140
# Do not enable it on Dovecot 1.x servers

install/tpl/opensuse_dovecot-sql.conf.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ connect = host={mysql_server_host} dbname={mysql_server_database} user={mysql_se
134134
default_pass_scheme = CRYPT
135135

136136
password_query = SELECT password FROM mail_user WHERE (login = '%u' OR email = '%u') AND disable%Ls = 'n'
137-
user_query = SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE (login = '%u' OR email = '%u') AND disable%Ls = 'n'
137+
user_query = SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE (login = '%u' OR email = '%u') AND `disable%Ls` = 'n'
138138

139139
# The iterate_query is required for the doveadm command only and works only on dovecot 2 servers.
140140
# Do not enable it on Dovecot 1.x servers

interface/web/client/form/client.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
'formtype' => 'SELECT',
251251
'default' => (isset($conf['language']) ? strtoupper($conf['language']) : ''),
252252
'datasource' => array ( 'type' => 'SQL',
253-
'querystring' => 'SELECT iso,printable_name FROM country ORDER BY iso ASC',
253+
'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name ASC',
254254
'keyfield' => 'iso',
255255
'valuefield' => 'printable_name'
256256
),

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@
129129
'ttl' => array (
130130
'datatype' => 'INTEGER',
131131
'formtype' => 'TEXT',
132+
'validators' => array ( 0 => array ( 'type' => 'RANGE',
133+
'range' => '60:',
134+
'errmsg'=> 'ttl_range_error'),
135+
),
132136
'default' => '86400',
133137
'value' => '',
134138
'width' => '10',

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@
122122
'ttl' => array (
123123
'datatype' => 'INTEGER',
124124
'formtype' => 'TEXT',
125+
'validators' => array ( 0 => array ( 'type' => 'RANGE',
126+
'range' => '60:',
127+
'errmsg'=> 'ttl_range_error'),
128+
),
125129
'default' => '86400',
126130
'value' => '',
127131
'width' => '10',

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@
138138
'ttl' => array (
139139
'datatype' => 'INTEGER',
140140
'formtype' => 'TEXT',
141+
'validators' => array ( 0 => array ( 'type' => 'RANGE',
142+
'range' => '60:',
143+
'errmsg'=> 'ttl_range_error'),
144+
),
141145
'default' => '86400',
142146
'value' => '',
143147
'width' => '10',

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@
136136
'ttl' => array (
137137
'datatype' => 'INTEGER',
138138
'formtype' => 'TEXT',
139+
'validators' => array ( 0 => array ( 'type' => 'RANGE',
140+
'range' => '60:',
141+
'errmsg'=> 'ttl_range_error'),
142+
),
139143
'default' => '86400',
140144
'value' => '',
141145
'width' => '10',

0 commit comments

Comments
 (0)