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

225 Commits

Author SHA1 Message Date
David Goodwin
34e6f7829e tighten psalm checks; fix errors 2019-09-17 20:55:14 +01: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
Felix Ableitner
600248e955 Add option to use smtp password when sending admin emails (fixes #272) 2019-07-02 13:41:58 +02:00
David Goodwin
8e2e4eb189 run: composer format 2019-06-08 20:38:54 +01:00
David Goodwin
95429a6963 reindent, remove comment 2019-06-08 20:05:59 +01:00
David Goodwin
d64eadf609 try and stop $_SERVER[REQUEST_SCHEME] not being defined - see https://github.com/postfixadmin/postfixadmin/issues/279 2019-06-07 16:28:00 +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
David Goodwin
06513c2a14 remove quotes around table name which is not necessary as table_by_key does this 2019-02-16 19:46:31 +00:00
David Goodwin
fe48b35cfd split multiple queries into single ones to keep pdo/prepared statements happy 2019-02-15 21:59:11 +00:00
David Goodwin
17a420152c use pdo/prepared statement for list-virtual + page browser 2019-02-15 21:33:55 +00:00
David Goodwin
730a05cdd3 phpcs fix 2019-02-12 15:51:56 +00:00
David Goodwin
ed99a46ec4 log if no mechanisms were used for password recovery 2019-02-12 13:35:34 +00:00
David Goodwin
db4aecd23c typo fix 2019-02-12 13:29:18 +00:00
8ctopus
5528d8be30 added: line break so $error_text is on its own line 2019-02-10 11:04:04 +05:00
Christian Boltz
acf20bbc9e
move comments to the beginning of upgrade.php 2019-01-28 00:47:24 +01:00
David Goodwin
66747337f9 fix formatting 2019-01-16 10:31:16 +00:00
David Goodwin
7f8fd5ec1a Merge branch 'master' into feature-try-pdo 2019-01-16 09:23:29 +00:00
David Goodwin
83a4ee39b0 more phpdoc 2019-01-16 09:23:09 +00:00
David Goodwin
26d769740c silence some psalm warnings 2019-01-16 09:19:04 +00:00
David Goodwin
e9d12bf918 silence some psalm warnings 2019-01-16 09:17:56 +00:00
David Goodwin
6225899863 Merge remote-tracking branch 'origin/master' into feature-try-pdo 2019-01-11 17:05:52 +00:00
David Goodwin
e6666e0af0 attempt to improve installation instructions 2019-01-10 06:56:19 +00:00
David Goodwin
570972944d Merge remote-tracking branch 'origin/master' into feature-try-pdo 2019-01-08 13:38:38 +00:00
David Goodwin
18312a8aaa formatting... 2019-01-07 22:02:04 +00:00
David Goodwin
cc079b773f fix formatting 2019-01-07 21:58:14 +00:00
David Goodwin
020343999a
Merge pull request #221 from SuperVirus/fetchmail_different_source_port
Allow different port for fetchmail
2019-01-07 21:56:28 +00: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
78276534d9 remove error log prefix; use db_mysql 2019-01-03 19:36:40 +00: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
cdacb5697f improve formatting of error message; remove use of db_array (to be removed). 2019-01-01 19:24:04 +00:00
David Goodwin
5441295e25 phpcs? 2018-12-29 21:53:59 +00:00
David Goodwin
b2e814967f try and get working under travis ... 2018-12-29 21:45:12 +00:00
David Goodwin
20b1eb842e fix sqlite display of password expired check for mailboxes 2018-12-28 19:57:21 +00:00
David Goodwin
4fcdba9cf4 run php-cs-fixer (code reforamt) 2018-12-28 19:31:43 +00:00
David Goodwin
19cda31849 remove psalm warnings from code; fix password_expiry behaviour when enabled/disabled on MySQL 2018-12-28 19:27:33 +00:00
David Goodwin
59dc05d746 use newer method (return type is consistent) 2018-12-28 19:15:38 +00:00
David Goodwin
166574efae add {IF_NOT_EXISTS} for sqlite tables - see #225 2018-12-28 13:08:59 +00:00
David Goodwin
74002bbf57 psalm fixes 2018-12-27 21:43:11 +00:00
David Goodwin
8cf7947f15 move function into the only place it is used 2018-12-27 13:07:31 +00:00
David Goodwin
cecfe6b215 see #217 - should solve looking in /etc/postfixadmin ... 2018-12-27 13:02:55 +00:00
Christoph 'SuperVirus' Heitkamp
d35e66808b Allow different port for fetchmail 2018-12-17 13:29:07 +01:00
Christian Weiske
3960f6fdad Change login failure message to show the login type (admin or user) 2018-12-16 10:31:08 +01:00
David Goodwin
77d1b6c2e7 rename sql fields to just have mailbox.password_expiry and domain.password_expiry 2018-08-28 21:19:56 +01:00
David Goodwin
a455916a6b add password expiry stuff to the db schema upgrade script 2018-08-28 21:15:45 +01:00
Damien Martins
e786609aa9 Adding support for password expiration. Please read README.password_expiration for more details 2018-08-17 16:07:14 +02:00
David Goodwin
ba14535489
Merge pull request #172 from abonanni/bootstrap
Bootstrap Integration
2018-07-10 10:29:13 +01:00
David Goodwin
a981ff8172 list.php csv export: implode array values, suppress fields with empty label after trimming (html status) 2018-07-10 09:13:10 +01:00
Christian Boltz
77670f36f6
revert CSV separator to ";"
This reverts c5c42cfbe8 ("remove custom
field separator; just go with the default php behaviour").

That change didn't improve anything on
https://sourceforge.net/p/postfixadmin/bugs/386/ - it "just" changed the
CSV file format which might break existing workflows and/or tools of our
users.
2018-07-10 03:20:38 +02:00
David Goodwin
39bb2dbcd6 see remove outdated doc links - see #191 2018-07-09 12:51:24 +01:00
David Goodwin
c5c42cfbe8 remove custom field separator; just go with the default php behaviour 2018-07-09 12:50:03 +01:00
David Goodwin
532eb09f1f possible readability improvement 2018-06-18 21:42:52 +01:00
David Goodwin
299735773e fix phpdoc 2018-06-18 21:34:42 +01: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
David Goodwin
1f643a052f see #185 - try putting the session_ recreation stuff in an else { ... } 2018-06-01 15:50:33 +01:00
David Goodwin
6100ca4cf9 try and fix #177 (add missing fields to sqlite db) 2018-05-25 09:59:31 +01:00
David Goodwin
9c7f60fa76 possible fix for sqlite schema/upgrade issues; see #177 and and #176 2018-05-23 22:10:56 +01:00
root
fb3e968cfc Bootstrap template integration 2018-05-04 13:25:34 +02:00
Christian Boltz
d2588a4de2
Fix phpcs whitespace breakage in initStruct etc. 2018-04-22 18:24:41 +02:00
David Goodwin
c147eb053b move to use db_assoc() rather than db_array() (code assumes assoc. array) 2018-02-10 21:08:29 +00:00
David Goodwin
2615b6fece see #132 - better broadcast mail format, perhaps 2018-02-08 16:11:57 +00:00
Erwin Goslawski
d0897f625d
Destroy session when loading user login page
Fixes #130
2018-02-06 08:23:41 +01:00
David Goodwin
9bef45aed5 remove logout behaviour from common.php (never used); try and fix logout in login.php - see #130 2018-02-05 20:47:07 +00:00
David Goodwin
828e3b2290 yet another datetime in the future that needs changing a little... 2018-01-30 15:53:42 +00:00
David Goodwin
c3b87ebb11 phpcs fixes 2018-01-26 19:58:35 +00:00
Adrien Crivelli
15df6c1d7b
Reformat everything with PHP-Cs-Fixer 2018-01-26 23:54:37 +09:00
David Goodwin
2bb583a86a remove specifying MYISAM as our default db table format; use whatever the db server wants to default to 2018-01-25 21:08:26 +00:00
David Goodwin
d5c40453ac update debian things, fix patch, move backup.php to public, fix lighttpd config 2018-01-25 20:59:15 +00: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