David Goodwin
4e9d166765
use db_assoc() rather than db_array() as we're depending on an assoc array afterall.
7 years ago
David Goodwin
45a1073b97
change to use foreach($a as $k => $v) { ... }
7 years ago
David Goodwin
8ac94394cb
improve phpdoc
7 years ago
David Goodwin
e2b1233269
Use filter_var($x, FILTER_VALIDATE_EMAIL) as an extra check if we can in check_email(...)
7 years ago
David Goodwin
5e1855632a
allow local aliases - see #134
7 years ago
David Goodwin
2615b6fece
see #132 - better broadcast mail format, perhaps
7 years ago
David Goodwin
2b8e6ff5b4
Merge pull request #131 from cygery/fix-user-logout
...
Destroy session when loading user login page
7 years ago
Erwin Goslawski
d0897f625d
Destroy session when loading user login page
...
Fixes #130
7 years ago
David Goodwin
9bef45aed5
remove logout behaviour from common.php (never used); try and fix logout in login.php - see #130
7 years ago
David Goodwin
d305374568
make the html slightly more html5 like; remove possibility of smarty.session.lang being undefined and erroring
7 years ago
David Goodwin
220f8289c7
see #129 - add hint
7 years ago
David Goodwin
68934539bf
see #129 - be consistent over mail root dir
7 years ago
David Goodwin
828e3b2290
yet another datetime in the future that needs changing a little...
7 years ago
David Goodwin
aad433eceb
stop undefined error on CONF[sendmail_all_admins]
7 years ago
David Goodwin
c3b87ebb11
phpcs fixes
7 years ago
David Goodwin
06f6c71c56
Merge pull request #127 from Ecodev/reformat
...
Reformat everything with PHP-Cs-Fixer
7 years ago
Adrien Crivelli
15df6c1d7b
Reformat everything with PHP-Cs-Fixer
7 years ago
David Goodwin
943c5a94ee
Merge pull request #121 from J0WI/split-docker
...
Move docker to dedicated repo
7 years ago
J0WI
5e8e1dd5f0
Move docker to dedicated repo
7 years ago
David Goodwin
f0be0ebf62
remove more incpath usages
7 years ago
David Goodwin
2bb583a86a
remove specifying MYISAM as our default db table format; use whatever the db server wants to default to
7 years ago
David Goodwin
d259544515
ignore config.local.php too
7 years ago
David Goodwin
d5c40453ac
update debian things, fix patch, move backup.php to public, fix lighttpd config
7 years ago
David Goodwin
63f44c9b2d
update INSTALL.TXT to mention public/ etc
7 years ago
David Goodwin
104561c419
change to public/ in apache alias
7 years ago
David Goodwin
3d63d8b9af
update debian things to perhaps cope with public/
7 years ago
David Goodwin
99147d51eb
move public facing stuff into public/, this allows us to stop exposing templates_c/ etc to the world
7 years ago
David Goodwin
436bbe87a8
change DATEFUTURE to 2038-01-18 ... - see #126
7 years ago
David Goodwin
e1d42ed7d3
rename script commands
7 years ago
David Goodwin
2fc3af0b73
composer.lock
7 years ago
David Goodwin
80d30d81e9
add parallel-lint
7 years ago
David Goodwin
d9f66eca4c
minimal php_cs.dist file - PSR2 with braces for class opening on the same line
7 years ago
Adrien Crivelli
6f7e75dc63
Introduce PHP-CS-Fixer and Travis to enforce code style
...
Commands `composer check` and `composer fix` can be used to respectively
check and automatically fix code style in the entire project.
7 years ago
David Goodwin
3593d23c6f
remove undefined variable _SERVER[REQUEST_METHOD] when running from the cli
7 years ago
David Goodwin
772a882c74
Merge pull request #124 from sitilge/master
...
Password reset - fix invalid DB query (double backtick)
7 years ago
Martins Eglitis
97f0fa2c3d
Fix invalid DB query (double backtick)
7 years ago
David Goodwin
938e7dcb7d
Merge pull request #122 from dryware-fr/patch-1
...
Typo correction
7 years ago
dryware-fr
e4bfae260b
Typo correction
...
There was a typo in the script, rendering a TCP connection to MySQL or Postgres impossible.
7 years ago
Christian Boltz
75bcf3091b
Fix instructions for templates_c directory in UPGRADE.txt
...
Also add instructions for SELinux, and fix the version number describing
since when templates_c is used.
Fixes: https://github.com/postfixadmin/postfixadmin/issues/119
7 years ago
Christian Boltz
3bd7ef2b0a
adjust pgsql $row['v_active'] only if vacation is enabled
...
This avoids an "Undefined index" warning if vacation is disabled.
Fixes: https://github.com/postfixadmin/postfixadmin/issues/118
7 years ago
David Goodwin
9982783481
Merge pull request #117 from mzch/ja_fix
...
Remove '# XXX'
7 years ago
Koichi MATSUMOTO
70c839cbc6
Remove '# XXX'
...
Removed '# XXX' comments
7 years ago
David Goodwin
a52eeaf020
Merge pull request #116 from mzch/ja_fix
...
Ja fix
7 years ago
Koichi MATSUMOTO
9aeec2147e
Update ja.lang
...
Update ja.lang with the latest
7 years ago
Koichi MATSUMOTO
9b7cfdf807
Update ja.lang
...
in progress...
7 years ago
David Goodwin
a320b67508
possible fix for issue in #112 - PostgreSQL does not like backticks (only do them for MySQL)
7 years ago
Christian Boltz
977f335a0f
Fix quoting in table_by_key()
...
This fixes a regression introduced by
https://github.com/postfixadmin/postfixadmin/pull/112
which became only visible when using a $CONF['database_prefix']
7 years ago
Christian Boltz
d04c82fbcb
change default for vacation.activeuntil to 2038
...
When adding the activeuntil field during the upgrade, it got set to
2000-01-01 which is a bad idea for existing vacation entries - the new
vacation.pl will consider them as outdated.
Introduce a new {DATEFUTURE}, and set the default value for activeuntil
to 2038 (that's the limit in MySQL for 'timestamp' columns, we'll have to
switch to 'datetime' in 20 years ;-)
Note that sqlite doesn't support changing the field default, so sqlite
users will have to live with the wrong default.
Also note that this fix does not change existing vacation entries if you
already have the activeuntil column.
Reported by Christoph Lechleitner on the mailinglist
7 years ago
Christian Boltz
ddb94e24ee
rename upgrade_1838_mysql() to upgrade_1839() to keep all databases in sync
...
better fix for https://github.com/postfixadmin/postfixadmin/issues/89
7 years ago
Christian Boltz
1c0cd61fff
Add texts for password recovery to all languages
7 years ago