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
11 years ago
David Goodwin
cc2d9bdd04
beta release
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1668 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
David Goodwin
547996c8c2
improve installation instructions
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1648 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
261e17ec97
check for Zend Framework, explode if it is not obviously found
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1647 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
c6a25c828d
fix exception logging; fix filter_var usage
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1646 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
ff1f9d2142
fix include path
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1645 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
e91ddf50a6
add node about XMLRPC stuff
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1644 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
add9e5b7af
fix xmlrpc function call (non-static method being called statically); fix method docblock which is read by Zend_XmlRpc_Server etc
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1643 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
eb2ccbc2e5
typo fix
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1642 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
e5417c2371
remove explicit reliance on plugin name being postfixadmin
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1641 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
b7ce498cc7
add missing { }
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1640 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
b3074644ff
alias can contain a ' - as in email.o'connor - need to therefore escape this...
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1639 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
e7fe6e16ef
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/trunk@1637 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
9bcc57cd88
functions.inc.php
...
- check_domain(): update regex for new, longer TLDs like .photography
https://sourceforge.net/p/postfixadmin/bugs/310/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1635 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
c2752782a2
header.tpl:
...
- remove isset() - this re-introduces the risk to produce an "undefined"
notice if someone uses an outdated config.inc.php, but also avoids
<link ... href=""> (notice the empty href) if $CONF[theme_custom_css]
is set, but empty
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1634 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
ad64560a43
edit.php:
...
- if the id_field is not displayed in form and not editable,
it's probably an auto_increment. Set it to '' in this case.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1633 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
f14d7d09a5
upgrade.php:
...
- change {BOOLEAN} to include "default false"
- revert the r1626 changes in upgrade_1283
(BTW: "by default, every admin is a superadmin" is not a good idea ;-)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1632 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
4bbc223804
edit.php:
...
- if values[$key] is not set, use the field's default value for smarty->assign
(also avoids an "undefined" warning with read-only fields)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1631 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
bf170f043b
edit.php:
...
- add error message if $handler->init() fails without error message
(indicates a bug in $handler->init())
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1630 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
0cf9d7e53c
templates/editform.tpl:
...
- change all field names to "value[$key]" instead of just "$key"
to keep the main "namespace" clean
edit.php:
- adjust POST handling code to changed form field names ("value[$key]")
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1629 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
5db370fdb3
add sasl auth listener config, a few more comments etc
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1628 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
a0d07df3db
typo fix
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1627 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
fa984a5b5f
upgrade.php : fix postgres complaining about addition of boolean not null field when existing data exists and no default is specified
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1626 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
c7bceb77cb
smarty.inc.php : use !empty to avoid php moaning
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1625 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
c2cfd6fe04
templates/header.tpl : check for existance of thing before trying to use it
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1624 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
e39510726a
use !empty to avoid error
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1623 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
a0cf264976
update smarty from 3.1.5 to 3.1.16
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1621 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
4a653e0da6
footer.tpl:
...
- do not escape $CONF.footer_text - it is already escaped
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1620 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
David Goodwin
7f40cc071c
DOVECOT.txt: update configuration for dovecot for version 1.2.x (Debian Wheezy)
...
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1619 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
7236333587
default.css:
...
- apply the same font family and size to input, textarea and select
https://sourceforge.net/p/postfixadmin/bugs/40/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1618 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
861dfc084d
setup.php:
...
- recommend PHP >= 5.2.3
- beautify some mysql/pgsql messages
CHANGELOG.TXT
- add vacation.pl "$SUBJECT"
- remove TODO for setup.php
- add "Changes since 2.3.6 release" (from 2.3 branch)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1617 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
657617d637
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/trunk@1615 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
2e3998c14c
vacation.pl:
...
- Add capability to include the subject of the original mail in the
subject of the vacation message.
A good vacation subject could be: 'Re: $SUBJECT'
- corrected log entry about "Already informed ..." to show the
$orig_from, not $email
Patch by Christoph Lechleitner <christoph.lechleitner@iteg.at>
http://sourceforge.net/p/postfixadmin/patches/117/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1614 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
c4e723b355
config.inc.php:
...
- remove unused config options:
- $CONF['vacation_replytype_control']
- $CONF['vacation_allow_user_reply'];
- $CONF['vacation_autoreplydelay_default']
- $CONF['vacation_intervaldelay_default']
CHANGELOG.TXT
- update with vacation changes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1613 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz
23ec3da059
vacation.pl:
...
- whitespace fixes
- update vim: line to 4 spaces tab (which seems to be used everywhere already)
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1612 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago