Mercurial > p > roundup > code
comparison roundup/roundupdb.py @ 1379:98ec0c4ce7ab
missed a fix to the mailing patches
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 14 Jan 2003 22:19:27 +0000 |
| parents | aa7e4e8b14be |
| children | f19dde90e473 |
comparison
equal
deleted
inserted
replaced
| 1378:5d1fe5d51c12 | 1379:98ec0c4ce7ab |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: roundupdb.py,v 1.76 2003-01-12 00:41:26 richard Exp $ | 18 # $Id: roundupdb.py,v 1.77 2003-01-14 22:19:27 richard Exp $ |
| 19 | 19 |
| 20 __doc__ = """ | 20 __doc__ = """ |
| 21 Extending hyperdb with types specific to issue-tracking. | 21 Extending hyperdb with types specific to issue-tracking. |
| 22 """ | 22 """ |
| 23 | 23 |
| 85 | 85 |
| 86 The given text is saved as the body of the message and the node is | 86 The given text is saved as the body of the message and the node is |
| 87 appended to the "messages" field of the specified issue. | 87 appended to the "messages" field of the specified issue. |
| 88 """ | 88 """ |
| 89 | 89 |
| 90 # XXX "bcc" is an optional extra here... | |
| 90 def nosymessage(self, nodeid, msgid, oldvalues, whichnosy='nosy', | 91 def nosymessage(self, nodeid, msgid, oldvalues, whichnosy='nosy', |
| 91 from_address=[], cc=[], bcc=[]): | 92 from_address=None, cc=[]): #, bcc=[]): |
| 92 """Send a message to the members of an issue's nosy list. | 93 """Send a message to the members of an issue's nosy list. |
| 93 | 94 |
| 94 The message is sent only to users on the nosy list who are not | 95 The message is sent only to users on the nosy list who are not |
| 95 already on the "recipients" list for the message. | 96 already on the "recipients" list for the message. |
| 96 | 97 |
| 97 These users are then added to the message's "recipients" list. | 98 These users are then added to the message's "recipients" list. |
| 99 | |
| 98 """ | 100 """ |
| 99 users = self.db.user | 101 users = self.db.user |
| 100 messages = self.db.msg | 102 messages = self.db.msg |
| 101 | 103 |
| 102 # figure the recipient ids | 104 # figure the recipient ids |
