Skip to content

Commit 33d0e4c

Browse files
author
Richard Jones
committed
Added a uniquely Roundup header to email, "X-Roundup-Name"
1 parent fd6a4aa commit 33d0e4c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

4-
2002-02-?? - ?????
4+
2002-02-?? - 0.4.1
55
Fixed:
66
. Clean up mail handling, multipart handling.
77
. respect encodings in non multipart messages.
@@ -10,6 +10,7 @@ Fixed:
1010
. preamble in tepmlateBuilder mentioned htmldata
1111
. mailgw checks encoding on first part too.
1212
. #511586 ] unittest FAIL: testReldate_date
13+
. Added a uniquely Roundup header to email, "X-Roundup-Name"
1314

1415

1516
2002-01-24 - 0.4.0

roundup/roundupdb.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: roundupdb.py,v 1.42 2002-01-21 09:55:14 rochecompaan Exp $
18+
# $Id: roundupdb.py,v 1.43 2002-02-14 22:33:15 richard Exp $
1919

2020
__doc__ = """
2121
Extending hyperdb with types specific to issue-tracking.
@@ -391,6 +391,9 @@ def sendmessage(self, nodeid, msgid, change_note):
391391
if inreplyto:
392392
writer.addheader('In-Reply-To', inreplyto)
393393

394+
# add a uniquely Roundup header to help filtering
395+
writer.addheader('X-Roundup-Name', self.db.config.INSTANCE_NAME)
396+
394397
# attach files
395398
if message_files:
396399
part = writer.startmultipartbody('mixed')
@@ -568,6 +571,9 @@ def generateChangeNote(self, nodeid, oldvalues):
568571

569572
#
570573
# $Log: not supported by cvs2svn $
574+
# Revision 1.42 2002/01/21 09:55:14 rochecompaan
575+
# Properties in change note are now sorted
576+
#
571577
# Revision 1.41 2002/01/15 00:12:40 richard
572578
# #503340 ] creating issue with [asignedto=p.ohly]
573579
#

0 commit comments

Comments
 (0)