source: trunk/ChangeLog @ 521

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

Fixed an error in setting up the logging envrionment for Windows Oses

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