Commit Graph
295 Commits
Author SHA1 Message Date
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
David Goodwin b4849b8431 bump minimum db version 2018-05-02 21:25:36 +01:00
David Goodwin 4c6bcdbc39 update version 2018-05-02 21:25:06 +01:00
David Goodwin 5b7f4cda48 add phpdoc comments, default php_crypt hash to use SHA512 rather than MD5 2018-05-02 21:21:25 +01:00
David Goodwin 7282928e6d update generate_password() to allow length to be specified; update test 2018-05-02 21:19:47 +01:00
Christian Boltz a3feba7c73 change default for php_crypt to SHA512
(+ a few whitespace changes)
2018-05-02 22:18:24 +02:00
David Goodwin b48f99d4c6 reformat (phpcs) 2018-05-02 12:54:17 +01:00
David Goodwin e7f9d536d9 change default salt method with php_crypt 2018-05-02 12:49:47 +01:00
David Goodwin f543c7d403 use random_int() if available 2018-04-29 21:53:38 +01:00
David Goodwin 7c0cb82be8 use random_int if it is available 2018-04-29 20:51:48 +01:00
snuggeman 11f0ceb615 added php_crypt scheme 2018-04-29 15:39:58 +02:00
David Goodwin 9a07772626 remove commented out echo 2018-04-23 09:14:45 +01:00
Christian Boltz 30c61e81b3 better comment for pacol() parameter 2018-04-22 20:09:13 +02:00
Lucas Teske 50ac4c7597 Fixed "Incorrect integer value: 'Array' for column" error in updates. 2018-02-21 22:50:02 -03:00
David Goodwin d57aa46eb5 remove explode() 2018-02-21 19:48:17 +00:00
David Goodwin 2a1d8daeba remove unused variables 2018-02-21 19:48:17 +00:00
David Goodwin b79ad2ae28 composer format ... 2018-02-19 21:01:23 +00:00
David Goodwin 6446f3f6cc split up pacrypt() into different functions; add some minimal test coverage 2018-02-19 20:59:52 +00:00
David Goodwin 6ed1527497 fix phpdoc 2018-02-18 20:32:34 +00:00
David Goodwin cb34da4f46 phpcs reformat 2018-02-18 19:59:37 +00:00
David Goodwin 43a2493876 remove unused code. 2018-02-10 21:07:33 +00:00
David Goodwin 4dec9cd24e refactor (reduce nesting) 2018-02-10 21:07:10 +00:00
David Goodwin d088651fd6 Drop db_commit(), db_rollback(), db_begin() functions (unused). 2018-02-10 21:05:57 +00:00
David Goodwin 0b66cd6bd2 Do not try to db_escape() an SQL field. 2018-02-10 21:04:29 +00:00
David Goodwin 4e9d166765 use db_assoc() rather than db_array() as we're depending on an assoc array afterall. 2018-02-10 21:02:52 +00:00
David Goodwin 45a1073b97 change to use foreach($a as $k => $v) { ... } 2018-02-10 21:02:09 +00:00