Custom Query (330 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (49 - 51 of 330)

Ticket Resolution Summary Owner Reporter
#169 fixed Contributed ebuild of trac2email for gentoo bas John Lowry <johnlowry@…>
Description

Attached is an ebuild for email2trac. This is the like a .spec file for an RPM, it describes how to build a package and get it running.

#77 fixed Contributing back some customizations bas jon.wbstr@…
Description

I setup email2trac on windows this month using the virtual SMTP drop folder and ran into a couple of issues.

  1. The drop folder accepts mail to any address @domain.com or @server.ip.address.
  2. Email sent from outlook contain a winmail.dat file which does not need to be on the tickets.
  3. Email sent containing HTML, result in 'part0001.html' attachments that also do not need to be on the tickets.

The attached diff is against trunk on 8/3/2008 and adds ignoring of winmail.dat and part0001.html attachments and the 'rcptaddress_list' parameter. Emails not sent to an address listed in rcptaddress_list is ignored.

I also revized the batch file slightly so that it deletes emails as they are processed to avoid accidently deleting an email that arrived durring processing but before the delete *.eml command is triggered.

SET MAIL_DIR=C:\Inetpub\mailroot\Drop

for %%f in ("%MAIL_DIR%\*.eml") do C:\python24\python.exe D:\svn_repository\email2trac\email2trac.py -p afids < %%f & DEL %%f
#101 fixed Correctly set custom field default values when creating a ticket bas ben@…
Description

Currently, all ticket custom fields are set to None instead of their proper default values when a ticket is created by email2trac. The patch below fixes the problem

--- email2trac.py.in.txt (saved version)
+++ (current document)
@@ -682,7 +682,13 @@
 
 			# default trac value
 			#
-			value = self.get_config('ticket', 'default_%s' %(name) )
+			if not field.get('custom'):
+				value = self.get_config('ticket', 'default_%s' %(name) )
+			else:
+				value = field.get('value')
+				options = field.get('options')
+				if value and options and value not in options:
+					value = options[int(value)]
 			if self.DEBUG > 10:
 				print 'trac.ini name %s = %s' %(name, value)
 
Note: See TracQuery for help on using queries.