source: trunk/ChangeLog @ 539

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

fixed check permission problem when PrivateTicketsPlugin? is installed, closes #262

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