source: trunk/ChangeLog @ 525

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

fixed some logging errors in email_to_unicode function

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