Commit Graph
2448 Commits
Author SHA1 Message Date
David Goodwin 92a7042ba1 fix typo checks 2020-11-09 21:56:08 +00:00
David Goodwin 2b33e8f3c3 remove conditional; should be unnecessary 2020-11-09 21:50:17 +00:00
David Goodwin 4188aa3868 regenerate psalm config 2020-11-09 21:49:50 +00:00
David Goodwin 750838d7f7 psalm fixes; make safepost()/safeget() return strings 2020-11-09 21:40:52 +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 06897d2234 bump psalm to v4.x 2020-11-09 21:30:32 +00:00
David Goodwin b7afe73502 fix detection of postgresql pdo extension 2020-11-09 21:15:06 +00:00
David Goodwin d012c375b0 Merge pull request #391 from postfixadmin/feature-refactor-login-etc
Feature refactor login etc
2020-11-02 20:54:41 +00:00
David Goodwin 529bdc1a25 Merge remote-tracking branch 'origin/master' into feature-refactor-login-etc postfixadmin-3.3-unstable 2020-10-14 19:56:11 +01:00
David Goodwin e35bbb3d90 add width: min-content; min-width: 600px to the main template to try and make it render better for wide list tables 2020-10-03 20:12:43 +01:00
David Goodwin 16531534a3 add @deprecated phpdoc 2020-10-02 20:57:55 +01:00
David Goodwin d07d115bd5 fix names .... 2020-10-02 20:56:45 +01:00
David Goodwin aab725eaee put a min-width on the main container to cover up it not rendering very well when too many features are turned on etc etc etc 2020-10-01 21:01:31 +01:00
David Goodwin 712939eb88 maintain backwards compatability with PFAHAndler::{store(),storemore(),beforestore()} 2020-09-28 21:51:57 +01:00
David Goodwin b8fa60bb8a more type hints / psalm fixes 2020-09-28 20:33:54 +01:00
David Goodwin d83b287297 rejig smarty 2020-09-28 20:33:21 +01:00
David Goodwin 68a8caac28 move the bootstrap theme to be the default 2020-09-28 20:32:57 +01:00
David Goodwin 36d747832e reindent some html 2020-09-27 20:45:53 +01:00
David Goodwin 0922db8210 change deletion to be a POST request, use btn-danger etc 2020-09-27 20:44:03 +01:00
David Goodwin a3386ee8f7 change alias/mailbox deletion to be a POST request 2020-09-27 20:41:25 +01:00
Christian Boltz 6a82063f41 Remove white background around postbox
... so that it better fits on the light grey background in the bootstrap
theme.
2020-09-27 19:30:35 +02:00
David Goodwin f6f62180e8 remove some global variables 2020-09-27 11:02:58 +01:00
David Goodwin 8be966d0bb allow the template to be destroyed 2020-09-27 10:52:19 +01:00
David Goodwin 290afa1473 should be gone 2020-09-27 10:52:03 +01:00
David Goodwin 8bfe9fe668 Rejig PFASmarty, so it becomes a singleton accessible to the various 'controllers'.
(PFASmarty::getInstance() ... stops a global variable at least).
2020-09-27 10:49:58 +01:00
David Goodwin 8abde0dc0b move $version into $CONF / Config from functions.inc.php 2020-09-27 10:47:56 +01:00
David Goodwin 484acfbf59 Remove the random_compat lib. 2020-09-27 10:47:22 +01:00
David Goodwin e4d5e4bee0 reformat 2020-09-26 09:58:16 +01:00
David Goodwin ce8c636eb5 rejig Login::__construct() as only one arg is really needed 2020-09-26 09:58:05 +01:00
David Goodwin 4e430e5925 reformat 2020-09-26 09:48:26 +01:00
David Goodwin 6ad44679a7 change default theme to the bootstrap one 2020-09-25 21:52:22 +01:00
David Goodwin d7fa33a3ed s/store/save/g 2020-09-25 21:43:34 +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 07805ec6c6 Update Postfix-Dovecot-Postgresql-Example.md
v v v v v vmail .....
2020-09-23 11:55:57 +01:00
David Goodwin 8658ed7083 Update Postfix-Dovecot-Postgresql-Example.md
typo fix via Raul (emailed).
2020-09-23 11:45:02 +01:00
David Goodwin 3d46ec7959 revert: 1d1960a476 - see https://github.com/postfixadmin/postfixadmin/issues/384 2020-09-12 21:04:18 +01:00
David Goodwin 4d8b4558d7 might fix: https://github.com/postfixadmin/postfixadmin/issues/378 2020-08-13 16:59:40 +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 d8f6c38a97 Merge branch 'aliasfix' of https://github.com/GermanCoding/postfixadmin into GermanCoding-aliasfix 2020-08-13 14:48:00 +01:00
David Goodwin b1ccb2b07b merge in socket support for postgresql connections - see https://github.com/postfixadmin/postfixadmin/issues/370 2020-08-13 14:47:00 +01:00
GermanCoding fe3e9e2702 Disallow alias that points to itself (fixes #358)
Based on an older commit, but this time done right. This change prevents any user-defined aliases
that point to themselves, because such aliases are not supported by Postfix and cause mail
delivery errors.
2020-08-07 22:15:45 +02:00
David Goodwin c3a8875ca6 psalm fixes 2020-08-06 21:10:30 +01:00
David Goodwin b0aa0141d7 reformat 2020-08-06 20:43:47 +01:00
David Goodwin 89aebea61d Revert "Disallow aliases that point to themselves (fixes postfixadmin/postfixadmin/issues/358)"
This reverts commit c3d5b26740.
2020-08-06 20:28:20 +01:00
David Goodwin 57a4787473 abort on any stderr output from doveadm ... see: https://github.com/postfixadmin/postfixadmin/issues/373#issuecomment-670007084 2020-08-06 19:42:34 +01:00