source: trunk/ChangeLog @ 489

Last change on this file since 489 was 489, checked in by bas, 13 years ago

fixed log_type error on windows platfor, closes #225

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