Christian Boltz
e8b0198512
2.92 (aka 3.0 beta2) release
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1706 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-28 20:05:46 +00:00
Christian Boltz
49be08c9fe
update Smarty to 3.1.21
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1704 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-23 22:23:53 +00:00
Christian Boltz
6ec360b0b7
AliasHandler:
...
- finally fix alias deletion when using MariaDB. The workaround is
to add another field from the subquery to the outer SELECT so that
MariaDB can't optimize the subquery to "always 1"
http://sourceforge.net/p/postfixadmin/bugs/325/
(I'll open a MariaDB bugreport and add the link to the bugtracker)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1703 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-23 18:26:54 +00:00
Christian Boltz
46a632ec02
AliasHandler:
...
- initStruct(): revert the MariaDB workaround because PostfixAdmin now
"thinks" none of the aliases belong to a mailbox (and displays all of
them in the alias list, even the mailbox aliases)
- reverts r1699 + the CHANGELOG entry (part of r1700)
- reopened https://sourceforge.net/p/postfixadmin/bugs/325/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1702 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-22 16:30:25 +00:00
Christian Boltz
0ca4c62d6d
CHANGELOG.TXT:
...
- update for r1690..1700
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1701 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-22 15:33:33 +00:00
Christian Boltz
d9ff7ece05
AliasHandler:
...
- initStruct(): use "SELECT COUNT(1)" instead of "SELECT 1" as workaround
for a MariaDB problem (bug?)
https://sourceforge.net/p/postfixadmin/bugs/325/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1700 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-22 15:12:08 +00:00
Christian Boltz
584a85216d
INSTALL.TXT, ADDITIONS/squirrelmail-plugin/INSTALL
...
- add required version of Zend Framework (1.12.x) and a warning that 2.x
won't work (reported by seboulba on IRC)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1699 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-20 21:23:54 +00:00
David Goodwin
f436a0d17c
fix typo in model/CliHelp.php as per ticket 332
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1698 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-20 08:31:57 +00:00
Christian Boltz
4d0ebd7e1b
vacation.php:
...
- check that $tActiveUntil >= today and $tActiveUntil >= $tActiveFrom
- update header comments
- display "vacation is active" notice also to admins
(based on a patch by J.Kruis @SF,
https://sourceforge.net/p/postfixadmin/patches/122/ )
*.lang:
- add
- pVacation_until_before_today
- pVacation_until_before_from
- reply_once_per_day
- change pUsersVacation_welcome_text to 'Auto response for %s is active!'
- remove "obsolete" marker from pUsersVacation_activefrom and
pUsersVacation_activeuntil, they are still used
nl.lang:
- translation update by J.Kruis @SF
https://sourceforge.net/p/postfixadmin/patches/122/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1697 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-13 20:50:22 +00:00
Christian Boltz
06c1125e19
broadcast-message.php:
...
- remove raw HTML ("<br />") from flash_info()/flash_error() calls
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1695 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-09 11:56:10 +00:00
Christian Boltz
fb4af233af
config.inc.php:
...
- add note that $CONF[vacation_domain] can't be used for "normal" mails
model/DomainHandler.php:
- validate_new_id():
- error out when trying to add $CONF[vacation_domain]
- some whitespace fixes
- remove superfluous comment on initStruct()
*.lang:
- add 'domain_conflict_vacation_domain' error message
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1694 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-07 16:11:49 +00:00
Christian Boltz
b30292c420
MailboxHandler.php:
...
- storemore():
- fix undefined variable if creating subfolders fails (bug#328)
- remove some outdated TODO notes
- create_mailbox_subfolders(): add $this->id to error_log
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1693 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-05 22:09:42 +00:00
Christian Boltz
76b4e498a2
VIRTUAL_VACATION/INSTALL.TXT:
...
- change instructions to use /usr/lib/postfixadmin to avoid vacation.pl
has write access to itsself
- replace instructions for /var/spool/vacation/ with instructions for a
log file or directory
- various other changes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1692 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-05 21:45:45 +00:00
Christian Boltz
2e6f20a473
*.lang:
...
- add pViewlog_action_delete_admin (needed to avoid an error when
deleting an admin)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1691 a1433add-5e2c-0410-b055-b7f2511e0802
2014-10-05 15:33:02 +00:00
Christian Boltz
d80816ad86
DomainHandler:
...
- $CONF[default_aliases] can now use the new domain as alias target
http://sourceforge.net/p/postfixadmin/patches/124/
config.inc.php:
- update comment for $CONF[default_aliases]
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1690 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-28 10:39:42 +00:00
Christian Boltz
5b1ab56dac
small clarification in changelog entry about vacation.pl sql
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1689 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-12 11:19:09 +00:00
Christian Boltz
e826a01663
changelog update
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1688 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-12 11:12:08 +00:00
Christian Boltz
bf620f5b5f
fetchmail.php:
...
- change error_reporting() to exclude E_NOTICE.
This is a workaround for
https://sourceforge.net/p/postfixadmin/bugs/322/
until fetchmail.php is converted to FetchmailHandler
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1687 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-12 10:02:45 +00:00
Christian Boltz
a26e25a03a
language-update.sh:
...
- add a hint about --forcepatch to --patch help
- some whitespace fixes in help
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1686 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-12 09:52:21 +00:00
Christian Boltz
6595a0a501
upgrade.php:
...
- upgrade_1685_mysql()/upgrade_1685_pgsql:
Fix existing log entries broken by
https://sourceforge.net/p/postfixadmin/bugs/317/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1685 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-12 09:47:22 +00:00
Christian Boltz
c5de88390e
PFAHandler.php:
...
fix logging - log the domain instead of $this->id
- add protected $domain (used for logging)
- add function domain_from_id()
- http://sourceforge.net/p/postfixadmin/bugs/317/
AliasHandler.php:
- add function domain_from_id()
MailboxHandler.php:
- add function domain_from_id()
- init(): use $this->domain instead of splitting $this-id again
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1684 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-12 09:22:09 +00:00
Christian Boltz
3f62a577a4
CliHelp:
...
- remove help text about "password" command (not implemented)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1683 a1433add-5e2c-0410-b055-b7f2511e0802
2014-09-11 22:17:59 +00:00
Christian Boltz
1a22118453
POSTFIX_CONF.txt:
...
- add note that active=1 needs to be changed to active='t' when using
PostgreSQL
https://sourceforge.net/p/postfixadmin/discussion/676076/thread/016fe62e/
- move around note about concat() vs. PostgreSQL
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1682 a1433add-5e2c-0410-b055-b7f2511e0802
2014-07-22 20:36:22 +00:00
Christian Boltz
7055209d8a
fetchmail.pl:
...
- fix ssl extra options (cert check, cert path, fingerprint)
Patch by Silvan Calarco <mambasoft @SF>
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1681 a1433add-5e2c-0410-b055-b7f2511e0802
2014-06-21 19:54:24 +00:00
Christian Boltz
a933aa1cd8
INSTALL.TXT:
...
- change tar command to postfixadmin-$version.tar.gz (instead of 2.2)
- recommend usage of config.local.php (including a basic example how it looks)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1680 a1433add-5e2c-0410-b055-b7f2511e0802
2014-06-15 19:23:24 +00:00
Christian Boltz
0f55fb4351
fr.lang:
...
- translation update by Francois Grange (rumbaya @SF)
https://sourceforge.net/p/postfixadmin/patches/123/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1679 a1433add-5e2c-0410-b055-b7f2511e0802
2014-06-09 13:27:19 +00:00
Christian Boltz
8e5a4551cb
AliasHandler:
...
- fix query in getList(), which caused an empty list on some systems
https://sourceforge.net/p/postfixadmin/bugs/313/
Fix by VERSATECH SRL, versatechsrl @SF
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1678 a1433add-5e2c-0410-b055-b7f2511e0802
2014-06-06 19:11:05 +00:00
Christian Boltz
a22fe1c4be
edit.php:
...
- check for $new instead of $edit == '' / != '' to make the code
easier to understand
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1677 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-29 11:50:49 +00:00
Christian Boltz
c2d6034cc0
vacation.pl:
...
- fix two queries for postgresql
Patch by Christoph Kuchenbuch,
https://sourceforge.net/p/postfixadmin/bugs/315/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1676 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-27 21:34:43 +00:00
Christian Boltz
566f2845bd
AliasHandler:
...
- setmore(): use old goto values if no new value is given. Fixes
'Making alias inactive cleans "goto" field'
https://sourceforge.net/p/postfixadmin/bugs/316/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1675 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-27 21:27:20 +00:00
Christian Boltz
e670bcd5b8
list-virtual_mailbox.tpl:
...
- fix: display quota if $CONF[used_quotas] == NO
https://sourceforge.net/p/postfixadmin/bugs/307/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1674 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-18 22:30:21 +00:00
Christian Boltz
d3964f600e
functions.inc.php
...
- db_get_boolean: error_log invalid values
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1672 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-11 23:09:18 +00:00
Christian Boltz
0b116c1605
version 2.91 aka 3.0 beta1
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1670 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-06 19:46:27 +00:00
David Goodwin
7f07e7e59a
fix to work with debian/trunk etc (mysql->mysqli)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1669 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-02 16:48:21 +00:00
David Goodwin
cc2d9bdd04
beta release
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1668 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-02 16:47:54 +00:00
David Goodwin
1c011806c1
this might fix the permissions on templates_c
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1667 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-02 16:47:36 +00:00
David Goodwin
4b4461c48a
update - remove admin reference
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1666 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-02 16:47:18 +00:00
Christian Boltz
1d520423a9
login.php, users/login.php:
...
- trim() $fUsername - MySQL thinks "foo" == "foo " (and therefore allows
login as "foo@example.com " - but later we'll get funny "undefined index"
problems in PFAHander->view()) when an admin wants to change the password
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1665 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-01 22:52:47 +00:00
Christian Boltz
3b19dfeff6
default.css:
...
- fix path to quota background image
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1664 a1433add-5e2c-0410-b055-b7f2511e0802
2014-05-01 22:23:25 +00:00
Christian Boltz
a8b79b4548
MailboxHandler:
...
- validate_new_id(): make sure mailbox creation still works if the
alias limit for the domain is hit
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1663 a1433add-5e2c-0410-b055-b7f2511e0802
2014-04-28 20:42:38 +00:00
Christian Boltz
619a419611
users/password.php:
...
- include the username in messages containing %s
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1662 a1433add-5e2c-0410-b055-b7f2511e0802
2014-04-27 19:18:14 +00:00
Christian Boltz
bbd7c3af77
CliEdit.php:
...
- execute(): call __handle_params() also if empty args[0] is given
- __interactive(): only ask for id if $id_field is editable
This fixes two issues with a non-editable auto_increment id field
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1661 a1433add-5e2c-0410-b055-b7f2511e0802
2014-04-27 13:41:41 +00:00
Christian Boltz
da14ddf6d7
postfixadmin-cli.php:
...
- __parse_params(): only check for first character if $params[$i]
is not empty (avoids PHP warning)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1660 a1433add-5e2c-0410-b055-b7f2511e0802
2014-04-27 13:34:03 +00:00
Christian Boltz
2289096ccc
Config.php:
...
- do not error_log() 'undefined config option' for deprecated options
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1659 a1433add-5e2c-0410-b055-b7f2511e0802
2014-03-18 21:57:47 +00:00
Christian Boltz
8e04104b20
functions.inc.php:
...
- db_log():
- replace $action_list with $LANG["pViewlog_action_$action"]
- drop unused $table_log variable
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1658 a1433add-5e2c-0410-b055-b7f2511e0802
2014-03-16 21:52:26 +00:00
Christian Boltz
f1c6566667
finally delete admin/ (redirect to /login.php)
...
We dropped admin/ in 2007 - if someone still didn't notice it, well,
then I'm looking forward for a bugreport I can close as invalid ;-)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1657 a1433add-5e2c-0410-b055-b7f2511e0802
2014-03-16 19:48:05 +00:00
Christian Boltz
9913a446fc
header.tpl:
...
- add page-{$smarty_template} and page-{$smarty_template}-{$table}
classes to allow more targeted CSS styling
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1656 a1433add-5e2c-0410-b055-b7f2511e0802
2014-03-16 19:33:52 +00:00
Christian Boltz
5fcade96d5
MailboxHandler:
...
- read_from_db_postprocess(): avoid warning if quota is disabled in $struct
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1655 a1433add-5e2c-0410-b055-b7f2511e0802
2014-03-16 19:29:55 +00:00
Christian Boltz
5abc5d2b38
CHANGELOG.TXT:
...
- include 2.3.7 changelog
- update with major changes since r1617
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1653 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-20 22:34:51 +00:00
David Goodwin
2858fdb61e
remove empty entries from the array before sending to the remote server; ensure $tMessage is defined
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1649 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-19 11:57:47 +00:00