source: trunk/ChangeLog @ 557

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

delete obsolete workflow code, see #226

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