Commit Graph

1946 Commits (b48f99d4c60f5ff261b4117d7c574503f258cdb1)
 

Author SHA1 Message Date
David Goodwin b48f99d4c6 reformat (phpcs) 6 years ago
David Goodwin e7f9d536d9 change default salt method with php_crypt 6 years ago
David Goodwin f7ba904800 see #171 6 years ago
David Goodwin f1a15b2269 phpunit.xml file 6 years ago
David Goodwin 2f2730ffa0 add more tests 6 years ago
David Goodwin f543c7d403 use random_int() if available 6 years ago
David Goodwin 94f05bf9e4 switch to store $config internally within an array 6 years ago
David Goodwin 7c0cb82be8 use random_int if it is available 6 years ago
David Goodwin 0d211949c9 skip tests unless configuraton updated 6 years ago
David Goodwin b97decb7c2 add a lib directory; move smarty into it; add random_compat phar (for random_bytes() on PHP < 7) 6 years ago
David Goodwin a4760ef53c
Merge pull request #170 from snuggeman/php_crypt
multiple hash algorithms using crypt (pfa 3.2)
6 years ago
snuggeman 11f0ceb615 added php_crypt scheme 6 years ago
David Goodwin b25a04a43f
Merge pull request #169 from abonanni/master
Update french language
6 years ago
Aurélien BONANNI 3ea4f80e34 Update french language 6 years ago
Christian Boltz 24ad5cc3d8
Set $reset_by_sms even if password reset is disabled
... to avoid an "undefined variable" warning
6 years ago
Christian Boltz 7c38bdd871
add a big notice about using config.local.php 6 years ago
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)
6 years ago
David Goodwin f05f118d4d bump smarty version (doc) 6 years ago
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 6 years ago
David Goodwin 9a07772626 remove commented out echo 6 years ago
Christian Boltz 11ded0a4d8
Changelog for 3.2 6 years ago
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.
6 years ago
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.
6 years ago
Christian Boltz 30c61e81b3
better comment for pacol() parameter 6 years ago
Christian Boltz cd0a718d52
add config.local.php to .gitignore
It should never be commited to git
6 years ago
Christian Boltz d2588a4de2
Fix phpcs whitespace breakage in initStruct etc. 6 years ago
David Goodwin 5e4e0bb426
Merge pull request #158 from ondrej-zary/master
Update Slovak language
6 years ago
Ondrej Zary 957657c853 Update Slovak language 6 years ago
Christian Boltz 9bd230cd46
fix syntax error in ja.lang 6 years ago
Christian Boltz c7201afa6c
drop unused shells/mailbox.php 6 years ago
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!)
6 years ago
Christian Boltz 71d61a1d8a
drop superfluous Config::read('all') call 6 years ago
Christian Boltz 48a3709041
postfixadmin-cli: get rid of empty/unused initialize() 6 years ago
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 ;-)
6 years ago
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.
6 years ago
Christian Boltz 500c847fe0
re-add lost comment 6 years ago
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.
6 years ago
David Goodwin 4f1dd314e7
Merge pull request #154 from Jan-Kruis/master
Update nl.lang
6 years ago
Jan Kruis 04b73c1879
Update nl.lang 6 years ago
David Goodwin 4fb4d406ee phpdoc; disable function init() - seems invalid 6 years ago
David Goodwin fef2591335 phpdoc fixes 6 years ago
David Goodwin 59a220d8d2 add psalm 6 years ago
David Goodwin bf840f93cd
Merge pull request #148 from csware/autoresponders
Don't reply to known autoresponses
6 years ago
Sven Strickroth 6c12800a78 Don't autorespond to Outlook autoresponses
Signed-off-by: Sven Strickroth <email@cs-ware.de>
6 years ago
Sven Strickroth 7cb36bc0b2 Don't autorespond to Communigate autoresponses
Signed-off-by: Sven Strickroth <email@cs-ware.de>
6 years ago
David Goodwin 2f7d3d9534 remove (possibly) unnecessary Config::read(all) calls ... see #144 6 years ago
David Goodwin f8d7844767 reduce some nesting of the code loops 6 years ago
David Goodwin 898a8145f2
Merge pull request #143 from Seitanas/master
Making virtualmaidel.php remove Sieve filters if they exist
6 years ago
Tadas Ustinavičius 9ab2eaedc6 Only delete Sieve directory if it really exists 6 years ago
Tadas Ustinavičius d986e26be8 Making virtualmaidel.php remove Sieve filters if they exist 6 years ago