summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-07-01[1.11.x] Fixed CVE-2019-12781 -- Made HttpRequest always trust ↵Carlton Gibson
SECURE_PROXY_SSL_HEADER if set. An HTTP request would not be redirected to HTTPS when the SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings were used if the proxy connected to Django via HTTPS. HttpRequest.scheme will now always trust the SECURE_PROXY_SSL_HEADER if set, rather than falling back to the request scheme when the SECURE_PROXY_SSL_HEADER did not have the secure value. Thanks to Gavin Wahl for the report and initial patch suggestion, and Shai Berger for review. Backport of 54d0f5e62f54c29a12dd96f44bacd810cbe03ac8 from master.
2019-06-30[1.11.x] Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database.Mariusz Felisiak
Backport of 4305fbe8b11f44ab5d6759346488026c1e9677b2 from master.
2019-06-03[1.11.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL ↵Carlton Gibson
before rendering clickable link. Backport of deeba6d92006999fee9adfbd8be79bf0a59e8008 from master.
2019-04-05[1.11.x] Refs #30331 -- Doc'd that psycopg2 < 2.8 is required.Mariusz Felisiak
Backport of 0a8617a5b1cac7063f30e4d8ff4ea4c30748f7b8 from stable/2.1.x.
2019-03-20[1.11.x] Fixed serializers test crash if PyYAML isn't installed.Tim Graham
Follow up to a57c783dd4e6dc73847081221827a1902eede88b. Backport of 55490ac7469a3647ce163bee323f7fe4a06fcaa6 from master
2019-03-14[1.11.x] Fixed serializers tests for PyYAML 5.1+.Mariusz Felisiak
Backport of a57c783dd4e6dc73847081221827a1902eede88b from master
2019-03-03[1.11.x] Reverted "Fixed relative paths imports per isort 4.3.5."Mariusz Felisiak
This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10. Backport of b435f82939edf70674856e0e1cd63973c2e0a1d1 from master.
2019-02-25[1.11.x] Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master.
2019-02-14[1.11.x] Fixed E117 flake8 warnings.Tim Graham
2019-02-11[1.11.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in ↵Carlton Gibson
utils.numberformat.format(). Thanks Sjoerd Job Postmus for the report and initial patch. Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review. Backport of 402c0caa851e265410fbcaa55318f22d2bf22ee2 from master.
2019-01-03[1.11.x] Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in ↵Tom Hacohen
the default 404 page. Co-Authored-By: Tim Graham <timograham@gmail.com> Backport of 1ecc0a395be721e987e8e9fdfadde952b6dee1c7 from master.
2019-01-02[1.11.x] Pinned Pillow != 5.4.0 in test requirements.Tim Graham
There's a bug that causes a test failure in forms_tests: https://github.com/python-pillow/Pillow/pull/3501/files#r244651761. Backport of e4a714b259125423059b9f65f5e0ab70d78521ba from master.
2018-12-27[1.11.x] Fixed broken links to PyYAML page.CHI Cheng
Backport of b7dbd5ff68bb9d2235ca081c0bd0b8baa65f8c77 from master.
2018-12-05[1.11.x] Refs #30013 -- Doc'd that mysqlclient 1.3.14 and later isn't supported.Tim Graham
2018-11-17[1.11.x] Refs #28814 -- Fixed test_runner failure on Python 3.7.Tim Graham
Due to https://bugs.python.org/issue30399. Backport of 9d1d3b2d2fe0bef995b024368088eeabbdf73629 from master
2018-11-10[1.11.x] Removed obsolete and flaky GeoIP tests.Tom Forbes
Backport of 8f90593e6f8197148c8f86e598bfef6792f3f4bf from master.
2018-09-18[1.11.x] Refs #29759 -- Doc'd that cx_Oracle < 7 is required.Mariusz Felisiak
Backport of 7085247e2fd1ad8b08103173a23ca730784765a3 from stable/2.0.x
2018-08-03[1.11.x] Refs #29499 -- Skipped QuerySet.update_or_create() test that fails ↵Tim Graham
on MySQL.
2018-08-02[1.11.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().Michael Sanders
A race condition happened when the object didn't already exist and another process/thread created the object before update_or_create() did and then attempted to update the object, also before update_or_create() saved the object. The update by the other process/thread could be lost. Backport of 271542dad1686c438f658aa6220982495db09797 from master
2018-07-25[1.11.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in ↵Andreas Hug
CommonMiddleware.
2018-06-07[1.11.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.Adam Donaghy
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36. Backport of b18650a2634890aa758abae2f33875daa13a9ba3 from master
2018-06-02[1.11.x] Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.Tim Graham
Backport of 666be7b9942611d5c0f5e485c448f219cd5a1ad5 from master
2018-06-01[1.11.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.Tim Graham
Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
2018-05-31[1.11.x] Refs #28257 -- Updated a test for GDAL 2.2Claude Paroz
Partial backport of 28627608945ddc3f59fb6a011a4eb363d8020e83 from master
2018-04-17[1.11.x] Fixed a test failure with the latest GeoIP databases.Tim Graham
Backport of 7a22d9f75125e3cfbea0979a876efe4634f6fe05 from master
2018-04-14[1.11.x] Added isolated_local_models support to schema tests.Tim Graham
Follow up to 46496a542c2ff9f273e090073e9c8071acb1a4a4, which otherwise has no effect. Partial backport of 9f7772e098439f9edea3d25ab127539fc514eeb2 from master
2018-04-13[1.11.x] Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() ↵Mariusz Felisiak
or values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection(). Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf. Thanks Tim Graham and Carlton Gibson for reviews. Backport of 0b66c3b442875627fa6daef4ac1e90900d74290b from master.
2018-04-12[1.11.x] Fixed schema test failure when running tests in reverse.Tim Graham
Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528. Backport of 78f8b80f9b215e50618375adce4c97795dabbb84 from master
2018-04-12[1.11.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a ↵Paul Donohue
callable object. Backport of 33a0b7ac815588ed92dca215e153390af8bdbdda from master
2018-04-11[1.11.x] Fixed #29193 -- Prevented unnecessary foreign key drops when ↵Jeremy Bowman
altering a unique field. Stopped dropping and recreating foreign key constraints on other fields in the same table as the one which is actually being altered in an AlterField operation. Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0. Backport of ee17bb8a67a9e7e688da6e6f4b3be1b3a69c09b0 from master
2018-04-11[1.11.x] Tested altering a unique field when a reverse M2M relation exists.Jeremy Bowman
Backport of 003334f8af29e2023cf7ad7d080aa9ab26a7c528 from master
2018-04-02[1.11.x] Fixed #29273 -- Prevented initial selection of empty choice in ↵Claude Paroz
multiple choice widgets. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of f3b69f9757ec03057441ebbd52b7cdbfed31fb32 from master.
2018-03-19[1.11.x] Fixed #29229 -- Fixed column mismatch crash when combining two ↵Amr Anwar
annotated values_list() querysets with union(), difference(), or intersection(). Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e. Backport of a0c03c62a8ac586e5be5b21393c925afa581efaf from master
2018-02-27[1.11.x] Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in ↵Tim Graham
django.utils.text.Truncator. Thanks James Davis for suggesting the fix.
2018-02-27[1.11.x] Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize ↵Tim Graham
and urlizetrunc template filters. Thanks Florian Apolloner for assisting with the patch.
2018-02-20[1.11.x] Switched test requirement to new psycopg2-binary package.Tim Graham
Backport of d4373b6da4b420fe9211438addeedb396a3821be from master
2018-02-20[1.11.x] Removed blank lines per isort 4.3.0.Tim Graham
2018-02-01[1.11.x] Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.Tim Graham
Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (refs #28645). This is a security fix.
2018-02-01[1.11.x] Fixed #29094 -- Fixed crash when entering an invalid uuid in ↵Tim Graham
ModelAdmin.raw_id_fields. Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89. Thanks Carel Burger for the report and fix. Backport of docs552abffab16cbdff571486b683e7e7ef12e46066 from master
2018-01-31[1.11.x] Fixed #29071 -- Fixed contrib.auth.authenticate() crash if a ↵Tim Graham
backend doesn't accept a request but a later one does. Regression in a3ba2662cdaa36183fdfb8a26dfa157e26fca76a. Backport of 55e16f25e9d2050e95e448f9ab2e4b9fc845a9e5 from stable/2.0.x
2018-01-13[1.11.x] Fixed #29016 -- Fixed incorrect foreign key nullification on ↵Étienne Loks
related instance deletion. Backport of 9a621edf624a4eb1f1645fca628a9e432f0de776 from master
2018-01-10[1.11.x] Fixed a GeoIP2 test failure with the latest GeoIP2 database.Tim Graham
Backport of 66d74676e23c32bc676fb0706af8580b391953b6 from master
2018-01-08[1.11.x] Fixed GeoIP test failure with the latest data.Tim Graham
2017-12-18[1.11.x] Fixed #25277 -- Restored test dependency to the original ↵Tim Graham
python-memcached. Backport of 770b9ea77fb5e39d616e62b54c06755e6d4f4d36 from master
2017-12-07[1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a ↵Morgan Wahl
model that uses more than one level of MTI.
2017-12-05[1.11.x] Refs #28876 -- Fixed incorrect foreign key constraint name for ↵Mariusz Felisiak
models with quoted db_table. Thanks Simon Charette and Tim Graham for the review and Carlos E. C. Leite for the report. Backport of fc48047586a8f92262f55d9d2bfb976325844b23 from master
2017-12-05[1.11.x] Refs #28876 -- Fixed incorrect class-based model index name ↵Mariusz Felisiak
generation for models with quoted db_table. Thanks Simon Charette and Tim Graham for the review and Carlos E. C. Leite for the report. Backport of f79d9a322c6008e5fada1453aebfb56afc316cc8 from master
2017-12-05[1.11.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.Nick Pope
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of e014f91a70aa3ccdddb363a733c76e35597424fa from master
2017-12-01[1.11.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign ↵Tim Graham
key constraint" crash on MySQL with a sequence of AlterField or RenameField operations. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9. Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 from master
2017-11-30[1.11.x] Fixed #28856 -- Fixed a regression in caching of a ↵Simon Charette
GenericForeignKey pointing to a MTI model. Regression in b9f8635f58ad743995cad2081b3dc395e55761e5. Backport of d31424fec1a3de9d281535c0503644a9d7b93c63 from stable/2.0.x