Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-08-23 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+-
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Core (Mail)  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by Andrew Godwin ):

 In [changeset:"01223840f34ff2eacf1425bc133c347564fe2614"]:
 {{{
 #!CommitTicketReference repository=""
 revision="01223840f34ff2eacf1425bc133c347564fe2614"
 Fixed #18967 -- Don't base64-encode message/rfc822 attachments.

 Thanks Michael Farrell for the report and his work on the fix.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.da6014d4bd6a2181e56b6f117f538759%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-08-20 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+-
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Core (Mail)  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Ramiro Morales ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"f9d1d5dc1377cb21b39452b0897e7a79a3d02844"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f9d1d5dc1377cb21b39452b0897e7a79a3d02844"
 Fixed #18967 -- Don't base64-encode message/rfc822 attachments.

 Thanks Michael Farrell for the report and his work on the fix.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.59f041c25706f8e9f8dc82d4d83a7b7a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-08-16 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+-
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by anonymous):

 nbnbmn

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.0c516bd998fa01436b434761d73c3df3%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-05-27 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+-
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by cuerty):

 * cc: cuerty (added)
 * version:  1.5 => master
 * stage:  Accepted => Ready for checkin


Comment:

 IMHO: This patch seems good.

 I was able to reproduce the bug with the test provided and the patch fix
 it. Also the last version of the patch merges without problems with
 master.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.7577477a814f8bfd2a9b138c8a74dd69%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-05-27 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  1.5
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+

Comment (by lukeplant):

 I'm afraid that are policy with bug fixes is that this can only go into
 master - it won't be backported. To ensure it gets into 1.6 it would help
 if you can find someone to review your patch.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.c5c35ae0bd5bfb74d2929560143381c4%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-05-26 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  1.5
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+
Changes (by micolous):

 * needs_better_patch:  1 => 0
 * version:  1.4 => 1.5
 * needs_docs:  1 => 0


Comment:

 I've written documentation for the change.  I've got another pull request
 against django master:

 https://github.com/django/django/pull/1222

 As this fixes a bug in Django, it would be great if this was also pulled
 into Django 1.5.2.  Pull request 1202 has been updated against current
 stable/1.5.x.

 This already has unit tests which identify the buggy behaviour.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.9fbaccd99f08ca604e3afa044c1abad1%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-05-26 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  1|UI/UX:  0
-+

Comment (by micolous):

 I will write some documentation and rebase this against master.

 How can I target the stable versions of Django for getting this patch in
 future bugfix releases?  This bug affects Django 1.3, 1.4 and 1.5...
 though probably also other releases as well.

 I'm going to have to backport this patch to 1.5.x anyway, because it
 causes my application to fail in many of it's email-related tasks, as it
 is sending emails attached to emails quite frequently.

 Trying to get this fixed in other email clients is an uphill battle, as
 it's non-RFC and has been an open bug in Thunderbird for 7 years.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.6370baaf3f8e6e465a0bd12e2044c42a%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-05-23 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  1|UI/UX:  0
-+
Changes (by aaugustin):

 * needs_better_patch:  0 => 1


Comment:

 This ticket was marked as "Accepted" because the issue was recognized as
 valid.

 Once someone has written a patch (with tests and docs if appropriate),
 someone else can review it, and mark the ticket as "Ready for Checkin" if
 the patch is good.

 Then the patch can be merged.

 A pull request is an appropriate way to provide a patch, however, it must
 be done against the master branch, not a stable branch.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.1d1fe18631cbefea1aef7891b9ac35ad%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2013-05-23 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+

Comment (by micolous):

 I notice the patch for this bug was marked as "Accepted" 7 months ago,
 however the patch for the issue has not been merged.  I'm confused to what
 is going on.

 This is still an outstanding bug, as Django continues to produce non-
 RFC2046 s5.2.1-compliant mail, which breaks in multiple popular email
 clients when attempting to send message/rfc822 attachments from Django.

 I've now rebased this patch against the stable 1.5 tree as at today,
 however this has now got GitHub very confused, as it's pulled in hundreds
 of commits in the last 9 months.  I've since created a new pull request
 that fixes this:

 https://github.com/django/django/pull/1202

 If there is something needed from me to make this proceed please let me
 know.  Thanks.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.d0b2f5aa3267d0f613f158b5dc3c7eaa%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2012-10-25 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+
Changes (by claudep):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird

2012-09-17 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+--
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+--
Changes (by micolous):

 * needs_tests:  1 => 0


Comment:

 I've added regression tests for the bug, and fixed an issue where it was
 applying the transforms to all message/* mimetypes, and not just
 message/rfc822.  I've also allowed the EmailMessage.attach method to take
 in Django's EmailMessage object as an argument for message/rfc822 objects.

 I've updated my pull request (above) with these changes.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird (was: django.core.mail._create_

2012-09-16 Thread Django
#18967: django.core.mail.EmailMessage._create_mime_attachment incorrectly 
encodes
message/rfc822 attachments in base64, breaks in Evolution and Thunderbird
-+--
 Reporter:  micolous |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Core (Mail)  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  1
  Needs tests:  1|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+--
Changes (by micolous):

 * needs_better_patch:   => 0
 * needs_tests:   => 1
 * easy:  0 => 1
 * needs_docs:   => 1
 * has_patch:  0 => 1


Comment:

 I've created a patch and pull request:
 https://github.com/django/django/pull/373

 This patch is against Django master.

 There are some changes in the behaviour of
 django.core.mail.EmailMessage.attach:

 * message/rfc822 attachments may be a email.message.Message object (not
 just a string)
 * When passing in a string attachment, Django will now automatically
 convert it to email.message.Message internally for
 email.mime.message.MIMEMessage.  This means that if the message/rfc822
 attachment is not well-formed, an exception may be thrown.
 * Per RFC2046, the attached message headers must be ASCII encoded.  As a
 result SafeMIMEMessage checks headers with ASCII encoding.

 This also implements SafeMIMEMessage (like the other SafeMIME* classes).

 The tests currently pass, however there are no specific tests in this
 patch for this functionality.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.