source: trunk/ChangeLog @ 580

Last change on this file since 580 was 580, checked in by bas, 12 years ago

added Astarp firewall support:

X-Spam-Flag: YES
X-Spam-Result: Spam

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