Commit Graph

486 Commits (b2ba25693ef9b1a896402c3c3299ae7992a88e59)
 

Author SHA1 Message Date
Christian Boltz 873631a277 common.php:
- common.php is indirectly included in setup.php (via upgrade.php),
  avoid endless redirect loop from setup.php to setup.php
  (just found some minutes ago, had blocker quality...)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@343 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin d31fa3e62a change version number
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@342 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 9f7bf88274 debian/changelog: new release - fix mysql db creation issues
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@341 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 56b39454cf upgrade.php: fix issue of mysql tables not being created on initial install
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@340 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 36109783fa upgrade.php: fix bug in mysql vacation notification table as reported by gabbs on irc (thanks!)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@339 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 9a3c1d41cc pinched vcs lines from squirrelmail
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@337 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin c51b5ad2df changelog: note about svn revision
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@336 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 841df0abf2 rules: add motd files in
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@335 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 1a6724d3fe changelog: new release - rc4
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@334 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8887a45edc BACKUP_MX.txt
- remove reference to (deleted) TABLE_BACKUP_MX.TXT


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@333 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 4159745968 doc fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@332 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 1e59f15f96 ja.lang:
- added some missing translation markers


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@331 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 7f67a21243 LANGUAGE.txt:
- updated to explain the current translation method
- removed superfluous list of new strings in 2.1


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@330 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 5b2bc3c475 SECURITY.txt: Adding
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@329 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 45ee01a551 setup.php - call upgrade.php to undertake DB upgrade/table creation as necessary (revert previous change to $CONF[configured] too)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@328 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin c8c4111b11 DATABASE_MYSQL.TXT - see upgrade.php
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@327 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 70dbaf93b3 INSTALL.TXT: Updated (a lot)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@326 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin b3dc4ba6af common.php: ensure we only start a session once
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@325 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin bb62951377 upgrade.php: support creating PG db if it does nto exist; this means DATABASE_PGSQL.TXT is now obsolete
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@324 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin f14f20705f FAQ.txt: updating following aldin\'s questions on #postfixadmin
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@323 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin cb345bf723 DOC updates
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@322 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a5a14afd4b updates to docs
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@321 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz ba0c3780b4 setup.php:
- added hardcoded $CONF['theme_logo'] and $CONF['theme_css'] to fix the 
  layout


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@320 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz fedca43854 upgrade.php:
- print query (debug mode) _before_ executing it
- upgrade_318_mysql: include CONSTRAINT in CREATE TABLE - otherwise
  dropping it afterwards fails...


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@319 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8b1ab537fc upgrade.php:
- creation of vacation_notification table moved to upgrade_318_mysql 
  because the query in upgrade_81_mysql was broken (key length vs. utf8
  charset)
- added upgrade_318_mysql which finally creates a working 
  vacation_notification table
  NOTE: Users who used workarounds to create this table before might
        need to drop it manually before upgrade works.

This should fix 
http://sourceforge.net/tracker/index.php?func=detail&aid=1828857&group_id=191583&atid=937964
and probably also 
http://sourceforge.net/tracker/index.php?func=detail&aid=1875897&group_id=191583&atid=937964


additional minor fixes:
- "create table config" for pgsql now uses table_by_key()
- some whitespace changes
- set default charset (latin1) in upgrade_5_mysql (instead of using
  the system default)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@318 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 79048b0dfe upgrade.php:
- integrated table creation, based on SVN r1 DATABASE_MYSQL.txt
- added some comments about possible errors that can be ignored
  (I'm dreaming of having an error "whitelist" and displaying 
  all other errors - but not for 2.2 ;-)

DATABASE_MYSQL.TXT
- added up-to-date database setup instructions
- disabled all SQL code (will be deleted later)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@317 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 30df577923 fetchmail.php:
- initialize $tFmail to avoid warning on empty list
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1927707&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@316 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 76347b5bdc fetchmail.pl:
- disable (forgotten?) Data::Dumper inclusion


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@314 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz da8dcdd031 nl.lang:
- translation update by Johan Hendriks (sylhouette @SF)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1910916&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@313 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz dd86e330db sv.lang:
- translation update (received via mail)
  thanks to Bachman Kharazmi <bachman AT tor.lindesign.se>


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@312 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 2f220c9b32 functions.inc.php: fix urls
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@311 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Greg 9f7d4f14e9 simplification and (hopefully) bug free fix for POP/IMAP box marking
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@310 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 815e3ebef6 config.inc.php:
- better description for $CONF['domain_path'] and $CONF['domain_in_mailbox']
  http://sourceforge.net/tracker/index.php?func=detail&aid=1875950&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@309 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Greg 880881c2a2 fixed an error that would not identify POP/IMAP accounts when a mailbox forwards to other destinations as well.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@308 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 95057caa43 functions.inc.php:
- check_language(): use global $supported_languages so that we don't 
  have to maintain the list of supported languages at different places
  (this finally enables users to choose japanese language at login)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@307 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a7c57b7c8e debian: fix rules file (stylesheet moved)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@306 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 51c5bdbd92 bump changelog up
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@305 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a2c909b6e9 edit-mailbox.php- if the user clicks on cancel, forward them to somewhere else, and not save stuff - see https://sourceforge.net/tracker/index.php?func=detail&aid=1888847&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@304 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 209ba99d00 users/vacation.php:
- fix: only show vacation as active if it is really active (inactive 
  vacation message caused the "vacation is active" message too)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@303 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz ac44dc861d edit-vacation.php:
- fix: text changes when setting up vacation message were ignored if the
  user had used vacation before (UPDATE statement did only change active
  state, not subject and body)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@302 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 9a083d999f language.php:
- added japanese translation of "japanese" - taken from phpMyAdmin ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@301 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d5f85a7a34 ja.lang:
- NEW: japanese translation added
  by Daisuke Aoyama <aoyama at peach dot ne dot jp> / daoyama @SF

language.php:
- added ja to list of available languages
- added comment about the content of the language list


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@300 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 99ee9f0176 applied patch from lenix - theme support for postfixadmin; see http://sourceforge.net/tracker/index.php?func=detail&aid=1898481&group_id=191583&atid=937966 - thank you
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@299 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz af3d7fdabc users/main.php
- only show vacation as active if active=true
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1875901&group_id=191583

  [That's what I meant with "side effects" when discussing the 
  DELETE -> UPDATE ... set active=false change...]


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@298 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin a633bd371c vacation: maintain away message after coming back for next time
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@297 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin f35fabc3d0 debian/rules: add stylesheet to .deb as per email reported bug (thanks)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@296 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 83c5ef318f index.php: update url
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@294 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin 41e6436e77 rules: when building .debs, change the $CONF["postfix_admin_path"] manually to /usr/share/postfixadmin; this stops us having issues with dirname(__FILE__) returning the realpath
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@293 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 33e0c0de50 ru.lang:
- translation update by Pavel Usischev (pusischev) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1869896&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@292 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f2c56c9203 edit-mailbox.php
- fix: put the values the user entered in the form again if an error was
  detected (instead of showing the form completely empty)
- fix: do not check for password length when password is not going to be 
  changed (empty password field).
  Thanks to Danilo Montagna (dmontagna) for pointing this out!
  https://sourceforge.net/forum/message.php?msg_id=4709926


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@291 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago