David Goodwin
85e15790bb
should fix : #351
2020-05-02 19:08:47 +01:00
Christian Boltz
ad4142134a
merge __parseParams() into parseParams()
2020-05-02 01:30:25 +02:00
Christian Boltz
9833a8f289
whitespace fix in __parseParams()
2020-05-02 01:26:35 +02:00
Christian Boltz
4e9e3db75d
Fix parameter parsing for '-1'
...
'--quota -1' gets parsed as two options ("quota" and "1"), but it's
meant to be "quota => -1".
Make sure '-1' is considered as a value, not as an option.
Also get rid of unset()'ing $params[$i] and (now?) superfluous recursive
calls to __parseParams() to make the code less confusing.
2020-05-02 01:24:08 +02:00
David Goodwin
fc464d6e69
update INSTALL.TXT - see also #349
2020-04-26 14:44:45 +01:00
David Goodwin
df9a400ea2
remove debug stuff
2020-04-22 09:37:31 +01:00
David Goodwin
fd48714615
fix issue reported with __LANG.$var - 844840c6a8 (commitcomment-38653465)
2020-04-22 09:34:25 +01:00
Christian Boltz
44c3ac5e20
language-update.sh: silence warning about undefined $CONF variable
...
This warning was for example
PHP Notice: Undefined variable: CONF in .../languages/en.lang on line 184
and is caused by some texts that include $CONF['admin_name']
2020-04-22 00:26:45 +02:00
David Goodwin
be0105b33e
Merge pull request #348 from Jolly-Pirate/patch-1
...
Flush privileges
2020-04-19 08:31:58 +01:00
drakos
f17c722f0b
Flush privileges
...
Must `FLUSH PRIVILEGES;` after granting.
2020-04-18 17:50:30 -04:00
David Goodwin
844840c6a8
simplify Config use; drop support for dotty name notation which we are not using
2020-04-14 21:26:01 +01:00
David Goodwin
e4158d6d7e
psalm fix
2020-04-14 21:25:36 +01:00
David Goodwin
f8415eef2a
remove cache suppression
2020-04-14 21:25:25 +01:00
David Goodwin
ffc7787b76
psalm fix
2020-04-14 21:09:18 +01:00
David Goodwin
3cd62f9f4f
update to phpunit v8, try changing coveralls library, update github action
2020-04-14 21:03:10 +01:00
David Goodwin
5e8ce2b5b0
move to php-parallel-lint/php-parallel-lint rather than abandoned jakuk-onderka/php-parallel-lint
2020-04-11 19:10:09 +01:00
David Goodwin
c69211ca5f
Merge remote-tracking branch 'origin/master'
2020-04-10 22:32:18 +01:00
David Goodwin
eea72e0019
check for PDO modules in setup.php, not old style functions
2020-04-10 22:30:48 +01:00
Christian Boltz
3b704715dc
setup.php: replace last mentions of php5 with php7
2020-04-10 21:01:34 +02:00
David Goodwin
dec4b38f35
improve langauge checks (remove unnecessary is_string check)
2020-04-01 21:29:40 +01:00
Christian Boltz
531a52e053
remove superfluous code in check_language()
...
dd52a98d43
added honoring POST['lang'] and
COOKIE['lang'] even if $_SERVER['HTTP_ACCEPT_LANGUAGE'] is not set.
This also means we can drop the now-duplicate check in the code section
handling $_SERVER['HTTP_ACCEPT_LANGUAGE'].
2020-04-01 20:52:20 +02:00
Christian Boltz
4d10a2c4bb
remove obsolete translation markers from tr.lang
2020-04-01 20:37:40 +02:00
David Goodwin
d81363541a
fix psalm
2020-03-18 21:03:27 +00:00
David Goodwin
338fb8c564
Fix quota storage; see https://github.com/postfixadmin/postfixadmin/issues/342
2020-03-18 14:36:53 +00:00
David Goodwin
d3295a59bb
format
2020-03-16 14:10:05 +00:00
David Goodwin
d540d904db
cast mailbox['quota'] to be integer.
...
see: https://github.com/postfixadmin/postfixadmin/issues/342
2020-03-16 13:11:51 +00:00
David Goodwin
3303f25bcc
add some php 7+ array type hints.
2020-03-16 13:11:15 +00:00
David Goodwin
1c0fd02323
composer format time
2020-03-14 22:34:52 +00:00
David Goodwin
d6869a4d35
update CHANGELOG.TXT, some stuff probably missing
2020-03-14 22:31:09 +00:00
David Goodwin
3b9d8f867e
merge sha512.b64 encrypt support - see https://github.com/postfixadmin/postfixadmin/issues/58
2020-03-14 22:30:51 +00:00
David Goodwin
48e236ffc0
use hash_equals for login - see: https://github.com/postfixadmin/postfixadmin/issues/58
2020-03-14 22:04:54 +00:00
David Goodwin
dd52a98d43
prefer POST/COOKIE lang over browser http header - see: https://github.com/postfixadmin/postfixadmin/issues/28
2020-03-14 21:39:36 +00:00
David Goodwin
8f20c96278
see: https://github.com/postfixadmin/postfixadmin/issues/101 - in Debian Buster, /var/lock is writeable by anyone, /var/run is not... both are tmpfs
2020-03-14 21:17:32 +00:00
David Goodwin
fefe3f7df5
default domain_quota_default to -1 if not specified - see https://github.com/postfixadmin/postfixadmin/issues/299
2020-03-14 21:08:50 +00:00
David Goodwin
d2b8f7ac15
might fix: https://github.com/postfixadmin/postfixadmin/issues/306
2020-03-13 22:03:40 +00:00
David Goodwin
8754af58cb
fix undefined variables (psalm)
2020-03-12 20:45:51 +00:00
David Goodwin
3b1fffdf22
merge in patch from @jackdeguest - see https://github.com/postfixadmin/postfixadmin/issues/337
2020-03-03 09:52:25 +00:00
David Goodwin
5e1a4e27dd
ensure edit works
2020-03-03 09:49:46 +00:00
David Goodwin
e49c25139e
ignore coveralls erroring
2020-03-02 14:23:29 +00:00
David Goodwin
7f58163d65
update README.md
2020-03-02 14:18:58 +00:00
David Goodwin
70fe1f93f2
rename build
2020-03-02 14:17:43 +00:00
David Goodwin
50bbae62f4
switch from travis to github action
2020-03-02 14:16:23 +00:00
David Goodwin
591ea333ea
drop caching; we as we do not add composer.lock to git anyway
2020-03-02 13:47:36 +00:00
David Goodwin
22bb34ff60
try this
2020-03-02 13:45:05 +00:00
David Goodwin
a00e551a8a
try adding composer caching
2020-03-02 13:41:55 +00:00
David Goodwin
71966ce917
Revert "drop coveralls"
...
This reverts commit b6c7d1418d
.
2020-03-02 13:40:06 +00:00
David Goodwin
3809cf905f
rinse repeat
2020-03-02 13:33:47 +00:00
David Goodwin
fddd450df0
rinse, repeat
2020-03-02 13:30:40 +00:00
David Goodwin
cd6386bdea
- => _
2020-03-02 13:26:52 +00:00
David Goodwin
6c3d595c0b
coverage.xml
2020-03-02 13:25:14 +00:00