0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

merge postfixadmin_3.3 into master

This commit is contained in:
David Goodwin 2021-05-13 13:15:27 +01:00
parent ad342e1d67
commit 8518d53906
5 changed files with 21 additions and 9 deletions

View File

@ -6,7 +6,7 @@
#
# Further details on the project are available at https://github.com/postfixadmin/postfixadmin
MASTER (should have all changes from 3.3.9 plus)
MASTER (should have all changes from 3.3.10 plus)
------
- Add optional Dovecot mail-crypt plugin support - see https://github.com/postfixadmin/postfixadmin/issues/408
@ -18,11 +18,20 @@ MASTER (should have all changes from 3.3.9 plus)
- Improve vacation.pl's headers in auto-reply mails (add: "Auto-Submitted: auto-replied") see https://github.com/postfixadmin/postfixadmin/pull/483
Version 3.3.9 - ??????????
Version 3.3.10 - ???
-------------------------------------------------
- Improve Ukrainian language (thanks: andrew.kudrinov) (forgot to cherry-pick 4a960a0ce06b0754fa7b39aed0d5c57a88b20720 from master)
- Merge password expiration fixes from https://github.com/postfixadmin/postfixadmin/pull/493
- Remove html readonly attribute from user's vacation page to/from selectors.
Version 3.3.9 - 2021/05/12
-------------------------------------------------
- Improve Ukrainian language (ua.lang) (thanks: andrew.kudrinov)
- Ensure we update timestamp fields (created / modified) when performing db operations, see: https://github.com/postfixadmin/postfixadmin/issues/469
- Add domain_admins.id pk column for non-sqlite users, see: https://github.com/postfixadmin/postfixadmin/issues/475
- Add fix for MySQL error where a default datetime value in the domain field breaks the upgrade.php db schema update, see https://github.com/postfixadmin/postfixadmin/issues/489
- Bug fix quota levels (now user configurable again; thanks @csware, see https://github.com/postfixadmin/postfixadmin/commit/bfc7af5c8efe2a68c47286cc870b56cb4f929a3f
>>>>>>> postfixadmin_3.3
Version 3.3.8 - 2021/03/04
-------------------------------------------------

View File

@ -15,7 +15,7 @@
*/
$min_db_version = 1843; # update (at least) before a release with the latest function numbrer in upgrade.php
$min_db_version = 1844; # update (at least) before a release with the latest function numbrer in upgrade.php
/**
* check_session

View File

@ -275,12 +275,14 @@ $PALANG['domain_updated'] = 'Домен %s успішно оновлено.';
$PALANG['pAdminDelete_admin_error'] = 'Неможливо видалити адміністратора!';
$PALANG['domain_postdel_failed'] = 'Не вдалося коректно виконати скрипт після видалення домену, подробиці дивіться у журналі помилок!';
$PALANG['domain_postedit_failed'] = 'The domain postedit script failed, check the error log for details!'; # XXX
$PALANG['domain_postedit_failed'] = 'Не вдалося коректно виконати скрипт після редагування домену, подробиці дивіться у журналі помилок!';
$PALANG['domain_postcreate_failed'] = 'Не вдалося коректно виконати скрипт після створення домену, подробиці дивіться у журналі помилок!';
$PALANG['mailbox_postdel_failed'] = 'Не вдалося коректно виконати скрипт після видалення поштової скриньки, подробиці дивіться у журналі помилок!';
$PALANG['mailbox_postedit_failed'] = 'Не вдалося коректно виконати скрипт після редагування поштової скриньки, подробиці дивіться у журналі помилок!';
$PALANG['mailbox_postcreate_failed'] = 'Не вдалося коректно виконати скрипт після створення поштової скриньки, подробиці дивіться у журналі помилок!';
$PALANG['mailbox_postpassword_failed'] = 'The mailbox postpassword script failed, check the error log for details!'; # XXX
$PALANG['mailbox_postpassword_failed'] = 'Не вдалося коректно виконати скрипт після зміни пароля поштової скриньки, подробиці дивіться у журналі помилок!';
$PALANG['pAdminDelete_alias_domain_error'] = 'Неможливо видалити псевдоним (аліас) домену!';
$PALANG['domain_conflict_vacation_domain'] = 'Ви не можете використовувати домен автовідповідача у якості поштового домену!';

View File

@ -112,7 +112,7 @@ class Login
if (is_array($result) && isset($result['domain'])) {
return $result['domain'];
} else {
return NULL;
return null;
}
}

View File

@ -256,7 +256,7 @@ function db_query_parsed($sql, $ignore_errors = 0, $attach_mysql = "")
'{UNSIGNED}' => 'unsigned' ,
'{FULLTEXT}' => 'FULLTEXT',
'{BOOLEAN}' => "tinyint(1) NOT NULL DEFAULT '" . db_get_boolean(false) . "'",
'{UTF-8}' => '/*!40100 CHARACTER SET utf8 */',
'{UTF-8}' => '/*!40100 CHARACTER SET utf8mb4 */',
'{LATIN1}' => '/*!40100 CHARACTER SET latin1 COLLATE latin1_general_ci */',
'{IF_NOT_EXISTS}' => 'IF NOT EXISTS',
'{RENAME_COLUMN}' => 'CHANGE COLUMN',
@ -1890,7 +1890,7 @@ function upgrade_1836_mysql()
/**
* @return void
*/
function upgrade_1837()
function upgrade_1837()
{
if (db_sqlite()) {
return;
@ -1903,6 +1903,7 @@ function upgrade_1837()
_db_add_field($table, 'token_validity', '{DATETIME}', 'token');
}
}
# TODO MySQL:
# - various varchar fields do not have a default value
# https://sourceforge.net/projects/postfixadmin/forums/forum/676076/topic/3419725