Timestamp:

 
Files:
(modified)
Context Navigation Search:  
Login
 
Location:

White space changes .

strip_signature

  • our own ;-)
    emailtotracscript/trunk/email2trac.conf

email2trac.py.in:

  • Changeset 138 – email2trac – Trac
Added
lines around each change
Hide Ads
Help/Guide

Ignore:

Unified Diff
Author:
Roadmap
  • I run some tests with the new code

      741
    : 18 View Tickets 299
    273 r136 12/01/06 15:15:59 ( 465
        verbatim_format: 1   334  
    746 View differences 685 r138
       
    473 676
  • emailtotracscript/trunk/email2trac.py.in a         def set_owner(self, ticket):

         
    749 361 email2trac")  
      467 675
      363         def save_email_for_debug(self, message, tempfile=False): 625
                        return  util.text.to_unicode(str) 750
    332 684                 return  self.to_unicode(str) 426
         
    298 425 358
    s   Fixed 302
      751  
      674                         #self.email_field =  self.to_unicode(message["from"]) 338
    422                 else:  
                                        #filename = self.to_unicode(filename) Wiki
                                    ticket["cc"] = util.text.to_unicode(mail_list)  
                                self.email_field =  self.to_unicode(message["from"])  
    673    
    628                   else:     
    272 423  
    626    
      269                 TICKET_RE = re.compile(r"""
      738                         self.email_field = users[0]  
                                        filename = "%s%s" % (filename, ext)  
      14                         #mailto = self.html_mailto_link(self.to_unicode(msg["subject"]), ticket_id, body_text) 301
    bas   748
      421                 #return  self.to_unicode(str) 362
    362 301
    268 300                         if mail_list: 340
                        else:  
    427                           # From by trac code 686
    14                           author = self.email_addr  
    633                         author = util.text.to_unicode(self.author) 627
    740   270
      (                         else: 683
    682 271
    300 15                                         #att.description = self.to_unicode("Added by email2trac")  
    ago)           def set_reply_fields(self, ticket, message): of                 else:  
    303 270                                         att.author = self.author  
      Show                         author = self.to_unicode(self.author) 747
    634                                   ticket["cc"] = self.to_unicode(mail_list) 468
      335  
        )
    304 305  
      267                         changed = True 15
    677                           subject  = self.to_unicode(m["Subject"]) the                                 filename = util.text.to_unicode(filename)
      335                         #tkt["description"] = "email2trac:%s%s\r\n{{{\r\n%s\r\n}}}" %(head, mailto, body_text) 629
    466 475                         tkt["description"] = "email2trac:%s%s\r\n%s" %(head, mailto, body_text) 474
    r136 : 1                         #author = self.to_unicode(self.author)
    418 (                         tkt["summary"] = u"(geen subject)" 267
    636                                   #ticket["cc"] = self.to_unicode(mail_list) 336
    632   17
                                        att.insert(url_filename, fd, filesize)  
    364                   # Must find a fix  
      )                         tkt["summary"] = util.text.to_unicode(msg["Subject"])  
    739 737                         mailto = self.html_mailto_link(self.to_unicode(msg["subject"]), ticket_id, body_text) 428
      419                                 if not update: 271
    359    
    424   Use trac.util.text.to_unicode function instead 637
        r138
      : 1                         comment = "\nadded mailto line\n"  
    681 464                         return False 16
    269                                 filename = self.to_unicode(filename) 17
      333                         str = "%s"""Cc:""" %s [[BR]]" % (str, m["Cc"])  
                                mailto = self.html_mailto_link(util.text.to_unicode(msg["subject"]), ticket_id, body_text) 635
      472  
                                subject  = util.text.to_unicode(m["Subject"])  
      302
      336                         tkt["summary"] = self.to_unicode(msg["Subject"])  
    365                           #tkt["summary"] = self.to_unicode(msg["Subject"])  
    268                           #subject  = self.to_unicode(m["Subject"]) 471
      337                         self.email_field =  util.text.to_unicode(message["from"]) 420
    339 By                                         att.description = util.text.to_unicode("Added by email2trac")  
      18 366
    367                                           att.description = self.to_unicode("Added