source: trunk/ChangeLog @ 573

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

update changelog

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