0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
Commit Graph

1469 Commits

Author SHA1 Message Date
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
David Goodwin
547996c8c2 improve installation instructions
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1648 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-19 11:56:59 +00:00
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
2014-02-19 11:53:43 +00:00
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
2014-02-19 11:53:09 +00:00
David Goodwin
ff1f9d2142 fix include path
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1645 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-19 11:52:36 +00:00
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
2014-02-19 11:52:12 +00:00
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
2014-02-19 11:49:26 +00:00
David Goodwin
eb2ccbc2e5 typo fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1642 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-19 11:47:17 +00:00
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
2014-02-18 13:23:55 +00:00
David Goodwin
b7ce498cc7 add missing { }
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1640 a1433add-5e2c-0410-b055-b7f2511e0802
2014-02-17 13:44:20 +00:00
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
2014-02-17 13:43:47 +00:00
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
2014-02-13 20:11:05 +00:00
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
2014-02-13 19:34:24 +00:00
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
2014-01-21 22:11:58 +00:00
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
2014-01-21 19:27:38 +00:00
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
2014-01-21 19:17:09 +00:00
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
2014-01-21 19:04:56 +00:00
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
2014-01-21 18:32:06 +00:00
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
2014-01-21 18:24:25 +00:00
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
2014-01-21 15:38:11 +00:00
David Goodwin
a0d07df3db typo fix
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1627 a1433add-5e2c-0410-b055-b7f2511e0802
2014-01-21 14:55:11 +00:00
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
2014-01-14 16:03:36 +00:00
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
2014-01-14 16:02:03 +00:00
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
2014-01-14 16:01:11 +00:00
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
2014-01-14 16:00:42 +00:00