0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
Commit Graph

1930 Commits

Author SHA1 Message Date
Christian Boltz
7f19cae57e
Add a index.php showing a note about the "public" directory
This avoids that users get a 403 error (if DirectoryIndex is disabled)
or a directory listing after updating to 3.2.

This is what likely happened in
https://github.com/postfixadmin/postfixadmin/issues/30 (see the comment
from Apr 24, 2018)
2018-04-26 21:33:11 +02:00
David Goodwin
f05f118d4d bump smarty version (doc) 2018-04-24 19:51:02 +01:00
David Goodwin
2ba2802774 bump Smarty to v3.1.32 (possible security fix, numerous bugs listed at https://github.com/smarty-php/smarty/blob/master/change_log.txt 2018-04-24 19:50:44 +01:00
David Goodwin
9a07772626 remove commented out echo 2018-04-23 09:14:45 +01:00
Christian Boltz
11ded0a4d8
Changelog for 3.2 2018-04-22 23:54:55 +02:00
Christian Boltz
3f1866d041
display phone number field only if $CONF[sms_send_function] is set
Without a way to send a SMS, asking users for their mobile number is
pointless.
2018-04-22 22:55:55 +02:00
Christian Boltz
cdf3c9acb9
initStruct(): use multiopt for 'id' 'dont_write_to_db'
This also means we can drop the 0 for not_in_db because this is the
default.
2018-04-22 20:09:38 +02:00
Christian Boltz
30c61e81b3
better comment for pacol() parameter 2018-04-22 20:09:13 +02:00
Christian Boltz
cd0a718d52
add config.local.php to .gitignore
It should never be commited to git
2018-04-22 18:28:45 +02:00
Christian Boltz
d2588a4de2
Fix phpcs whitespace breakage in initStruct etc. 2018-04-22 18:24:41 +02:00
David Goodwin
5e4e0bb426
Merge pull request #158 from ondrej-zary/master
Update Slovak language
2018-03-28 10:45:24 +01:00
Ondrej Zary
957657c853 Update Slovak language 2018-03-28 11:17:40 +02:00
Christian Boltz
9bd230cd46
fix syntax error in ja.lang 2018-03-27 20:52:00 +02:00
Christian Boltz
c7201afa6c
drop unused shells/mailbox.php 2018-03-25 21:48:16 +02:00
Christian Boltz
12c4a4f29e
move shells/shell.php to model/Shell.php
... and drop a few lines in postfixadmin-cli.php that became superfluous
by this move (thanks autoloader!)
2018-03-25 21:44:42 +02:00
Christian Boltz
71d61a1d8a
drop superfluous Config::read('all') call 2018-03-25 21:38:45 +02:00
Christian Boltz
48a3709041
postfixadmin-cli: get rid of empty/unused initialize() 2018-03-25 21:34:26 +02:00
Christian Boltz
36fe1f6ccc
remove deleted functions from $protectedCommands
If grep -r doesn't find a function, we don't need to keep it in
$protectedCommands ;-)
2018-03-25 21:23:52 +02:00
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