Commit Graph

360 Commits (master)

Author SHA1 Message Date
David Goodwin 864065cd37 fix MailboxHandler -> adding mailbox with empty quota field 4 years ago
David Goodwin 85e15790bb should fix: #351 4 years ago
David Goodwin df9a400ea2 remove debug stuff 4 years ago
David Goodwin fd48714615 fix issue reported with __LANG.$var - 844840c6a8 (commitcomment-38653465) 4 years ago
David Goodwin 844840c6a8 simplify Config use; drop support for dotty name notation which we are not using 4 years ago
David Goodwin e4158d6d7e psalm fix 4 years ago
David Goodwin ffc7787b76 psalm fix 4 years ago
David Goodwin d81363541a fix psalm 4 years ago
David Goodwin 338fb8c564 Fix quota storage; see https://github.com/postfixadmin/postfixadmin/issues/342 4 years ago
David Goodwin d3295a59bb format 4 years ago
David Goodwin d540d904db cast mailbox['quota'] to be integer.
see:  https://github.com/postfixadmin/postfixadmin/issues/342
4 years ago
David Goodwin 3303f25bcc add some php 7+ array type hints. 4 years ago
David Goodwin 48e236ffc0 use hash_equals for login - see: https://github.com/postfixadmin/postfixadmin/issues/58 4 years ago
David Goodwin fefe3f7df5 default domain_quota_default to -1 if not specified - see https://github.com/postfixadmin/postfixadmin/issues/299 4 years ago
David Goodwin d2b8f7ac15 might fix: https://github.com/postfixadmin/postfixadmin/issues/306 4 years ago
David Goodwin 30f97c97ee avoid: A non-numeric value encountered errors from no quota being specified 4 years ago
David Goodwin 9dfc866edd composer format 4 years ago
David Goodwin 95d92a2345 psalm fix: rewrite to avoid php error (@) suppression 4 years ago
Christian Boltz bee61f329b
Only show password expiration if enabled in config 4 years ago
David Goodwin 1ad184641d php7.4 / psalm fixes 4 years ago
David Goodwin bcae218cbb composer format time 5 years ago
David Goodwin 87824ef970 psalm fixes/workarounds; require PHP 5.6+ 5 years ago
David Goodwin 4aa3110712 phpdoc/psalm fixes 5 years ago
David Goodwin 2742849e7b reformat 5 years ago
David Goodwin 7965a83aff tighten psalm checks even more 5 years ago
David Goodwin 034a50836c tighten psalm checks 5 years ago
David Goodwin f7c7e35b34 fix formatting 5 years ago
David Goodwin 80418e6412 try and avoid hitting : https://github.com/postfixadmin/postfixadmin/issues/51 5 years ago
David Goodwin 9cd7dac187 initial attempt at trying to return an exit value within the cli 5 years ago
David Goodwin 34cf66110e see https://github.com/postfixadmin/postfixadmin/issues/251 - avoid things breaking if imap_open is not present 5 years ago
David Goodwin 296fc2f48e silence psalm error - cast $show_password_fields to an int in model/MailboxHandler.php lines 33/34 5 years ago
David Goodwin 8b19ef21cf add default value for password_expiry (default to one year)
should fix: https://github.com/postfixadmin/postfixadmin/issues/280
5 years ago
David Goodwin c53d17fff7 support TRUE orFALSE strings just incase 5 years ago
Felix Ableitner 600248e955 Add option to use smtp password when sending admin emails (fixes #272) 5 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 5 years ago
David Goodwin 1d1960a476 if CONF['generate_password'] == 'YES' then do not display password fields
Given we autogenerate a password ....
5 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 )
5 years ago
David Goodwin 8e2e4eb189 run: composer format 5 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 5 years ago
David Goodwin 3322b43bb6 see: https://github.com/postfixadmin/postfixadmin/issues/282 - try and ensure local_part contains an @ on creating a mailbox 5 years ago
David Goodwin 71402e9051 comment 5 years ago
David Goodwin 045a19ae33 re-format 5 years ago
David Goodwin 7ed57a0cda assume the db updates work if no exception was thrown 5 years ago
David Goodwin 9024dddf46 move password_expiration code into the MailboxHandler. 5 years ago
David Goodwin df99e66b2d try and stop "A non-numeric value encountered in ..."; see #239 5 years ago
David Goodwin 28e687ff5b sqlite does not support NOW(), use a string comparison 5 years ago
Christian Boltz 5bc85bec44
fix error message in Config::read_array(() 5 years ago
David Goodwin 570972944d Merge remote-tracking branch 'origin/master' into feature-try-pdo 5 years ago
David Goodwin 5d47b85b9d remove attribute that is in parent class 5 years ago
David Goodwin 020343999a
Merge pull request #221 from SuperVirus/fetchmail_different_source_port
Allow different port for fetchmail
5 years ago