David Goodwin
006b622db9
reduce testing to just linting
2019-01-12 21:52:09 +00:00
David Goodwin
54cb34cceb
Update CHANGELOG with 3.2 changes (3.2.1 release)
2019-01-12 20:46:34 +00:00
David Goodwin
bdbce9ebe5
fix sql for notification resend; see #226
2019-01-12 20:39:05 +00:00
David Goodwin
9d31639eef
fix postgresql compatability - see #227
2019-01-12 20:37:30 +00:00
Luca
885bad949d
Fix for MySQL 8
...
The keyword ROW became reserved in MySQL 8.0.2
https://dev.mysql.com/doc/refman/8.0/en/keywords.html#keywords-8-0-detailed-R
2019-01-12 20:32:37 +00:00
David Goodwin
96d64d9317
try and fix #30 - cope with timestamp and numeric field number comparison better for PostgreSQL.
2018-09-21 21:59:41 +01:00
David Goodwin
8196a063a5
add Date header into smtp_from(...) function - see #203
2018-09-21 21:59:16 +01:00
David Goodwin
b71aee3504
remove windows code; remove array_merge (seems to just break parsing)
2018-07-02 21:56:22 +01:00
David Goodwin
31c5e6dd2e
try and fix #177 (add missing fields to sqlite db)
2018-05-25 09:58:18 +01:00
David Goodwin
57714adc00
make phar loading optional depending on the extension being present or not
2018-05-25 09:44:45 +01:00
David Goodwin
ceb261036a
possible fix for sqlite schema/upgrade issues; see #177 and and #176
2018-05-23 22:10:12 +01:00
David Goodwin
3754381f0e
Merge pull request #175 from racerxdl/master
...
'row' is a reserved word in MySQL 8.0
2018-05-18 08:38:20 +01:00
Lucas Teske
11f9680963
'row' is a reserved word in MySQL 8.0
2018-05-17 20:45:35 -03:00
Christian Boltz
05bf2d2013
if unconfigured, recommend to edit config.local.php
...
... instead of config.inc.php
(idea based on comments on
7c38bdd871
)
2018-05-06 23:58:01 +02:00
Christian Boltz
2eb5a7ed60
simplify function_exists() checks for random_int()
...
It's easier to define a compat function than to have function_exists()
checks all over the code.
2018-05-04 22:36:05 +02:00
David Goodwin
603c5195df
update debian changelog (v3.2)
2018-05-02 21:37:27 +01:00
Christian Boltz
9044bed288
re-order some changelog entries and adjust date
2018-05-02 22:29:43 +02:00
David Goodwin
b4849b8431
bump minimum db version
2018-05-02 21:25:36 +01:00
David Goodwin
4c6bcdbc39
update version
2018-05-02 21:25:06 +01:00
David Goodwin
a510981350
update with notes on php_crypt and smarty
2018-05-02 21:21:25 +01:00
David Goodwin
5b7f4cda48
add phpdoc comments, default php_crypt hash to use SHA512 rather than MD5
2018-05-02 21:21:25 +01:00
David Goodwin
7282928e6d
update generate_password() to allow length to be specified; update test
2018-05-02 21:19:47 +01:00
David Goodwin
7388a7ca62
remove notice about additional plugin - lost with time, does not seem to be used
2018-05-02 21:19:47 +01:00
Christian Boltz
a3feba7c73
change default for php_crypt to SHA512
...
(+ a few whitespace changes)
2018-05-02 22:18:24 +02:00
David Goodwin
bd5ac21398
update debian dirs etc to cope iwth smarty->lib/smarty
2018-05-02 20:51:51 +01:00
David Goodwin
1308c52355
refresh debian patch
2018-05-02 20:41:51 +01:00
David Goodwin
b48f99d4c6
reformat (phpcs)
2018-05-02 12:54:17 +01:00
David Goodwin
e7f9d536d9
change default salt method with php_crypt
2018-05-02 12:49:47 +01:00
David Goodwin
f7ba904800
see #171
2018-04-29 21:58:57 +01:00
David Goodwin
f1a15b2269
phpunit.xml file
2018-04-29 21:53:55 +01:00
David Goodwin
2f2730ffa0
add more tests
2018-04-29 21:53:46 +01:00
David Goodwin
f543c7d403
use random_int() if available
2018-04-29 21:53:38 +01:00
David Goodwin
94f05bf9e4
switch to store $config internally within an array
2018-04-29 21:52:57 +01:00
David Goodwin
7c0cb82be8
use random_int if it is available
2018-04-29 20:51:48 +01:00
David Goodwin
0d211949c9
skip tests unless configuraton updated
2018-04-29 20:27:33 +01:00
David Goodwin
b97decb7c2
add a lib directory; move smarty into it; add random_compat phar (for random_bytes() on PHP < 7)
2018-04-29 20:27:33 +01:00
David Goodwin
a4760ef53c
Merge pull request #170 from snuggeman/php_crypt
...
multiple hash algorithms using crypt (pfa 3.2)
2018-04-29 20:25:13 +01:00
snuggeman
11f0ceb615
added php_crypt scheme
2018-04-29 15:39:58 +02:00
David Goodwin
b25a04a43f
Merge pull request #169 from abonanni/master
...
Update french language
2018-04-28 17:33:38 +01:00
Aurélien BONANNI
3ea4f80e34
Update french language
2018-04-28 17:24:11 +02:00
Christian Boltz
24ad5cc3d8
Set $reset_by_sms even if password reset is disabled
...
... to avoid an "undefined variable" warning
2018-04-27 23:23:57 +02:00
Christian Boltz
7c38bdd871
add a big notice about using config.local.php
2018-04-27 22:38:38 +02:00
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