Commit Graph
1738 Commits
Author SHA1 Message Date
Matyáš Koc 019209abab Added CSRF check to user login 2017-07-17 14:26:54 +02:00
Matyáš Koc 7de653db58 Added CSRF check to admin login 2017-07-17 14:22:58 +02:00
Christian Boltz bfaea973bd Merge pull request #59 from lamby/correct-equals-plus-to-plus-equals-typos
Correct some "=+ 1" -> "+= 1" typos in setup.php.
2017-07-16 15:09:21 +02:00
Chris Lamb e318b940ce Correct some "=+ 1" -> "+= 1" typos in setup.py.
This probably wasn't causing a problem as we were setting $error to +1
and we only ever check whether it is non-zero.
2017-07-16 09:02:07 +01:00
Christian Boltz db4b38ecad Merge pull request #56 from Vilican/patch-1
Updated Czech language
2017-07-12 18:54:37 +02:00
Matyáš Koc 1ea38f9c43 Updated Czech language
Corrected typos and mistakes, translated new strings
2017-07-12 17:51:18 +02:00
Christian Boltz f18f16c004 move $CONF['edit_alias'] next to $CONF['alias_control'] 2017-07-09 14:33:44 +02:00
Christian Boltz 4d9a0717d0 Merge pull request #26 from medarion/master
added config option to disable "edit_alias" function for users
2017-07-09 14:32:09 +02:00
David Goodwin e498a16da6 Merge pull request #55 from dresken/master
Fixed: php 5.4 array shortcut syntax errors on 5.3
2017-07-05 10:19:24 +01:00
Aaron Howell cf72bf1dcc Fixed: php 5.4 array shortcut syntax errors on 5.3 2017-07-05 18:26:31 +10:00
Christian Boltz be3b7412ca update requirements and links in INSTALL.TXT
- add mariadb and sqlite to requirements
- add link to github
- several small changes
2017-07-02 13:18:28 +02:00
Christian Boltz d4e77e7da6 Update/remove outdated information
- wiki link was outdated, fixed
- remove outdated note about SVN
- some whitespace fixes
2017-07-02 13:06:05 +02:00
David Goodwin 0951629a48 config.inc.php: debian has doveadm in /usr/bin not /usr/sbin postfixadmin-3.1 2017-06-25 18:49:32 +01:00
David Goodwin 5036b83ac2 fix debian changelog 2017-06-25 16:35:32 +01:00
Christian Boltz be5fafa9fb changelog update etc. for 3.1 release 2017-06-25 16:37:42 +02:00
Christian Boltz 7bb688121f don't display database name and user in setup.php 2017-06-25 16:35:24 +02:00
Christian Boltz c2ce2518e8 setup.php: check for and recommend config.local.php 2017-06-25 16:34:22 +02:00
Christian Boltz e3a701ba24 drop fallback for templates_c, die() instead
Using /tmp/ as fallback is insecure (predictible filenames in a
world-writeable directory enable symlink attacks). Better die() with an
useful error message.
2017-06-25 15:59:53 +02:00
Christian Boltz 0ec24885e6 Non-empty ;-) favicon
We have to ship a favicon (see #44), so we can also include our logo
in it ;-)
2017-06-25 15:37:53 +02:00
Christian Boltz 4eaf0d98b9 Fix broadcast-message queries to work with postgresql
This is a follow-up fix as discussed on
https://github.com/postfixadmin/postfixadmin/pull/50
2017-06-25 14:46:21 +02:00
Christian Boltz 40a11c0186 Merge pull request #50 from danmdm/patch-1
Update broadcast-message.php to send broadcast message to active users only
2017-06-25 14:39:43 +02:00
Christian Boltz a366654757 Better use Config::Lang instead of global $PALANG 2017-06-25 14:35:27 +02:00
David Goodwin 8508b8e119 global PALANG 2017-06-25 13:29:55 +01:00
Dan 3e4ac2ab73 Update broadcast-message.php
Send broadcast message to active users only. 
Without "active=1" condition in WHERE will clause a lot of "Recipient address rejected: User unknown in virtual mailbox table."
2017-06-23 13:23:16 +03:00
Christian Boltz 64f1593818 revert "support unicode domain names - see #47"
Unicode support is a much bigger can of worms (see the discussion in #47),
and having just a little part of unicode support in is a bad idea.

You can of course use the xn--whatever notation for unicode domains ;-)
2017-06-22 20:48:07 +02:00
David Goodwin d2d066d13a empty favicon - see #44 2017-06-02 12:57:24 +01:00
David Goodwin a09a3fa3b0 support unicode domain names - see #47 2017-06-02 12:54:34 +01:00
David Goodwin 3b481082c4 Update README.md 2017-05-26 10:15:44 +01:00
David Goodwin 8bb1c4f459 update squirrelmail plugin 2017-05-26 10:14:42 +01:00
David Goodwin 27b835c161 remove php4 constructor; hide some cNav_bar variables and rename some variables 2017-05-21 05:41:04 +01:00
Martin Oemus 6a6e1c8352 use Config-class, check auth first, fixed redirect 2017-04-17 17:27:23 +02:00
Christian Boltz 7833ac9ab7 Merge pull request #24 from Janfred/broadcast_improvements
Broadcast improvements:
- allow to send to mailboxes only
- allow to send to only some domains
- allow domain admins to send to their domains - new config option $CONF['sendmail_all_admins']
2017-04-17 15:19:07 +02:00
Jan-Frederik Rieckers 54532e7cee Fix issue with checkbox in broadcast 2017-04-17 14:02:37 +02:00
Jan-Frederik Rieckers 5712a35f71 Fix some Language issues in broadcast 2017-04-17 14:00:44 +02:00
Christian Boltz 8aecf3eae3 Merge branch 'master' into broadcast_improvements 2017-04-17 13:22:16 +02:00
Christian Boltz 88bd9bfd19 drop $db_conn parameter from escape_string()
Connection caching is now done in db_connect() which is a much better
place.

This reverts most of c253ef7dbd
2017-04-17 12:39:04 +02:00
Christian Boltz 6ee85ac6cc Merge pull request #41 from froonix/mysqli-connect
Better static DB connection cache

(+ lots of whitespace fixes)
2017-04-17 12:28:56 +02:00
Christian Boltz 9df6de65af Finally get rid of variables.inc.php
Initialize $error and $tMailbox where needed.

The other variables in variables.inc.php are already initialized
everywhere.
2017-04-10 20:54:34 +02:00
Christian Boltz 1ec2ec1199 Move initialization of $fDomain to viewlog.php
The other files using this variable (vacation.php and list-virtual.php)
initialize it properly.
2017-04-10 20:39:30 +02:00
Christian Boltz f4f2d1b0f4 Get rid of most variable definitions in variables.inc.php
variables.inc.php is an old hack to save having to declare variables
before using them in pages.

Lots of the variables there are unused (leftovers from the old
create-*.php or edit-*.php scripts) or properly initialized in the file
using them, so there's no need to keep them in variables.inc.php.

The remaining variables in this file should also be dropped after
further investigation.
2017-04-10 20:32:11 +02:00
Tjebbe Westendorp b3b87385e0 Fix for PHP 7+ (#43)
Removed $fDomains as it's not used anymore and produced a PHP 7+ warning
2017-04-10 14:15:41 +02:00
Christian Schrötter 846dcb756c Remove unnecessary code 2017-03-27 18:15:11 +02:00
Christian Boltz f7f3781770 Fix default for $CONF[create_mailbox_subdirs_hostoptions]
array('') means to include an empty item, and that results in an invalid
remote specification with a trailing "/"

Using an empty array() fixes this.

Reported by oftc_ftw on IRC.
2017-03-22 22:08:53 +01:00
Christian Schrötter e28f3f5959 Fix for mysqli_connect() 2017-03-21 18:05:33 +01:00
Christian Schrötter 2dea9fadd4 Remove whitespace 2017-03-21 17:43:27 +01:00
Christian Boltz 0b82dec825 Fix filename for *.menu.conf.php in gitignore
Looks like svn:ignore was wrong or outdated ;-)
2017-03-17 20:24:31 +01:00
Christian Boltz c5564c2af9 Merge pull request #36 from isleshocky77/git-ignore
Add a .gitignore file which follows the svn:ignore
2017-03-17 20:22:55 +01:00
Stephen Ostrow a3e08dd2f8 Adding a .gitignore file which follows the svn:ignore for now 2017-03-17 12:44:40 -04:00
Christian Boltz 7edbfb045b Merge pull request #33 from acs-ferreira/patch-1
Update French language
2017-03-15 22:52:45 +01:00
Carlos Ferreira 83836a2477 Update fr.lang 2017-03-15 22:46:01 +01:00