]>
khamidou — GitHub mirrors - flanker.git/log
Jeremy Schlatter [Wed, 10 Jun 2015 00:57:18 +0000 (17:57 -0700)]
version bump
Jeremy Schlatter [Wed, 10 Jun 2015 00:09:40 +0000 (17:09 -0700)]
work harder to avoid re-serializing headers
**Purpose**
We want to avoid re-serializing parsed messages, for two reasons:
1. It's slow. We already have the original text, so if we can output it
as-is we save a bunch of work.
2. It canonicalizes headers. This can break DKIM signatures, which hurts
deliverability.
**Implementation**
This commit does three things:
1. `message.headers["some-header"] = "some value"` now causes a prepend
if "some-header" is not present in the message yet. Prepends are
better than arbitrary insertions, because they do not force us to
re-serialize the rest of the message.
2. `message.headers.add("some-header, "some value")` now causes a
prepend, for the same reason as 1. This previously added the header
at the end of the list instead. I am assuming this behavior change is OK.
3. `message.body = message.body` no longer causes the message to be
marked as changed.
Related commit:
9c89b875dc0eafc01c7f9725d5db5aff8f798f70
Jesse Spears [Tue, 2 Jun 2015 18:42:30 +0000 (11:42 -0700)]
Version bump to v0.4.30
Jesse Spears [Tue, 2 Jun 2015 18:23:52 +0000 (11:23 -0700)]
Merge pull request #79 from aroberts/fix-equality
fix bug with != operator against a string (#78)
Jeremy Schlatter [Tue, 19 May 2015 19:05:57 +0000 (12:05 -0700)]
version bump
Jeremy Schlatter [Tue, 19 May 2015 17:52:44 +0000 (10:52 -0700)]
break long line
Jeremy Schlatter [Wed, 11 Feb 2015 00:52:16 +0000 (16:52 -0800)]
don't re-serialize the whole message when headers have been prepended but nothing else has changed
Jesse Spears [Tue, 19 May 2015 01:15:53 +0000 (18:15 -0700)]
Merge pull request #89 from mailgun/jesse/gmail-reject-consecutive-dots
Reject consecutive dots (.) in gmail addresses
Jesse Spears [Tue, 19 May 2015 01:02:29 +0000 (18:02 -0700)]
validate(): reject consecutive dots in local name
Jeremy Schlatter [Tue, 10 Mar 2015 22:57:15 +0000 (15:57 -0700)]
version bump
Russell Jones [Tue, 10 Mar 2015 22:41:29 +0000 (15:41 -0700)]
Merge pull request #85 from lmcnearney/feature/live
Allow hotmail addresses to begin with a number
Russell Jones [Tue, 10 Mar 2015 22:40:22 +0000 (15:40 -0700)]
Merge pull request #86 from mailgun/jeremy/yahoo-brazil
add yahoo.com.br to known domains list
Jeremy Schlatter [Tue, 10 Mar 2015 18:55:27 +0000 (11:55 -0700)]
add yahoo.com.br to known domains list
Lance McNearney [Thu, 19 Feb 2015 15:24:22 +0000 (07:24 -0800)]
Allow hotmail addresses to begin with a number
Jeremy Schlatter [Tue, 10 Feb 2015 23:47:29 +0000 (15:47 -0800)]
Merge pull request #81 from bulatb/patch-1
Typo fix
Bulat Bochkariov [Mon, 2 Feb 2015 05:10:41 +0000 (21:10 -0800)]
Typo fix
Russell Jones [Mon, 26 Jan 2015 21:05:35 +0000 (13:05 -0800)]
Merge pull request #76 from mailgun/rjones/content-type-override
Override tricky content types.
Russell Jones [Tue, 20 Jan 2015 00:40:33 +0000 (16:40 -0800)]
Added support for overriding heuristic content type discovery for tricky
content types like bzip2.
Andrew Roberts [Fri, 23 Jan 2015 17:24:01 +0000 (12:24 -0500)]
fix bug with != operator against a string
Russell Jones [Wed, 14 Jan 2015 01:12:28 +0000 (01:12 +0000)]
Version bump and minor refactor.
Russell Jones [Wed, 14 Jan 2015 01:06:06 +0000 (17:06 -0800)]
Merge pull request #67 from inboxapp/master
Fix for decoding errors if the list includes a non-ASCII string.
Christine Spang [Tue, 13 Jan 2015 21:47:01 +0000 (13:47 -0800)]
Fix parse_list() to handle Address objects with unicode properly also.
Christine Spang [Tue, 13 Jan 2015 21:45:59 +0000 (13:45 -0800)]
Failing test case for case where parse_list() received Address object.
Russell Jones [Mon, 12 Jan 2015 23:11:38 +0000 (15:11 -0800)]
Merge pull request #72 from mailgun/cache_postives_only
If unable to contact a host, don't cache that result.
Jason E. Aten [Thu, 27 Nov 2014 02:03:29 +0000 (18:03 -0800)]
If unable to connect to a MX server, don't cache that result.
Christine Spang [Sat, 10 Jan 2015 19:28:08 +0000 (11:28 -0800)]
Add regression test for non-ascii email address parsing.
Michael Grinich [Mon, 3 Nov 2014 00:31:50 +0000 (16:31 -0800)]
Fix for decoding errors if the list includes a non-ASCII string.
Jeremy Schlatter [Wed, 3 Dec 2014 01:14:04 +0000 (17:14 -0800)]
Merge pull request #71 from jeffwidman/patch-1
Fix two typos
Jeremy Schlatter [Wed, 3 Dec 2014 01:05:27 +0000 (17:05 -0800)]
bump version
Jeremy Schlatter [Wed, 3 Dec 2014 00:08:29 +0000 (16:08 -0800)]
Label broken MIME attachments as ContentType: application/octet-stream rather than ContentType: text/plain
Jeremy Schlatter [Tue, 2 Dec 2014 23:37:44 +0000 (15:37 -0800)]
Don't throw an exception for .eml attachments with broken MIME.
This function used to fail when creating an attachment that happened to
contain text with broken MIME. Now when that happens, we just encode it
and call the attachment type 'text/plain'.
Jeff Widman [Wed, 19 Nov 2014 00:26:53 +0000 (16:26 -0800)]
Fix two typos
Roman Tkachenko [Wed, 5 Nov 2014 23:13:12 +0000 (15:13 -0800)]
Bump version.
Roman [Wed, 5 Nov 2014 23:10:37 +0000 (15:10 -0800)]
Merge pull request #68 from mailgun/roman/cchardet
Detect encodings with cchardet which is much faster (with fallback to ch...
Roman Tkachenko [Wed, 5 Nov 2014 22:56:00 +0000 (14:56 -0800)]
Detect encodings with cchardet which is much faster (with fallback to chardet).
Jeremy Schlatter [Thu, 30 Oct 2014 23:03:15 +0000 (16:03 -0700)]
Merge pull request #66 from mailgun/jeremy/charset
don't default to ascii charset for non-text Content-Types
Jeremy Schlatter [Wed, 29 Oct 2014 01:41:09 +0000 (18:41 -0700)]
version bump
Jeremy Schlatter [Wed, 29 Oct 2014 01:38:48 +0000 (18:38 -0700)]
don't default to ascii charset for non-text Content-Types
Jeremy Schlatter [Wed, 22 Oct 2014 23:54:17 +0000 (16:54 -0700)]
Merge pull request #65 from mailgun/style
Remove spaces before function calls
Jeremy Schlatter [Wed, 22 Oct 2014 01:45:08 +0000 (18:45 -0700)]
remove spaces before function calls
Jeremy Schlatter [Wed, 22 Oct 2014 01:33:47 +0000 (18:33 -0700)]
fix typos
Jeremy Schlatter [Wed, 22 Oct 2014 01:31:43 +0000 (18:31 -0700)]
fix typo
Jeremy Schlatter [Wed, 22 Oct 2014 00:11:02 +0000 (17:11 -0700)]
fix typo
Russell Jones [Wed, 1 Oct 2014 23:59:53 +0000 (23:59 +0000)]
Version bump, I always forget to version bump...
Russell Jones [Wed, 1 Oct 2014 23:57:29 +0000 (23:57 +0000)]
Mock network based tests so they are fast, deterministic, and can run
with no network access.
Jeremy Schlatter [Mon, 22 Sep 2014 20:09:47 +0000 (13:09 -0700)]
Add option to headers.transform for decoding encoded-words
Jeremy Schlatter [Wed, 17 Sep 2014 18:40:03 +0000 (11:40 -0700)]
add .swp to .gitignore
Maxim Vladimirsky [Fri, 1 Aug 2014 07:58:13 +0000 (11:58 +0400)]
Bump version
Maxim Vladimirsky [Fri, 1 Aug 2014 07:52:51 +0000 (11:52 +0400)]
Merge pull request #55 from mailgun/maxim/develop
Fix FallbackHeaders.transform
Maxim Vladimirsky [Thu, 31 Jul 2014 17:02:24 +0000 (21:02 +0400)]
Fix FallbackHeaders.transform
Maxim Vladimirsky [Thu, 31 Jul 2014 08:02:02 +0000 (12:02 +0400)]
Make sure that only string header values are converted
Maxim Vladimirsky [Wed, 30 Jul 2014 06:30:57 +0000 (10:30 +0400)]
Merge pull request #24 from mailgun/rjones/header-fix
Store raw header values to preserve encoding
Maxim Vladimirsky [Wed, 30 Jul 2014 06:22:04 +0000 (10:22 +0400)]
Do not decode FallbackMimeHeaders
Russell Jones [Tue, 31 Dec 2013 00:21:31 +0000 (16:21 -0800)]
Store raw header values to preserve encoding
Maxim Vladimirsky [Wed, 30 Jul 2014 05:32:36 +0000 (09:32 +0400)]
Merge pull request #53 from mailgun/maxim/develop
Make EmailAddress.display_name to be an arbitrary string
Maxim Vladimirsky [Fri, 25 Jul 2014 17:46:50 +0000 (21:46 +0400)]
Make EmailAddress.display_name to be a arbitrary string
Maxim Vladimirsky [Thu, 24 Jul 2014 08:15:37 +0000 (12:15 +0400)]
Fix doc strings
Maxim Vladimirsky [Tue, 29 Jul 2014 06:02:55 +0000 (10:02 +0400)]
Merge pull request #54 from mailgun/maxim/fix
Allow `Content-Type` header value be of ContentType class
Maxim Vladimirsky [Mon, 28 Jul 2014 10:47:55 +0000 (14:47 +0400)]
Allow `Content-Type` header value be of ContentType class
Maxim Vladimirsky [Mon, 21 Jul 2014 12:42:09 +0000 (16:42 +0400)]
Merge pull request #52 from mailgun/maxim/develop
Make sure that binary part bodies are returned as `string` by FallbackMimePart
Maxim Vladimirsky [Mon, 21 Jul 2014 11:11:58 +0000 (15:11 +0400)]
Make sure that binary part bodies are returned as `string` by FallbackMimePart
Maxim Vladimirsky [Mon, 21 Jul 2014 06:53:53 +0000 (10:53 +0400)]
Merge pull request #50 from mailgun/maxim/tokenizer
Ignore false Content-Type headers in multipart epilogues
Maxim Vladimirsky [Wed, 16 Jul 2014 06:20:52 +0000 (10:20 +0400)]
Fix a typo in the RichPartMixin name
Maxim Vladimirsky [Wed, 16 Jul 2014 14:34:32 +0000 (18:34 +0400)]
Ignore false Content-Type headers
It is ignored in mesage/part bodies as well as in multipart
preambles and epilogues.
Maxim Vladimirsky [Sat, 19 Jul 2014 15:29:43 +0000 (19:29 +0400)]
Merge pull request #51 from mailgun/maxim/develop
Make FallbackHeaders interface match with MimeHeaders
Maxim Vladimirsky [Wed, 16 Jul 2014 06:20:52 +0000 (10:20 +0400)]
Make FallbackHeaders interface match with MimeHeaders
Alex Klizhentas [Wed, 16 Jul 2014 20:56:29 +0000 (13:56 -0700)]
Merge pull request #49 from mailgun/maxim/develop
Make FallbackMimePart interface match with MimePart
Maxim Vladimirsky [Tue, 15 Jul 2014 13:52:20 +0000 (17:52 +0400)]
Make FallbackMimePart interface match with MimePart
To achieve that common functionality has been extracted to
RichPartMixin that is mixed to both classes.
Russell Jones [Fri, 11 Jul 2014 07:20:33 +0000 (00:20 -0700)]
Updated address length check to 1024 characters because many unsubscribe
links were much larger than our old limit (which was already 4x the RFC limit).
New limit is 16x the RFC limit.
Bumped the version of dnsq and expiringdict.
Moved mock and nose from install_requires to tests_require.
Russell Jones [Tue, 8 Jul 2014 07:04:43 +0000 (00:04 -0700)]
Updated MX records for iCloud.
Russell Jones [Fri, 11 Jul 2014 21:02:55 +0000 (14:02 -0700)]
Merge pull request #48 from alex/supports-pypy
Run tests against PyPy as well
Alex Gaynor [Fri, 11 Jul 2014 19:59:24 +0000 (12:59 -0700)]
Run tests against PyPy as well
Russell Jones [Thu, 10 Jul 2014 21:28:19 +0000 (14:28 -0700)]
Merge pull request #42 from mailgun/anton/typo-fix
Fix typo in utils.py
Russell Jones [Thu, 10 Jul 2014 21:27:11 +0000 (14:27 -0700)]
Merge pull request #46 from dreid/travis
Add a very basic .travis.yml that integrates with tox.
David Reid [Thu, 10 Jul 2014 19:57:24 +0000 (12:57 -0700)]
Add a very basic .travis.yml that uses integrates with tox.
Anton Efimenko [Sun, 22 Jun 2014 20:16:22 +0000 (13:16 -0700)]
Fix typo in utils.py
Russell Jones [Tue, 15 Apr 2014 23:01:07 +0000 (16:01 -0700)]
Update Benchmarks.md
Russell Jones [Tue, 15 Apr 2014 22:50:10 +0000 (15:50 -0700)]
Update Benchmarks.md
Russell Jones [Tue, 15 Apr 2014 20:52:37 +0000 (13:52 -0700)]
Version bump.
Russell Jones [Tue, 15 Apr 2014 20:26:02 +0000 (13:26 -0700)]
Merge pull request #39 from mailgun/maxim/develop
Fix display name break down
Maxim Vladimirsky [Tue, 15 Apr 2014 19:16:30 +0000 (12:16 -0700)]
Fix display name break down
Russell Jones [Wed, 12 Mar 2014 00:19:21 +0000 (17:19 -0700)]
Fix (and test coverage) for base64 encoding issue.
Russell Jones [Wed, 12 Mar 2014 00:16:26 +0000 (17:16 -0700)]
Squashed commit of the following:
commit
5543c5ec64841ebbc48ac443c983a824f20bec9f
Author: Sergey Obukhov <sergey.obykhov@mailgunhq.com>
Date: Tue Mar 11 11:57:40 2014 -0700
fix base64 encoding
Maxim Vladimirsky [Tue, 11 Mar 2014 18:25:25 +0000 (11:25 -0700)]
Relax some dependencies
Russell Jones [Fri, 7 Mar 2014 21:34:59 +0000 (13:34 -0800)]
Version bump and manifest fix.
Russell Jones [Fri, 7 Mar 2014 21:33:34 +0000 (13:33 -0800)]
Version bump and manifest fix.
Russell Jones [Fri, 7 Mar 2014 21:31:25 +0000 (13:31 -0800)]
Merge pull request #35 from mailgun/maxim/develop
Fix exception in UrlAddress.hostname for local URLs
Maxim Vladimirsky [Fri, 7 Mar 2014 21:26:27 +0000 (13:26 -0800)]
Fix exception in UrlAddress.hostname for local URLs
Russell Jones [Thu, 6 Mar 2014 00:21:24 +0000 (16:21 -0800)]
Updated manifest to include LICENSE file as well as version bump.
Russell Jones [Thu, 6 Mar 2014 00:17:33 +0000 (16:17 -0800)]
Updated manifest to include LICENSE file and verison number bump.
Russell Jones [Sat, 1 Mar 2014 00:52:11 +0000 (16:52 -0800)]
Merge pull request #34 from streeter/typo-fix
Fix a typo
Chris Streeter [Wed, 26 Feb 2014 14:23:41 +0000 (08:23 -0600)]
Fix a typo
Russell Jones [Thu, 20 Feb 2014 20:05:50 +0000 (12:05 -0800)]
Syntax highlighting in README.
Russell Jones [Thu, 20 Feb 2014 03:29:18 +0000 (19:29 -0800)]
Version bump for dnsq and expiringdict which are correctly licensed.
Russell Jones [Thu, 20 Feb 2014 03:27:24 +0000 (19:27 -0800)]
Updated versions of dnsq and expiringdict to versions that are openly
licensed under Apache 2.0.
Russell Jones [Wed, 12 Feb 2014 21:28:08 +0000 (13:28 -0800)]
Reverting Multidict to Paste and version bump.
Russell Jones [Wed, 12 Feb 2014 21:25:56 +0000 (13:25 -0800)]
Reverting the version of Multidict we use back to Paste. The WebOb
version behaves differently enough to cause problems.
Russell Jones [Wed, 12 Feb 2014 01:41:37 +0000 (17:41 -0800)]
Version bump.
Russell Jones [Wed, 12 Feb 2014 01:40:13 +0000 (17:40 -0800)]
Unpinned regex version on master.
Russell Jones [Fri, 7 Feb 2014 00:58:26 +0000 (16:58 -0800)]
Version number bump.