cvs: pearweb /include pear-config.php /include/pepr pepr-emails.php
| From: | Martin Jansen | Date: | Sun, 13 Jan 2008 14:34:20 +0000 |
| Subject: | cvs: pearweb /include pear-config.php /include/pepr pepr-emails.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-50265@lists.php.net to get a copy of this message | ||
mj Sun Jan 13 14:34:20 2008 UTC
Modified files:
/pearweb/include pear-config.php
/pearweb/include/pepr pepr-emails.php
Log:
* The mails sent after new comments in PEPr carry a huge amount of
redundant information which this commit fixes:
- The name of the person who left the comment is clear from the From:
header.
- The package where the comment belongs to is clear form the Subject:
header.
- The fact that the mail is sent through PEPr also becomes clear from
the Subject: header.
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-config.php?r1=1.46&r2=1.47&diff_format=u
Index: pearweb/include/pear-config.php
diff -u pearweb/include/pear-config.php:1.46 pearweb/include/pear-config.php:1.47
--- pearweb/include/pear-config.php:1.46 Sat Jan 12 16:14:21 2008
+++ pearweb/include/pear-config.php Sun Jan 13 14:34:20 2008
@@ -13,7 +13,7 @@
* @category pearweb
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: pear-config.php,v 1.46 2008/01/12 16:14:21 dufuz Exp $
+ * @version $Id: pear-config.php,v 1.47 2008/01/13 14:34:20 mj Exp $
*/
define ('PEARWEB_TEMPLATEDIR', dirname(dirname(__FILE__)) . '/templates/');
@@ -142,7 +142,7 @@
define('PROPOSAL_EMAIL_PREFIX', '[PEPr]');
// PEPr: the string put on the end of each email
-define('PROPOSAL_EMAIL_POSTFIX', "\n\n-- \nSent by PEPr, the automatic proposal
system at http://" . PEAR_CHANNELNAME);
+define('PROPOSAL_EMAIL_POSTFIX', "");
define('PROPOSAL_OVERVIEW_FINISHED', 10);
// Number of trackbacks from 1 IP allowed within given timespan.
http://cvs.php.net/viewvc.cgi/pearweb/include/pepr/pepr-emails.php?r1=1.16&r2=1.17&diff_format=u
Index: pearweb/include/pepr/pepr-emails.php
diff -u pearweb/include/pepr/pepr-emails.php:1.16 pearweb/include/pepr/pepr-emails.php:1.17
--- pearweb/include/pepr/pepr-emails.php:1.16 Sun Feb 18 20:47:27 2007
+++ pearweb/include/pepr/pepr-emails.php Sun Jan 13 14:34:20 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
| Authors: Tobias Schlitt <toby@php.net> |
+----------------------------------------------------------------------+
- $Id: pepr-emails.php,v 1.16 2007/02/18 20:47:27 cellog Exp $
+ $Id: pepr-emails.php,v 1.17 2008/01/13 14:34:20 mj Exp $
*/
$proposalEmailTexts = array(
@@ -107,7 +107,7 @@
'admin' => '{email_pear_dev}, {actor_name} <{actor_email}>,
{owner_name} {owner_email}'
),
'subject' => 'Comment on {pkg_category}::{pkg_name}',
- 'text' => "{actor_name} ({actor_link}) has commented on the proposal
for {pkg_category}::{pkg_name}.\n\nComment:\n\n{comment}\n\nProposal
information:\n{proposal_url}"
+ 'text' => "{comment}\n\n-- \n{proposal_url}"
),
);