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