Commit Graph

1878 Commits (0b66cd6bd202c176d2b650d0cac4034705b4f02a)
 

Author SHA1 Message Date
Christian Boltz be3b7412ca
update requirements and links in INSTALL.TXT
- add mariadb and sqlite to requirements
- add link to github
- several small changes
8 years ago
Christian Boltz d4e77e7da6
Update/remove outdated information
- wiki link was outdated, fixed
- remove outdated note about SVN
- some whitespace fixes
8 years ago
David Goodwin 0951629a48 config.inc.php: debian has doveadm in /usr/bin not /usr/sbin 8 years ago
David Goodwin 5036b83ac2 fix debian changelog 8 years ago
Christian Boltz be5fafa9fb
changelog update etc. for 3.1 release 8 years ago
Christian Boltz 7bb688121f
don't display database name and user in setup.php 8 years ago
Christian Boltz c2ce2518e8
setup.php: check for and recommend config.local.php 8 years ago
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.
8 years ago
Christian Boltz 0ec24885e6
Non-empty ;-) favicon
We have to ship a favicon (see #44), so we can also include our logo
in it ;-)
8 years ago
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
8 years ago
Christian Boltz 40a11c0186 Merge pull request #50 from danmdm/patch-1
Update broadcast-message.php to send broadcast message to active users only
8 years ago
Christian Boltz a366654757
Better use Config::Lang instead of global $PALANG 8 years ago
David Goodwin 8508b8e119 global PALANG 8 years ago
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."
8 years ago
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 ;-)
8 years ago
David Goodwin d2d066d13a empty favicon - see #44 8 years ago
David Goodwin a09a3fa3b0 support unicode domain names - see #47 8 years ago
David Goodwin 3b481082c4 Update README.md 8 years ago
David Goodwin 8bb1c4f459 update squirrelmail plugin 8 years ago
David Goodwin 27b835c161 remove php4 constructor; hide some cNav_bar variables and rename some variables 8 years ago
Martin Oemus 6a6e1c8352 use Config-class, check auth first, fixed redirect 8 years ago
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']
8 years ago
Jan-Frederik Rieckers 54532e7cee
Fix issue with checkbox in broadcast 8 years ago
Jan-Frederik Rieckers 5712a35f71
Fix some Language issues in broadcast 8 years ago
Christian Boltz 8aecf3eae3 Merge branch 'master' into broadcast_improvements 8 years ago
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
8 years ago
Christian Boltz 6ee85ac6cc Merge pull request #41 from froonix/mysqli-connect
Better static DB connection cache

(+ lots of whitespace fixes)
8 years ago
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.
8 years ago
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.
8 years ago
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.
8 years ago
Tjebbe Westendorp b3b87385e0 Fix for PHP 7+ (#43)
Removed $fDomains as it's not used anymore and produced a PHP 7+ warning
8 years ago
Christian Schrötter 846dcb756c
Remove unnecessary code 8 years ago
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.
8 years ago
Christian Schrötter e28f3f5959
Fix for mysqli_connect() 8 years ago
Christian Schrötter 2dea9fadd4
Remove whitespace 8 years ago
Christian Boltz 0b82dec825
Fix filename for *.menu.conf.php in gitignore
Looks like svn:ignore was wrong or outdated ;-)
8 years ago
Christian Boltz c5564c2af9 Merge pull request #36 from isleshocky77/git-ignore
Add a .gitignore file which follows the svn:ignore
8 years ago
Stephen Ostrow a3e08dd2f8 Adding a .gitignore file which follows the svn:ignore for now 8 years ago
Christian Boltz 7edbfb045b Merge pull request #33 from acs-ferreira/patch-1
Update French language
8 years ago
Carlos Ferreira 83836a2477 Update fr.lang 8 years ago
Carlos Ferreira 1b9fa66493 Small fix 8 years ago
Carlos Ferreira 061f950661 Update French language 8 years ago
Jan-Frederik Rieckers 797da4f694
Fix typo 8 years ago
Jan-Frederik Rieckers 7ee587bb87
[Broadcast] Use db_in_clause instead of a foreach loop 8 years ago
Christian Boltz 67a6d0e27a
use $CONF[page_size] in viewlog.php
This replaces the hardcoded "LIMIT 10" with "LIMIT <page_size>".

Patch by Dan <dannyro @SF>, https://sourceforge.net/p/postfixadmin/patches/133/

Additional change on top of Dan's patch:
- wrap $CONF['page_size'] in intval() to avoid that a broken config
  setting can break or exploit the query
8 years ago
Christian Boltz 29364b4734
ensure some fields are really latin1
The previous commit changed vacation_notificatoin.notified,
alias_domain.alias_domain and alias_domain.target_domain to latin1, but
did this only in their original upgrade function.

upgrade_1836_mysql() also applies this change to existing databases.
(It's unlikely that these fields are not latin1 - creating them as utf8
or utf8mb4 would break at the index length, but better safe than sorry ;-)
8 years ago
Christian Boltz ba94c3a75e
fix problems with utf8mb4 as default charset
When trying to create a new database with utf8mb4 as default charset,
upgrade.php fails at various places because of too long indexes.

- no longer run upgrade_1_mysql, upgrade_2_mysql and upgrade_3_mysql
  which all affect updates from pre-2.1 database layout
- add {LATIN1} to vacation_notificatoin.notified,
  alias_domain.alias_domain and alias_domain.target_domain

Thanks to martinx who reported this on IRC and helped to debug it.
8 years ago
David Goodwin 7e496094e0 fall back to sys_get_temp_dir() if we cannot write to a templates_c like place 8 years ago
David Goodwin c253ef7dbd allow escape_string() to take a db connection as a parameter; should improve performance when there are a large number of things to escape 8 years ago
David Goodwin 1a7b2df81f fix undefined variable 8 years ago