Commit Graph

343 Commits (268daa892df0a60ede0fcde4f339488ab3b940ea)

Author SHA1 Message Date
David Goodwin 95d92a2345 psalm fix: rewrite to avoid php error (@) suppression 6 years ago
Christian Boltz bee61f329b
Only show password expiration if enabled in config 6 years ago
David Goodwin 1ad184641d php7.4 / psalm fixes 6 years ago
David Goodwin bcae218cbb composer format time 6 years ago
David Goodwin 87824ef970 psalm fixes/workarounds; require PHP 5.6+ 6 years ago
David Goodwin 4aa3110712 phpdoc/psalm fixes 6 years ago
David Goodwin 2742849e7b reformat 6 years ago
David Goodwin 7965a83aff tighten psalm checks even more 6 years ago
David Goodwin 034a50836c tighten psalm checks 6 years ago
David Goodwin f7c7e35b34 fix formatting 6 years ago
David Goodwin 80418e6412 try and avoid hitting : https://github.com/postfixadmin/postfixadmin/issues/51 6 years ago
David Goodwin 9cd7dac187 initial attempt at trying to return an exit value within the cli 6 years ago
David Goodwin 34cf66110e see https://github.com/postfixadmin/postfixadmin/issues/251 - avoid things breaking if imap_open is not present 6 years ago
David Goodwin 296fc2f48e silence psalm error - cast $show_password_fields to an int in model/MailboxHandler.php lines 33/34 6 years ago
David Goodwin 8b19ef21cf add default value for password_expiry (default to one year)
should fix: https://github.com/postfixadmin/postfixadmin/issues/280
7 years ago
David Goodwin c53d17fff7 support TRUE orFALSE strings just incase 7 years ago
Felix Ableitner 600248e955 Add option to use smtp password when sending admin emails (fixes #272) 7 years ago
David Goodwin 651688c802 if we are generating passwords, there will only be one password value; so reduce the fields we check before deciding whether to update password_expiry - see https://github.com/postfixadmin/postfixadmin/issues/266 7 years ago
David Goodwin 1d1960a476 if CONF['generate_password'] == 'YES' then do not display password fields
Given we autogenerate a password ....
7 years ago
David Goodwin 3ff2436f2f try a bit harder to avoid non-numeric argument issues with $multiplier
(see https://github.com/postfixadmin/postfixadmin/issues/266 )
7 years ago
David Goodwin 8e2e4eb189 run: composer format 7 years ago
David Goodwin 03b9483204 default to providing a password_expiry datetime value - even if password_expiry is turned off - this should fix https://github.com/postfixadmin/postfixadmin/issues/280 7 years ago
David Goodwin 3322b43bb6 see: https://github.com/postfixadmin/postfixadmin/issues/282 - try and ensure local_part contains an @ on creating a mailbox 7 years ago
David Goodwin 71402e9051 comment 7 years ago
David Goodwin 045a19ae33 re-format 7 years ago
David Goodwin 7ed57a0cda assume the db updates work if no exception was thrown 7 years ago
David Goodwin 9024dddf46 move password_expiration code into the MailboxHandler. 7 years ago
David Goodwin df99e66b2d try and stop "A non-numeric value encountered in ..."; see #239 7 years ago
David Goodwin 28e687ff5b sqlite does not support NOW(), use a string comparison 7 years ago
Christian Boltz 5bc85bec44
fix error message in Config::read_array(() 7 years ago
David Goodwin 570972944d Merge remote-tracking branch 'origin/master' into feature-try-pdo 7 years ago
David Goodwin 5d47b85b9d remove attribute that is in parent class 7 years ago
David Goodwin 020343999a
Merge pull request #221 from SuperVirus/fetchmail_different_source_port
Allow different port for fetchmail
7 years ago
David Goodwin 803e2342f8 fix psalm issues; reformat; rename new db functions 7 years ago
David Goodwin 1176c9ce78 reformat; fix some transition bugs 7 years ago
David Goodwin ea33d9951a try migrating to pdo 7 years ago
David Goodwin d78fb1fbbd move to Shell 7 years ago
David Goodwin e5cacbec90 add missing attribute 7 years ago
David Goodwin 4fcdba9cf4 run php-cs-fixer (code reforamt) 7 years ago
David Goodwin 19cda31849 remove psalm warnings from code; fix password_expiry behaviour when enabled/disabled on MySQL 7 years ago
David Goodwin 74002bbf57 psalm fixes 7 years ago
David Goodwin 173d5775cd psalm fixes 7 years ago
Christoph 'SuperVirus' Heitkamp d35e66808b Allow different port for fetchmail 7 years ago
David Goodwin 69e234f668
Merge pull request #200 from doktoil-makresh/master
Support for password expiration, managed in PostFix Admin
7 years ago
David Goodwin afd418675c pointless comment 7 years ago
David Goodwin 77d1b6c2e7 rename sql fields to just have mailbox.password_expiry and domain.password_expiry 7 years ago
Damien Martins ce60b9fa59 Now password expiration is managed through Postfix Admin GUI 7 years ago
Damien Martins e786609aa9 Adding support for password expiration. Please read README.password_expiration for more details 7 years ago
David Goodwin 76ee147375 phpdoc fix 8 years ago
David Goodwin ec085b668b missing class property 8 years ago