summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [1.11.x] Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in ↵Tom Hacohen2019-01-031-4/+8
| | | | | | | the default 404 page. Co-Authored-By: Tim Graham <timograham@gmail.com> Backport of 1ecc0a395be721e987e8e9fdfadde952b6dee1c7 from master.
* [1.11.x] Pinned Pillow != 5.4.0 in test requirements.Tim Graham2019-01-021-1/+1
| | | | | | | 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.
* [1.11.x] Fixed broken links to PyYAML page.CHI Cheng2018-12-271-1/+1
| | | | Backport of b7dbd5ff68bb9d2235ca081c0bd0b8baa65f8c77 from master.
* [1.11.x] Refs #30013 -- Doc'd that mysqlclient 1.3.14 and later isn't supported.Tim Graham2018-12-051-2/+1
|
* [1.11.x] Refs #28814 -- Fixed test_runner failure on Python 3.7.Tim Graham2018-11-171-2/+4
| | | | | | Due to https://bugs.python.org/issue30399. Backport of 9d1d3b2d2fe0bef995b024368088eeabbdf73629 from master
* [1.11.x] Removed obsolete and flaky GeoIP tests.Tom Forbes2018-11-101-16/+3
| | | | Backport of 8f90593e6f8197148c8f86e598bfef6792f3f4bf from master.
* [1.11.x] Refs #29759 -- Doc'd that cx_Oracle < 7 is required.Mariusz Felisiak2018-09-181-1/+1
| | | | Backport of 7085247e2fd1ad8b08103173a23ca730784765a3 from stable/2.0.x
* [1.11.x] Refs #29499 -- Skipped QuerySet.update_or_create() test that fails ↵Tim Graham2018-08-031-0/+2
| | | | on MySQL.
* [1.11.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().Michael Sanders2018-08-022-1/+59
| | | | | | | | | 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
* [1.11.x] Fixed CVE-2018-14574 -- Fixed open redirect possibility in ↵Andreas Hug2018-07-253-0/+31
| | | | CommonMiddleware.
* [1.11.x] Fixed #28462 -- Decreased memory usage with ModelAdmin.list_editable.Adam Donaghy2018-06-072-3/+87
| | | | | | Regression in 917cc288a38f3c114a5440f0749b7e5e1086eb36. Backport of b18650a2634890aa758abae2f33875daa13a9ba3 from master
* [1.11.x] Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.Tim Graham2018-06-021-3/+11
| | | | Backport of 666be7b9942611d5c0f5e485c448f219cd5a1ad5 from master
* [1.11.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.Tim Graham2018-06-011-3/+4
| | | | Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
* [1.11.x] Refs #28257 -- Updated a test for GDAL 2.2Claude Paroz2018-05-311-15/+17
| | | | Partial backport of 28627608945ddc3f59fb6a011a4eb363d8020e83 from master
* [1.11.x] Fixed a test failure with the latest GeoIP databases.Tim Graham2018-04-172-4/+4
| | | | Backport of 7a22d9f75125e3cfbea0979a876efe4634f6fe05 from master
* [1.11.x] Added isolated_local_models support to schema tests.Tim Graham2018-04-141-0/+7
| | | | | | | Follow up to 46496a542c2ff9f273e090073e9c8071acb1a4a4, which otherwise has no effect. Partial backport of 9f7772e098439f9edea3d25ab127539fc514eeb2 from master
* [1.11.x] Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() ↵Mariusz Felisiak2018-04-131-1/+9
| | | | | | | | | | 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.
* [1.11.x] Fixed schema test failure when running tests in reverse.Tim Graham2018-04-121-0/+1
| | | | | | Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528. Backport of 78f8b80f9b215e50618375adce4c97795dabbb84 from master
* [1.11.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a ↵Paul Donohue2018-04-124-0/+18
| | | | | | callable object. Backport of 33a0b7ac815588ed92dca215e153390af8bdbdda from master
* [1.11.x] Fixed #29193 -- Prevented unnecessary foreign key drops when ↵Jeremy Bowman2018-04-111-0/+34
| | | | | | | | | | | | 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
* [1.11.x] Tested altering a unique field when a reverse M2M relation exists.Jeremy Bowman2018-04-111-1/+37
| | | | Backport of 003334f8af29e2023cf7ad7d080aa9ab26a7c528 from master
* [1.11.x] Fixed #29273 -- Prevented initial selection of empty choice in ↵Claude Paroz2018-04-022-6/+10
| | | | | | | | multiple choice widgets. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of f3b69f9757ec03057441ebbd52b7cdbfed31fb32 from master.
* [1.11.x] Fixed #29229 -- Fixed column mismatch crash when combining two ↵Amr Anwar2018-03-191-0/+11
| | | | | | | | annotated values_list() querysets with union(), difference(), or intersection(). Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e. Backport of a0c03c62a8ac586e5be5b21393c925afa581efaf from master
* [1.11.x] Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in ↵Tim Graham2018-02-271-0/+4
| | | | | | django.utils.text.Truncator. Thanks James Davis for suggesting the fix.
* [1.11.x] Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize ↵Tim Graham2018-02-271-0/+8
| | | | | | and urlizetrunc template filters. Thanks Florian Apolloner for assisting with the patch.
* [1.11.x] Switched test requirement to new psycopg2-binary package.Tim Graham2018-02-201-1/+1
| | | | Backport of d4373b6da4b420fe9211438addeedb396a3821be from master
* [1.11.x] Removed blank lines per isort 4.3.0.Tim Graham2018-02-204-4/+0
|
* [1.11.x] Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.Tim Graham2018-02-011-0/+21
| | | | | | Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (refs #28645). This is a security fix.
* [1.11.x] Fixed #29094 -- Fixed crash when entering an invalid uuid in ↵Tim Graham2018-02-012-1/+10
| | | | | | | | | | ModelAdmin.raw_id_fields. Regression in 2f9861d823620da7ecb291a8f005f53da12b1e89. Thanks Carel Burger for the report and fix. Backport of docs552abffab16cbdff571486b683e7e7ef12e46066 from master
* [1.11.x] Fixed #29071 -- Fixed contrib.auth.authenticate() crash if a ↵Tim Graham2018-01-311-0/+29
| | | | | | | | backend doesn't accept a request but a later one does. Regression in a3ba2662cdaa36183fdfb8a26dfa157e26fca76a. Backport of 55e16f25e9d2050e95e448f9ab2e4b9fc845a9e5 from stable/2.0.x
* [1.11.x] Fixed #29016 -- Fixed incorrect foreign key nullification on ↵Étienne Loks2018-01-132-2/+28
| | | | | | related instance deletion. Backport of 9a621edf624a4eb1f1645fca628a9e432f0de776 from master
* [1.11.x] Fixed a GeoIP2 test failure with the latest GeoIP2 database.Tim Graham2018-01-101-3/+3
| | | | Backport of 66d74676e23c32bc676fb0706af8580b391953b6 from master
* [1.11.x] Fixed GeoIP test failure with the latest data.Tim Graham2018-01-081-1/+1
|
* [1.11.x] Fixed #25277 -- Restored test dependency to the original ↵Tim Graham2017-12-183-3/+1
| | | | | | python-memcached. Backport of 770b9ea77fb5e39d616e62b54c06755e6d4f4d36 from master
* [1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a ↵Morgan Wahl2017-12-072-3/+15
| | | | model that uses more than one level of MTI.
* [1.11.x] Refs #28876 -- Fixed incorrect foreign key constraint name for ↵Mariusz Felisiak2017-12-051-0/+22
| | | | | | | | | 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
* [1.11.x] Refs #28876 -- Fixed incorrect class-based model index name ↵Mariusz Felisiak2017-12-051-0/+13
| | | | | | | | | 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
* [1.11.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.Nick Pope2017-12-051-0/+7
| | | | | | Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of e014f91a70aa3ccdddb363a733c76e35597424fa from master
* [1.11.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign ↵Tim Graham2017-12-011-0/+77
| | | | | | | | key constraint" crash on MySQL with a sequence of AlterField or RenameField operations. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9. Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 from master
* [1.11.x] Fixed #28856 -- Fixed a regression in caching of a ↵Simon Charette2017-11-301-0/+6
| | | | | | | | GenericForeignKey pointing to a MTI model. Regression in b9f8635f58ad743995cad2081b3dc395e55761e5. Backport of d31424fec1a3de9d281535c0503644a9d7b93c63 from stable/2.0.x
* [1.11.x] Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen2017-11-292-2/+24
| | | | Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master
* [1.11.x] Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a ↵Raphael Michel2017-11-271-1/+22
| | | | | | filtered subquery that uses nulls_first/nulls_last. Backport of 616f468760e4984915bb2ccca6b9eb3d80ddadb0 from master
* [1.11.x] Fixed #28817 -- Made QuerySet.iterator() use server-side cursors ↵Dražen Odobašić2017-11-211-1/+14
| | | | | | after values() and values_list(). Backport of d97f026a7ab5212192426e45121f7a52751a2044 from master
* [1.11.x] Added assertion helpers for PostgreSQL's server-side cursor tests.Tim Graham2017-11-211-23/+17
| | | | Backport of 6cb6382639cbd29c8348b42c4d43b02c950eff3a from master
* [1.11.x] Fixed test failures due to ordering differences on PostgreSQL 10.Tim Graham2017-11-151-2/+2
| | | | Backport of 9bea555d06e0e585645053ae6ca9ac3dc8b899bd from master
* [1.11.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.Simon Charette2017-11-142-1/+32
| | | | | | | | Refs #27458, #27843. Thanks Tim and Mariusz for the review. Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master
* [1.11.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for ↵Mariusz Felisiak2017-11-121-0/+30
| | | | | | | union(), difference(), and intersection(). Thanks Tim Graham for the review. Backport of 2d3cc94284674638c334670903d49565039d77ae from master
* [1.11.x] Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive ↵shanghui2017-11-081-3/+2
| | | | | | | | | | user error when using ModelBackend. Regression in e0a3d937309a82b8beea8f41b17d8b6298da2a86. Thanks Guilherme Junqueira for the report and Tim Graham for the review. Backport of 359370a8b8ca0efe99b1d4630b291ec060b69225 from master
* [1.11.x] Fixed #28689 -- Fixed unquoted table names in Subquery SQL when ↵Mariusz Felisiak2017-10-252-0/+6
| | | | | | | | using OuterRef. Regression in f48bc7c3dbd204eefb3c19016b1e4906ac26bee3. Backport of 81e357a7e19f35235cc998459a10213532727d4e from master
* [1.11.x] Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last.Tomer Chachamu2017-10-211-16/+20
| | | | Backport of 21a3a29dc9d138c248fd7922923b3ec710735c6c from master