Commit Graph

1571 Commits (1fc6f3b03e164c7b3314d06408334b5b233dd478)
 

Author SHA1 Message Date
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
10 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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