Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated documentation and comments for RFC updates. | Nick Pope | 2022-11-10 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | - Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -79/+121 |
| | |||||
* | Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.core. | Daniyal | 2021-03-19 | 1 | -5/+9 |
| | |||||
* | Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, 3.7.8+, ↵ | Florian Apolloner | 2020-07-20 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | and 3.8.4+. Fixed sending emails crash on email addresses with display names longer then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+. Wrapped display names were passed to email.headerregistry.Address() what caused raising an exception because address parts cannot contain CR or LF. See https://bugs.python.org/issue39073 Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed E128, E741 flake8 warnings. | Mariusz Felisiak | 2020-05-12 | 1 | -2/+2 |
| | |||||
* | Corrected several typos in string literals and test names. | Min ho Kim | 2019-08-07 | 1 | -1/+1 |
| | |||||
* | Refs #30608 -- Added django.utils.encoding.punycode(). | Mariusz Felisiak | 2019-07-03 | 1 | -5/+2 |
| | |||||
* | Fixed #30512 -- Used email.headerregistry.parser for parsing emails in ↵ | Joachim Jablon | 2019-06-13 | 1 | -45/+33 |
| | | | | sanitize_address(). | ||||
* | Refs #27753 -- Favored force/smart_str() over force/smart_text(). | Aymeric Augustin | 2019-02-06 | 1 | -2/+2 |
| | |||||
* | Fixed #29830 -- Fixed loss of custom utf-8 body encoding in mails. | jannschu | 2018-10-22 | 1 | -1/+1 |
| | |||||
* | Ref #23919 -- Replaced some os.path usage with pathlib.Path. | Tom | 2018-04-19 | 1 | -5/+4 |
| | |||||
* | Fixed hanging indentation in various code. | Mariusz Felisiak | 2018-03-16 | 1 | -2/+1 |
| | |||||
* | Fixed #29140 -- Fixed EmailMessage crash when body is None. | Williams Mendez | 2018-02-20 | 1 | -1/+1 |
| | |||||
* | Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵ | Дилян Палаузов | 2018-01-12 | 1 | -3/+2 |
| | | | | continue statements. | ||||
* | Fixed #28982 -- Simplified code with and/or. | Дилян Палаузов | 2018-01-03 | 1 | -5/+1 |
| | |||||
* | Fixed #28912 -- Made EmailMessage.message() omit an empty To header. | Jon Dufresne | 2017-12-30 | 1 | -2/+2 |
| | |||||
* | Fixed #28971 -- Made EmailMessage.message() set Cc from headers dict if it ↵ | Jon Dufresne | 2017-12-30 | 1 | -4/+14 |
| | | | | exists. | ||||
* | Fixed #26344 -- Made EmailMessage include alternatives when the body is ↵ | Igor Tokarev | 2017-09-04 | 1 | -1/+1 |
| | | | | empty and it has attachments. | ||||
* | Replaced some map() and filter() calls with generators. | Tom | 2017-05-27 | 1 | -2/+2 |
| | |||||
* | Refs #28196 -- Removed mentions of bytestrings for EmailMessage | Claude Paroz | 2017-05-14 | 1 | -8/+0 |
| | | | | | With Python 3, there are no more reasons to special-case EmailMessage arguments which should be plain strings. | ||||
* | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | 2017-04-27 | 1 | -5/+5 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's ↵ | kalombo | 2017-04-07 | 1 | -1/+7 |
| | | | | attachments arg. | ||||
* | Fixed #27848 -- Prevented crash when attaching a .eml file to a message | Claude Paroz | 2017-04-01 | 1 | -1/+1 |
| | | | | Thanks Sébastien Ramage for the report. | ||||
* | Refs #27656 -- Updated django.core docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-21 | 1 | -20/+17 |
| | |||||
* | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | 2017-02-09 | 1 | -2/+2 |
| | |||||
* | Removed unneeded parentheses in class definitions | Claude Paroz | 2017-01-29 | 1 | -1/+1 |
| | |||||
* | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | 2017-01-26 | 1 | -4/+4 |
| | |||||
* | Refs #23919 -- Removed misc Python 2/3 references. | Tim Graham | 2017-01-25 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed unneeded str() calls | Claude Paroz | 2017-01-20 | 1 | -1/+1 |
| | |||||
* | Fixed #23905, refs #23919 -- Used make_msgid() from stdlib. | Tim Graham | 2017-01-19 | 1 | -32/+1 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -3/+2 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -5/+5 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | 2017-01-18 | 1 | -31/+15 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #27696 -- Measured email long lines on encoded content | Claude Paroz | 2017-01-06 | 1 | -1/+4 |
| | | | | Thanks Pavel Pokrovskiy for the report and Tim Graham for the review. | ||||
* | Fixed #27469 -- Prevented sending email to empty addresses | Claude Paroz | 2016-11-10 | 1 | -1/+1 |
| | | | | Thanks Jarek Glowacki for the report. | ||||
* | Fixed #27333 -- Prevented BASE64 encoding in message.as_string() on Python 3 | Claude Paroz | 2016-10-12 | 1 | -20/+9 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #27007 -- Handled non-UTF-8 bytes objects for text/* attachments. | Michael Schwarz | 2016-08-12 | 1 | -28/+29 |
| | | | | | | | | | | | | | | The fallback logic which allows non-UTF-8 encoded files to be passed to attach_file() even when a `text/*` mime type has been specified is moved to attach(). Both functions now fall back to a content type of `application/octet-stream`. A side effect is that a file's content is decoded in memory instead of opening it in text mode and reading it into a string. Some mimetype-related logic in _create_attachment() has become obsolete as the code moved from attach_file() to attach() already handles this. | ||||
* | Fixed #26802 -- Prevented crash when attaching bytes as text message | Claude Paroz | 2016-07-08 | 1 | -2/+6 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #12666 -- Added EMAIL_USE_LOCALTIME setting. | Anton I. Sipos | 2016-06-04 | 1 | -1/+5 |
| | | | | | When EMAIL_USE_LOCALTIME=True, send emails with a Date header in the local time zone. | ||||
* | Fixed #26580 -- Updated references to obsolete RFC 2822. | Vasiliy Faronov | 2016-05-10 | 1 | -1/+1 |
| | | | | | Didn't rename django.utils.feedgenerator.rfc2822_date() as some external code may rely on it. | ||||
* | Fixed #25986 -- Fixed crash sending email with non-ASCII in local part of ↵ | Sergei Maertens | 2016-05-06 | 1 | -9/+53 |
| | | | | | | | | the address. On Python 3, sending emails failed for addresses containing non-ASCII characters due to the usage of the legacy Python email.utils.formataddr() function. This is fixed by using the proper Address object on Python 3. | ||||
* | Fixed #22561 -- Prevented too long lines in email messages | Claude Paroz | 2016-04-19 | 1 | -1/+8 |
| | | | | Thanks NotSqrt for the excellent report and Tim Graham for the review. | ||||
* | Fixed E128 flake8 warnings in django/. | Tim Graham | 2016-04-08 | 1 | -4/+3 |
| | |||||
* | Fixed #24623 -- Fixed EmailMessage.attach_file() with text files on Python 3. | Konrad Świat | 2015-07-25 | 1 | -3/+29 |
| | | | | Thanks tkrapp for the report and Tim Graham for the review. | ||||
* | Replaced six.BytesIO with io.BytesIO | Tim Graham | 2015-07-20 | 1 | -1/+2 |
| | |||||
* | Removed support for Python 3.3. | Tim Graham | 2015-06-18 | 1 | -8/+1 |
| | |||||
* | Fixed #24416 -- Added support for lazy email addresses. | medmunds | 2015-03-13 | 1 | -4/+4 |
| |