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

320 Commits

Author SHA1 Message Date
David Goodwin
a05f87723f reformat 2019-02-10 12:12:28 +00:00
David Goodwin
28870e4b45 explode if there is no db connection made 2019-02-10 12:11:58 +00:00
David Goodwin
b4564958a1 phpdoc; touch sqlite file before trying to use it in tests 2019-02-10 11:03:52 +00:00
8ctopus
4f2dab357c the directory the SQLite database is in must be writeable 2019-02-10 10:56:08 +05:00
hawk
ceae3caa37 sqlite3 databases: check that the file exists and is writeable 2019-02-10 10:06:59 +05:00
David Goodwin
92d6259cd0 possibly fix PGSQL PDO DSN to be unicode aware; see #243 2019-02-09 21:19:28 +00:00
hawk
c71dd25afa fix setup db_connect_with_errors PDO exceptions were not caught 2019-02-09 18:47:45 +05:00
David Goodwin
583b8958c7 psalm 2019-01-16 09:24:33 +00:00
David Goodwin
7838e85ff0 fix formatting 2019-01-11 17:20:25 +00:00
David Goodwin
5db463b35c improve docs 2019-01-11 17:12:16 +00:00
David Goodwin
cef2ba5598 Merge remote-tracking branch 'origin/master' into feature-try-pdo 2019-01-10 06:45:30 +00:00
Luca
e347b4677b
Fix for MySQL 8
The keyword ROW became reserved in MySQL 8.0.2
https://dev.mysql.com/doc/refman/8.0/en/keywords.html#keywords-8-0-detailed-R
2019-01-08 19:33:14 +01:00
David Goodwin
803e2342f8 fix psalm issues; reformat; rename new db functions 2019-01-06 21:32:58 +00:00
David Goodwin
1176c9ce78 reformat; fix some transition bugs 2019-01-06 21:32:58 +00:00
David Goodwin
ea33d9951a try migrating to pdo 2019-01-06 21:32:58 +00:00
David Goodwin
8798a65a06 remove db_array() function (not in use); use Config::read_string(..) more 2019-01-01 19:28:59 +00:00
David Goodwin
cdacb5697f improve formatting of error message; remove use of db_array (to be removed). 2019-01-01 19:24:04 +00:00
David Goodwin
2ea829eb7a fix postgresql compatability - see #227 2018-12-31 22:19:29 +00:00
David Goodwin
b2e814967f try and get working under travis ... 2018-12-29 21:45:12 +00:00
David Goodwin
590c80f0bc add more unit tests; re-enable random_int warning in functions.inc.php for old php versions etc etc 2018-12-29 20:54:25 +00:00
David Goodwin
e8acb609c2 reformat 2018-12-28 19:59:35 +00:00
David Goodwin
20b1eb842e fix sqlite display of password expired check for mailboxes 2018-12-28 19:57:21 +00:00
David Goodwin
1dfb03ea32 fix sqlite query for mailbox password_expiry 2018-12-28 19:54:25 +00:00
David Goodwin
4fcdba9cf4 run php-cs-fixer (code reforamt) 2018-12-28 19:31:43 +00:00
David Goodwin
19cda31849 remove psalm warnings from code; fix password_expiry behaviour when enabled/disabled on MySQL 2018-12-28 19:27:33 +00:00
David Goodwin
74002bbf57 psalm fixes 2018-12-27 21:43:11 +00:00
David Goodwin
7408a3b30a fix safepost doc 2018-12-27 13:55:21 +00:00
David Goodwin
69e234f668
Merge pull request #200 from doktoil-makresh/master
Support for password expiration, managed in PostFix Admin
2018-11-27 09:14:36 +00:00
David Goodwin
87472af5ba add Date header into smtp_from(...) function - see #203 2018-09-21 21:56:35 +01:00
David Goodwin
b1795ab596 phpdoc 2018-09-07 11:09:34 +01:00
David Goodwin
1e158245d6 try and fix #30 - cope with timestamp and numeric field number comparison better for PostgreSQL. 2018-09-07 11:04:19 +01:00
David Goodwin
a8b02cfc05 Default to default values 2018-09-07 11:01:18 +01:00
David Goodwin
77d1b6c2e7 rename sql fields to just have mailbox.password_expiry and domain.password_expiry 2018-08-28 21:19:56 +01:00
Damien Martins
8115d8d047 Reverting unexpected changes 2018-08-22 14:32:16 +02:00
Damien Martins
84533224ba Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 16:04:28 +02:00
Damien Martins
b33d79125c Merge branch 'master' of github.com:doktoil-makresh/postfixadmin 2018-08-21 16:02:02 +02:00
Damien Martins
d809e0fbf7 Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 15:57:06 +02:00
Damien Martins
72dddbc93b Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 15:49:40 +02:00
Damien Martins
ce60b9fa59 Now password expiration is managed through Postfix Admin GUI 2018-08-20 15:32:53 +02:00
Damien Martins
e786609aa9 Adding support for password expiration. Please read README.password_expiration for more details 2018-08-17 16:07:14 +02:00
David Goodwin
563b8c7636 phpdoc fixes (psalm) 2018-06-18 21:54:05 +01:00
David Goodwin
318ac048d5 psalm fixes 2018-06-10 21:24:12 +01:00
Aleksi Kinnunen
2df4348f09
Typo fix 2018-05-29 02:37:38 +02:00
Aleksi Kinnunen
48c19a1cbd
Combine encrypt CONF-keys
Went through the old PR #25, updated the encrypt rounds/cost setting to be in the encrypt -configuration key as per suggestion from @cboltz
2018-05-29 02:36:08 +02:00
Aleksi Kinnunen
c1b5e66e27
Add missing global
... you should never edit with the GitHub web GUI, lazy me.
2018-05-29 01:34:46 +02:00
Aleksi Kinnunen
b676e8337f
Allow empty $CONF['encrypt_difficulty'] for defaults 2018-05-29 01:29:50 +02:00
Aleksi Kinnunen
9c2161a549
Added support for password generation cost/rounds
$CONF["php_crypt_difficulty"], only for php_crypt:BLOWFISH, php_crypt:SHA256 and php_crypt:SHA512
2018-05-29 01:14:38 +02:00
David Goodwin
3754381f0e
Merge pull request #175 from racerxdl/master
'row' is a reserved word in MySQL 8.0
2018-05-18 08:38:20 +01:00
Lucas Teske
11f9680963
'row' is a reserved word in MySQL 8.0 2018-05-17 20:45:35 -03:00
Christian Boltz
2eb5a7ed60
simplify function_exists() checks for random_int()
It's easier to define a compat function than to have function_exists()
checks all over the code.
2018-05-04 22:36:05 +02:00