source: trunk/ChangeLog @ 518

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

Fixed comparison of email addresses and author names. Always do lower case comparison, closes #242

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