Commit Graph

2305 Commits (fd35dada387635279ec4143007a0420976b1d1e7)
 

Author SHA1 Message Date
David Goodwin 01477f0009
Merge pull request #277 from Nutomic/admin-smtp-password
Add option to use smtp password when sending admin emails (fixes #272)
5 years ago
Felix Ableitner 600248e955 Add option to use smtp password when sending admin emails (fixes #272) 5 years ago
Christian Boltz 55858bf3a0
Fix table names in gen_show_status()
... by using table_by_key() instead of reading $CONF directly.
Otherwise, $CONF['database_prefix'] gets ignored and the query tries to
use a wrong table name.

This fixes a bug introduced in d809e0fbf7
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 6 years ago
David Goodwin 1d1960a476 if CONF['generate_password'] == 'YES' then do not display password fields
Given we autogenerate a password ....
6 years ago
David Goodwin ae476950f2 try and avoid smarty complaining about no variable $conf - see https://github.com/postfixadmin/postfixadmin/issues/266 6 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 )
6 years ago
David Goodwin 8e2e4eb189 run: composer format 6 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 6 years ago
David Goodwin 95429a6963 reindent, remove comment 6 years ago
David Goodwin 3322b43bb6 see: https://github.com/postfixadmin/postfixadmin/issues/282 - try and ensure local_part contains an @ on creating a mailbox 6 years ago
David Goodwin 78764578db update languages to include the mailbox local_part string 6 years ago
David Goodwin d64eadf609 try and stop $_SERVER[REQUEST_SCHEME] not being defined - see https://github.com/postfixadmin/postfixadmin/issues/279 6 years ago
David Goodwin cc19870923 drop function: db_connect_with_errors(); just throw from db_connect() if something goes wrong 6 years ago
David Goodwin 87746e6de8
Merge pull request #281 from Nutomic/db-exceptions
Dont swallow database connection exceptions
6 years ago
Felix Ableitner 5d0a587fe7 Dont swallow database connection exceptions 6 years ago
David Goodwin 31de6c6d66
Merge pull request #278 from HeavyThumper/master
list.tpl - fix lowercase typo for $CONF variable reference for quota …
6 years ago
HeavyThumper 16bf5cab7f
list.tpl - fix lowercase typo for $CONF variable reference for quota handling 6 years ago
David Goodwin 71402e9051 comment 6 years ago
David Goodwin ad858592f4 remove password_expiry logic from generic db_update function; the various *Handler classes should fix the password_expiry field already and this just breaks PgSQL; see #264 6 years ago
David Goodwin 7ed4df5459
Merge pull request #265 from r0l1/master
Allow Top-Level-Domain with 1 char
6 years ago
Roland Singer 23a7f1bfda allow TLD with 1 char 6 years ago
David Goodwin 3fc5c74040 drop old / invalid postfix paramaeters - see #262 6 years ago
David Goodwin d4d47e02cc .deb packaging: move php-imap from being a dependency to a suggestion - see https://github.com/postfixadmin/postfixadmin/issues/251 6 years ago
David Goodwin 684cf3d829
Merge pull request #255 from csware/quota-level
Make quota levels configurable
6 years ago
Sven Strickroth 56395709f3 Make quota levels configurable
Signed-off-by: Sven Strickroth <email@cs-ware.de>
6 years ago
David Goodwin 852a09f138 move version string output to only be shown to logged in users - see #252 6 years ago
David Goodwin dcef888587 token test coverage 6 years ago
David Goodwin 045a19ae33 re-format 6 years ago
David Goodwin 7ed57a0cda assume the db updates work if no exception was thrown 6 years ago
David Goodwin 9024dddf46 move password_expiration code into the MailboxHandler. 6 years ago
David Goodwin b8ee437169 add throw_exceptions parameter to db_update and db_insert. 6 years ago
David Goodwin df99e66b2d try and stop "A non-numeric value encountered in ..."; see #239 6 years ago
David Goodwin 4a084d91b5
Merge pull request #249 from mtdcr/scram-sha-1
pacrypt_dovecot: Don't blacklist SCRAM-SHA-1
6 years ago
Andreas Oberritter 000416c401 pacrypt_dovecot: Don't blacklist SCRAM-SHA-1
Actually it doesn't include the username at all. Fixes commit f444de4.
6 years ago
David Goodwin e9ed15143e add token MailboxHandler test 6 years ago
David Goodwin de5b739d4a drop unnecessary common.php 6 years ago
David Goodwin 28e687ff5b sqlite does not support NOW(), use a string comparison 6 years ago
David Goodwin 7718ca808d try adding code coverage things 6 years ago
David Goodwin 2a0f708529 relax version check for php-cs-fixer so it will work with php7.3 as well 6 years ago
David Goodwin 215daecf29
Merge pull request #248 from Slamdunk/patch-1
[Travis] Build also against PHP 7.3
6 years ago
Filippo Tessarotto 361f0ccb22
[Travis] Build also against PHP 7.3 6 years ago
David Goodwin 9ccf5250cd remove config dump 6 years ago
David Goodwin 81fed601a2 remove var_dumps 6 years ago
David Goodwin 06513c2a14 remove quotes around table name which is not necessary as table_by_key does this 6 years ago
David Goodwin 079462bb29 wrong password variable/key 6 years ago
David Goodwin 496657aa5d echo something helpful on db error when testing 6 years ago
David Goodwin d6fc337272 dump mysql config things; lets fumble about in the dark once again and see... 6 years ago
David Goodwin 2e87464fc8 initial attempt at connecting to mysql socket file through pdo 6 years ago
David Goodwin d30c122f37 possible handling of mysql socket file 6 years ago