Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #28948 -- Removed superfluous messages from cookie through bisect. | David Wobrock | 2023-03-27 | 1 | -11/+56 |
| | |||||
* | Refs #28948 -- Precomputed once serialized cookie messages. | David Wobrock | 2023-03-27 | 1 | -13/+42 |
| | | | | | When the cookie size is too long, the same messages were serialized over and over again. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 11 | -78/+123 |
| | |||||
* | Refs #20349 -- Avoided loading testing libraries when not needed. | Collin Anderson | 2022-01-25 | 1 | -1/+1 |
| | |||||
* | Fixed #33458 -- Fixed encoding of messages with empty string as extra_tags. | Timothy McCurrach | 2022-01-24 | 1 | -1/+1 |
| | |||||
* | Fixed #33303 -- Changed messages' level tags on MESSAGE_TAGS setting change. | Hasan Ramezani | 2021-11-26 | 1 | -0/+11 |
| | |||||
* | Refs #32191 -- Removed for the pre-Django 3.2 format of messages in ↵ | Mariusz Felisiak | 2021-09-20 | 1 | -15/+2 |
| | | | | | | CookieStorage. Per deprecation timeline. | ||||
* | Refs #24121 -- Added __repr__() to ChangeList and BaseStorage. | saeedblanchette | 2021-06-07 | 1 | -0/+3 |
| | |||||
* | Fixed #32643 -- Fixed decoding of messages in the pre-Django 3.2 format. | Florian Apolloner | 2021-04-14 | 1 | -1/+2 |
| | | | | | | Thanks Jan Pieter Waagmeester for the report. Regression in 2d6179c819010f6a9d00835d5893c4593c0b85a0. | ||||
* | Refs #32508 -- Raised ImproperlyConfigured instead of using "assert" in ↵ | Daniyal | 2021-03-16 | 1 | -4/+7 |
| | | | | SessionStorage. | ||||
* | Refs #27604 -- Removed support for the pre-Django 3.1 encoding format in ↵ | Mariusz Felisiak | 2021-01-14 | 1 | -26/+1 |
| | | | | | | CookieStorage. Per deprecation timeline. | ||||
* | Fixed #32191 -- Made CookieStorage use RFC 6265 compliant format. | Florian Apolloner | 2021-01-07 | 1 | -8/+22 |
| | | | | Co-authored-by: Craig Smith <hello@craigiansmith.com.au> | ||||
* | Simplified MessageEncoder instantiation with default separators. | Florian Apolloner | 2020-11-20 | 2 | -2/+6 |
| | |||||
* | Fixed #31180 -- Configured applications automatically. | Aymeric Augustin | 2020-07-21 | 1 | -2/+0 |
| | |||||
* | Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in ↵ | Mariusz Felisiak | 2020-07-16 | 1 | -1/+5 |
| | | | | | | | | HttpResponse.delete_cookie(). Cookies with the "SameSite" flag set to None and without the "secure" flag will be soon rejected by latest browser versions. This affects sessions and messages cookies. | ||||
* | Refs #27604 -- Fixed loading of legacy cookie hashes when ↵ | Florian Apolloner | 2020-02-04 | 1 | -1/+5 |
| | | | | | | | CookieStorage.key_salt is changed. This partially reverts bcc9fa25285f506666fa5074fc43c7114d61bb79 to not break legacy hashes when key_salt is actually changed. | ||||
* | Fixed #27604 -- Used the cookie signer to sign message cookies. | Claude Paroz | 2020-02-04 | 1 | -12/+29 |
| | | | | Co-authored-by: Craig Anderson <craiga@craiga.id.au> | ||||
* | Refs #27604 -- Added CookieStorage.key_salt to allow customization. | Claude Paroz | 2020-02-04 | 1 | -2/+2 |
| | |||||
* | Refs #22426 -- Removed pre-Django 1.5 messages compatibility code and test. | Claude Paroz | 2020-01-31 | 1 | -3/+0 |
| | | | This reverts commit f286721f7fdc2202f77a5f4d650d9d0779b86811. | ||||
* | Refs #26601 -- Removed obsolete workarounds for MIDDLEWARE_CLASSES setting. | Sergey Fedoseev | 2019-10-23 | 1 | -2/+1 |
| | |||||
* | Fixed #30651 -- Made __eq__() methods return NotImplemented for not ↵ | ElizabethU | 2019-10-01 | 1 | -2/+3 |
| | | | | | | | | | implemented comparisons. Changed __eq__ to return NotImplemented instead of False if compared to an object of the same type, as is recommended by the Python data model reference. Now these models can be compared to ANY (or other objects with __eq__ overwritten) without returning False automatically. | ||||
* | Removed duplicate words in various comments. | Mariusz Felisiak | 2018-07-18 | 1 | -1/+1 |
| | |||||
* | Fixed #27863 -- Added support for the SameSite cookie flag. | Alex Gaynor | 2018-04-13 | 1 | -0/+1 |
| | | | Thanks Alex Gaynor for contributing to the patch. | ||||
* | Fixed hanging indentation in various code. | Mariusz Felisiak | 2018-03-16 | 1 | -2/+1 |
| | |||||
* | Fixed imports per isort 4.3.0. | Mariusz Felisiak | 2018-02-01 | 1 | -1/+0 |
| | |||||
* | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | 2017-12-11 | 1 | -3/+4 |
| | |||||
* | Fixed typo in MessageMiddleware.process_response() docstring. | Joe Arthur | 2017-10-16 | 1 | -2/+1 |
| | |||||
* | Refs #27857 -- Replaced json.loads() ValueError exception catching with ↵ | Tim Graham | 2017-09-25 | 1 | -1/+1 |
| | | | | JSONDecodeError. | ||||
* | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | 2017-09-07 | 1 | -2/+3 |
| | | | | This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | ||||
* | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | 2017-06-28 | 1 | -3/+2 |
| | |||||
* | Refs #27795 -- Replaced force_text() with str() in contrib.messages | Claude Paroz | 2017-05-10 | 1 | -16/+5 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | 2017-02-07 | 1 | -1/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257. | Anton Samarchyan | 2017-02-04 | 9 | -59/+48 |
| | |||||
* | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | 2017-01-26 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 5 | -6/+6 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 2 | -3/+3 |
| | |||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -2/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -2/+1 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -2/+1 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #27688 -- Made messages' add_message() request check use ducktyping. | Raffaele Salmaso | 2017-01-09 | 1 | -11/+15 |
| | |||||
* | Replaced property() usage with decorator in several places. | Berker Peksag | 2016-08-25 | 1 | -2/+2 |
| | |||||
* | Fixed #26601 -- Improved middleware per DEP 0005. | Florian Apolloner | 2016-05-17 | 2 | -2/+4 |
| | | | | | Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP. | ||||
* | Fixed E128 flake8 warnings in django/. | Tim Graham | 2016-04-08 | 2 | -6/+9 |
| | |||||
* | Used getattr() to simplify contrib.messages.api. | Curtis Maloney | 2015-09-26 | 1 | -2/+2 |
| | |||||
* | Used ternary operator to simplify contrib.messages.api. | GhostThrone | 2015-09-25 | 1 | -8/+2 |
| | |||||
* | Removed translations from contrib.messages | Claude Paroz | 2015-03-18 | 170 | -2237/+0 |
| | | | | | The only one translatable string will be handled in the core catalog. Forward port of 1bb712d79c8d0 from stable/1.8.x | ||||
* | Moved contrib.messages tests out of contrib. | Tim Graham | 2015-02-11 | 9 | -970/+0 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 11 | -25/+29 |
| | |||||
* | Updated en translation catalogs | Claude Paroz | 2015-01-17 | 1 | -2/+2 |
| | | | | Forward port of 666c12e52 from stable/1.8.x |