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

103 Commits

Author SHA1 Message Date
Oliver Cooper
35ecb62730 Add password special character support 2022-02-13 17:21:20 +00:00
David Goodwin
4bc3e1464c make sure php_crypt:BLOWFISH works 2021-11-14 20:50:41 +00:00
David Goodwin
598f7db2e7 skip ARGON2ID* things if using an old PHP variant 2021-09-29 21:27:28 +01:00
David Goodwin
91a3dde446 older php variants do not have argon2i 2021-09-29 21:23:18 +01:00
David Goodwin
40101c84d4 fix formatting 2021-09-29 21:10:43 +01:00
David Goodwin
ac13219894 improve test coverage / compatability 2021-09-29 21:05:19 +01:00
David Goodwin
309b4a84aa get legacy test case to pass 2021-09-29 18:32:46 +01:00
David Goodwin
0b9b7db917 Merge remote-tracking branch 'origin/master' into feature-improve-pacrypt 2021-09-29 18:04:49 +01:00
David Goodwin
561216c83d composer format 2021-09-25 20:34:32 +01:00
David Goodwin
55e7515c9c more testings (pacrypt() related) 2021-09-25 20:33:15 +01:00
David Goodwin
284e1f7eb2 fix test after language change 2021-07-08 19:44:11 +01:00
David Goodwin
179dd4c6e2 try and improve hashing, remove duplicate code, try and cope with the algorithm/method in $pw_db being different from the configured one; add tests 2021-05-11 21:56:48 +01:00
David Goodwin
543285a203 add SSHA format, add some specific courier algorithms, try and partially update docs 2021-05-09 21:31:53 +01:00
David Goodwin
71ee810891 try and implement more hash mechanisms - see e.g. https://github.com/postfixadmin/postfixadmin/issues/479 and https://github.com/postfixadmin/postfixadmin/issues/379 2021-05-08 21:47:45 +01:00
David Goodwin
2edabc3e03 phpcs insists on some brace changes 2021-04-13 21:19:16 +01:00
David Goodwin
c300a8070e ensure timestamps are non-empty after update for mailbox 2021-04-05 21:11:39 +01:00
David Goodwin
3ad0591006 ensure MailboxHandler does result in modified timestamp being updated, and they are both set on insertion - see #469 2021-04-05 21:11:39 +01:00
David Goodwin
823f27b29d phpcs wants to change ... 2021-03-22 09:28:28 +00:00
David Goodwin
5b77278013 add something to test Login::passwordChange() works 2021-02-23 09:57:01 +00:00
David Goodwin
d9813d4cf8 see #446 - try and detect site url but allow for $CONF['site_url'] override to be used. 2021-02-07 20:35:58 +00:00
David Goodwin
d576aafd67 might help stop sqlite test conflicts 2021-01-25 22:08:36 +00:00
David Goodwin
e7e1ce9c28 fix postgresql test 2021-01-19 16:50:56 +00:00
David Goodwin
94836ed156 delete local stuff 2021-01-18 22:16:18 +00:00
David Goodwin
de820e7688 ensure we delete aliases 2021-01-18 22:16:10 +00:00
David Goodwin
f14deb5426 improve tests 2021-01-18 22:15:56 +00:00
David Goodwin
d65d70c6ed fix test if quota is turned on 2021-01-18 20:46:37 +00:00
David Goodwin
ff2a7c96d4 update changelog; try and improve tests 2021-01-14 17:07:55 +00:00
David Goodwin
0096a41693 format 2021-01-12 11:00:56 +00:00
David Goodwin
7090b5af75 changes to pacrypt to support a prefix like {SHA265-CRYPT} on a hash - @see https://github.com/postfixadmin/postfixadmin/issues/344 2021-01-12 10:59:25 +00:00
David Goodwin
a2dd768858 reformat 2020-12-23 16:24:41 +00:00
David Goodwin
4712d83c98 see: https://github.com/postfixadmin/postfixadmin/issues/390 - support a callable which
allows for password validation against any external service.
2020-11-09 21:37:47 +00:00
David Goodwin
ce8c636eb5 rejig Login::__construct() as only one arg is really needed 2020-09-26 09:58:05 +01:00
David Goodwin
7107e17c4c composer format 2020-09-25 21:33:26 +01:00
David Goodwin
b868f950bf refactor Login stuff out of Handler classes into Login... add tests 2020-09-25 21:32:53 +01:00
David Goodwin
f091948381 move password check and recovery code generation out of PFAHandlers and into a Login class 2020-09-25 21:32:03 +01:00
David Goodwin
3c7da4f3b8 Refactor some methods
PFAHandler::store() -> PFAHandler::save();
 PFAHandler::storemore() -> PFAHandler::postSave();
 PFAHandler::beforestore() -> PFAHandler::preSave();
2020-09-25 21:29:45 +01:00
David Goodwin
10c92da8c8 improve domain handler test 2020-09-24 22:32:19 +01:00
David Goodwin
12f68a6e3a composer format time 2020-08-13 15:27:47 +01:00
David Goodwin
5bd5bdc25b merge https://github.com/postfixadmin/postfixadmin/pull/375 add unit test 2020-08-13 15:00:22 +01:00
David Goodwin
ef1fb36133 improve unit tests for PostgreSQL 2020-06-23 21:43:19 +01:00
David Goodwin
85e15790bb should fix: #351 2020-05-02 19:08:47 +01:00
David Goodwin
3cd62f9f4f update to phpunit v8, try changing coveralls library, update github action 2020-04-14 21:03:10 +01:00
David Goodwin
1c0fd02323 composer format time 2020-03-14 22:34:52 +00:00
David Goodwin
3b9d8f867e merge sha512.b64 encrypt support - see https://github.com/postfixadmin/postfixadmin/issues/58 2020-03-14 22:30:51 +00:00
David Goodwin
5e1a4e27dd ensure edit works 2020-03-03 09:49:46 +00:00
David Goodwin
79ee5f82cb add a far better MailboxHandler test case 2020-03-02 09:55:44 +00:00
David Goodwin
01b4d6c587 cleanup db after running 2020-03-02 09:55:35 +00:00
David Goodwin
6a7abbe663 fix formatting 2020-03-02 09:41:31 +00:00
David Goodwin
28a3f5f157 better testing 2020-03-02 09:37:17 +00:00
David Goodwin
c66755a0da remove test for code that probably does not work 2019-09-17 21:45:20 +01:00