| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-11-27 | [1.9.x] Fixed #25302 (again) -- Ignored scheme when checking for bad referers. | Aymeric Augustin | |
| The check introduced in 4ce433e was too strict in real life. The poorly implemented bots this patch attempted to ignore are sloppy when it comes to http vs. https. Backport of 11f10b7 from master | |||
| 2015-10-22 | [1.9.x] Fixed "URLconf" spelling in code comments. | Tim Graham | |
| Backport of 37ea3cb03e80de80380009a7a7939bc48d75abe9 from master | |||
| 2015-08-24 | Fixed #25302 -- Prevented BrokenLinkEmailsMiddleware from reporting 404s ↵ | Maxime Lorant | |
| when Referer = URL. | |||
| 2015-07-31 | Fixed #24720 -- Avoided resolving URLs that don't end in a slash twice in ↵ | Jay Cox | |
| CommonMiddleware. This speeds up affected requests by about 5%. | |||
| 2015-07-06 | Fixed some unclosed objects in tests | Andriy Sokolovskiy | |
| 2015-06-27 | Removed unused code after refs #25017. | Tim Graham | |
| 2015-06-27 | Fixed #25017 -- Allowed customizing the DISALLOWED_USER_AGENTS response | sujayskumar | |
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-04-21 | Fixed #24681 -- Removed Unicode bug in BrokenLinkEmailMiddleware | Oliver A Bristow | |
| 2015-03-26 | Rephrased docstrings to assertions and added querystring test. | Bas Peschier | |
| 2015-03-18 | Fixed #23960 -- Removed http.fix_location_header | Claude Paroz | |
| Thanks Carl Meyer for the report and Tim Graham for the review. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2015-02-03 | Fixed #24240 -- Allowed GZipping a Unicode StreamingHttpResponse | Matthew Somerville | |
| make_bytes() assumed that if the Content-Encoding header is set, then everything had already been dealt with bytes-wise, but in a streaming situation this was not necessarily the case. make_bytes() is only called when necessary when working with a StreamingHttpResponse iterable, but by that point the middleware has added the Content-Encoding header and thus make_bytes() tried to call bytes(value) (and dies). If it had been a normal HttpResponse, make_bytes() would have been called when the content was set, well before the middleware set the Content-Encoding header. This commit removes the special casing when Content-Encoding is set, allowing unicode strings to be encoded during the iteration before they are e.g. gzipped. This behaviour was added a long time ago for #4969 and it doesn't appear to be necessary any more, as everything is correctly made into bytes at the appropriate places. Two new tests, to show that supplying non-ASCII characters to a StreamingHttpResponse works fine normally, and when passed through the GZip middleware (the latter dies without the change to make_bytes()). Removes the test with a nonsense Content-Encoding and Unicode input - if this were to happen, it can still be encoded as bytes fine. | |||
| 2015-01-29 | Fixed #24145 -- Added PUT & PATCH to CommonMiddleware APPEND_SLASH redirect ↵ | Samuel Colvin | |
| error. | |||
| 2015-01-05 | Fixed #24072 -- Added FileResponse for streaming binary files. | Collin Anderson | |
| 2014-12-29 | Converted middleware tests to use RequestFactory. | Berker Peksag | |
| 2014-12-13 | Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range | Michael Hall | |
| 2014-11-13 | Fixed #23806 -- Added a test case for settings.DISALLOWED_USER_AGENTS. | Sean Wang | |
| 2014-11-04 | Fixed #23531 -- Added CommonMiddleware.response_redirect_class. | Berker Peksag | |
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-09-12 | Fixed #17101 -- Integrated django-secure and added check --deploy option | Tim Graham | |
| Thanks Carl Meyer for django-secure and for reviewing. Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and Jorge Carleitao for reviews. | |||
| 2014-08-12 | Fixed #23276 -- Deprecated passing views as strings to url(). | Tim Graham | |
| 2014-06-13 | Fixed #22440 -- Updated ConditionalGetMiddleware to comply with RFC 2616. | Mark Lavin | |
| 2014-06-10 | Fixed #17552 -- Removed a hack for IE6 and earlier. | Aymeric Augustin | |
| It prevented the GZipMiddleware from compressing some data types even on more recent version of IE where the corresponding bug was fixed. Thanks Aaron Cannon for the report and Tim Graham for the review. | |||
| 2014-05-25 | Removed executeable bit from a few files. | Florian Apolloner | |
| 2014-04-23 | Fixed #21157 -- Fixed problems with ResolverMatch | Kevin Christopher Henry | |
| - Fixed bug in get_callable() that caused resolve() to put a string in ResolverMatch.func. - Made ResolverMatch.url_name match the actual url name (or None). - Updated tests that used the string value in ResolverMatch.func, and added regression tests for this bug. - Corrected test urls whose dummy view paths caused failures (behavior that was previously masked by this bug). | |||
| 2014-04-06 | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | |
| 2014-04-03 | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | |
| Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | |||
| 2014-03-21 | Removed legacy transaction management per the deprecation timeline. | Aymeric Augustin | |
| 2014-03-21 | Removed settings.SEND_BROKEN_LINK_EMAILS per deprecation timeline. | Tim Graham | |
| 2014-03-08 | Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings | Claude Paroz | |
| Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | |||
| 2014-01-14 | Fixed #21774 -- Isolate all test urls from eachother. | Marc Tamlyn | |
| This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose. | |||
| 2013-12-23 | Imported override_settings from its new location. | Aymeric Augustin | |
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-02 | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | |
| 2013-10-23 | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | |
| 2013-10-18 | Fixed #21268 -- Fixed E303 pep8 warnings | Alasdair Nicol | |
| 2013-07-29 | Removed most of absolute_import imports | Claude Paroz | |
| Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||
| 2013-07-01 | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | |
| Refs #20680. | |||
| 2013-06-29 | Advanced deprecation warnings for Django 1.7. | Aymeric Augustin | |
| 2013-06-10 | Defined available_apps in relevant tests. | Aymeric Augustin | |
| Fixed #20483. | |||
| 2013-05-25 | Fixed #20099 -- Eased subclassing of BrokenLinkEmailsMiddleware | Claude Paroz | |
| Thanks Ram Rachum for the report and the initial patch, and Simon Charette for the review. | |||
| 2013-05-18 | Moved IgnorePendingDeprecationWarningsMixin in django.test.utils. | Aymeric Augustin | |
| This mixin is useful whenever deprecating a large part of Django. | |||
| 2013-05-18 | Fixed #20356 -- Prevented crash when HTTP_REFERER contains non-ascii | Claude Paroz | |
| Thanks srusskih for the report and Aymeric Augustin for the review. | |||
| 2013-03-11 | Fixed tests that relied on MANAGERS not being empty. | Aymeric Augustin | |
| Regression in d0561242. | |||
| 2013-03-11 | Removed a test that no longer makes any sense. | Aymeric Augustin | |
| Since unmanaged == autocommit, there's nothing to commit or roll back. | |||
| 2013-03-11 | Added some assertions to enforce the atomicity of atomic. | Aymeric Augustin | |
| 2013-03-11 | Deprecated transaction.is_managed(). | Aymeric Augustin | |
| It's synchronized with the autocommit flag. | |||
| 2013-03-11 | Enabled autocommit for PostgreSQL. | Aymeric Augustin | |
| For users who didn't activate autocommit in their database options, this is backwards-incompatible in "non-managed" aka "auto" transaction state. This state now uses database-level autocommit instead of ORM-level autocommit. Also removed the uses_autocommit feature which lost its purpose. | |||
