399 Commits (postfixadmin-3.3.13)

Author SHA1 Message Date
David Goodwin 910c890410 psalm fixes 3 years ago
David Goodwin b18ed591a2 bumping php-cs-fixer; formatting rules change slightly 4 years ago
David Goodwin 4c0983f899 cherry-pick f8c8dcf520 so we can have $CONF[database_port] in v3.3.x 4 years ago
David Goodwin bef2d7c536 composer format 4 years ago
David Goodwin ef4ac3ce4b see - https://github.com/postfixadmin/postfixadmin/issues/549 - use $CONF["database_port"] when connecting to MySQL 4 years ago
David Goodwin cf4d1976c2 see https://github.com/postfixadmin/postfixadmin/issues/547 4 years ago
David Goodwin 8e3d5b5545 remove extra semi-colon - thanks to @PF4Public / #524 5 years ago
David Goodwin feb5cbc7f3 see https://github.com/postfixadmin/postfixadmin/issues/523 - improve randomness when creating the PFA_token field; reported by @michaellrowley via huntr.dev. 5 years ago
David Goodwin 51d97d7bad postfixadmin 3.3.9 5 years ago
David Goodwin 55347521e4 composer format 5 years ago
David Goodwin 04f20d9333 see #469 - try and make sure we do update timestamp fields 5 years ago
David Goodwin 8815b07bba improve phpdocs 5 years ago
David Goodwin c87d8a8319 split db_connect() up to separate out db_connection_string() (which returns a PDO DSN string) 5 years ago
David Goodwin 52933a6307 remove change to table_by_key() as the original bug has been found in Login 5 years ago
David Goodwin bcf1f8c7e4 move min_password_length check into a conditional Config::has() check first 5 years ago
David Goodwin da7607c9c5 see #429 - check for some CONF keys before trying to use them 5 years ago
David Goodwin d81be5640d try and make config reading a bit more robust - see https://github.com/postfixadmin/postfixadmin/issues/429 5 years ago
David Goodwin 6c3ff42036 make sure we do not double quote mysql table names somehow 5 years ago
David Goodwin 910490e83f see https://github.com/postfixadmin/postfixadmin/issues/422 - not all variants of MySQL have RANDOM_BYTES() 5 years ago
David Goodwin 5151b860e7 add @todo, default MySQL ENCRYPT() to have a random salt, SHA512 format 5 years ago
David Goodwin 113ab02f54 reformat; add to CHANGELOG 5 years ago
David Goodwin 0096a41693 format 5 years ago
David Goodwin 7090b5af75 changes to pacrypt to support a prefix like {SHA265-CRYPT} on a hash - @see https://github.com/postfixadmin/postfixadmin/issues/344 6 years ago
Christian Boltz b9946ca968
update $min_db_version to match latest upgrade.php 5 years ago
David Goodwin 750838d7f7 psalm fixes; make safepost()/safeget() return strings 5 years ago
David Goodwin 4712d83c98 see: https://github.com/postfixadmin/postfixadmin/issues/390 - support a callable which 5 years ago
David Goodwin 8abde0dc0b move $version into $CONF / Config from functions.inc.php 5 years ago
David Goodwin 484acfbf59 Remove the random_compat lib. 5 years ago
David Goodwin 4d8b4558d7 might fix: https://github.com/postfixadmin/postfixadmin/issues/378 6 years ago
David Goodwin b1ccb2b07b merge in socket support for postgresql connections - see https://github.com/postfixadmin/postfixadmin/issues/370 6 years ago
David Goodwin b0aa0141d7 reformat 6 years ago
David Goodwin 57a4787473 abort on any stderr output from doveadm ... see: https://github.com/postfixadmin/postfixadmin/issues/373#issuecomment-670007084 6 years ago
David Goodwin 502bfca2f5 try and improve error handling if doveadm is not present etc - see https://github.com/postfixadmin/postfixadmin/issues/373 6 years ago
David Goodwin 2bb2460bf3 add in error_log call just incase it helps someone 6 years ago
Phil Jaenke d3a5db394c
Make pInvalidDomainDNS more forgiving 6 years ago
David Goodwin dec4b38f35 improve langauge checks (remove unnecessary is_string check) 6 years ago
Christian Boltz 531a52e053
remove superfluous code in check_language() 6 years ago
David Goodwin 1c0fd02323 composer format time 6 years ago
David Goodwin 3b9d8f867e merge sha512.b64 encrypt support - see https://github.com/postfixadmin/postfixadmin/issues/58 6 years ago
David Goodwin dd52a98d43 prefer POST/COOKIE lang over browser http header - see: https://github.com/postfixadmin/postfixadmin/issues/28 6 years ago
David Goodwin 1ecada175c and support whether we verify ssl certs; default to true 6 years ago
David Goodwin 4cbd82d750 remove empty settings so not all SSL things are required for using SSL with MySQL 6 years ago
David Goodwin 1ad184641d php7.4 / psalm fixes 6 years ago
David Goodwin c0bd763c53 another replacement of string{x} with string[x] 6 years ago
David Goodwin aa37ab57e6 stop using { } for string character access (use [ ] instead) - see https://www.php.net/manual/en/language.types.string.php#language.types.string.substr 6 years ago
David Goodwin 79c2e77a00 should fix: https://github.com/postfixadmin/postfixadmin/issues/323 6 years ago
David Goodwin d6bbecaf45 change row to r everywhere; see : https://sourceforge.net/p/postfixadmin/discussion/676076/thread/616c1d25/?limit=25#7da0 - hopefully removing "row" which might be a reserved keyword for some databases etc 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 174b874c56 allow psalm to update 6 years ago