Roundup Tracker - Issues

Message3658

Author ajaksu2
Recipients ajaksu2
Date 2009-03-17.21:22:56
Message-id <1237324978.42.0.675625939075.issue1714899@psf.upfronthosting.co.za>
In-reply-to
This patch addresses this RFE by adding a 'mute' parameter to
roundupdb.IssueClass.nosymessage that omits the change note.

It allows one to omit non-journaled *Link properties from an issue
change note by setting a 'quiet' parameter in nosymessage() that reaches
generate[Create|Change]Note().

It also addresses http://psf.upfronthosting.co.za/roundup/meta/issue249
and this RFE by allowing one to hide any non-*Link properties by setting
an attribute 'do_journal=False' on them. This affects both change notes
and history (in templating).

Example usage in schema.py:
nosy_count = Number()
nosy_count.do_journal = False
issue = IssueClass(db, "issue",
                   type=Link('issue_type'),
                   [...]
                   nosy_count=nosy_count)
History
Date User Action Args
2009-03-17 21:22:58ajaksu2setmessageid: <1237324978.42.0.675625939075.issue1714899@psf.upfronthosting.co.za>
2009-03-17 21:22:58ajaksu2setrecipients: + ajaksu2
2009-03-17 21:22:58ajaksu2linkissue1714899 messages
2009-03-17 21:22:58ajaksu2create