Christian Boltz
5e93dfe604
postfixadmin-cli: drop (undocumented) -webroot etc.
...
Dropping the -webroot parameter (which basically means hardcoding that
../common.php has to exist) allows to do quite some cleanup.
Also unconditionally require_once('../common.php') to ensure that
everything we expect in the global namespace (like the 'Conf' class) is
there.
This allows even more cleanup. We get rid of __bootstrap() and some
constants, and can simplify parameter handling.
2018-03-25 21:15:45 +02:00
Christian Boltz
500c847fe0
re-add lost comment
2018-03-25 19:16:21 +02:00
Christian Boltz
91c07c9eae
VacationHandler: re-enable and fix code in validate_new_id()
...
Note that vacation.php doesn't use this function yet, so it's not
surprising that users didn't notice the broken code.
2018-03-25 15:22:51 +02:00
David Goodwin
4f1dd314e7
Merge pull request #154 from Jan-Kruis/master
...
Update nl.lang
2018-03-25 13:21:30 +01:00
Jan Kruis
04b73c1879
Update nl.lang
2018-03-23 23:42:36 +01:00
David Goodwin
4fb4d406ee
phpdoc; disable function init() - seems invalid
2018-03-16 20:07:52 +00:00
David Goodwin
fef2591335
phpdoc fixes
2018-03-16 20:07:21 +00:00
David Goodwin
59a220d8d2
add psalm
2018-03-16 20:07:04 +00:00
David Goodwin
bf840f93cd
Merge pull request #148 from csware/autoresponders
...
Don't reply to known autoresponses
2018-03-08 14:16:07 +00:00
Sven Strickroth
6c12800a78
Don't autorespond to Outlook autoresponses
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2018-03-08 14:26:16 +01:00
Sven Strickroth
7cb36bc0b2
Don't autorespond to Communigate autoresponses
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2018-03-08 14:25:05 +01:00
David Goodwin
2f7d3d9534
remove (possibly) unnecessary Config::read(all) calls ... see #144
2018-02-27 21:16:54 +00:00
David Goodwin
f8d7844767
reduce some nesting of the code loops
2018-02-23 20:36:18 +00:00
David Goodwin
898a8145f2
Merge pull request #143 from Seitanas/master
...
Making virtualmaidel.php remove Sieve filters if they exist
2018-02-23 20:30:49 +00:00
Tadas Ustinavičius
9ab2eaedc6
Only delete Sieve directory if it really exists
2018-02-23 22:03:51 +02:00
Tadas Ustinavičius
d986e26be8
Making virtualmaidel.php remove Sieve filters if they exist
2018-02-23 09:09:01 +02:00
David Goodwin
b64e202508
Merge pull request #142 from racerxdl/master
...
Fixed "Incorrect integer value: 'Array' for column" error in updates.
2018-02-22 09:04:05 +00:00
Lucas Teske
50ac4c7597
Fixed "Incorrect integer value: 'Array' for column" error in updates.
2018-02-21 22:50:02 -03:00
David Goodwin
d57aa46eb5
remove explode()
2018-02-21 19:48:17 +00:00
David Goodwin
2a1d8daeba
remove unused variables
2018-02-21 19:48:17 +00:00
David Goodwin
3228fa1fcb
Update README.md
2018-02-19 21:38:38 +00:00
David Goodwin
b79ad2ae28
composer format ...
2018-02-19 21:01:23 +00:00
David Goodwin
6446f3f6cc
split up pacrypt() into different functions; add some minimal test coverage
2018-02-19 20:59:52 +00:00
David Goodwin
6ed1527497
fix phpdoc
2018-02-18 20:32:34 +00:00
David Goodwin
12242b0893
add ZF1 as a dependency and phpunit; remove require/include calls from tests/
2018-02-18 20:23:15 +00:00
David Goodwin
9462c0cb7b
composer magic
2018-02-18 19:59:52 +00:00
David Goodwin
cb34da4f46
phpcs reformat
2018-02-18 19:59:37 +00:00
David Goodwin
2dc502e684
add postfix postgresql dovecot example to DOCUMENTS - see #136
2018-02-15 10:08:20 +00:00
David Goodwin
68a42dd331
add docker image link to README.md
...
Add link to Docker images
2018-02-12 09:15:13 +00:00
David Goodwin
152975d05c
move to use db_assoc() rather than db_array() (code assumes assoc. array)
2018-02-10 21:08:35 +00: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
43a2493876
remove unused code.
2018-02-10 21:07:33 +00:00
David Goodwin
4dec9cd24e
refactor (reduce nesting)
2018-02-10 21:07:10 +00:00
David Goodwin
d088651fd6
Drop db_commit(), db_rollback(), db_begin() functions (unused).
2018-02-10 21:05:57 +00:00
David Goodwin
0b66cd6bd2
Do not try to db_escape() an SQL field.
2018-02-10 21:04:29 +00:00
David Goodwin
4e9d166765
use db_assoc() rather than db_array() as we're depending on an assoc array afterall.
2018-02-10 21:02:52 +00:00
David Goodwin
45a1073b97
change to use foreach($a as $k => $v) { ... }
2018-02-10 21:02:09 +00:00
David Goodwin
8ac94394cb
improve phpdoc
2018-02-10 21:00:58 +00:00
David Goodwin
e2b1233269
Use filter_var($x, FILTER_VALIDATE_EMAIL) as an extra check if we can in check_email(...)
2018-02-10 20:56:56 +00:00
David Goodwin
5e1855632a
allow local aliases - see #134
2018-02-09 21:19:45 +00:00
David Goodwin
2615b6fece
see #132 - better broadcast mail format, perhaps
2018-02-08 16:11:57 +00:00
David Goodwin
2b8e6ff5b4
Merge pull request #131 from cygery/fix-user-logout
...
Destroy session when loading user login page
2018-02-06 09:11:08 +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
d305374568
make the html slightly more html5 like; remove possibility of smarty.session.lang being undefined and erroring
2018-02-05 20:46:27 +00:00
David Goodwin
220f8289c7
see #129 - add hint
2018-02-02 14:23:53 +00:00
David Goodwin
68934539bf
see #129 - be consistent over mail root dir
2018-02-02 14:21:42 +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
aad433eceb
stop undefined error on CONF[sendmail_all_admins]
2018-01-26 20:03:29 +00:00
David Goodwin
c3b87ebb11
phpcs fixes
2018-01-26 19:58:35 +00:00