source: trunk/ChangeLog @ 570

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

use all 'to-addresses for recipient_list instead of just one, closes #268

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