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