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