source: emailtotracscript/trunk/ChangeLog @ 156

Last change on this file since 156 was 154, checked in by bas, 16 years ago

EmailToTracScript?
EmailtoTracScript?:

email2trac.py.in:

  • Fixed bugs in the text_wrap function and reformat it so we do not have to use python2.4
  • Property svn:mime-type set to text/x-trac-wiki
File size: 11.5 KB
RevLine 
[152]12007-XXXXX
[150]2
[154]3        * Added check to catch an error when attachment size
[151]4          is too large, bug #1153
5          Author: Bas van der Vlies
[150]6
[151]7        * Wrap long line into user given length, use_textwrap: 72. Wraps lines
8          greater then 72 chars, #1123
9          Author: Bas van der Vlies &
10                  Rainer Sokoll (r.sokoll at intershop dot de)
11
12        * Fixed a dutch spelling, #1295
13          Author: Rainer Sokoll (r.sokoll at intershop dot de)
14
[149]15        * email2trac.py : blacklist (don't create ticket) mail from
16          MAILER-DAEMON to avoid loops
[152]17          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
18
[149]19        * msg.bad.txt : add an example of message from MAILER-DAEMON
[152]20          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
[149]21
[146]222006-12-08
[135]23        * email2trac.py:
24          - Added verbatim_format option default is: 1
[139]25          Added by : Bas van der Vlies
26
[136]27          - Added strip_signature option default is: 0
[139]28          Added by : Bas van der Vlies
[135]29
[139]30          - Fixed some unicode errors, thanks to japanes SPAM.
31            If we can not unicode email message then display which
32            charset must be installed in ticket description. Else we
33            trac crashed with unicode errors ;-(
34          Fixed by: Bas van der Vlies
35
[142]36          - Fixed statements: str + unicode, raises an exception if
37            non-ascii value in unicode object.
38
39          - Forgot to unicode the author. So we got an error if we use
40            the mailto_link option in email2trac.conf.
[141]41          Fixed by: Bas van der Vlies
42
[139]43        * delete_spam.py:
44          - Now works for version 0.10 with new API-functions
45          Fixed by: Bas van der Vlies
46
[144]47        * Makefile.in
48          - Added install-conf. Install email2trac.conf if there is none
49            installed.
50          Fixed by: Bas van der Vlies
51
[132]522006-10-27
[125]53
[129]54        * run_email2trac.c.
55       
56          - Setgid() must be called before setuid().
[125]57          Reported by:  Anonymous
58          Fixed    by:  Bas van der Vlies
[126]59
[129]60        * email2trac.py,
61       
62          - Fixed an error in Ticket Update. When ticket
[128]63          does not exists, proceed as if it is a new ticket
64          Fixed    by:  Bas van der Vlies
65
[129]66          - Fixed a strang bug in 0.9 version, if ticket update
67          is enabled and email has attachment(s). We are not allowed to
68          set the description and author field of the attachment else
69          the comment text is lost ;-(
[128]70          Fixed    by:  Bas van der Vlies
[129]71
72          - Fixed an error if enable_syslog and drop_spam is set. We get
73          an exception in the syslog if we use sys.exit(0), replaced by
74          return.
75          Fixed    by:  Bas van der Vlies
76
77        * delete_spam.py.
[124]78       
[129]79          - Trac version 0.10 made it easier to delete tickets.
80          Fixed    by:  Bas van der Vlies
81       
[121]822006-10-10
[117]83        * Fixed race conditions in delete_spam.py and added some
84          debug code.
85          Fixed by   : Bas van der Vlies
[120]86
[117]87        * Added author and description field when attachment is
88          added to ticket. This is for trac version greater than
89          0.8.
90          Fixed by   : Bas van der Vlies
91          Thanks to Matthew Good for the hint
[120]92
[118]93        * Added drop_spam option, default = 0. If set then
94          mail marked as Spam is not accepted.
[120]95          Added by   : Bas van der Vlies
[117]96
[121]97        * Do not send notification if message is marked as Spam
98          and drop_spam is not set.
[120]99          Fixed by   : Bas van der Vlies
100
[113]1012006-10-02
[111]102        * Fixes possible segmentation faults in run_email2trac.c
103          Reported by: bcornec
104          Fixed by   : Bas van der Vlies
105
106        * Can set DEBUG level while configuring package, eg:
107          DEBUG=1 ./configure ( default : 0)
108          Reported by: syd at plug dot ca
109          Fixed By   : Bas van der Vlies
110
111        * delete_spam.py did not delete everything from the SQL tables
112          Reported by: brent at rcfile dot org
113          Fixed by   : Bas van der Vlies
114
[113]115        * Do not send notification when message is marked as Spam
[112]116          Fixed by   : Bas van der Vlies
117         
[106]1182006-08-28
[105]119        * fixes an error in the 'reply_all' setting
120          Thanks to and Patch by: ncarlson@ibsys.com
121
[106]122        * Added RPM spec file
123          Thanks to:  Jon Topper <jon@topper.me.uk>
124
[101]1252006-07-14
[95]126        * Use X11R5 install-sh to install email2trac components to hide
[98]127          native install program differences.
128          Author: Michel Jouvin <jouvin@lal.in2p3.fr>
[95]129
[98]130        * Fixed an error in saving attachments for new tickets for trac
131          versions greater then 0.9.
132          Fixed by: Bas van der Vlies
133
134        * When something went wrong save the offending email for debug
135          purposes.
136          Fixed by: Bas van der Vlies
137
[99]138        * delete_spam.py
139           - did not clean up the attachment table. So we got nasty new
140             mails with fake attachments.
141           - It works now for versions higher then 0.8
[100]142
143        * Finally understand the unicode/encode functions and hopefully
144          fixed the errors.
145          Fixed by: Bas van der Vlies
[103]146
147        * Remove the temporarly created attachment files.
148          Fixed by: Bas van der Vlies
[99]149       
[92]1502006-07-06
[95]151        * Fixed an error in already added attachments. Do not close
[85]152          the database connection.
153          Fixed by: Walter de Jong en Bas van der Vlies
154
[95]155        * Added enable_syslog option. If enabled log errors to syslog
[89]156          instead of stderr. If enabled no errors are send back to the
157          user.
[87]158          Implemented by: Bas van der Vlies
159
[95]160        * Fixed an error with updating tickets with attachments for trac
[87]161          versions 0.9 and 0.10. Field "id" is not known when a existing
162          ticket is fetched (Error = KeyError: 'id')
163          Fixed By: See tickets #258 and #449 on trac-hacks
164
[95]165        * Fixed and spell error, self.mail_addr must be self.email_addr
[88]166          Fixed by: Bas van der Vlies
167
[95]168        * Catch a LookupError in unicode/encode conversion in function
[91]169          get_body_text()
[89]170          Fixed by: Bas van der Vlies
171
[95]172        * Description field was always changed when updating the ticket
[90]173          via the web. Asked the mailing list for a solution and got one
174          ;-)
175          Patch/Suggestion by: Christian Boos
176          Applied by: Bas van der Vlies
177
[95]178        * Fixed an encoding problem when email_header is set to 1
[91]179          Fixed by: Bas van der Vlies
180
[95]181        * Fixed a bug in to_unicode() function.
[92]182          Fixed by: Bas van der Vlies
183
[95]184        * Fixed an unicodedata.normalize TypeError bug for filenames in the
[92]185          attachment function
186          Fixed by: Bas van der Vlies
187
188
[81]1892006-06-02
[95]190        * Added ticketing merging. To enable it there are two options for
[76]191          both options enable 'ticket_update' in email2trac.conf
[81]192          1 - Configure trac notification, eg:
[95]193                * (ticket address: ticket@test.nl)
[81]194                [notification]
195                smtp_enabled = true
196                smtp_always_cc = test@test.nl
197                smtp_server = localhost
[82]198                smtp_from =  ticket@test.nl
[76]199                always_notify_reporter = true
200
201          2 - Use the mailto_cc in email2trac.conf if you want to sent
[81]202              an email to the user and the trac ticket email address.
[76]203
204          With both options you get the right format of the subject line.
205
[95]206        * Use the short options for the install command. So it works for
[76]207          MacOSx Reported by: Nathaniel Irons.
[81]208
[95]209        * Updated inline documentation by Nathaniel Irons.
[76]210                 
[68]2112006-05-16
[95]212        * Fixed a bug when there was no plain text body.
[63]213          Reported by: Greg Deakyne
[95]214        * Fixed a small bug if default component owner is unknown.
[63]215          Just fill in some bogus info.
[95]216        * Use the short options for the install command. So it works for
[64]217          MacOSx
218          Reported by: Nathaniel Irons
[95]219        * Messages that has X-Virus-found in header are marked as SPAM
[68]220          Implemented by: Walter de Jong
[95]221        * Some modules are changed for version 0.10, Added and made some
[68]222          minor changes: Patch supplied by: Markus Tacker 
[95]223        * Ported delete_spam.py to version 0.9 and higher:
[69]224          Reported by: Nathaniel Irons
[63]225
[64]226
[58]2272006-03-08
228        - Fixed an bug for 0.9, there was a space in front of the ' ticket' directory.
229          removed it.
230          Reported by: mi-trachacks@moensolutions.com   
231          Fixed by: Bas van der Vlies
[95]232        * Fixed an exception error in delete_spam.py
[58]233          when shutil has not enough priveledges to remove the
234          attachments it is reported
235          Fixed by: Bas van der Vlies
[95]236        * email2trac.py: When you include the body tag, some
[58]237          mailers (like Thunderbird) will leave out the signature.
238          Therefore this version leaves out the body tag.
239          Fixed by: Walter de Jong
[95]240        * Added msg.txt for testing
[58]241          Fixed by: Bas van der Vlies
242
[46]2432006-02-01  Bas van der Vlies <basv@sara.nl>:
244        * Added Tikcet notification, send email when there is
245          a new ticket. Depends on notification setting in
246          trac.ini.
247          Implemented by: Kilian Cavalotti
[52]248        * Can use different template for ticket notification,
249          eg: alternate_notify_template: "a_tkt.css"
250          Implemented by: Kilian Cavalotti
[46]251        * Added reply_all config parameter. If set put all
252          CC-addresses from orginal mail in ticket CC-field.
253          Suggested by: Kilian Cavalotti
254        * Text in ticket description is also properly UTF-8
255          encoded
256          Implemented by: Kilian Cavalotti
257        * Removed reply_address from config file. Is not
258          necessary anymore. See Ticket notification.
259        * Added support for known users. If email address is
260          known then use the trac known username instead
261          of the email-address (only for trac version > 0.9)
262          Implemented by: Kilian Cavalotti
[48]263        * Fixed an error in saving attachments for version < 0.9.
264          Sometimes we got bogus attachments.
265          Fixed by: Walter de Jong
[50]266        * Added support to make an debian package
267          Implemented by: Bas van der Vlies
[46]268
[36]2692006-01-21  Bas van der Vlies <basv@sara.nl>:
270        * Fixed run_email2trac.c, did not work
271        * Added TRAC_SCRIPT_NAME to Makefile.in to
272          solve run_email2trac problem
273
274        Both errors reported by: kilian.cavalotti@lip6.fr
275
[33]2762006-01-20  Bas van der Vlies <basv@sara.nl>:
277        * A warning error is fixed by kilian.cavalotti@lip6.fr
278        * Several errors in make install ;-(, reported by
279          tacker
280
[23]2812006-01-15  Bas van der Vlies <basv@sara.nl>:
282        * Added configure script.
283
[18]2842006-01-10  Bas van der Vlies <basv@sara.nl>:
285        * Removed project_root from source and config file
286        * Adjust code so we can use mulitple stanza's in config file, eg:
287          [bas]
288          project: /data/trac/bas
289          spam_level: 3
290
291          use option "-p|--project bas" to select the stanza
292
[5]2932006-01-04  Bas van der Vlies <basv@sara.nl>:
294
295        * Fixed getopt for -f option
296        * Added suppport for different TRAC versions (0.8 and 0.9)
297
2982006-01-03  Michel Jouvin  <jouvin@lal.in2p3.fr>
299
300        * email2trac.py (ReadConfig) : allow project name relative to project root in configuration file
301       
302        * email2trac.py (TicketEmailParser.parse): save entire email for debugging only if debug >= 2
303
304        * run_email2trac.c: pass wrapper arguments to Python script, filtering out --file
305
306        * email2trac.py (TicketEmailParser.debug_attachments): set tmp file created for debugging writable by anybody (to avoid problem if the script is run with a different uid during tests)
307
308        * email2trac.py (TicketEmailParser.parse): set tmp file created for debugging writable by anybody (to avoid problem if the script is run with a different uid during tests)
309
3102005-12-22  Michel Jouvin  <jouvin@lal.in2p3.fr>
311
312        * Makefile: add a Makefile to build and install email2trac
313
314        * email2trac.py: migrate to Trac 0.9 API
315
3162005-12-21  Michel Jouvin  <jouvin@lal.in2p3.fr>
317
318        * run_email2trac.c: add error messages if DEBUG macro defined
319
320        * run_email2trac.c: add error testing and specific return values for each error
321
322        * run_email2trac.c: Move site specific paramaters to run_email2trac.h
323
324        * run_email2trac.h: include file to define site specific paramaters
325
3260.2.4 01/11/2005
327        Added email_header option if set then show TO/CC fields in
328        description of the ticket.
329
330        Fixed an error in the mailto URL. This was an old error that
331        supposed to be fixed but reoccured in this version.
332       
3330.2.3 31/10/2005
334        Fixed a bug with base64 encoded attachments/emails
335        Fixed by: Walter de Jong
336
3370.2.2 10/10/2005
338        according to RFC 2368 (titled "the mailto URL scheme") the mailto
339        URL can only work with short &body messages. It fails with long
340        messages and the link won't work. Therefore the mail body is
341        no longer copied into the mail reply.
342
3430.2.1 10/07/2005
344        body of reply email looks better
345
346
3470.2   10/07/2005
348        mailto is replaced by a html mailto to line. If
349        you reply to the ticket via this link then an
350        email client is started with some default values:
351                To: <reporter>
352                Subject: Re: <orginal subject>
353                Body: email_comment <orginal text>
354
355        email2trac.conf:
356                email_comment: # (default:  >)
357
358               
359
Note: See TracBrowser for help on using the repository browser.