Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #17133 -- Properly handled successive slashes in ↵ | Claude Paroz | 2015-10-23 | 1 | -0/+16 |
| | | | | | | incoming requests Thanks gjanee@ucop.edu for the report and Tim Graham for the review. | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -3/+18 |
| | |||||
* | Fixed #25099 -- Fixed crash in AdminEmailHandler on ↵ | Vlastimil Zíma | 2015-09-04 | 1 | -0/+12 |
| | | | | DisallowedHost. | ||||
* | Fixed #25211 -- Added HttpRequest.get_port() and ↵ | Matt Robenolt | 2015-08-04 | 1 | -0/+32 |
| | | | | USE_X_FORWARDED_PORT setting. | ||||
* | Fixed #25099 -- Cleaned up HttpRequest representations ↵ | Vlastimil Zíma | 2015-07-14 | 1 | -23/+1 |
| | | | | in error reporting. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -5/+7 |
| | |||||
* | Fixed typos in code comments. | Adam Taylor | 2015-01-20 | 1 | -1/+1 |
| | |||||
* | Fixed #24153 -- Fixed cookie test compatibility with ↵ | Tim Graham | 2015-01-19 | 1 | -1/+2 |
| | | | | Python 3.4.3+ | ||||
* | Fixed #23450 -- Fixed transient failure of ↵ | Tim Graham | 2014-12-30 | 1 | -1/+5 |
| | | | | requests...test_far_expiration. | ||||
* | Fixed #12098 -- Simplified HttpRequest.__repr__(). | Berker Peksag | 2014-11-20 | 1 | -5/+18 |
| | |||||
* | Fixed #23620 -- Used more specific assertions in the ↵ | Berker Peksag | 2014-11-03 | 1 | -1/+1 |
| | | | | Django test suite. | ||||
* | Fixed #18456 -- Added path escaping to ↵ | Unai Zalakain | 2014-11-03 | 1 | -0/+13 |
| | | | | HttpRequest.get_full_path(). | ||||
* | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵ | Thomas Chaumeny | 2014-09-28 | 1 | -1/+1 |
| | | | | | | 3282. Thanks Collin Anderson for the review. | ||||
* | Fixed #19802 -- Fixed HttpResponse.set_cookie() with ↵ | qingfeng | 2014-08-03 | 1 | -0/+8 |
| | | | | | | unicode data on Python 2. Thanks django at patrickbregman.eu for the report. | ||||
* | Updated tests per previous commit. | Tim Graham | 2014-07-06 | 1 | -2/+2 |
| | |||||
* | Fixed #22799 -- Made GET and POST on HttpRequest ↵ | Duncan Parkes | 2014-06-25 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | QueryDicts, and FILES a MultiValueDict. Previously, GET, POST, and FILES on an HttpRequest were created in the __init__ method as dictionaries. This was not something you would usually notice causing trouble in production as you'd only see a WSGIRequest, but in testing using the test client, calling .getlist on GET, POST, or FILES for a request with no get/post data resulted in an AttributeError. Changed GET and POST on an HttpRequest object to be mutable QueryDicts (mutable because the Django tests, and probably many third party tests, were expecting it). | ||||
* | Fixed #18314 -- Corrected request.build_absolute_uri() ↵ | Unai Zalakain | 2014-06-07 | 1 | -1/+62 |
| | | | | | | | | | | | handling of paths starting with // ``HttpRequest.build_absolute_uri()`` now correctly handles paths starting with ``//``. ``WSGIRequest`` now doesn't remove all the leading slashes either, because ``http://test/server`` and http://test//server`` aren't the same thing (RFC2396). Thanks to SmileyChris for the initial patch. | ||||
* | Removed legacy transaction management per the ↵ | Aymeric Augustin | 2014-03-21 | 1 | -61/+1 |
| | | | | deprecation timeline. | ||||
* | Corrected a few missed references to old test settings | Shai Berger | 2014-03-09 | 1 | -1/+1 |
| | |||||
* | Make mysql's CursorWrapper a contextmanager. | Michael Manfre | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Ensure cursors are closed when no longer needed. | Michael Manfre | 2014-02-02 | 1 | -1/+1 |
| | | | | | | This commit touchs various parts of the code base and test framework. Any found usage of opening a cursor for the sake of initializing a connection has been replaced with 'ensure_connection()'. | ||||
* | Imported override_settings from its new location. | Aymeric Augustin | 2013-12-23 | 1 | -2/+2 |
| | |||||
* | Removed superfluous models.py files. | Aymeric Augustin | 2013-12-17 | 1 | -1/+0 |
| | | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module. | ||||
* | Fixed #21447 -- Restored code erroneously removed in ↵ | Baptiste Mispelon | 2013-11-16 | 1 | -0/+16 |
| | | | | | | | | | | | 20472aa827669d2b83b74e521504e88e18d086a1. Also added some tests for HttpRequest.__repr__. Note that the added tests don't actually catch the accidental code removal (see ticket) but they do cover a codepath that wasn't tested before. Thanks to Tom Christie for the report and the original patch. | ||||
* | Fixed all E226 violations | Alex Gaynor | 2013-11-03 | 1 | -1/+1 |
| | |||||
* | Fixed all E261 warnings | coagulant | 2013-11-02 | 1 | -5/+5 |
| | |||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -2/+1 |
| | |||||
* | Fixed #20338 -- Stripped ending dot during host validation | Claude Paroz | 2013-10-24 | 1 | -1/+3 |
| | | | | Thanks manfre for the report and Timo Graham for the review. | ||||
* | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | 2013-10-23 | 1 | -0/+1 |
| | |||||
* | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | 2013-10-21 | 1 | -24/+24 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -3/+3 |
| | |||||
* | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -1/+1 |
| | |||||
* | Fixed #21268 -- Fixed E303 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -1/+0 |
| | |||||
* | Fixed #16822 -- Added RawPostDataException | Tim Graham | 2013-10-08 | 1 | -3/+4 |
| | | | | Thanks jaylett for the patch. | ||||
* | Removed unneeded imports in tests's __init__.py and ↵ | Florian Apolloner | 2013-09-09 | 1 | -3/+0 |
| | | | | unified them. | ||||
* | Took advantage of django.utils.six.moves.urllib.*. | Aymeric Augustin | 2013-09-05 | 1 | -2/+2 |
| | |||||
* | Fixed #19987 -- Disabled host validation when DEBUG=True. | Will Hardy | 2013-07-31 | 1 | -0/+16 |
| | | | | | | | | | | | The documentation promises that host validation is disabled when DEBUG=True, that all hostnames are accepted. Domains not compliant with RFC 1034/1035 were however being validated, this validation has now been removed when DEBUG=True. Additionally, when DEBUG=False a more detailed SuspiciousOperation exception message is provided when host validation fails because the hostname is not RFC 1034/1035 compliant. | ||||
* | Isolated host validation tests in own test case | Claude Paroz | 2013-07-13 | 1 | -215/+202 |
| | |||||
* | Fixed #20724 -- Test failure on SQLite. | Aymeric Augustin | 2013-07-09 | 1 | -1/+1 |
| | | | | | | | This test failure happened if the connection's NAME was set to a file system path, and its TEST_NAME wasn't. Thanks Claude for the report. | ||||
* | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | 2013-07-01 | 1 | -3/+3 |
| | | | | Refs #20680. | ||||
* | Defined available_apps in relevant tests. | Aymeric Augustin | 2013-06-10 | 1 | -0/+2 |
| | | | | Fixed #20483. | ||||
* | Fixed #18481 -- Wrapped request.FILES read error in ↵ | Claude Paroz | 2013-06-01 | 1 | -0/+18 |
| | | | | | | | UnreadablePostError Thanks KyleMac for the report, André Cruz for the initial patch and Hiroki Kiyohara for the tests. | ||||
* | Made test introduced in 566e284c pass on Python 3. | Aymeric Augustin | 2013-05-18 | 1 | -7/+7 |
| | |||||
* | Added test for multipart, non form-data POST. | Senko Rasic | 2013-05-18 | 1 | -2/+25 |
| | | | | Closes #9054. The bug itself is no longer present. | ||||
* | Fixed #20038 -- Better error message for host validation. | Baptiste Mispelon | 2013-04-03 | 1 | -4/+54 |
| | |||||
* | Fixed #20169 -- Ensured that the WSGI request's path is ↵ | Julien Phalip | 2013-04-01 | 1 | -0/+38 |
| | | | | correctly based on the `SCRIPT_NAME` environment parameter or the `FORCE_SCRIPT_NAME` setting, regardless of whether or not those have a trailing slash. Thanks to bmispelon for the review. | ||||
* | Made transaction.managed a no-op and deprecated it. | Aymeric Augustin | 2013-03-11 | 1 | -2/+0 |
| | | | | | | | | | | | | | | enter_transaction_management() was nearly always followed by managed(). In three places it wasn't, but they will all be refactored eventually. The "forced" keyword argument avoids introducing behavior changes until then. This is mostly backwards-compatible, except, of course, for managed itself. There's a minor difference in _enter_transaction_management: the top self.transaction_state now contains the new 'managed' state rather than the previous one. Django doesn't access self.transaction_state in _enter_transaction_management. | ||||
* | Fixed tests broken in 2ee21d9. | Aymeric Augustin | 2013-02-28 | 1 | -14/+29 |
| | |||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+594 |