Changeset 506
- Timestamp:
- 01/10/11 14:06:35 (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r503 r506 1 1.X.X(2010-XX-XX)1 2.0.1 (2010-XX-XX) 2 2 * An email adress can match multiple trac accounts, closes #218 3 3 Author: Konstantin Ryabitsev <icon add mricon dot com> … … 68 68 Applied by: Bas van der Vlies 69 69 70 * Fixed mailto link for trac 0.11 and 0.12. Use the mailto tag in stead of 71 an html tag. The html tag does not work for trac 0.12 72 Reported by: Wim Rijks 73 Author: Bas van der Vlies 74 70 75 1.6.0 (2010-8-10) 71 76 * Fixed an Unicode error in strip_quotes -
trunk/debian/changelog
r504 r506 1 email2trac (2.0.1-1) stable; urgency=low 2 3 * mailto fix for trac 0.12 4 5 -- Bas van der Vlies <basv@sara.nl> Mon, 10 Jan 2011 11:12:01 +0100 6 1 7 email2trac (2.0.0-1) stable; urgency=low 2 8 -
trunk/debian/compat
r49 r506 1 4 1 5 -
trunk/email2trac.py.in
r503 r506 2075 2075 This function returns a HTML mailto tag with the ticket id and author email address 2076 2076 """ 2077 self.logger.debug("function html_mailto_link") 2077 2078 if not self.author: 2078 2079 author = self.email_addr … … 2085 2086 ## use urllib to escape the chars 2086 2087 # 2087 s = ' mailto:%s?Subject=%s&Cc=%s' %(2088 s = '%s?Subject=%s&Cc=%s' %( 2088 2089 urllib.quote(self.email_addr), 2089 2090 urllib.quote('Re: #%s: %s' %(self.id, subject)), … … 2091 2092 ) 2092 2093 2093 s = '\r\n{{{\r\n#!html\r\n<a\r\n href="%s">Reply to: %s\r\n</a>\r\n}}}\r\n' %(s, author) 2094 if self.VERSION in [ 0.10 ]: 2095 s = '\r\n{{{\r\n#!html\r\n<a\r\n href="mailto:%s">Reply to: %s\r\n</a>\r\n}}}\r\n' %(s, author) 2096 else: 2097 s = '[mailto:"%s" Reply to: %s]' %(s, author) 2098 2099 self.logger.debug("\tmailto link %s" %s) 2094 2100 return s 2095 2101 -
trunk/email2trac.spec
r505 r506 1 1 Summary: Utilities for converting emails to trac tickets 2 2 Name: email2trac 3 Version: 2.0. 03 Version: 2.0.1 4 4 Release: 1 5 5 License: GPL
Note: See TracChangeset
for help on using the changeset viewer.