112 Commits (master)

Author SHA1 Message Date
David Goodwin 16facd0fb8
scripts/postfixadmin-cli.php : see #385 - add to the current error reporting level, not trample all over it 5 months ago
David Goodwin ad68f20f82
avoid passing null to exit, see also #921 8 months ago
David Goodwin 798e8b269c
Topt app passwords fixes (WIP) (#805) 8 months ago
David Goodwin fa56b1ccb8
scripts/examples/vacation-cron.php: add db_get_boolean() call, this should let it work on postgresql too 2 years ago
David Goodwin c32f344b9d
formatting? 2 years ago
David Goodwin 519c934ed3
Add minimal cron job to remove old vacation alias records - see https://github.com/postfixadmin/postfixadmin/issues/832 2 years ago
David Goodwin f01274ec94
try relaxing composer dependencies to allow php8.2 dev support, reformat so composer format passes 2 years ago
Shao Yu-Lung (Allen) 0876c368e4
feat: support Dovecot DIGEST-MD5 (#816) 2 years ago
David Goodwin 015d4ec9cd reindent / reformat; add type hints for some of the app password stuff; try and make sure someone can only remove their own app password (see revokeAppPassword() ) 2 years ago
David Goodwin 4d17aa6ef9 manaul merge in of verdigado:master (see #753) (MFA/TOTP support) 2 years ago
David Goodwin 2882f86ad8 fix formatting 4 years ago
David Goodwin 2d6ded2786 PSR2 -> PSR12 formatting 4 years ago
David Goodwin 2edabc3e03 phpcs insists on some brace changes 5 years ago
David Goodwin 823f27b29d phpcs wants to change ... 5 years ago
David Goodwin 14aea8a383 fix php8 moaning about { } on strings 5 years ago
David Goodwin ddafed6f4d fix php8 moaning about { } on strings 5 years ago
David Goodwin d49de35189 improve docs 6 years ago
Christian Boltz ad4142134a
merge __parseParams() into parseParams() 6 years ago
Christian Boltz 9833a8f289
whitespace fix in __parseParams() 6 years ago
Christian Boltz 4e9e3db75d
Fix parameter parsing for '-1' 6 years ago
David Goodwin 2742849e7b reformat 6 years ago
David Goodwin 34e6f7829e tighten psalm checks; fix errors 6 years ago
David Goodwin 034a50836c tighten psalm checks 6 years ago
David Goodwin f7c7e35b34 fix formatting 6 years ago
David Goodwin 17a50c51f1 drop some dies; use Exception and catch after dispatch() - see #197 6 years ago
David Goodwin 2ff05bc737 typo 6 years ago
David Goodwin 9cd7dac187 initial attempt at trying to return an exit value within the cli 6 years ago
Lars Liedtke 0c94760828
Update postfixadmin-cli 6 years ago
David Goodwin 4fcdba9cf4 run php-cs-fixer (code reforamt) 7 years ago
David Goodwin 029c4ffe47 psalm fixes 7 years ago
David Goodwin 6d328795cb remove windows code; remove array_merge (seems to just break parsing) 8 years ago
David Goodwin aa38d0090d token fixes; code looks incomplete anyway 8 years ago
David Goodwin 97c48a0fc9 fix phpdoc 8 years ago
David Goodwin b48f99d4c6 reformat (phpcs) 8 years ago
Christian Boltz c7201afa6c
drop unused shells/mailbox.php 8 years ago
Christian Boltz 12c4a4f29e
move shells/shell.php to model/Shell.php 8 years ago
Christian Boltz 71d61a1d8a
drop superfluous Config::read('all') call 8 years ago
Christian Boltz 48a3709041
postfixadmin-cli: get rid of empty/unused initialize() 8 years ago
Christian Boltz 36fe1f6ccc
remove deleted functions from $protectedCommands 8 years ago
Christian Boltz 5e93dfe604
postfixadmin-cli: drop (undocumented) -webroot etc. 8 years ago
David Goodwin 2f7d3d9534 remove (possibly) unnecessary Config::read(all) calls ... see #144 8 years ago
Adrien Crivelli 15df6c1d7b
Reformat everything with PHP-Cs-Fixer 8 years ago
David Goodwin 252d42dcc0 fix perms (executable) 8 years ago
Christian Boltz 13cdd50d0a Add checks to login.php and cli to ensure database layout is up to date 10 years ago
Christian Boltz 694d13f6db delete suprefluous whitespace 10 years ago
David Goodwin 54603b0968 reforamt cli commands; update code to php v5 syntax; remove regexp and use filter_var for email validation; use private/protected/public 10 years ago
Christian Boltz 5dac4295a4 postfixadmin-cli.php: 10 years ago
Christian Boltz 3640a1b804 postfixadmin-cli.php: 11 years ago
Christian Boltz d9e30fb41b Add CliScheme.php: 11 years ago
Christian Boltz da14ddf6d7 postfixadmin-cli.php: 12 years ago