- Timestamp:
- 05/20/10 08:52:13 (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r358 r360 22 22 * Added a new option. It is all in the name: 23 23 * ticket_update_by_subject, default value is off 24 * ticket_update_by_subject_lookback, default 30 days 24 25 25 26 When this option is enabled and there is no ticket number found … … 29 30 Author: Konstantin Ryabitsev <icon add mricon dot com> & Bas van der Vlies 30 31 Applied by: Bas van der Vlies 31 32 33 * Added DiscussionPlugin support, closes 197. For description see: 34 - https://trac-hacks.org/wiki/DiscussionPlugin 35 36 Author: ibarton add fit dot vutbr dot cz (alias Blackhex) 37 Applied by with some modification: Bas van der Vlies 38 32 39 2010-03-20 33 40 -
trunk/debian/changelog
r355 r360 1 email2trac (1.4.0- 1) stable; urgency=low1 email2trac (1.4.0-2) stable; urgency=low 2 2 3 3 * See Changelog -
trunk/email2trac.py.in
r359 r360 203 203 self.TICKET_UPDATE_BY_SUBJECT = 0 204 204 205 if parameters.has_key('ticket_update_by_subject_lookback'): 206 self.TICKET_UPDATE_BY_SUBJECT_LOOKBACK = int(parameters['ticket_update_by_subject_lookback']) 207 else: 208 self.TICKET_UPDATE_BY_SUBJECT_LOOKBACK = 30 209 205 210 if parameters.has_key('drop_spam'): 206 211 self.DROP_SPAM = int(parameters['drop_spam']) … … 919 924 summaries = [orig_subject, '%%: %s' % orig_subject] 920 925 921 # hard-code the time to 30 days for now. Can easily be 922 # made configurable 923 lookback = int(time.mktime(time.gmtime())) - 2592000 926 ## 927 # Convert days to seconds 928 lookback = int(time.mktime(time.gmtime())) - \ 929 self.TICKET_UPDATE_BY_SUBJECT_LOOKBACK * 24 * 3600 930 924 931 925 932 for summary in summaries:
Note: See TracChangeset
for help on using the changeset viewer.