[146] | 1 | 2006-12-08 |
---|
[135] | 2 | * email2trac.py: |
---|
| 3 | - Added verbatim_format option default is: 1 |
---|
[139] | 4 | Added by : Bas van der Vlies |
---|
| 5 | |
---|
[136] | 6 | - Added strip_signature option default is: 0 |
---|
[139] | 7 | Added by : Bas van der Vlies |
---|
[135] | 8 | |
---|
[139] | 9 | - Fixed some unicode errors, thanks to japanes SPAM. |
---|
| 10 | If we can not unicode email message then display which |
---|
| 11 | charset must be installed in ticket description. Else we |
---|
| 12 | trac crashed with unicode errors ;-( |
---|
| 13 | Fixed by: Bas van der Vlies |
---|
| 14 | |
---|
[142] | 15 | - Fixed statements: str + unicode, raises an exception if |
---|
| 16 | non-ascii value in unicode object. |
---|
| 17 | |
---|
| 18 | - Forgot to unicode the author. So we got an error if we use |
---|
| 19 | the mailto_link option in email2trac.conf. |
---|
[141] | 20 | Fixed by: Bas van der Vlies |
---|
| 21 | |
---|
[139] | 22 | * delete_spam.py: |
---|
| 23 | - Now works for version 0.10 with new API-functions |
---|
| 24 | Fixed by: Bas van der Vlies |
---|
| 25 | |
---|
[144] | 26 | * Makefile.in |
---|
| 27 | - Added install-conf. Install email2trac.conf if there is none |
---|
| 28 | installed. |
---|
| 29 | Fixed by: Bas van der Vlies |
---|
| 30 | |
---|
[132] | 31 | 2006-10-27 |
---|
[125] | 32 | |
---|
[129] | 33 | * run_email2trac.c. |
---|
| 34 | |
---|
| 35 | - Setgid() must be called before setuid(). |
---|
[125] | 36 | Reported by: Anonymous |
---|
| 37 | Fixed by: Bas van der Vlies |
---|
[126] | 38 | |
---|
[129] | 39 | * email2trac.py, |
---|
| 40 | |
---|
| 41 | - Fixed an error in Ticket Update. When ticket |
---|
[128] | 42 | does not exists, proceed as if it is a new ticket |
---|
| 43 | Fixed by: Bas van der Vlies |
---|
| 44 | |
---|
[129] | 45 | - Fixed a strang bug in 0.9 version, if ticket update |
---|
| 46 | is enabled and email has attachment(s). We are not allowed to |
---|
| 47 | set the description and author field of the attachment else |
---|
| 48 | the comment text is lost ;-( |
---|
[128] | 49 | Fixed by: Bas van der Vlies |
---|
[129] | 50 | |
---|
| 51 | - Fixed an error if enable_syslog and drop_spam is set. We get |
---|
| 52 | an exception in the syslog if we use sys.exit(0), replaced by |
---|
| 53 | return. |
---|
| 54 | Fixed by: Bas van der Vlies |
---|
| 55 | |
---|
| 56 | * delete_spam.py. |
---|
[124] | 57 | |
---|
[129] | 58 | - Trac version 0.10 made it easier to delete tickets. |
---|
| 59 | Fixed by: Bas van der Vlies |
---|
| 60 | |
---|
[121] | 61 | 2006-10-10 |
---|
[117] | 62 | * Fixed race conditions in delete_spam.py and added some |
---|
| 63 | debug code. |
---|
| 64 | Fixed by : Bas van der Vlies |
---|
[120] | 65 | |
---|
[117] | 66 | * Added author and description field when attachment is |
---|
| 67 | added to ticket. This is for trac version greater than |
---|
| 68 | 0.8. |
---|
| 69 | Fixed by : Bas van der Vlies |
---|
| 70 | Thanks to Matthew Good for the hint |
---|
[120] | 71 | |
---|
[118] | 72 | * Added drop_spam option, default = 0. If set then |
---|
| 73 | mail marked as Spam is not accepted. |
---|
[120] | 74 | Added by : Bas van der Vlies |
---|
[117] | 75 | |
---|
[121] | 76 | * Do not send notification if message is marked as Spam |
---|
| 77 | and drop_spam is not set. |
---|
[120] | 78 | Fixed by : Bas van der Vlies |
---|
| 79 | |
---|
[113] | 80 | 2006-10-02 |
---|
[111] | 81 | * Fixes possible segmentation faults in run_email2trac.c |
---|
| 82 | Reported by: bcornec |
---|
| 83 | Fixed by : Bas van der Vlies |
---|
| 84 | |
---|
| 85 | * Can set DEBUG level while configuring package, eg: |
---|
| 86 | DEBUG=1 ./configure ( default : 0) |
---|
| 87 | Reported by: syd at plug dot ca |
---|
| 88 | Fixed By : Bas van der Vlies |
---|
| 89 | |
---|
| 90 | * delete_spam.py did not delete everything from the SQL tables |
---|
| 91 | Reported by: brent at rcfile dot org |
---|
| 92 | Fixed by : Bas van der Vlies |
---|
| 93 | |
---|
[113] | 94 | * Do not send notification when message is marked as Spam |
---|
[112] | 95 | Fixed by : Bas van der Vlies |
---|
| 96 | |
---|
[106] | 97 | 2006-08-28 |
---|
[105] | 98 | * fixes an error in the 'reply_all' setting |
---|
| 99 | Thanks to and Patch by: ncarlson@ibsys.com |
---|
| 100 | |
---|
[106] | 101 | * Added RPM spec file |
---|
| 102 | Thanks to: Jon Topper <jon@topper.me.uk> |
---|
| 103 | |
---|
[101] | 104 | 2006-07-14 |
---|
[95] | 105 | * Use X11R5 install-sh to install email2trac components to hide |
---|
[98] | 106 | native install program differences. |
---|
| 107 | Author: Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
[95] | 108 | |
---|
[98] | 109 | * Fixed an error in saving attachments for new tickets for trac |
---|
| 110 | versions greater then 0.9. |
---|
| 111 | Fixed by: Bas van der Vlies |
---|
| 112 | |
---|
| 113 | * When something went wrong save the offending email for debug |
---|
| 114 | purposes. |
---|
| 115 | Fixed by: Bas van der Vlies |
---|
| 116 | |
---|
[99] | 117 | * delete_spam.py |
---|
| 118 | - did not clean up the attachment table. So we got nasty new |
---|
| 119 | mails with fake attachments. |
---|
| 120 | - It works now for versions higher then 0.8 |
---|
[100] | 121 | |
---|
| 122 | * Finally understand the unicode/encode functions and hopefully |
---|
| 123 | fixed the errors. |
---|
| 124 | Fixed by: Bas van der Vlies |
---|
[103] | 125 | |
---|
| 126 | * Remove the temporarly created attachment files. |
---|
| 127 | Fixed by: Bas van der Vlies |
---|
[99] | 128 | |
---|
[92] | 129 | 2006-07-06 |
---|
[95] | 130 | * Fixed an error in already added attachments. Do not close |
---|
[85] | 131 | the database connection. |
---|
| 132 | Fixed by: Walter de Jong en Bas van der Vlies |
---|
| 133 | |
---|
[95] | 134 | * Added enable_syslog option. If enabled log errors to syslog |
---|
[89] | 135 | instead of stderr. If enabled no errors are send back to the |
---|
| 136 | user. |
---|
[87] | 137 | Implemented by: Bas van der Vlies |
---|
| 138 | |
---|
[95] | 139 | * Fixed an error with updating tickets with attachments for trac |
---|
[87] | 140 | versions 0.9 and 0.10. Field "id" is not known when a existing |
---|
| 141 | ticket is fetched (Error = KeyError: 'id') |
---|
| 142 | Fixed By: See tickets #258 and #449 on trac-hacks |
---|
| 143 | |
---|
[95] | 144 | * Fixed and spell error, self.mail_addr must be self.email_addr |
---|
[88] | 145 | Fixed by: Bas van der Vlies |
---|
| 146 | |
---|
[95] | 147 | * Catch a LookupError in unicode/encode conversion in function |
---|
[91] | 148 | get_body_text() |
---|
[89] | 149 | Fixed by: Bas van der Vlies |
---|
| 150 | |
---|
[95] | 151 | * Description field was always changed when updating the ticket |
---|
[90] | 152 | via the web. Asked the mailing list for a solution and got one |
---|
| 153 | ;-) |
---|
| 154 | Patch/Suggestion by: Christian Boos |
---|
| 155 | Applied by: Bas van der Vlies |
---|
| 156 | |
---|
[95] | 157 | * Fixed an encoding problem when email_header is set to 1 |
---|
[91] | 158 | Fixed by: Bas van der Vlies |
---|
| 159 | |
---|
[95] | 160 | * Fixed a bug in to_unicode() function. |
---|
[92] | 161 | Fixed by: Bas van der Vlies |
---|
| 162 | |
---|
[95] | 163 | * Fixed an unicodedata.normalize TypeError bug for filenames in the |
---|
[92] | 164 | attachment function |
---|
| 165 | Fixed by: Bas van der Vlies |
---|
| 166 | |
---|
| 167 | |
---|
[81] | 168 | 2006-06-02 |
---|
[95] | 169 | * Added ticketing merging. To enable it there are two options for |
---|
[76] | 170 | both options enable 'ticket_update' in email2trac.conf |
---|
[81] | 171 | 1 - Configure trac notification, eg: |
---|
[95] | 172 | * (ticket address: ticket@test.nl) |
---|
[81] | 173 | [notification] |
---|
| 174 | smtp_enabled = true |
---|
| 175 | smtp_always_cc = test@test.nl |
---|
| 176 | smtp_server = localhost |
---|
[82] | 177 | smtp_from = ticket@test.nl |
---|
[76] | 178 | always_notify_reporter = true |
---|
| 179 | |
---|
| 180 | 2 - Use the mailto_cc in email2trac.conf if you want to sent |
---|
[81] | 181 | an email to the user and the trac ticket email address. |
---|
[76] | 182 | |
---|
| 183 | With both options you get the right format of the subject line. |
---|
| 184 | |
---|
[95] | 185 | * Use the short options for the install command. So it works for |
---|
[76] | 186 | MacOSx Reported by: Nathaniel Irons. |
---|
[81] | 187 | |
---|
[95] | 188 | * Updated inline documentation by Nathaniel Irons. |
---|
[76] | 189 | |
---|
[68] | 190 | 2006-05-16 |
---|
[95] | 191 | * Fixed a bug when there was no plain text body. |
---|
[63] | 192 | Reported by: Greg Deakyne |
---|
[95] | 193 | * Fixed a small bug if default component owner is unknown. |
---|
[63] | 194 | Just fill in some bogus info. |
---|
[95] | 195 | * Use the short options for the install command. So it works for |
---|
[64] | 196 | MacOSx |
---|
| 197 | Reported by: Nathaniel Irons |
---|
[95] | 198 | * Messages that has X-Virus-found in header are marked as SPAM |
---|
[68] | 199 | Implemented by: Walter de Jong |
---|
[95] | 200 | * Some modules are changed for version 0.10, Added and made some |
---|
[68] | 201 | minor changes: Patch supplied by: Markus Tacker |
---|
[95] | 202 | * Ported delete_spam.py to version 0.9 and higher: |
---|
[69] | 203 | Reported by: Nathaniel Irons |
---|
[63] | 204 | |
---|
[64] | 205 | |
---|
[58] | 206 | 2006-03-08 |
---|
| 207 | - Fixed an bug for 0.9, there was a space in front of the ' ticket' directory. |
---|
| 208 | removed it. |
---|
| 209 | Reported by: mi-trachacks@moensolutions.com |
---|
| 210 | Fixed by: Bas van der Vlies |
---|
[95] | 211 | * Fixed an exception error in delete_spam.py |
---|
[58] | 212 | when shutil has not enough priveledges to remove the |
---|
| 213 | attachments it is reported |
---|
| 214 | Fixed by: Bas van der Vlies |
---|
[95] | 215 | * email2trac.py: When you include the body tag, some |
---|
[58] | 216 | mailers (like Thunderbird) will leave out the signature. |
---|
| 217 | Therefore this version leaves out the body tag. |
---|
| 218 | Fixed by: Walter de Jong |
---|
[95] | 219 | * Added msg.txt for testing |
---|
[58] | 220 | Fixed by: Bas van der Vlies |
---|
| 221 | |
---|
[46] | 222 | 2006-02-01 Bas van der Vlies <basv@sara.nl>: |
---|
| 223 | * Added Tikcet notification, send email when there is |
---|
| 224 | a new ticket. Depends on notification setting in |
---|
| 225 | trac.ini. |
---|
| 226 | Implemented by: Kilian Cavalotti |
---|
[52] | 227 | * Can use different template for ticket notification, |
---|
| 228 | eg: alternate_notify_template: "a_tkt.css" |
---|
| 229 | Implemented by: Kilian Cavalotti |
---|
[46] | 230 | * Added reply_all config parameter. If set put all |
---|
| 231 | CC-addresses from orginal mail in ticket CC-field. |
---|
| 232 | Suggested by: Kilian Cavalotti |
---|
| 233 | * Text in ticket description is also properly UTF-8 |
---|
| 234 | encoded |
---|
| 235 | Implemented by: Kilian Cavalotti |
---|
| 236 | * Removed reply_address from config file. Is not |
---|
| 237 | necessary anymore. See Ticket notification. |
---|
| 238 | * Added support for known users. If email address is |
---|
| 239 | known then use the trac known username instead |
---|
| 240 | of the email-address (only for trac version > 0.9) |
---|
| 241 | Implemented by: Kilian Cavalotti |
---|
[48] | 242 | * Fixed an error in saving attachments for version < 0.9. |
---|
| 243 | Sometimes we got bogus attachments. |
---|
| 244 | Fixed by: Walter de Jong |
---|
[50] | 245 | * Added support to make an debian package |
---|
| 246 | Implemented by: Bas van der Vlies |
---|
[46] | 247 | |
---|
[36] | 248 | 2006-01-21 Bas van der Vlies <basv@sara.nl>: |
---|
| 249 | * Fixed run_email2trac.c, did not work |
---|
| 250 | * Added TRAC_SCRIPT_NAME to Makefile.in to |
---|
| 251 | solve run_email2trac problem |
---|
| 252 | |
---|
| 253 | Both errors reported by: kilian.cavalotti@lip6.fr |
---|
| 254 | |
---|
[33] | 255 | 2006-01-20 Bas van der Vlies <basv@sara.nl>: |
---|
| 256 | * A warning error is fixed by kilian.cavalotti@lip6.fr |
---|
| 257 | * Several errors in make install ;-(, reported by |
---|
| 258 | tacker |
---|
| 259 | |
---|
[23] | 260 | 2006-01-15 Bas van der Vlies <basv@sara.nl>: |
---|
| 261 | * Added configure script. |
---|
| 262 | |
---|
[18] | 263 | 2006-01-10 Bas van der Vlies <basv@sara.nl>: |
---|
| 264 | * Removed project_root from source and config file |
---|
| 265 | * Adjust code so we can use mulitple stanza's in config file, eg: |
---|
| 266 | [bas] |
---|
| 267 | project: /data/trac/bas |
---|
| 268 | spam_level: 3 |
---|
| 269 | |
---|
| 270 | use option "-p|--project bas" to select the stanza |
---|
| 271 | |
---|
[5] | 272 | 2006-01-04 Bas van der Vlies <basv@sara.nl>: |
---|
| 273 | |
---|
| 274 | * Fixed getopt for -f option |
---|
| 275 | * Added suppport for different TRAC versions (0.8 and 0.9) |
---|
| 276 | |
---|
| 277 | 2006-01-03 Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
| 278 | |
---|
| 279 | * email2trac.py (ReadConfig) : allow project name relative to project root in configuration file |
---|
| 280 | |
---|
| 281 | * email2trac.py (TicketEmailParser.parse): save entire email for debugging only if debug >= 2 |
---|
| 282 | |
---|
| 283 | * run_email2trac.c: pass wrapper arguments to Python script, filtering out --file |
---|
| 284 | |
---|
| 285 | * 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) |
---|
| 286 | |
---|
| 287 | * 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) |
---|
| 288 | |
---|
| 289 | 2005-12-22 Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
| 290 | |
---|
| 291 | * Makefile: add a Makefile to build and install email2trac |
---|
| 292 | |
---|
| 293 | * email2trac.py: migrate to Trac 0.9 API |
---|
| 294 | |
---|
| 295 | 2005-12-21 Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
| 296 | |
---|
| 297 | * run_email2trac.c: add error messages if DEBUG macro defined |
---|
| 298 | |
---|
| 299 | * run_email2trac.c: add error testing and specific return values for each error |
---|
| 300 | |
---|
| 301 | * run_email2trac.c: Move site specific paramaters to run_email2trac.h |
---|
| 302 | |
---|
| 303 | * run_email2trac.h: include file to define site specific paramaters |
---|
| 304 | |
---|
| 305 | 0.2.4 01/11/2005 |
---|
| 306 | Added email_header option if set then show TO/CC fields in |
---|
| 307 | description of the ticket. |
---|
| 308 | |
---|
| 309 | Fixed an error in the mailto URL. This was an old error that |
---|
| 310 | supposed to be fixed but reoccured in this version. |
---|
| 311 | |
---|
| 312 | 0.2.3 31/10/2005 |
---|
| 313 | Fixed a bug with base64 encoded attachments/emails |
---|
| 314 | Fixed by: Walter de Jong |
---|
| 315 | |
---|
| 316 | 0.2.2 10/10/2005 |
---|
| 317 | according to RFC 2368 (titled "the mailto URL scheme") the mailto |
---|
| 318 | URL can only work with short &body messages. It fails with long |
---|
| 319 | messages and the link won't work. Therefore the mail body is |
---|
| 320 | no longer copied into the mail reply. |
---|
| 321 | |
---|
| 322 | 0.2.1 10/07/2005 |
---|
| 323 | body of reply email looks better |
---|
| 324 | |
---|
| 325 | |
---|
| 326 | 0.2 10/07/2005 |
---|
| 327 | mailto is replaced by a html mailto to line. If |
---|
| 328 | you reply to the ticket via this link then an |
---|
| 329 | email client is started with some default values: |
---|
| 330 | To: <reporter> |
---|
| 331 | Subject: Re: <orginal subject> |
---|
| 332 | Body: email_comment <orginal text> |
---|
| 333 | |
---|
| 334 | email2trac.conf: |
---|
| 335 | email_comment: # (default: >) |
---|
| 336 | |
---|
| 337 | |
---|
| 338 | |
---|