ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Update author in mail header (Feature #958)


Added by Sébastien de Chateauvieux at 2012-03-30 04:00 pm.


Status:Open Start date:2012-03-30
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Mail Sending
Target version:-
Remote issue URL: Affected version:3.0.0

Description

hello

Sorry for my bad English ...

There are not update author in mail Header.
Actually i have :

X-Chiliproject-Site: MySite
X-Chiliproject-Host: mysite.fr
Precedence: bulk
X-Chiliproject-Issue-Author: Toto
X-Chiliproject-Project: mysite-project
X-Chiliproject-Issue-Id: 1
X-Mailer: ChiliProject
X-Chiliproject-Issue-Assignee: Tata
X-Chiliproject-Type: Issue
Auto-Submitted: auto-generated

Mail header is good for message filtering. Update author (people how have make issue change).
Example : X-Chiliproject-Update-Issue-Author: Titi

In french :
L'auteur de la modification/creation de demande n'est pas present dans le header du mail. cela serai tres pratique de l'avoir.

Path proposition. Insert Update-Author for all mail update.

--- app/models/mailer.rb.old    2012-03-30 19:29:12.000000000 +0400
+++ app/models/mailer.rb        2012-03-30 19:50:04.000000000 +0400
@@ -412,7 +412,8 @@
             'X-ChiliProject-Host' => Setting.host_name,
             'X-ChiliProject-Site' => Setting.app_title,
             'Precedence' => 'bulk',
-            'Auto-Submitted' => 'auto-generated'
+            'Auto-Submitted' => 'auto-generated',
+            'Update-Author' => User.current.login
   end

   # Appends a Redmine header field (name is prepended with 'X-ChiliProject-')


History

Also available in: Atom PDF