0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
Commit Graph

76 Commits

Author SHA1 Message Date
David Goodwin
f1ee7b23a4 setup.php does not use the datetime widget or any funky bootstrap special effects, so we might as well remove JS from it 2023-06-17 19:24:53 +01:00
Christian Boltz
656b44d60c
also replace jquery 1.12.4 with 3.7.0 in setup.php
... and delete the old jquery-1.12.4.min.js
2023-06-13 13:25:02 +02:00
David Goodwin
ae6ff93c95 better markup; warn admin if admin_from is not defined - see #667 2022-11-30 21:18:32 +00:00
David Goodwin
9fbb2fcc14 see https://github.com/postfixadmin/postfixadmin/issues/683 - add in error_log for e.g. fail2ban to pick up on someone trying to get into setup.php 2022-11-15 16:33:49 +00:00
David Goodwin
a99d6b7bc8 setup.php -> stray \n in error message 2022-07-17 21:15:32 +01:00
Adrien Crivelli
a97771adfd
Automatic code style fixes 2022-07-15 11:29:55 +02:00
David Goodwin
41894e0875 see: 71199fd0cb and #596 2022-03-08 11:55:00 +00:00
Christian Eichert
38524f5c03
NOT && NOT && NOT = at lest 1
the logic is wrong, if you want to say at least of a list of negations you must put the condition with AND
2022-02-19 20:40:08 +01:00
David Goodwin
272e5bddb9 stop psalm moaning about non-strict comparisons 2022-02-13 20:40:34 +00:00
David Goodwin
cd73f27569 remove unnecessary warning if sqlite is available but not the configured db backend - see https://github.com/postfixadmin/postfixadmin/issues/534 2021-09-02 21:45:38 +01:00
David Goodwin
884147e6df composer format time ... i shouldh ave a commit hook for this 2021-05-15 11:43:06 +01:00
David Goodwin
ba17fbe6d6 improve setup.php to apply database updates and avoid deadlock with not being able to login - see https://github.com/postfixadmin/postfixadmin/issues/494 2021-05-15 11:42:20 +01:00
David Goodwin
2edabc3e03 phpcs insists on some brace changes 2021-04-13 21:19:16 +01:00
David Goodwin
a51cc34b83 try and avoid relying on output buffering for setup.php 2021-03-09 20:33:40 +00:00
David Goodwin
84de818f22 merge postgresql fix from postfixadmin_3.3 2021-02-24 21:35:13 +00:00
David Goodwin
599b39b833 fix sql for postgres bool / t 2021-02-24 21:33:42 +00:00
David Goodwin
9107cc9a46 possible fix for #461 - postgresql does not like ints for bool fields... 2021-02-24 21:15:45 +00:00
David Goodwin
f6bbf116d8 possible fix for #461 - postgresql does not like ints for bool fields... 2021-02-24 21:15:13 +00:00
David Goodwin
c755e82a36 Merge branch 'postfixadmin_3.3' 2021-02-18 12:12:27 +00:00
David Goodwin
b2831d1241 psalm improvements 2021-02-17 21:29:18 +00:00
David Goodwin
6d81439f41 unused var 2021-02-07 20:36:55 +00:00
David Goodwin
d9813d4cf8 see #446 - try and detect site url but allow for $CONF['site_url'] override to be used. 2021-02-07 20:35:58 +00:00
David Goodwin
4d505211ef reformat 2021-02-04 20:40:45 +00:00
David Goodwin
4e7d86ca07 try and improve setup.php labels/layout - see #445 2021-02-04 20:40:38 +00:00
David Goodwin
3fa1716ad7 composer format 2021-02-04 20:40:31 +00:00
David Goodwin
01d1967de0 move html around a bit, list existing admin users if setup_password confirmed 2021-02-04 20:40:20 +00:00
David Goodwin
b531925859 message seems unnecessary if you have logged in 2021-02-04 20:40:12 +00:00
David Goodwin
d0c3cdc4d5 try and make setup.php more useful (error detection, logging etc) 2021-02-04 20:39:31 +00:00
David Goodwin
5bcafb9c91 reformat 2021-02-03 20:28:32 +00:00
David Goodwin
50ca5944b6 try and improve setup.php labels/layout - see #445 2021-02-03 20:27:53 +00:00
David Goodwin
582b5e91b9 composer format 2021-01-29 21:46:57 +00:00
David Goodwin
2cb7749dde move html around a bit, list existing admin users if setup_password confirmed 2021-01-29 21:15:51 +00:00
David Goodwin
23db330473 message seems unnecessary if you have logged in 2021-01-28 22:28:41 +00:00
David Goodwin
4063ca151c try and make setup.php more useful (error detection, logging etc) 2021-01-28 22:18:09 +00:00
David Goodwin
d4c19506b3 rejig setup.php so it displys error messages if admin creation fails etc 2021-01-14 17:07:55 +00:00
David Goodwin
08e4c35141 Fix for https://github.com/postfixadmin/postfixadmin/issues/418 2021-01-14 17:07:55 +00:00
David Goodwin
aa674aa233 be more strict about the format of an obsolete setup_password 2021-01-14 17:07:55 +00:00
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