summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-03-20[2.0.x] Fixed serializers test crash if PyYAML isn't installed.Tim Graham
Follow up to a57c783dd4e6dc73847081221827a1902eede88b. Backport of 55490ac7469a3647ce163bee323f7fe4a06fcaa6 from master
2019-03-14[2.0.x] Fixed serializers tests for PyYAML 5.1+.Mariusz Felisiak
Backport of a57c783dd4e6dc73847081221827a1902eede88b from master
2019-03-03[2.0.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[2.0.x] Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master.
2019-02-11[2.0.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.
2019-01-03[2.0.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[2.0.x] Added __init__.py for db_utils tests.Tim Graham
Backport of b5fe97a34ea527d4254b58c2e828450e7c32157f from master.
2019-01-02[2.0.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[2.0.x] Fixed broken links to PyYAML page.CHI Cheng
Backport of b7dbd5ff68bb9d2235ca081c0bd0b8baa65f8c77 from master.
2018-12-20[2.0.x] Removed unused imports in tests/test_runner/tests.py.Tim Graham
2018-12-17[2.0.x] Fixed #30023 -- Prevented SQLite schema alterations while foreign ↵Simon Charette
key checks are enabled. Prior to this change foreign key constraint references could be left pointing at tables dropped during operations simulating unsupported table alterations because of an unexpected failure to disable foreign key constraint checks. SQLite3 does not allow disabling such checks while in a transaction so they must be disabled beforehand. Thanks ezaquarii for the report and Carlton and Tim for the review. Backport of 315357ad25a6590e7f4564ec2e56a22132b09001 from master.
2018-12-05[2.0.x] Refs #30013 -- Doc'd that mysqlclient 1.3.14 and later isn't supported.Tim Graham
2018-11-10[2.0.x] Removed obsolete and flaky GeoIP tests.Tom Forbes
Backport of 8f90593e6f8197148c8f86e598bfef6792f3f4bf from master.
2018-09-18[2.0.x] Refs #29759 -- Doc'd that cx_Oracle < 7 is required.Mariusz Felisiak
2018-08-02[2.0.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-31[2.0.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in ↵Andreas Hug
CommonMiddleware.
2018-07-31[2.0.x] Fixed #29617 -- Fixed Template crash if template_string is lazy.Dražen Odobašić
Regression in 3a148f958dddd97c1379081118c30fbede6b6bc4. Backport of 9f3b9ffd51c71d96728df9ee16f5a57c6f3b315d from master.
2018-07-06[2.0.x] Refs #29451 -- Fixed test_isvalid_lookup on MySQL 8+.Tom
Backport of f98e1c01eafa724cb87772ae03b3fd1158e9fd50 from master
2018-06-25[2.0.x] Reverted "Fixed #29511 -- Added charset to JavaScriptCatalog's ↵Tim Graham
Content-Type header." This reverts commit 8e082a6e0b63a1cfdb0bc7b2835c6447123aa239 as it doesn't qualify for a backport.
2018-06-22[2.0.x] Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type ↵Tim Graham
header. Backport of 7cdeb23ae7ef2d125276840ff298dbb9683959f2 from master
2018-06-20[2.0.x] Refs #29451 -- Fixed invalid SQL on MySQL in queries tests.Carlton Gibson
Backport of c4f099de1d0d82c5e1f88768300896eae69bddbd from master
2018-06-15[2.0.x] Refs #29428 -- Fixed admin check crash when using a query expression ↵Tim Graham
in ModelAdmin.ordering. Backport of ec2c9c353113bb1db6e32ed3f0b6c28bc06ca2eb from master
2018-06-15[2.0.x] Fixed #29428 -- Fixed admin changelist crash when using a query ↵Tim Graham
expression without asc()/desc() in the ordering. Backport of 0d8e3e608ee9aab5076d497664aa97e0a29e523e from master
2018-06-02[2.0.x] Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.Tim Graham
Backport of 666be7b9942611d5c0f5e485c448f219cd5a1ad5 from master
2018-06-01[2.0.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.Tim Graham
Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
2018-06-01[2.0.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.Adam Donaghy
Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36. Backport of b18650a2634890aa758abae2f33875daa13a9ba3 from master
2018-05-31[2.0.x] Relaxed a GDAL raster test.Tim Graham
The exact metadata depends on the GDAL version. Backport of 3dffcb5579a5a64f1869b9b46a379d519079d805 from master
2018-05-31[2.0.x] Refs #29416 -- Fixed GeoExpressionsTests.test_multiple_annotation() ↵Mariusz Felisiak
on MySQL 5.7+. Failure introduced in b6e48f514ebe4e31b76e1750e043d4f296e645dc. Backport of d0ad03cded64fc307b15668c81d0c65fd8486eff from master
2018-05-27[2.0.x] Fixed #29416 -- Removed unnecesary subquery from GROUP BY clause on ↵Mariusz Felisiak
MySQL when using a RawSQL annotation. Regression in 1d070d027c218285b66c0bde8079034b33a87f11. Backport of 4ab1f559e8d1264bcb20bb497988973194f5d8f2 from master
2018-05-26[2.0.x] Fixed #29415 -- Fixed detection of custom URL converters in included ↵Xaroth Brook
patterns. Backport of 39283c8edbc5991b589d48a8e17152042193f2df from master
2018-05-25[2.0.x] Fixed #29400 -- Fixed crash in custom template filters that use ↵Ryan Rubin
decorated functions. Regression in 620e9dd31a2146d70de740f96a8cb9a6db054fc7. Backport of a8d12bc28069d56e0306770ab9c73738293663f7 from master
2018-05-02[2.0.x] Fixed #29375 -- Removed empty action attribute on HTML forms.CHI Cheng
Backport of 4660ce5a6930e07899ed083801845ee4c44c09df from master
2018-04-19[2.0.x] Fixed #29212 -- Doc'd redirect loop if @permission_required used ↵Nick Pope
with redirect_authenticated_user. Backport of df90e462d91d3a77aa89b69d791bf17c2bf7ff9b from master
2018-04-17[2.0.x] Fixed a test failure with the latest GeoIP2 database.Tim Graham
Backport of 7a22d9f75125e3cfbea0979a876efe4634f6fe05 from master
2018-04-17[2.0.x] Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
Backport of 64b74804c537b12d4cca64f7cb529c0478b4c4d9 from master
2018-04-13[2.0.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[2.0.x] Fixed schema test failure when running tests in reverse.Tim Graham
Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528. Backport of 78f8b80f9b215e50618375adce4c97795dabbb84 from master
2018-04-12[2.0.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a callable ↵Paul Donohue
object. Backport of 33a0b7ac815588ed92dca215e153390af8bdbdda from master
2018-04-11[2.0.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[2.0.x] Tested altering a unique field when a reverse M2M relation exists.Jeremy Bowman
Backport of 003334f8af29e2023cf7ad7d080aa9ab26a7c528 from master
2018-04-10[2.0.x] Fixed #29307 -- Fixed inspectdb import paths for ↵Alasdair Nicol
django.contrib.postgres fields. Thanks erindy for the report. Backport of 65c44a5c1d5412d402af19480e3c1c3e3e88893a from master
2018-04-02[2.0.x] Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the ↵Claude Paroz
widget map's SRID. Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928. Backport of 2a2ed0e70a93bfd1a3d41af40870fe963dc2687d from master
2018-04-02[2.0.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[2.0.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-03-15[2.0.x] Fixed #29206 -- Fixed PasswordResetConfirmView crash when the URL ↵Mattia Procopio
contains a non-UUID where one is expected. Backport of aeb8c381789ad93866223f8bd07d09ae5e2edd9e from master
2018-03-15[2.0.x] Fixed #29221 -- Corrected admin's autocomplete widget to add a space ↵Artem Tabolin
after custom classes. Backport of a2f7433adc610cb0a85b3e23a1fec2267591f866 from master
2018-03-13[2.0.x] Fixed #29213 -- Fixed autocomplete widget's translations for ↵dzhuang
zh-hans/zh-hant. Backport of e17088a108e604cad23b000a83189fdd02a8a2f9 from master
2018-03-08[2.0.x] Fixed #29195 -- Fixed Exists.output_field resolution on ↵Simon Charette
single-valued queries. The Subquery class which Exists inherits from defaulted to using single-valued querie's field if no output_field was explicitly specified on initialization which was bypassing the Exists.output_field defined at the class level. Moving Subquery's dynamic output_field resolution to _resolve_output_field should make sure the fallback logic is only performed if required. Regression in 08654a99bbdd09049d682ae57cc94241534b29f0. Thanks Oli Warner for the detailed report. Backport of 277ed072094ad87fc6b2c4669f21d43b1f39043c from master
2018-03-06[2.0.x] Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in ↵Tim Graham
django.utils.text.Truncator. Thanks James Davis for suggesting the fix.
2018-03-06[2.0.x] Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize and ↵Tim Graham
urlizetrunc template filters. Thanks Florian Apolloner for assisting with the patch.