Commit Graph

698 Commits (3922f6fece426e52b611b9aaa42ee9e5e9fac406)
 

Author SHA1 Message Date
David Goodwin e15068af3a make this upgrade conditional on the row not already being there
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@424 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 6b34e374ef upgrade.php: ensure config table has an initial version entry
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@423 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 41d5ee4ecb create-alias-domain.php:
- filter available alias and target domains (and print an error message
  if none is available)
- print success message via flash_info, not inside the form and do a
  redirect afterwards. We would have to update the list of domains
  available for aliasing otherwise.
- added vim: settings
 
templates/create-alias-domain.php:
- hide form if no domains are available for aliasing
- move logic of skipping non-available domains to /create-alias-domain.php
- added vim: settings

templates/list-virtual.php:
- show "create alias domain" link (only) if it makes sence (not perfect
  yet, but better than before)
- don't create empty <div> etc. if domain has no mailboxes
- intentionally skipped most whitespace fixes (added a comment instead),
  they would make the patch unreadable

languages/*:
- additional error message for alias domains: 'All domains are already 
  aliased.'


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@422 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz be3db620f8 create-alias-domain.php:
- fix syntax error


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@421 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 69a6a412f8 config.inc.php
- better description for $CONF['alias_domain']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@420 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 5fa76d73d9 config.inc.php + all files related to alias domains
- added $CONF['alias_domain'] switch to disable alias domains
  (includes lots of whitespace changes in list-virtual.php)

functions.php:
- added some comments to boolconf()


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@419 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 711df82fc8 function.inc.php
- new function boolconf() for easier handling of boolean $CONF settings


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@418 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 094eb0b243 nb.lang
- translation update by Odd Henriksen (oddhenriksen @SF)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@417 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d84460972f CHANGELOG.TXT
- added note about 2.2.2.1 release
- added release date to all 2.2.* releases

debian/changelog
- backported from branches/ again - but with the changes listed at 
  the correct version number


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@415 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 1a29d0a1ad CHANGELOG.TXT
- added changes since 2.2.0 release (2.2.1 and SVN trunk only)
- updated copyright header

debian/changelog
- backported update from 2.2.1 branch to trunk


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@411 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 25b973b066 create-mailbox.php:
- removed duplicate @version and @license comment


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@410 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 532675ab3b functions.php
- removed (now) unused function table_by_pos
  I'm quite sure we won't need it again, basically it answered questions 
  like "what's the 3rd table in $CONF['database_tables']?"


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@407 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8f5f9a0df3 backup.php:
- replace table_by_pos with table_by_key - script was totally broken
  while table_by_pos was used (only admin table backed up)
- changed Content-Type: header to text/plain - file is still offered
  for download, but can be opened in a text editor easier


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@406 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d4bbf8faa1 config.inc.php
- add fetchmail table to $CONF['database_tables']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@405 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f5dc943ce0 list-virtual.php:
- always initialize $tAliasDomains and $tTargetDomain
  (makes sure no evil data comes in, and also fixes the PHP notice)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@404 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f5bef69d3e pl.lang
- updated by Lukasz Wasikowski <lukasz AT wasikowski.net>
  https://sourceforge.net/forum/message.php?msg_id=5100276


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@403 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d0a9b507a7 bg.lang:
- fixed encoding and some added translations by Georgi Naplatanov (goshoo @SF)
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2018539&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@402 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 40b8c19e27 patch from Fabio Bonelli; as per https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2014010&group_id=191583 - thank you!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@401 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin e3d31bb967 patch from tabmowtez - allow smtp server to be specified - see https://sourceforge.net/tracker/index.php?func=detail&aid=2008468&group_id=191583&atid=937966
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@398 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz afbe36d572 sendmail.php:
- do not escape_string() the mailbody - having \n in mails instead of 
  real newlines is not nice. This fixes 
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2005839&group_id=191583
  Thanks to Tabmow for the report!
- added missing newline between headers and message body


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@396 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 14db3cf10b tw.lang
- added some missing strings (mostly related to alias domains)
- removed a superfluous newline at the end


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@395 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 90eeacf274 tw.lang:
- freshly translated by by John Chen (johnpupu @SF), based on cn.lang
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1986622&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@394 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f9301eb6c5 ru.lang:
- translation update by Pavel Usischev - pusischev
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2003105&group_id=191583

nb.lang:
- enabled SVN keyword expansion


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@393 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 582074c8b4 update trunk also; this is a merge of r391 from branches/postfixadmin-2.2.1
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@392 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 61a2063776 stupid me
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@389 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 30e0f78866 tw.lang: see https://sourceforge.net/tracker/index.php?func=detail&aid=1986622&group_id=191583&atid=937966
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@388 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin b4ae6473d6 templates/edit-vacation.php: unquote ' before display - see https://sourceforge.net/tracker/index.php?func=detail&aid=1995119&group_id=191583&atid=937966 - thanks (again) to Beuc; I presume subject also needs stripslashes on it
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@387 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a29800924e edit-mailbox.php: merge of patch from https://sourceforge.net/tracker/index.php?func=detail&aid=1996052&group_id=191583&atid=937966 ; thanks Sylvain BEUCLER - beuc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@386 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 4472e0b1c1 Typo fix; thanks to beuc via https://sourceforge.net/tracker/index.php?func=detail&aid=1996054&group_id=191583&atid=937966 - s/Virual/Virtual/ :)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@385 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d81a199597 setup.php:
- check if imap_open is available. If not, print a warning.
  This was indirectly ;-) requested in
  https://sourceforge.net/forum/forum.php?thread_id=2071718&forum_id=676076


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@379 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin fe21fd84e8 templates: add @ signs to make it more obvious what the user should type in when creating aliases/mailboxes; thanks to Kurushiyama on irc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@378 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 869d9ce699 config.inc.php: doc fix from Kurushiyama via IRC
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@377 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8bf1146dd2 nl.lang:
- updated by Johan Hendriks (sylhouette)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1974742&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@376 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 380dd1e96e upgrade.php:
- only include common.php if POSTFIXADMIN is not define()d
  Avoids a "already defined" warning in setup.php


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@375 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d0910c1297 upgrade.php
- upgrade_373_mysql: change domain.description and mailbox.name to utf-8
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1972703&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@374 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz add0c86cad Applied patch from Michiel van Baak (mvanbaak)
https://sourceforge.net/tracker/index.php?func=detail&aid=1923030&group_id=191583&atid=937966
- added quota parameter in mailbox_postcreation() hook
- new hook to update the quota after editing a mailbox

Modifications to the patch:
- made $quota an required parameter in the mailbox_postedit and 
  mailbox_postcreation functions
- the scripts always get the quota as 4th parameter. In case $quota 
  is <= 0, it is set to 0.


config.inc.php:
- new option $CONF['mailbox_postedit_script']

edit-mailbox.php:
- call mailbox_postedit() after editing the mailbox

functions.inc.php:
- added $quota parameter to mailbox_postcreation()
- new function mailbox_postedit()

create-mailbox.php:
- added $quota parameter on mailbox_postcreation() call


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@373 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz fd7a445cb7 DOVECOT.txt:
- changed default_pass_scheme to MD5-CRYPT to match default config.inc.php
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1971591&group_id=191583
- added description of possible settings

(Note: a dovecot expert should proofread my changes ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@372 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 7c267b1b26 BACKUP_MX.txt:
- updated example config to new mysql map format
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1971444&group_id=191583
- changed example password to match the password used in POSTFIX_CONF.txt


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@371 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz c9e613c1e5 setup.php:
- remove warning that apache version can't be detected when running on
  another webserver software
  https://sourceforge.net/tracker/index.php?func=detail&aid=1865122&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@370 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 919638efdf create-mailbox.php:
- create subfolders _after_ sending the welcome mail

functions.inc.php:
- sleep(1) before creating subfolders for a newly created mailbox

This fixes subfolder creation when courier is used.
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1970684&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@369 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 0f836d1236 create-alias-domain.php:
- fixed a comment
- enabled SVN $Id expansion


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@368 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 875a65cba2 menu.php:
- add "create alias domain" to "virtual" menu


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@367 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 0c4ea746b8 oops, missed this one -thanks cboltz
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@366 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz c67c3cba00 *.lang:
- included all texts for domain aliases to the *.lang files

language-update.sh:
- new parameter --forcepatch
  Similar to --patch, but applies the patch line by line. Useful if 
  --patch fails because of empty lines etc., but much slower.



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@365 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 159736eb2d backup.php, config.inc.php:
- added alias_domain table at various places
- also opened https://sourceforge.net/tracker/index.php?func=detail&aid=1969168&group_id=191583&atid=937967
  ("backup.php should use table list from config")


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@364 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 370e8fef6c inital merge of lenix's patch for domain aliasing; I think list-virtual.php needs some attention, but I've run out of time right now; upgrade.php has been updated to create the tables correctly (tested on pgsql and mysql); functionality or php scripts not tested yet
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@363 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 68a8af7671 backup.php:
- also backup fetchmail table


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@362 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 4d9f18dfdb config.inc.php: see https://sourceforge.net/forum/forum.php?thread_id=2038918&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@361 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin b1b5958afe Norwegian (bokmal) translation - provided by oddhenriksen
Thanks!

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@360 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 601d44bb12 templates/header.php: force UTF8 via Apache/http - as per https://sourceforge.net/tracker/index.php?func=detail&aid=1959206&group_id=191583&atid=937964 and https://sourceforge.net/forum/forum.php?thread_id=2030718&forum_id=676076 - thanks
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@359 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago