source: trunk/ChangeLog @ 456

Last change on this file since 456 was 456, checked in by bas, 14 years ago

Mail was lost when ticket_update was disabled and ticket reply was detected

  • Property svn:mime-type set to text/x-trac-wiki
File size: 32.9 KB
RevLine 
[429]12010-07-22
2    * logging of spam message was wrong. Fixed it,
3       - set.logger.info must be self.logger.info
4    Author: Bas van der Vlies
[432]5
6    * logging of notification error was wrong. Fixed it, closes #212
7       - set.logger.error must be self.logger.error
8    Reported by:  adam dot lucke at srd-berlin dot de
9    Author: Bas van der Vlies
[443]10
[456]11    * Mail was lost when 'ticket_update' was disabled and a ticket
12      reply was detected.
13    Author: Bas van der Vlies
14
[443]15    * Removed a lot of obsolete code due to using UserDict
16    Author: Bas van der Vlies
[429]17 
[426]182010-07-21
[400]19    * added a new option 'ticket_permission_system'. Can be set to:
[399]20      - trac: Then it will check if the report has the right trac
21        permission to create or modify a ticket. closes #202
22
23      - update_restricted_to_participants: A ticket update is allowed only if:
24        1) the updater is the reporter,
25        2) the updater is in the CC
26        3) the updater has trac permission to update the ticket.
27        If the update is denied, a new ticket will be generated instead as to
28        not loose the issue . closes #203
29
30    Authors:  kris add tsampa dot org & Bas van der Vlies
31
[413]32
33   * Switch for logging to the python logging module and add some new
34     options to control the behaviour inspired by the trac logging module:
[423]35      - log_type, default syslog
36      - log_level, default info
37      - log_format, email2trac <project name>
38      - log_file, none
[413]39
[424]40     Can be set to the same values as trac logging
41
[417]42     Author: Bas van der Vlies
43
44   * removed trac 0.9 support
[413]45     
[426]462010-07-12
[393]47  * Do not check if notification is enabled, let Trac determine if a
48    notfication is enabled and which interface/plugin is used, eg:
[395]49    announcerplugin
[393]50
[395]51    Author: Bas van der Vlies
[393]52
[390]532010-07-06
54  * Fixed several errors in ticket update:
55     - Changed the regex expression. It must end with ':'.   
56     - The email was lost if the ticket id was unknown. If ticket
57       id is unknown a new ticket will be created.
58
59    Reported by: SARA grid team
60    Fixed by: Bas van der Vlies
61       
62
63
[386]642010-06-28
65  * Ticket update for version 0.12 did not work, closes #209
66    Author: mark underscore kids add yahoo dot com
67    Applied by: Bas van der Vlies
[388]68
69  * enabled workflow and notification for trac version 0.12
70    Author: Bas van der Vlies
71
[384]722010-06-23
73  * A better fix for attachments with special characters, closes #206
74    Reported by: karsten dot rohrbach add wibas dot de
75    Fixed by: Bas van der Vlies
76
772010-06-22
[380]78  * When debug is enabled email2trac chokes on non-ascii (utf8)
79    characters in ticket fields, closes #205
80    Reported by: eirik dot schwenke add nsd dot uib dot no
81    Fixed by: Bas van der Vlies
82
83  * Email2trac crashes when attachment filename contains non-ascii       
84    characters, closes #206
85    Reported by: karsten dot rohrbach add wibas dot de
86    Fixed by: Bas van der Vlies
87
[372]882010-06-09
[370]89  * Support added for trac version 0.12, closes #201
90    Reported by: mark_kids add yahoo dot com
91    Fixed by: Bas van der Vlies
92   
[366]932010-05-25
94  * delete_spam still used the trac_version in email2trac.comf
95    Fixed by: Bas van der Vlies
96
97  * email2trac crashed when ticket_update_by_subject was enabled.
98    Fixed by: Bas van der Vlies
99
[363]1002010-05-20
[349]101  * email2trac crashed if there are '/' and '\' characters in a filename.
102    These characters are now being replace by '_', closes #196
103    Reported by: jcuppen add hethooghuis dot nl
104    Fixed by: Bas van der Vlies
[347]105
[349]106  * Problems with attachments were not reported for ticket updates
107    Fixed by: Bas van der Vlies
[347]108
[350]109  * delete_spam changes:
110     - only support trac version greater then 0.10
111     - added -n/--dry-run option
112     - added -v/--verbose option
113
114    Author: Bas van der Vlies
115
[352]116  * Enhancement for ticket prefixes (email2trac.conf). The ticket
[357]117    fields status and resolution are not forbidden any more. closes #195
[352]118    Author: Konstantin Ryabitsev <icon add mricon dot com>
119    Applied by: Bas van der Vlies
120
[357]121  * Added a new option. It is all in the name:
122      * ticket_update_by_subject, default value is off
[360]123      * ticket_update_by_subject_lookback, default 30 days
[357]124
125    When this option is enabled and there is no ticket number found
126    in a reply mail. It will try to find a ticket summary that matches
127    the mail subject line. If found then append the mail to this
128    ticket, closes #188
129    Author: Konstantin Ryabitsev <icon add mricon dot com> & Bas van der Vlies
130    Applied by: Bas van der Vlies
[360]131
132  * Added DiscussionPlugin support, closes 197. For description see:
133     - https://trac-hacks.org/wiki/DiscussionPlugin
134
135   Author: ibarton add fit dot vutbr dot cz (alias Blackhex)
136   Applied by with some modification: Bas van der Vlies
137
[363]138  * Trac version is now automatically determined. No need anymore for
139    trac_version in /etc/email2trac.conf
140    Author: Bas van der Vlies
141
[345]1422010-03-20
143
144  * Fixed a bug reporter was always set to the default value specified
145    in trac.ini.
146
147    Reported by: Jean-Paul Duyx <jean-paul dot duyx at sara dot nl>
148    Fixed by: Bas van der Vlies
149
150  * If reported field is overriden then use it for all trac functions
151    including notification, closes #187
152
153    Reported by: shildebrand at venturebeat dot com
154    Fixed by: Bas van der Vlies
155
[333]1562010-03-24
157
158  * Added configure option '--with-install_user=<name>', default user is 'root'.
159    The specified user is used for installation so we can install the
160    package as non-root user, closes #182.
161
162    Reported by: shildebrand at venturebeat dot com
163    Fixed by: Bas van der Vlies
164
165  * Re-arranged some code so that we can override ticket fields in
166    email2trac.conf, eg:
167     - default_reporter : email2trac
168
169    Will set the reporter ticket field to email2trac for all mail, closes #182
170
171    Reported by: shildebrand at venturebeat dot com
172    Fixed by: Bas van der Vlies
173
174  * Fixed a bug when there is no subject field in the message, closes #179
175    The fix in the 1.2.0 version did not work.
176    Reported by: xurizaemon and John Donners (SARA)
177    Fixed by: Bas van der Vlies
178
179  * We do not write any files when dry run mode is enabled.
180    Fixed by: Bas van der Vlies
181
[337]182  * Fixed several issues when DEBUG is enabled with printing non-ascii
[333]183    characters, see #184
184    Reported by: hju add jochenkuhl dot de
185    Fixed by: Bas van der Vlies
186
[323]1872010-02-24
[322]188  * Added an option to run_email2trac to set the PYTHON_EGG_CACHE
189    environment variable (-e|--eggcache), closes #174
190    Author: pepl at cpan dot org
191    Applied by: Bas van der Vlies
192
193  * Ticket fields can be set inline an email: closes #171, #88
194     - controlled by parameter 'inline_properties', default behaviour off
195     - see https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracParse#Updateticketfields
196
197    Author: samuel at hoffstaetter dot com
198    Applied by: Bas van der Vlies
199
200  * Fixed a bug when there is no subject field in the message, closes #179
201    Reported by: xurizaemon
202    Fixed by: Bas van der Vlies
203
204  * Added unicode support attachment filenames, closes #177
205    Reported by: obwandner add concertare dot de
206    Fixed by: Bas van der Vlies
207
208  * Email to blog did not work at all. It works but it can not handle
209    attachments. see #175.
210    Reported by: oland dot wells add gmail.com
211    Patches    : Bas van der Vlies
212
213  * Show errors when we can not include attachments in the ticket, see #165
214    Requested by: hju add jochenkuhl dot de and  dereks add cool-st dot com
215    Fixed by: Bas van der Vlies
216
217  * Added a new option 'email_triggers_workflow'. When a ticket is closed and
218    an update is received via email. The ticket will be reopened or triggers
219    a ticket workflow. This action can be skipped if we set the
220    email_triggers_workflow option to 0. The default value is 1, closes #180
221    Author: zac add sprackettd dot com
222    Applied by: Bas van der Vlies
223
[303]2242010-01-11
[290]225  * Workflow option did not work, closes #157
226    Reported by: thomas dot moschny at gmx dot de
227    Fixed  by: Bas van der Vlies & Thomas Moschny
228
229  * When a ticket is updated via email. We must set a changelog id,
230    closes #156
231    Reported by: Chris dot Nelson at SIXNET dot com
232    Fixed by: Bas van der Vlies
233
234 * Changed all 'str =' assignments to 's =' to solve conflicts with
235   the builtin str function
[298]236   Fixed by: Bas van der Vlies
[290]237
[298]238 * Python egg cache enviroment setting was ignored by email2trac.
239   closes #163
240   Author: Dennis McRitchie ( dmcr at Princeton dot EDU )
241   Applied by: Bas van der Vlies
242
243 * Disabled code so the following line will not be displayed anymore
244   as comment in a ticket:
[303]245     - This message has x attachment(s)
[298]246   Suggested by: dereks at realloc dot net, closes ticket #165
247   Fixed by    : Bas van der Vlies
248
249
250 * Added a new parameter strip_content_types. So we can strip attachments
251   based on content type, eg:
[303]252     - strip_content_types: application/pgp-signature, application/mac-binhex40
[298]253
254   Will strip attachments that has these content_types.
255   Authors:  otto at bergerdata dot de and Bas van der Vlies
256
257 * FIxed an error when files where added with characters that needed to be
258   escaped. Both email2trac and trac escaped the filenames. We removed the
259   code from email2trac an let trac handle the escaping, closes #149
260
261   Reported by: hju att jochenkuhl dot de
262   Fixed by: Bas van der Vlies
263
264 * Added a new parameter:
[303]265     - subject_field_separator, default value is &
[298]266
267   This is used to set tickets fields via the subject line. It used to
268   be , .For backwards compatibility we introduced this parameter.
269   closes #166
270   Suggested by: Dennis McRitchie ( dmcr at Princeton dot EDU )
271   Fixed by    : Bas van der Vlies
272
[303]273 * Prevent mail loop. We could set the CC ticket field to
274   the ticket email address.
275    - For a new ticket and reply_all is set.
276    - If the ticket CC field is updated via the subject line.
[304]277
278   Also prevent setting the reporter address to the ticket email
279   address.
280
[303]281   closes #172
282   Reported by: otto at bergerdata dot de
283   Fixed vy   : Bas van der Vlies
284
285
286
287
[285]2882009-09-02
[278]289  * Implemented a new feature to drop the HTML version of multipart/alternative
[279]290    message part. Such a message part contains the same info. The info is sent
[280]291    in different formats and the client can decide which version to use.
[279]292    closes #30
[278]293
[283]294    to enable in email2trac.conf:
295        - drop_alternative_html_version: 1
296
[278]297    Implemented by: Bas van der Vlies
298
[276]2992009-08-20
[271]300  * updated aclocal.m4 to support python versions 2.5 and 2.6, closes #137
301  * use the email addres in the reporter field, closes #136
[269]302  * Fixed an error in blog update function
303
[271]304    All Fixes by: Bas van der Vlies
[269]305
[274]306  * if alternate notify template is set then also set ticket id. It will show
307    up as ticket change, closes #142
308    Reported by: hju att jochenkuhl dot de
309    Fixed by: Bas van der Vlies
310
[272]311  * Error in urllib.quote(filename) could not handle unicode
312    filenames, closes #138
313    Reported by: debacle at debian dot org
314    Applied  by: Bas van der Vlies
315
[274]316  * Fixed an error when debug is on and the body message contains unicode
317    strings, closes #144
318    Reported by: trumbitta at gmail dot com
319    Applied by: Bas van der Vlies
320
[276]321 * default trac version for email2trac is now updated to 0.11
322
[263]3232009-04-09
[256]324  * Fixed in parsing the reflow parameter, closes #123
325    Reported by: tomasz dot sterna at sensisoft dot com
326    Fixed by: Bas van der Vlies
327
[259]328   * implemented workflow for tickets that are reopend, closes #70
329     Reported by: hju att jochenkuhl dot de
330     Author by: Bas van der Vlies
331
[267]332   * added FullBlogPlugin support. So we can update/create the blogs
333     via email, #116
334     mail with subject line: <blog:.*> will create/update a blog entry.
[260]335     Authors: Bas van der Vlies & lucas dot eisenzimmer at t-systems-mms dot com
[261]336   
[262]337   * email2trac require at least python version 2.4, closes #131
338     Reported by: otto at bergerdata dot de
339     Fixed by: Bas van der Vlies
[260]340
[262]341   * We can now set ticket fields for a new ticket via the 'subject' line:
342       - Subject: <description> #?<field=value>[,<field=value>]*
343     closes #130
344     
345     Requested by: Steve
346     Implemented by: Bas van der Vlies
347
[254]3482009-01-30
[249]349  * applied patch exit with non-zero return code on failure, closes #117
350    Author: admin-egon at ikw dot uos dot de
351    Applied by : Bas van der Vlies
352
[251]353  * Ticket update with attachments did not work, closes #120
354    Reported by: Alexander Verkooijen (alexander at sara dot nl)
355    Fixed by: Bas van der Vlies
356
357  * Removed obsolete code
358    Author :  Bas van der Vlies
359
360  * When email address is known then the author name and email address
361    is used from the preference tab.  The match is case insensitive,
362    closes #118
363    Reported by: Pusateri, Matthew <Matthew dot Pusateri at tekelec dot com
364    Fixed by: Bas van der Vlies
365
[254]366  * Ticket id is not reported as ticket change, eg:
367    {{{
368        *   id  set to 118
369    }}}
[251]370    Author :  Bas van der Vlies
371
[246]3722009-01-19
[232]373  * applied patch to support RFC 3676 (format=flowed), closes #94, #99
[231]374    This patch adds a new option: reflow (default: False/0)
375    Author: ben at fetchsoftworks dot com
376    Applied by : Bas van der Vlies
377
378  * Fixed a bug in reply_all option, closes #95
379    Reported by: gmcgrath at princeton dot edu
380    Fixed by: Bas van der Vlies
381
[233]382  * Applied a patch for default values for custom ticket fields, closes #101
383    Author: ben at fetchsoftworks dot com
384    Applied by: Bas van der Vlies
385
[245]386  * Fixed a bug that a ticket was not updated when we only update ticket
387    field(s) via email (empty body email), closes #113
[241]388    Reported by: winnie at debian dot org
389    Fixed by: Bas van der Vlies
390 
[245]391  * Better support for inline attachments and multiple body parts, closes #105,
392    #80. Inline images in email are also shown in the ticket with the trac
393    [[Image(..)]] macro.
[241]394    Author: ben at fetchsoftworks dot com
395
[246]396  * More versatile support for Apple attachments. closes #106
[245]397    for explanation read:
398    - https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration#AppleAttachmentsoptions
[241]399    Author: ben at fetchsoftworks dot com
400
[245]401  * Applied a patch that solves problems with Window attachments, closes #110,
402    #93.
[242]403    Author: martin.poeschmann add eiskonzept dot com   
404    Applied by: Bas van der Vlies
405
[228]4062008-10-13
[213]407  * Fixed a bug in email_header formating. When an email2trac ticket
408    was updated via the web interface it would trigger a description
409    field update.
410
411    Fixed by: Bas van der Vlies
412
[216]413  * Reopen closed ticket if an update is received via email, closes #70
414    Requested by: Garrett McGrath gmcgrath add princeton dot edu
415    Fixed by: Bas van der Vlies
416
417
[217]418  * The [DEFAULT] section did not work any more due to change to internal
419    trac parser, closes ticket #73
420    Reported by: email2trac at bulk dot squeakyblue dot com
421    Fixed by: Bas van der Vlies
[218]422   
423  * black_list paramter must be comma-separated as mentioned in the
[225]424    documentation (#75) and removed the default value
425    "MAILER-DAEMON@" (#74)
[218]426    Reported by: email2trac at bulk dot squeakyblue dot com
427    Fixed by: Bas van der Vlies
[217]428
[219]429  * If a blank email is sent with just an attachment, a blank
430    comment is appended to the comments. fixed closes #89
[217]431
[219]432    Reported/Fixed by: ???
433    Applied by: Bas van der Vlies
434
[223]435  * added white_list parameter.  If set then only mail is accepted if
436    sender matches.
437    Author: Bas van der Vlies, jon dot wbstr at gmail dot com
438
[226]439  * added recipient_list parameter.  If set then only mail is accepted if
440    to-field matches. This only uses when people use a drop box to accept
[231]441    email for several email addresses, (closes #77)
[226]442    Author: Bas van der Vlies, jon dot wbstr at gmail dot com
[223]443
[225]444  * alternate notify template did not work for trac version 0.11
445    (#90).
[223]446    Reported/Fixed by: hju at jochenkuhl dot de
447    Applied by       : Bas van der Vlies
448
449  * added 'alternate_notify_template_update'. When set this notify
[225]450    template name will be used for ticket updates (#90).
[223]451    Author: Bas van der Vlies, hju at jochenkuhl dot de
452   
453   
[210]4542008-05-30
[205]455  * Fixed debian control file. Package can be build on any platform and
456    not only on i386 platforms:
[198]457
[205]458    Author: Christian Iversen ci add sikkerhed dot org
459    Applied by: Bas van der Vlies
[198]460
[205]461  * We now use the trac configuration parser routine
462    Author: andrei2102 add gmail dot com
463    Applied by: Bas van der Vlies
[200]464
[205]465  * Added new command line option -n/--dry-run. This option only show
466    what commands will be executed.
467    Author: Bas van der Vlies
[202]468
[205]469  * the default values for tickets can now also be set in
470   'email2trac.conf'. So you can use different values when an email
471    is converted to a ticket. The ticket value is set to this rules
472     - email2trac.conf
473     - trac.ini
[202]474
[205]475    email2trac.conf use same format as trac.ini, eg email2trac.conf:
476      [project]
477      default_component : test
[202]478
[205]479    closes request #55, for more info see:
480    - https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration
[204]481
[205]482     Requested by: greg dot deakyne at etapestry dot com
483     Implemented by: Bas van der Vlies
[204]484
[205]485  * Fixed a bug in ticket_update. It failed when project did not have
486    ticket component field,  closes bug #62
487    Reported by: gernot dot hillier add siemens dot com
488    Fixed by: Bas van der Vlies
[204]489         
[205]490  * run_email2trac.c:
491     - can no longer segfault after a failed malloc.
492     - after set*id failure, you'll get a diagnostic (or at least
493       nonzero exit status) and it won't attempt the exec.
[202]494
[205]495    Author: Jim Meyering jim add meyering dot net
[207]496    Applied by: Bas van der Vlies
[203]497
[207]498  * Made some approvements to spam function:
499     - If the he X-Spam-Score header is present, but has no value
500        email2trac will crash, closes #63
501
502     - Added config option which header field we must check
503       for determing if mail is Spam, eg:
504        - spam_header : X-Spam-Level (default: X-Spam-Score)
505 
506    Author: email2trac at bulk dot squeakyblue dot com
507    Applied by: Bas van der Vlies
508
[208]509
510  * black_list  is now a configuration option and is used to deny
511    email addesses, default value is: MAILER-DAEMON@
512
513    Can specifiy more then one email adress seperated by ',', eg:
514    black_list : basv@sara.nl, walter@sara.nl
515
[210]516    closes #39, #56
[207]517   
[208]518    Author: Bas van der Vlies
[210]519
520  * if mailto_link + german umlaut problem is fixed, closes #60
521    Reported by: alex at pirsig dot net
522    Fixed by: Bas van der Vlies
[208]523   
[207]524
[194]5252008-02-04
[189]526        * Added version check and exit if we do not support the trac version
527          closes bug #23
528          Reported By: Marc Zahnlecker m.zahnlecker at lxbyte dot de
[187]529
[192]530          Fixed By: Bas van der Vlies
531
[190]532        * Added check if syslog module is available. If it is not available
533          disable the syslog functionality.
[192]534          Author: michael.th add gmx dot net
[190]535
[192]536          Implemented by: Bas van der Vlies
537
[191]538        * Added strip_quotes function, default settings:
539                strip_quotes: <int> (default: 0)
540                mail_quote: <quote chars> (default: "> ")
[192]541          Author: nicolasm @ opera dot com
[191]542
[192]543          Implemented by: Bas van der Vlies
544
545        * Added patch to make notify email work with trac 0.11 dev.
546          Author: tbaschak add ktc dot mb dot ca       
547          Author: andrei2102 add gmail dot com
548
549          Implemented by: Bas van der Vlies
[194]550
551        * greedy matching in Subject line, We must stop after the first ':'
552          else we get wrong values for ticket fields when we update a ticket
553          via mail, closes ticket #37
554          Reported by: dmaziuk at bmrb dot wisc dot edu
555          Fixed    by: Bas van der Vlies
556
557        * added IGNORECASE flag to regular expression for black list. This
558          is a quick fix, still want to implement this as configuration
559          option, closed bug #39
560
561          Reported By: jodok at lovelysystems dot com
562          Fixed by   : Bas van der Vlies
563
564        * When a known user mails a ticket. We will set the Reporter to
565          its login name, closes bug #33, #41
566
567          Also add configuration option:
568                ignore_trac_user_settings : 0 (default value)
569
570          This option will skip the email address to trac user login name
571          mapping.
572
573          Reported by: anonymous
574          Fixed by   : Bas van der Vlies
575
576       
577        * SPAM detection was only for new mails not for ticket updates,
578          closed ticket #44
579
580          Reported by: Bas van der Vlies
581          Fixed by   : Bas van der Vlies
582         
[192]583           
[184]5842007-07-18
[163]585
586        * Implemented python_egg_cache environment variable. Some trac
587          installations may depend on it, closes ticket #10, eg:
588                python_egg_cache : /var/cache/eggcache
589
590          Reported By: Anonymous
[177]591          Fixed by   : Bas van der Vlies <basv@sara.nl>
[163]592
[170]593        * Implemented update ticket fields via email subject line, eg:
594                Re: [email2trac] #7?owner=bas,priority=minor: Error in parsing
595
596                - Sets the owner of the ticket to: bas
597                - Sets the priority of the ticket to: minor
[171]598         
599          For some ticket fields there are only a limited number of allowed
600          values. The supplied value will be checked against this list. If it
[179]601          is not vaild value the field update will be ignored.
[170]602
[177]603          Requested by  : trac at yadan dotnet, Jan Parchmann, see ticket #7
604          Implemented by: Bas van der Vlies <basv@sara.nl>
[170]605
[172]606        * Dropped support for version trac version 0.8. Removed all 0.8
[177]607          specific code. 
608          Fixed by: Bas van der Vlies <basv@sara.nl>
[170]609
[173]610        * Added a new config parameter: tmpdir: /var/tmp, default is '/tmp'
611          All functions now use this new parameter and use OS independent
612          path functions.
[177]613          Implemented by: Bas van der Vlies <basv@sara.nl>
[173]614
[175]615        * fixed and a creating directory problem email2trac.spec file
616          Fixed by: artrus at netzero dot net
617
[176]618        * set_owner function is obsolete. When component is set the trac code
619          will set the owner to the component owner.
[177]620          Fixed by    : Bas van der Vlies <basv@sara.nl>
[176]621
[177]622        * Also show email headers in a ticket update.
623          Requested by: Ramon Bastiaans
624          Fixed by    : Bas van der Vlies <basv@sara.nl>
625
[182]626        * A date patch so it works with trac version 0.11 for ticket updates.
627          Also applied for other trac versions.
628          Thanks to: tbaschak at ktc dot mb dot ca
629
[161]6302007-04-27
[150]631
[154]632        * Added check to catch an error when attachment size
[151]633          is too large, bug #1153
634          Author: Bas van der Vlies
[150]635
[151]636        * Wrap long line into user given length, use_textwrap: 72. Wraps lines
637          greater then 72 chars, #1123
638          Author: Bas van der Vlies &
639                  Rainer Sokoll (r.sokoll at intershop dot de)
640
641        * Fixed a dutch spelling, #1295
642          Author: Rainer Sokoll (r.sokoll at intershop dot de)
643
[149]644        * email2trac.py : blacklist (don't create ticket) mail from
645          MAILER-DAEMON to avoid loops
[152]646          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
647
[149]648        * msg.bad.txt : add an example of message from MAILER-DAEMON
[152]649          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
[149]650
[146]6512006-12-08
[135]652        * email2trac.py:
653          - Added verbatim_format option default is: 1
[139]654          Added by : Bas van der Vlies
655
[136]656          - Added strip_signature option default is: 0
[139]657          Added by : Bas van der Vlies
[135]658
[139]659          - Fixed some unicode errors, thanks to japanes SPAM.
660            If we can not unicode email message then display which
661            charset must be installed in ticket description. Else we
662            trac crashed with unicode errors ;-(
663          Fixed by: Bas van der Vlies
664
[142]665          - Fixed statements: str + unicode, raises an exception if
666            non-ascii value in unicode object.
667
668          - Forgot to unicode the author. So we got an error if we use
669            the mailto_link option in email2trac.conf.
[141]670          Fixed by: Bas van der Vlies
671
[139]672        * delete_spam.py:
673          - Now works for version 0.10 with new API-functions
674          Fixed by: Bas van der Vlies
675
[144]676        * Makefile.in
677          - Added install-conf. Install email2trac.conf if there is none
678            installed.
679          Fixed by: Bas van der Vlies
680
[132]6812006-10-27
[125]682
[129]683        * run_email2trac.c.
684       
685          - Setgid() must be called before setuid().
[125]686          Reported by:  Anonymous
687          Fixed    by:  Bas van der Vlies
[126]688
[129]689        * email2trac.py,
690       
691          - Fixed an error in Ticket Update. When ticket
[128]692          does not exists, proceed as if it is a new ticket
693          Fixed    by:  Bas van der Vlies
694
[129]695          - Fixed a strang bug in 0.9 version, if ticket update
696          is enabled and email has attachment(s). We are not allowed to
697          set the description and author field of the attachment else
698          the comment text is lost ;-(
[128]699          Fixed    by:  Bas van der Vlies
[129]700
701          - Fixed an error if enable_syslog and drop_spam is set. We get
702          an exception in the syslog if we use sys.exit(0), replaced by
703          return.
704          Fixed    by:  Bas van der Vlies
705
706        * delete_spam.py.
[124]707       
[129]708          - Trac version 0.10 made it easier to delete tickets.
709          Fixed    by:  Bas van der Vlies
710       
[121]7112006-10-10
[117]712        * Fixed race conditions in delete_spam.py and added some
713          debug code.
714          Fixed by   : Bas van der Vlies
[120]715
[117]716        * Added author and description field when attachment is
717          added to ticket. This is for trac version greater than
718          0.8.
719          Fixed by   : Bas van der Vlies
720          Thanks to Matthew Good for the hint
[120]721
[118]722        * Added drop_spam option, default = 0. If set then
723          mail marked as Spam is not accepted.
[120]724          Added by   : Bas van der Vlies
[117]725
[121]726        * Do not send notification if message is marked as Spam
727          and drop_spam is not set.
[120]728          Fixed by   : Bas van der Vlies
729
[113]7302006-10-02
[111]731        * Fixes possible segmentation faults in run_email2trac.c
732          Reported by: bcornec
733          Fixed by   : Bas van der Vlies
734
735        * Can set DEBUG level while configuring package, eg:
736          DEBUG=1 ./configure ( default : 0)
737          Reported by: syd at plug dot ca
738          Fixed By   : Bas van der Vlies
739
740        * delete_spam.py did not delete everything from the SQL tables
741          Reported by: brent at rcfile dot org
742          Fixed by   : Bas van der Vlies
743
[113]744        * Do not send notification when message is marked as Spam
[112]745          Fixed by   : Bas van der Vlies
746         
[106]7472006-08-28
[105]748        * fixes an error in the 'reply_all' setting
749          Thanks to and Patch by: ncarlson@ibsys.com
750
[106]751        * Added RPM spec file
752          Thanks to:  Jon Topper <jon@topper.me.uk>
753
[101]7542006-07-14
[95]755        * Use X11R5 install-sh to install email2trac components to hide
[98]756          native install program differences.
757          Author: Michel Jouvin <jouvin@lal.in2p3.fr>
[95]758
[98]759        * Fixed an error in saving attachments for new tickets for trac
760          versions greater then 0.9.
761          Fixed by: Bas van der Vlies
762
763        * When something went wrong save the offending email for debug
764          purposes.
765          Fixed by: Bas van der Vlies
766
[99]767        * delete_spam.py
768           - did not clean up the attachment table. So we got nasty new
769             mails with fake attachments.
770           - It works now for versions higher then 0.8
[100]771
772        * Finally understand the unicode/encode functions and hopefully
773          fixed the errors.
774          Fixed by: Bas van der Vlies
[103]775
776        * Remove the temporarly created attachment files.
777          Fixed by: Bas van der Vlies
[99]778       
[92]7792006-07-06
[95]780        * Fixed an error in already added attachments. Do not close
[85]781          the database connection.
782          Fixed by: Walter de Jong en Bas van der Vlies
783
[95]784        * Added enable_syslog option. If enabled log errors to syslog
[89]785          instead of stderr. If enabled no errors are send back to the
786          user.
[87]787          Implemented by: Bas van der Vlies
788
[95]789        * Fixed an error with updating tickets with attachments for trac
[87]790          versions 0.9 and 0.10. Field "id" is not known when a existing
791          ticket is fetched (Error = KeyError: 'id')
792          Fixed By: See tickets #258 and #449 on trac-hacks
793
[95]794        * Fixed and spell error, self.mail_addr must be self.email_addr
[88]795          Fixed by: Bas van der Vlies
796
[95]797        * Catch a LookupError in unicode/encode conversion in function
[91]798          get_body_text()
[89]799          Fixed by: Bas van der Vlies
800
[95]801        * Description field was always changed when updating the ticket
[90]802          via the web. Asked the mailing list for a solution and got one
803          ;-)
804          Patch/Suggestion by: Christian Boos
805          Applied by: Bas van der Vlies
806
[95]807        * Fixed an encoding problem when email_header is set to 1
[91]808          Fixed by: Bas van der Vlies
809
[95]810        * Fixed a bug in to_unicode() function.
[92]811          Fixed by: Bas van der Vlies
812
[95]813        * Fixed an unicodedata.normalize TypeError bug for filenames in the
[92]814          attachment function
815          Fixed by: Bas van der Vlies
816
817
[81]8182006-06-02
[95]819        * Added ticketing merging. To enable it there are two options for
[76]820          both options enable 'ticket_update' in email2trac.conf
[81]821          1 - Configure trac notification, eg:
[95]822                * (ticket address: ticket@test.nl)
[81]823                [notification]
824                smtp_enabled = true
825                smtp_always_cc = test@test.nl
826                smtp_server = localhost
[82]827                smtp_from =  ticket@test.nl
[76]828                always_notify_reporter = true
829
830          2 - Use the mailto_cc in email2trac.conf if you want to sent
[81]831              an email to the user and the trac ticket email address.
[76]832
833          With both options you get the right format of the subject line.
834
[95]835        * Use the short options for the install command. So it works for
[76]836          MacOSx Reported by: Nathaniel Irons.
[81]837
[95]838        * Updated inline documentation by Nathaniel Irons.
[76]839                 
[68]8402006-05-16
[95]841        * Fixed a bug when there was no plain text body.
[63]842          Reported by: Greg Deakyne
[95]843        * Fixed a small bug if default component owner is unknown.
[63]844          Just fill in some bogus info.
[95]845        * Use the short options for the install command. So it works for
[64]846          MacOSx
847          Reported by: Nathaniel Irons
[95]848        * Messages that has X-Virus-found in header are marked as SPAM
[68]849          Implemented by: Walter de Jong
[95]850        * Some modules are changed for version 0.10, Added and made some
[68]851          minor changes: Patch supplied by: Markus Tacker 
[95]852        * Ported delete_spam.py to version 0.9 and higher:
[69]853          Reported by: Nathaniel Irons
[63]854
[64]855
[58]8562006-03-08
857        - Fixed an bug for 0.9, there was a space in front of the ' ticket' directory.
858          removed it.
859          Reported by: mi-trachacks@moensolutions.com   
860          Fixed by: Bas van der Vlies
[95]861        * Fixed an exception error in delete_spam.py
[58]862          when shutil has not enough priveledges to remove the
863          attachments it is reported
864          Fixed by: Bas van der Vlies
[95]865        * email2trac.py: When you include the body tag, some
[58]866          mailers (like Thunderbird) will leave out the signature.
867          Therefore this version leaves out the body tag.
868          Fixed by: Walter de Jong
[95]869        * Added msg.txt for testing
[58]870          Fixed by: Bas van der Vlies
871
[46]8722006-02-01  Bas van der Vlies <basv@sara.nl>:
873        * Added Tikcet notification, send email when there is
874          a new ticket. Depends on notification setting in
875          trac.ini.
876          Implemented by: Kilian Cavalotti
[52]877        * Can use different template for ticket notification,
878          eg: alternate_notify_template: "a_tkt.css"
879          Implemented by: Kilian Cavalotti
[46]880        * Added reply_all config parameter. If set put all
881          CC-addresses from orginal mail in ticket CC-field.
882          Suggested by: Kilian Cavalotti
883        * Text in ticket description is also properly UTF-8
884          encoded
885          Implemented by: Kilian Cavalotti
886        * Removed reply_address from config file. Is not
887          necessary anymore. See Ticket notification.
888        * Added support for known users. If email address is
889          known then use the trac known username instead
890          of the email-address (only for trac version > 0.9)
891          Implemented by: Kilian Cavalotti
[48]892        * Fixed an error in saving attachments for version < 0.9.
893          Sometimes we got bogus attachments.
894          Fixed by: Walter de Jong
[50]895        * Added support to make an debian package
896          Implemented by: Bas van der Vlies
[46]897
[36]8982006-01-21  Bas van der Vlies <basv@sara.nl>:
899        * Fixed run_email2trac.c, did not work
900        * Added TRAC_SCRIPT_NAME to Makefile.in to
901          solve run_email2trac problem
902
903        Both errors reported by: kilian.cavalotti@lip6.fr
904
[33]9052006-01-20  Bas van der Vlies <basv@sara.nl>:
906        * A warning error is fixed by kilian.cavalotti@lip6.fr
907        * Several errors in make install ;-(, reported by
908          tacker
909
[23]9102006-01-15  Bas van der Vlies <basv@sara.nl>:
911        * Added configure script.
912
[18]9132006-01-10  Bas van der Vlies <basv@sara.nl>:
914        * Removed project_root from source and config file
915        * Adjust code so we can use mulitple stanza's in config file, eg:
916          [bas]
917          project: /data/trac/bas
918          spam_level: 3
919
920          use option "-p|--project bas" to select the stanza
921
[5]9222006-01-04  Bas van der Vlies <basv@sara.nl>:
923
924        * Fixed getopt for -f option
925        * Added suppport for different TRAC versions (0.8 and 0.9)
926
9272006-01-03  Michel Jouvin  <jouvin@lal.in2p3.fr>
928
929        * email2trac.py (ReadConfig) : allow project name relative to project root in configuration file
930       
931        * email2trac.py (TicketEmailParser.parse): save entire email for debugging only if debug >= 2
932
933        * run_email2trac.c: pass wrapper arguments to Python script, filtering out --file
934
935        * 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)
936
937        * 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)
938
9392005-12-22  Michel Jouvin  <jouvin@lal.in2p3.fr>
940
941        * Makefile: add a Makefile to build and install email2trac
942
943        * email2trac.py: migrate to Trac 0.9 API
944
9452005-12-21  Michel Jouvin  <jouvin@lal.in2p3.fr>
946
947        * run_email2trac.c: add error messages if DEBUG macro defined
948
949        * run_email2trac.c: add error testing and specific return values for each error
950
951        * run_email2trac.c: Move site specific paramaters to run_email2trac.h
952
953        * run_email2trac.h: include file to define site specific paramaters
954
9550.2.4 01/11/2005
956        Added email_header option if set then show TO/CC fields in
957        description of the ticket.
958
959        Fixed an error in the mailto URL. This was an old error that
960        supposed to be fixed but reoccured in this version.
961       
9620.2.3 31/10/2005
963        Fixed a bug with base64 encoded attachments/emails
964        Fixed by: Walter de Jong
965
9660.2.2 10/10/2005
967        according to RFC 2368 (titled "the mailto URL scheme") the mailto
968        URL can only work with short &body messages. It fails with long
969        messages and the link won't work. Therefore the mail body is
970        no longer copied into the mail reply.
971
9720.2.1 10/07/2005
973        body of reply email looks better
974
975
9760.2   10/07/2005
977        mailto is replaced by a html mailto to line. If
978        you reply to the ticket via this link then an
979        email client is started with some default values:
980                To: <reporter>
981                Subject: Re: <orginal subject>
982                Body: email_comment <orginal text>
983
984        email2trac.conf:
985                email_comment: # (default:  >)
986
987               
988
Note: See TracBrowser for help on using the repository browser.