Commit Graph

486 Commits (b2ba25693ef9b1a896402c3c3299ae7992a88e59)
 

Author SHA1 Message Date
David Goodwin b2ba25693e wiza thinks this is hte correct behaviour (i.e return true not false
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@513 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin b64d0c0604 delete.php: this probably allows you to delete domains
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@512 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin b6c2be4976 upgrade.php: fix mysql alter table add columns to only take place if hte field does not exist
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@511 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 926a774bbf upgrade.php: add _mysql_field_exists() so we do not add fields that are already there; fix bugs -hopefully fix errors seen by Tom me@tdiehl.org - see postfixadmin-devel mailing list etc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@510 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 1c8d6e63e6 upgrade.php: this makes it work for me...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@509 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 8bab8fa689 upgrade.php: Fixes from Thiago Silva - see https://sourceforge.net/forum/forum.php?thread_id=2789651&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@508 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 9eb35175d8 upgrade.php: vain attempt to stop stupid upgrade errors
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@507 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 07ea5c537f 1) remove explicit collation settings; 2) remove vacation_notification_pkey drop thing - see https://sourceforge.net/forum/forum.php?thread_id=2789651&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@506 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 2f0047f0bd - upgrade_495_mysql: place local_part field between quota and domain
- upgrade_504_mysql: ensure correct charset for local_part


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@505 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz c4c79f2651 edit-domain.php:
- only change transport if $CONF['transport'] is YES. Otherwise leave it 
  untouched (instead of changing it to $CONF['transport_default'])


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@504 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 826ec87d83 checked=checked is more proper, right?
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@503 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 514d2df060 create-domain.php: try and remove code duplication, expand use of $form_fields (defaults etc); only allow valid transport values through
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@502 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin bb840239a5 edit-domain.php: only allow valid transport definitions through
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@501 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 430b75c853 upgrade.php: bug fix (thanks to matt rude for reporting it. no thanks to me for failing to type!) - see also https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2423106&group_id=191583
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@500 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin e39c133780 edit-domain.php: fix bug where editing a domain nukes the transport field (we actually were not checking the config field properly to see whether transport control was turned on or not; this fixes https://sourceforge.net/tracker/index.php?func=detail&aid=2378038&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@499 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin ac7fb1f6c9 only add hte ssl field to postgresql dbs if it does not already exist
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@498 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 007153d5f6 specify the local_part when adding new mailboxes; part 3 of operation shutup-libertytek-charles :)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@497 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 81059ddbdd allow local_part to change (in theory this code serves no purpose, as the username cannot be changed.. but perhaps it will be in the future (part 2 of operation shut-up-libertytek-charles :) )
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@496 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin f658e115b3 upgrade.php: first part of adding support for local_part of a mailboxs address - see https://sourceforge.net/forum/forum.php?thread_id=2343775&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@495 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 4df62240fd add table defintion to the delete url - see https://sourceforge.net/forum/forum.php?thread_id=2283853&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@494 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 9d6e060518 bug fix reported by johnjdevine - see http://sourceforge.net/forum/forum.php?thread_id=2644846&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@493 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin b57a04aeaf updated pt-br translation from Luis - see email to dev list
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@492 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 4b4598c78c upgrade.php: syntax error fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@491 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 8f965b747f upgrade.php: see bug 2339963
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@490 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 2e2ae0c36b setup.php: fix table_by_key issue for domain table
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@489 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 482518548c see bug 2338300 - patch merged
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@488 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin b66b959925 upgrade.php: use dynamic table names more often - should make postgresql more happy with shcmeas etc
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@487 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 38e50320f1 CHANGELOG.txt
- updated with changes up to r485
- moved SVN revisions to version headlines - this increases the chance that 
  we don't forget to include them ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@486 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 2a555bcd75 edit-mailbox.php, templates/edit-mailbox.php:
- revert r482 (show password when editing mailboxes) because it does more
  harm than good (see mailinglist for details).
  Also opened a feature request to bring this back in a way that works for
  everybody:
  https://sourceforge.net/tracker/index.php?func=detail&aid=2332595&group_id=191583&atid=937967


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@485 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 29070cfd59 edit-mailbox:
- password change is now recognized even if only the "new password (again)" 
  field was changed/filled


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@484 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz aafc99b23a upgrade.php
- upgrade_483_mysql(): change log.data to TEXT (was VARCHAR) - this fixes 
  problems when changing aliases with lots of targets
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1980062&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@483 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 8cc2b74a64 patch from int on irc - if $CONF[show_passwords] then do so
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@482 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 852edf88c6 create-mailbox.php:
- show password when $CONF['generate_password'] == 'YES', fixes
  https://sourceforge.net/tracker/index.php?func=detail&aid=2015707&group_id=191583&atid=937964
- do not show password if it was _not_ autogenerated and $CONF['show_password'] == 'NO'


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@481 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 0411a11b4c functions.inc.php
- gen_show_status(): "probably undeliverable" marker now honors catchall 
  aliases and no longer marks aliases pointing to a catchall as invalid
  https://sourceforge.net/tracker/index.php?func=detail&aid=2013772&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@480 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 6a5cd59785 fetchmail.php:
- allow superadmin to create fetchmail entry for any mailbox, not only for himself
  https://sourceforge.net/tracker/index.php?func=detail&aid=2147740&group_id=191583&atid=937964

upgrade.php, fetchmail.php, fetchmail.pl:
- rename fetchmail ssl field to usessl - "ssl" is a reserved word in MySQL and 
  therefore causes various problems (we would need to quote the field name 
  everywhere)
  https://sourceforge.net/tracker/index.php?func=detail&aid=2265333&group_id=191583&atid=937964

languages/*.lang:
- renamed strings for fetchmail (use)ssl field



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@479 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 6bbb15bd26 create-mailbox.php
- added two ) in success messages


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@478 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz fe4c30dfb7 upgrade.php
- fix MySQL syntax error in upgrade_473_mysql (pointed out by int on IRC)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@477 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz ff193ba6fe css/default.css
- style info and error messages with a green (ul.flash-info) and red (ul.flash-error) border


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@476 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 0dc5163eb1 functions.inc.php:
- check_email requires global $PALANG


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@475 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 1b438e15ef CHANGELOG.TXT
- doing the paperwork: updated changelog with all commits up to svn r473 
  (aka "current trunk" - this commit will become r474)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@474 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 80441baa84 upgrade.php:
- alias.goto was accidently changed to varchar(255) in upgrade_469_mysql.
  Make it a text field again.
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2221002&group_id=191583
- renamed upgrade_469_mysql to upgrade_473_mysql to ensure the above 
  change is done



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@473 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 4c4c54a5ae mail-filter: obsolete
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@472 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 75c5c62ed0 config.inc.php, functions.inc.php, templates/list-virtual.php:
- dropped $CONF['show_custom_count'], it can easily be calculated with
  count($CONF['show_custom_domains']). This fixes part (6) of
  https://sourceforge.net/tracker2/?func=detail&aid=1951926&group_id=191583&atid=937967

config.inc.php:
- added some comments explaining $CONF['show_undeliverable_exceptions'] 
  and $CONF['show_custom_domains']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@471 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz d9be3ca66d vacation.pl:
- allow to enter the configuration in /etc/mail/postfixadmin/vacation.conf
  instead of editing vacation.pl directly


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@470 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz 47f025cbf9 upgrade.php:
- upgrade_469_mysql: fix "illegal mix of collations" by explicitely setting 
  the charset for all VARCHAR and TEXT fields.
  http://sourceforge.net/tracker2/?func=detail&aid=1990191&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@469 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin be43c4b7d8 vacation.pl: bump version number as it has not changed in years
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@468 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin bc82efcfb8 error handling fixes - see also http://sourceforge.net/forum/forum.php?thread_id=2349320&forum_id=676076
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@467 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 3e7e2a6240 delete.php: make it more robust, and do not overwrite error message from earlier with one from later
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@466 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 9dcafb7afc create-mailbox.php: force username to be lowercase - this helps some IMAP clients apprently
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@465 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
David Goodwin 1df66da082 make it more obvious what the db possibilities are
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@464 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago