David Goodwin
391d9a0f57
rejig setup.php so it displys error messages if admin creation fails etc
2021-01-14 16:44:10 +00:00
David Goodwin
89940dd6ab
Fix for https://github.com/postfixadmin/postfixadmin/issues/418
2021-01-13 22:26:51 +00:00
David Goodwin
0f2aefe471
be more strict about the format of an obsolete setup_password
2021-01-13 09:26:32 +00:00
David Goodwin
5d77e3514b
try and detect old setup_password and output appropriate message on setup.php
2021-01-12 22:31:05 +00:00
David Goodwin
ea7ecb113d
better wording as we are using PDO
2021-01-11 21:41:19 +00:00
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+
2021-01-11 21:35:54 +00:00
David Goodwin
6b2fa8e607
see: https://github.com/postfixadmin/postfixadmin/issues/415 - fix setup page to use password type field - thanks @efelon
2021-01-11 13:01:37 +00:00
Christian Boltz
8b6ad23dbf
setup.php: load bootstrap.min.css locally
...
... instead of using maxcdn.bootstrapcdn.com
2021-01-07 20:23:23 +01:00
Christian Boltz
2c6968b805
use a local copy of jquery
...
... instead of loading it from code.jquery.com
2021-01-07 20:18:15 +01:00
Christian Boltz
9d81facf32
fix typos in setup.php
2021-01-06 13:03:21 +01:00
David Goodwin
a2dd768858
reformat
2020-12-23 16:24:41 +00:00
David Goodwin
4a77e93984
drop pointless text
2020-12-09 23:00:00 +00:00
David Goodwin
7545005426
rejig setup.php; retheme with bootstrap; hide sensitive info until someone has logged in (see #402 )
2020-12-09 22:53:29 +00:00
David Goodwin
b7afe73502
fix detection of postgresql pdo extension
2020-11-09 21:15:06 +00:00
David Goodwin
3c7da4f3b8
Refactor some methods
...
PFAHandler::store() -> PFAHandler::save();
PFAHandler::storemore() -> PFAHandler::postSave();
PFAHandler::beforestore() -> PFAHandler::preSave();
2020-09-25 21:29:45 +01:00
David Goodwin
eea72e0019
check for PDO modules in setup.php, not old style functions
2020-04-10 22:30:48 +01:00
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
2020-02-23 20:11:42 +00:00
David Goodwin
6a10c869e5
allow existance of pdo for us to proceed with setup
2020-02-22 09:21:22 +00:00
David Goodwin
036245063e
drop references to magic_quotes; see: https://github.com/postfixadmin/postfixadmin/pull/325
2020-02-10 11:26:23 +00:00
gotty
13549cea0f
Favicon config and ru_lang:
...
1. Favicon configuration of the project:
a. Fixed incorrect link to favicon from the subfolder /users/
b. Added ability to set favicon via config
2. Completed translation of all string constants into Russian language.
2019-10-19 18:33:18 +03:00
David Goodwin
6a89b9a363
composer format
2019-08-13 09:24:30 +01:00
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
2019-08-13 09:19:22 +01:00
David Goodwin
fa27c7c8b7
reindent/reformat
2019-08-13 09:00:21 +01:00
David Goodwin
8e2e4eb189
run: composer format
2019-06-08 20:38:54 +01:00
David Goodwin
cc19870923
drop function: db_connect_with_errors(); just throw from db_connect() if something goes wrong
2019-06-07 16:23:34 +01:00
8ctopus
5528d8be30
added: line break so $error_text is on its own line
2019-02-10 11:04:04 +05:00
David Goodwin
98536f03e8
fix sqlite upgrade check; remove test database between runs; ignore lib/array_column.php from linting
2019-01-06 21:39:54 +00:00
David Goodwin
803e2342f8
fix psalm issues; reformat; rename new db functions
2019-01-06 21:32:58 +00:00
David Goodwin
1176c9ce78
reformat; fix some transition bugs
2019-01-06 21:32:58 +00:00
David Goodwin
ea33d9951a
try migrating to pdo
2019-01-06 21:32:58 +00:00
hawk
51320919fc
add warning on setup over http connection
2019-01-05 18:56:31 +05:00
David Goodwin
8a59c9548a
reformat
2019-01-01 20:39:41 +00:00
David Goodwin
e8eea39b9d
reformat; try and persuade people to move off use of "mysql" (to mysqli); add php version warning
2019-01-01 20:39:41 +00:00
David Goodwin
4fcdba9cf4
run php-cs-fixer (code reforamt)
2018-12-28 19:31:43 +00:00
David Goodwin
59dc05d746
use newer method (return type is consistent)
2018-12-28 19:15:38 +00:00
David Goodwin
cecfe6b215
see #217 - should solve looking in /etc/postfixadmin ...
2018-12-27 13:02:55 +00:00
David Goodwin
b6f75c9c2c
try and require Phar extension through setup if we are using php_crypt and PHP version < 7
2018-06-10 21:23:58 +01:00
Adrien Crivelli
15df6c1d7b
Reformat everything with PHP-Cs-Fixer
2018-01-26 23:54:37 +09:00
David Goodwin
99147d51eb
move public facing stuff into public/, this allows us to stop exposing templates_c/ etc to the world
2018-01-25 20:27:09 +00:00