Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 1964 by d...@vidsolbach.de: Enhance filter possibilities for reviewboard emails
http://code.google.com/p/reviewboard/issues/detail?id=1964

*NOTE: If you have a patch, please submit it to
http://reviews.reviewboard.org/


What version are you running?
1.5.2

Describe the enhancement and the motivation for it.
Hi,

A user of the kde reviewboard had a wish for a feature enhancement. Here is his description along with a "pseudo patch".

---
Hi,

as we now have new headers for the commit mails that enable great filtering I
would like to request that the mails from reviewboard contains a header with
the name(s) of the groups that a request belongs to.

---<somewhat psudo patch>---
diff --git a/reviewboard/notifications/email.py
b/reviewboard/notifications/email.py
index 4665479..d65f44f 100644
--- a/reviewboard/notifications/email.py
+++ b/reviewboard/notifications/email.py
@@ -190,6 +190,7 @@ def send_review_mail(user, review_request, subject,
in_reply_to,
     headers = {
         'X-ReviewBoard-URL': base_url,
'X-ReviewRequest-URL': base_url + review_request.get_absolute_url(),
+        'X-ReviewGroup' : review_request.target_groups
     }

     sender = None
----------

/Regards
Torgny


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to