Commit Graph

2065 Commits (e8acb609c26251c6a9bb3bd7e466bd5e3e84ad9e)
 

Author SHA1 Message Date
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
Christian Boltz ab666b6b7f
Fix microtime() usage
By default, microtime() returns a string :-/ which unsurprisingly causes
a warning when doing math on it.
7 years ago
Christian Boltz 8fb67e6fbf
Fix broken table names caused by doubled table_by_key() calls
The high-level db_*() functions (like db_update(), and also
_db_add_field() in upgrade.php) call table_by_key() internally, which
also means the unwrangled table name needs to be handed over to them.
If handing over an already table_by_key()'d table name, it gets modified
again and results in something like prefix_prefix_mailbox.
7 years ago
David Goodwin a27f80c01d
Merge pull request #113 from er1cs/patch-2
Update upgrade.php
7 years ago
David Goodwin 24b447f8e5
Merge pull request #112 from er1cs/patch-1
Update functions.inc.php
7 years ago
er1cs a4467a7e0b
Update upgrade.php 7 years ago
er1cs 7b8626ca81
Update functions.inc.php
I found that Mysql 8 don't like table names without `` in requests. So i make changes in function table_by_key in functions.inc.php and in upgrade.php . Now it works.  FreeBSD 11.1 Apache/2.4.29 (FreeBSD) PHP/7.1.11 Mysql 8
7 years ago
David Goodwin e478eb8b9f
Merge pull request #110 from Erwane/syslog-ident
#109 : syslog ident set to "vacation"
7 years ago
Breton Erwane 37d4279c52
syslog ident set to "vacation" 7 years ago
David Goodwin 43fb0bde77 log IP address for failed logins as well - see #105 7 years ago
Christian Boltz b06d25de8f
Merge pull request #108 from HLFH/master
favicon within images folder
7 years ago
HLFH 0972df8243 favicon within images folder 7 years ago
David Goodwin 768d29623e patch from https://github.com/bofh16/postfixadmin/blob/master/bg.lang.patch - thanks! 7 years ago