Changeset 320


Ignore:
Timestamp:
02/22/10 15:31:24 (14 years ago)
Author:
bas
Message:

email2trac.py.in:

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/changelog

    r319 r320  
    2525    Reported by: oland dot wells add gmail.com
    2626    Patches    : Bas van der Vlies
    27    
     27
     28  * Show errors when we can not include attachments in the ticket, see #165
     29    Requested by: hju add jochenkuhl dot de and  dereks add cool-st dot com
     30    Fixed by: Bas van der Vlies
     31
     32  * Added a new option 'email_triggers_workflow'. When a ticket is closed and
     33    an update is received via email. The ticket will be reopened or triggers
     34    a ticket workflow. This action can be skipped if we set the
     35    email_triggers_workflow option to 0. The default value is 1, closes #180
     36    Author: zac add sprackettd dot com
     37    Applied by: Bas van der Vlies
     38
     39   
     40
    2841 -- Bas van der Vlies <basv@sara.nl>  Wed, 27 Jan 2010 16:17:41 +0100
    2942
  • trunk/email2trac.py.in

    r319 r320  
    268268                        self.IGNORE_TRAC_USER_SETTINGS = 0
    269269
     270                if parameters.has_key('email_triggers_workflow'):
     271                        self.EMAIL_TRIGGERS_WORKFLOW = int(parameters['email_triggers_workflow'])
     272                else:
     273                        self.EMAIL_TRIGGERS_WORKFLOW = 1
     274
    270275                if parameters.has_key('subject_field_separator'):
    271276                        self.SUBJECT_FIELD_SEPARATOR = parameters['subject_field_separator'].strip()
     
    714719                # We must use the ticket workflow framework
    715720                #
    716                 if tkt['status'] in ['closed']:
     721                if tkt['status'] in ['closed'] and self.EMAIL_TRIGGERS_WORKFLOW:
    717722
    718723                        #print controller.actions['reopen']
Note: See TracChangeset for help on using the changeset viewer.