source: trunk/ChangeLog @ 586

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

added blog patch from Thomas Moschny, closes #287,#235,#175

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