0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
Commit Graph

70 Commits

Author SHA1 Message Date
Christian Boltz
ea2103f594 CHANGELOG.TXT, debian/changelog:
- 2.3.7 release


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1651 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-20 21:35:01 +00:00
Christian Boltz
584583c9d8 functions.inc.php:
- fix SQL injection in show_gen_status()
  (backport of trunk r1639)
- update version number to 2.3.7

(+ CHANGELOG.TXT update)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1650 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-19 12:27:02 +00:00
Christian Boltz
95f73e2a10 functions.inc.php:
- check_domains(): raise TLD limit to 13 chars - even if I seriously
  doubt someone wants to use such a long TLD ;-)
  ( https://sourceforge.net/p/postfixadmin/bugs/310/ again)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1638 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-13 20:12:43 +00:00
Christian Boltz
11f9f3b88c functions.inc.php
- check_domain(): update regex for new, longer TLDs like .photography
  https://sourceforge.net/p/postfixadmin/bugs/310/

(+ Changelog update)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1636 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-13 19:39:38 +00:00
Christian Boltz
5bf296db44 functions.inc.php:
- check_email(): don't trim() mail address to avoid that aliases 
  starting with a space are allowed. This fixes 
  http://sourceforge.net/p/postfixadmin/bugs/210/ and 
  https://sourceforge.net/p/postfixadmin/feature-requests/113/

create-mailbox.php:
- revert r1520 - changing check_email() to not trim the mail address 
  is better than trim()ing the localpart

CHANGELOG.TXT:
- update for the changes above


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1622 a1433add-5e2c-0410-b055-b7f2511e0802
2014-01-12 17:39:58 +00:00
Christian Boltz
e923f5842c vacation.pl:
- disable TLS by default due to a bug in Mail::Sender 0.8.22
  (https://rt.cpan.org/Public/Bug/Display.html?id=85438)
  Actually, due to a bug in Mail::Sender 0.8.21, it was never enabled ;-)
- add new config option $smtp_tls_allowed to allow enabling TLS



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1616 a1433add-5e2c-0410-b055-b7f2511e0802
2013-12-28 19:37:30 +00:00
Christian Boltz
ae2ed69138 vacation.pl:
- encode subject
  https://sourceforge.net/p/postfixadmin/bugs/272/
  https://sourceforge.net/p/postfixadmin/patches/119/



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1598 a1433add-5e2c-0410-b055-b7f2511e0802
2013-12-01 23:33:43 +00:00
Christian Boltz
8e3c1822a6 upgrade.php:
- upgrade_318_mysql(): mark vacation_notification.notified field as
  latin1 to avoid overlong index (no upgrade function needed - if it
  broke before, upgrade.php bailed out)
  http://sourceforge.net/p/postfixadmin/discussion/676076/thread/0c919cfd/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1521 a1433add-5e2c-0410-b055-b7f2511e0802
2013-09-12 20:07:41 +00:00
Christian Boltz
48ebe9c317 create-mailbox.php:
- trim() localpart to avoid mailbox names with leading space

CHANGELOG.TXT:
- also add forgetten entry for setup.php r1498



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1520 a1433add-5e2c-0410-b055-b7f2511e0802
2013-09-12 19:55:37 +00:00
Christian Boltz
a264e34d15 da.lang
- Translation update by Titanus <titanus AT aptget.dk>, via mailinglist


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1480 a1433add-5e2c-0410-b055-b7f2511e0802
2013-06-16 17:31:38 +00:00
Christian Boltz
0bcde914a1 edit-mailbox.php:
- when enabling/disabling a mailbox, also update the corresponding alias
  Patch by Paolo Stancato, https://sourceforge.net/p/postfixadmin/bugs/289/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1479 a1433add-5e2c-0410-b055-b7f2511e0802
2013-06-16 16:39:36 +00:00
Christian Boltz
108e4546f0 lt.lang:
- translation update by Nerijus Baliunas <nerijus @SF>
  https://sourceforge.net/p/postfixadmin/patches/118/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1435 a1433add-5e2c-0410-b055-b7f2511e0802
2013-02-22 23:00:55 +00:00
Christian Boltz
cff1cc753d 2.3.6 release - update version at various places
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1417 a1433add-5e2c-0410-b055-b7f2511e0802
2013-01-02 21:19:52 +00:00
Christian Boltz
dc86351af6 fetchmail.php:
- fix bool and date handling for pgsql
  (patch from Christian Eberl)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1411 a1433add-5e2c-0410-b055-b7f2511e0802
2012-10-31 00:04:31 +00:00
Christian Boltz
e0f8d2d8b4 setup.php:
- fix double inclusion of config.inc.php
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3539027&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1405 a1433add-5e2c-0410-b055-b7f2511e0802
2012-06-30 11:07:57 +00:00
Christian Boltz
df777553d9 templates/login.php:
- typo fix - focus the username input field
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3538192&group_id=191583

templates/users_login.php:
- focus username input field in login form


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1404 a1433add-5e2c-0410-b055-b7f2511e0802
2012-06-26 18:57:11 +00:00
Christian Boltz
26b136ae8e templates/footer.php:
- replace footer link with link to postfixadmin.sf.net


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1402 a1433add-5e2c-0410-b055-b7f2511e0802
2012-06-21 19:58:25 +00:00
Christian Boltz
c7d48cbf55 templates/list-virtual, templates/admin_list-domain:
- display domain and mailbox description with correct encoding
  This fixes a regression in 2.3.5
  https://sourceforge.net/projects/postfixadmin/forums/forum/676076/topic/4977778


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1342 a1433add-5e2c-0410-b055-b7f2511e0802
2012-02-02 19:49:30 +00:00
Christian Boltz
339d585ac2 functions.inc.php
- update release number to 2.3.5

CHANGELOG.TXT:
- add 2.3.5 release headline


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1335 a1433add-5e2c-0410-b055-b7f2511e0802
2012-01-15 12:10:59 +00:00
Christian Boltz
bf0892aa9c More XSS fixes:
create-alias.php, edit-alias.php:
- fix XSS in error message
    
templates/admin_list-domain.php:
- fix XSS (by values stored in the database) in "description" field

templates/fetchmail.php:
- fix XSS (by values stored in the database) in any field

templates/list-virtual.php:
- fix XSS (by values stored in the database) in "name" field

+ CHANGELOG.TXT update

Again, thanks to Filippo Cavallarin for pointing out those issues.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1330 a1433add-5e2c-0410-b055-b7f2511e0802
2012-01-11 21:42:19 +00:00
Christian Boltz
d60276e864 functions.inc.php:
- PHP around 5.3.8 includes hex2bin as native function - http://php.net/hex2bin
  therefore we have to wrap our function (which fortunately gives the same
  results) with function_exists().
  Reported by MadOtis on #postfixadmin


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1329 a1433add-5e2c-0410-b055-b7f2511e0802
2012-01-11 18:45:10 +00:00
Christian Boltz
71f7b03801 update CHANGELOG.TXT with latest commits/fixes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1325 a1433add-5e2c-0410-b055-b7f2511e0802
2012-01-10 20:30:15 +00:00
Christian Boltz
ef0c84283f list-virtual.php:
- delivery to mailbox with a recipient delimiter (mailbox+foo@domain)
  was marked as "forward only"

This fixes 
https://sourceforge.net/tracker/?func=detail&aid=3420440&group_id=191583&atid=937964
reported by <stderr1> on #postfixadmin

(backport of trunk r1198)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1199 a1433add-5e2c-0410-b055-b7f2511e0802
2011-10-07 22:58:38 +00:00
Christian Boltz
dba89ba42e functions.inc.php / create_admin():
- fix SQL injection (only exploitable by superadmins)

Reported by Matthias Bethke (msbethke@SF),
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3412484&group_id=191583

(+ changelog update for this and the previous commit)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1185 a1433add-5e2c-0410-b055-b7f2511e0802
2011-09-22 22:29:24 +00:00
Christian Boltz
8d16ebdab3 update version numbers etc. for the 2.3.4 release
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1180 a1433add-5e2c-0410-b055-b7f2511e0802
2011-09-16 18:41:00 +00:00
Christian Boltz
1e766a2b39 CHANGELOG.TXT:
- whitespace fix - tabs vs. spaces


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1178 a1433add-5e2c-0410-b055-b7f2511e0802
2011-09-16 18:12:37 +00:00
Christian Boltz
ac3eadc17c functions.inc.php - pacrypt():
- if dovecotpw does not give the expected output, read stderr and write
  it to error_log()
- backported from SVN trunk r1071


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1159 a1433add-5e2c-0410-b055-b7f2511e0802
2011-08-02 19:59:57 +00:00
Christian Boltz
3be1184a9b vacation.pl:
- (really) log to "mail" syslog facility

reported by Johan Meiring (jmeiring) in 
http://sourceforge.net/tracker/index.php?func=detail&aid=3086890&group_id=191583&atid=937964

This is a backport of r1073 to the SVN branch.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1074 a1433add-5e2c-0410-b055-b7f2511e0802
2011-06-23 20:53:07 +00:00
Christian Boltz
3804413c82 create-domain.php:
- force domain name to lowercase to avoid problems with PgSQL foreign keys

Reported by Munroe Sollog (roe1234@SF),
https://sourceforge.net/tracker/?func=detail&aid=3287965&group_id=191583&atid=937964
after some bughunting on #postfixadmin



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1037 a1433add-5e2c-0410-b055-b7f2511e0802
2011-04-15 23:26:58 +00:00
Christian Boltz
86aabcfa06 list-domain.php:
- add explicit field list in SELECT to avoid PgSQL problems with custom columns

Reported by ksb (ksb4ever@SF),
https://sourceforge.net/tracker/?func=detail&aid=2859165&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1029 a1433add-5e2c-0410-b055-b7f2511e0802
2011-04-10 14:46:43 +00:00
Christian Boltz
eb8fafbc89 functions.inc.php:
- generate_password(): generate more secure random password

Based on a patch from Pierre Fagrell (mrfrenzy@SF),
https://sourceforge.net/tracker/?func=detail&aid=2958698&group_id=191583&atid=937964
(with some modifications)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1027 a1433add-5e2c-0410-b055-b7f2511e0802
2011-04-10 14:27:48 +00:00
Christian Boltz
04e743f262 fix typo in variable name
Reported by Gabriele Vivinetto (gabrielev@SF),
https://sourceforge.net/tracker/?func=detail&aid=3266862&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1025 a1433add-5e2c-0410-b055-b7f2511e0802
2011-04-10 13:13:12 +00:00
David Goodwin
bf7d3bc783 bump revision number + date to keep cboltz happy ;-)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1010 a1433add-5e2c-0410-b055-b7f2511e0802
2011-03-14 22:53:51 +00:00
David Goodwin
fc50224284 bump version number due to r1006
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1007 a1433add-5e2c-0410-b055-b7f2511e0802
2011-03-14 22:22:08 +00:00
Christian Boltz
fa14577c2a r999 is the 2.3.3 release :-)
update CHANGELOG and functions.inc.php


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@999 a1433add-5e2c-0410-b055-b7f2511e0802
2011-03-13 20:36:24 +00:00
Christian Boltz
4b7e59b662 edit-vacation:
- db_log vacation changes

Known bug: enabling vacation causes two log entries if the user used 
vacation before. Better than not logging vacation changes at all.

trunk already has a different fix - it uses VacationHandler which does
indirect logging via AliasHandler.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@987 a1433add-5e2c-0410-b055-b7f2511e0802
2011-03-06 21:30:55 +00:00
Christian Boltz
386ca66f88 functions.inc.php:
- db_delete(): revert table_by_key() call - otherwise I would have to merge the
  changes from r977 to delete.php which is the only file calling db_delete in
  2.3.x and expects that db_delete does not run table_by_key().
  That's a risk we can avoid because (interesting math follows...)
      buggy db_delete() + buggy delete.php = working code :-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@980 a1433add-5e2c-0410-b055-b7f2511e0802
2011-03-03 20:57:08 +00:00
Christian Boltz
c2071fc7a0 Merging in various fixes from trunk.
upgrade.php:
- change domain.quota, domain.maxquota and mailbox.quota to bigint in PostgreSQL

setup.php:
- strict boolean check for $CONF['configured'] - similar to the check in login.php


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@969 a1433add-5e2c-0410-b055-b7f2511e0802
2011-02-19 20:10:22 +00:00
Christian Boltz
2d48df75c1 Merging in various fixes from trunk.
INSTALL.TXT
- add a warning about external HOWTOs
- mention config.local.php 
- various small changes

DOCUMENTS/UPGRADE.txt:
- add note about upgrading postfix config for alias domains
- various small additions

functions.inc.php:
- fix db_delete to use table_by_key (didn't work with non-default table 
  names before)
- use db_insert for logging

languages/sk.lang:
- big translation update by Ondrej Zary (rnbw @sf)

CHANGELOG.TXT:
- updated with the most important changes from above


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@943 a1433add-5e2c-0410-b055-b7f2511e0802
2011-02-01 22:50:50 +00:00
Christian Boltz
2c9f015714 CHANGELOG.TXT:
- added changes of the previous commits


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@904 a1433add-5e2c-0410-b055-b7f2511e0802
2010-12-25 15:01:33 +00:00
Christian Boltz
303acce580 Backport of various fixes from trunk to the 2.3 branch
- list-virtual: fix displaying of 'modified' column for aliases when using
  postgres
- replaced deprecated split() with preg_split() or explode()
- functions.inc.php: better error messages when database functions are missing
- create domain: fixed typo in variable name that broke the default value for
  default aliases
- create domain: backup MX checkbox is now XHTML compliant
- vacation.pl logged literal $variable instead of the variable content at two
  places
- POSTFIX_CONF.txt: fixed filename for quota map
- config.inc.php: removed double $CONF['database_prefix']
- config.inc.php: fixed comments about domain_post* script parameters
- CHANGELOG.TXT: add new section for 2.3.3, include all the above



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@893 a1433add-5e2c-0410-b055-b7f2511e0802
2010-12-15 23:41:40 +00:00
Christian Boltz
19dbcdeec7 merged most bugfix changes between 2.3 release and SVN r791 to
2.3 branch

- merged: SVN r745, r746, r747, r748, r749, r750, r752, r754, r756, 
  r767, r770, r771, r772, r773, r774, r777, r778, r779, r789, r790 
- r763 partly merged (except smarty part)
- r787 - only part a) merged
- see CHANGELOG.txt changes ;-) or SVN log for details

ToDo: display alias targets for mailboxes (r751 and r787 part b)



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@792 a1433add-5e2c-0410-b055-b7f2511e0802
2009-12-28 21:24:38 +00:00
Christian Boltz
7c890a49ea postfixadmin 2.3 final(ly) :-)
- updating version number in various places


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@739 a1433add-5e2c-0410-b055-b7f2511e0802
2009-10-25 14:39:28 +00:00
Christian Boltz
4782a885b4 CHANGELOG.TXT:
- updated with all changes since 2.3 rc7
- fixed SVN revision of 2.3 rc7


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@737 a1433add-5e2c-0410-b055-b7f2511e0802
2009-10-24 00:13:39 +00:00
David Goodwin
345de9214c bump up to 2.3rc7
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@694 a1433add-5e2c-0410-b055-b7f2511e0802
2009-07-27 21:13:02 +00:00
David Goodwin
8200ef4788 ready for 2.3rc6
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@689 a1433add-5e2c-0410-b055-b7f2511e0802
2009-07-20 19:08:43 +00:00
David Goodwin
c137191ed7 lets try and get rc5 up and around
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@661 a1433add-5e2c-0410-b055-b7f2511e0802
2009-05-20 20:24:23 +00:00
David Goodwin
08e54eead9 update documentation; get ready for a 2.3rc4 release
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@634 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-18 20:19:16 +00:00
David Goodwin
96985c965f debian/changelog, function.inc.php, CHANGELOG.TXT : 2.3 rc3 is almost here
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@613 a1433add-5e2c-0410-b055-b7f2511e0802
2009-04-06 19:59:11 +00:00
David Goodwin
3024894a32 svn revision numbers keep changing!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@594 a1433add-5e2c-0410-b055-b7f2511e0802
2009-03-19 20:05:52 +00:00