53 Commits (postfixadmin-3.3.13)

Author SHA1 Message Date
David Goodwin 73dc83dbbd psalm fixes 4 years ago
David Goodwin 589e7ea403 remove unnecessary warning if sqlite is available but not the configured db backend - see https://github.com/postfixadmin/postfixadmin/issues/534 5 years ago
David Goodwin 73d416df33 format 5 years ago
David Goodwin aab3e945d4 improve setup.php to apply database updates and avoid deadlock with not being able to login - see https://github.com/postfixadmin/postfixadmin/issues/494 5 years ago
David Goodwin d5c14240a4 try and avoid relying on output buffering for setup.php 5 years ago
David Goodwin 599b39b833 fix sql for postgres bool / t 5 years ago
David Goodwin f6bbf116d8 possible fix for #461 - postgresql does not like ints for bool fields... 5 years ago
David Goodwin b2831d1241 psalm improvements 5 years ago
David Goodwin 4d505211ef reformat 5 years ago
David Goodwin 4e7d86ca07 try and improve setup.php labels/layout - see #445 5 years ago
David Goodwin 3fa1716ad7 composer format 5 years ago
David Goodwin 01d1967de0 move html around a bit, list existing admin users if setup_password confirmed 5 years ago
David Goodwin b531925859 message seems unnecessary if you have logged in 5 years ago
David Goodwin d0c3cdc4d5 try and make setup.php more useful (error detection, logging etc) 5 years ago
David Goodwin 391d9a0f57 rejig setup.php so it displys error messages if admin creation fails etc 5 years ago
David Goodwin 89940dd6ab Fix for https://github.com/postfixadmin/postfixadmin/issues/418 5 years ago
David Goodwin 0f2aefe471 be more strict about the format of an obsolete setup_password 5 years ago
David Goodwin 5d77e3514b try and detect old setup_password and output appropriate message on setup.php 5 years ago
David Goodwin ea7ecb113d better wording as we are using PDO 5 years ago
David Goodwin 6940210402 code already depends on php 7.0 return types, so tidy up setup.php to not allow php5.x; remove setup check for phar as this is not required with php 7.0+ 5 years ago
David Goodwin 6b2fa8e607 see: https://github.com/postfixadmin/postfixadmin/issues/415 - fix setup page to use password type field - thanks @efelon 5 years ago
Christian Boltz 8b6ad23dbf
setup.php: load bootstrap.min.css locally 5 years ago
Christian Boltz 2c6968b805
use a local copy of jquery 5 years ago
Christian Boltz 9d81facf32
fix typos in setup.php 5 years ago
David Goodwin a2dd768858 reformat 5 years ago
David Goodwin 4a77e93984 drop pointless text 5 years ago
David Goodwin 7545005426 rejig setup.php; retheme with bootstrap; hide sensitive info until someone has logged in (see #402) 5 years ago
David Goodwin b7afe73502 fix detection of postgresql pdo extension 5 years ago
David Goodwin 3c7da4f3b8 Refactor some methods 5 years ago
David Goodwin eea72e0019 check for PDO modules in setup.php, not old style functions 6 years ago
Christian Boltz 3b704715dc
setup.php: replace last mentions of php5 with php7 6 years ago
David Goodwin 2a1383ee2e give the browser a hint that we want a new password for new admin accounts - see https://github.com/postfixadmin/postfixadmin/issues/331 6 years ago
David Goodwin 6a10c869e5 allow existance of pdo for us to proceed with setup 6 years ago
David Goodwin 036245063e drop references to magic_quotes; see: https://github.com/postfixadmin/postfixadmin/pull/325 6 years ago
gotty 13549cea0f Favicon config and ru_lang: 6 years ago
David Goodwin 6a89b9a363 composer format 7 years ago
David Goodwin bee5fcbe24 improve setup form - only display "add superadmin account" if setup password is configured; change verbs depending on context etc; see https://github.com/postfixadmin/postfixadmin/issues/263 7 years ago
David Goodwin fa27c7c8b7 reindent/reformat 7 years ago
David Goodwin 8e2e4eb189 run: composer format 7 years ago
David Goodwin cc19870923 drop function: db_connect_with_errors(); just throw from db_connect() if something goes wrong 7 years ago
8ctopus 5528d8be30 added: line break so $error_text is on its own line 7 years ago
David Goodwin cc079b773f fix formatting 7 years ago
David Goodwin 98536f03e8 fix sqlite upgrade check; remove test database between runs; ignore lib/array_column.php from linting 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
hawk 51320919fc add warning on setup over http connection 7 years ago
David Goodwin 8a59c9548a reformat 7 years ago
David Goodwin e8eea39b9d reformat; try and persuade people to move off use of "mysql" (to mysqli); add php version warning 7 years ago
David Goodwin 4fcdba9cf4 run php-cs-fixer (code reforamt) 7 years ago