summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-08-04[3.1.x] Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting.Mariusz Felisiak
It's a transitional setting helpful in migrating multiple instance of the same project to Django 3.1+. Thanks Markus Holtermann for the report and review, Florian Apolloner for the implementation idea and review, and Carlton Gibson for the review. Backport of d907371ef99a1e4ca6bc1660f57d81f265750984 from master.
2020-08-01[3.1.x] Refs #27468 -- Fixed TestSigner.test_dumps_loads_legacy_signature.Mariusz Felisiak
Added in 1d6fdca557e674b9a789b51caadca8985e588492. Backport of 7c929fcf7c8913d0bd78a8400eafe866ceed9aa6 from master
2020-07-31[3.1.x] Refs #27468 -- Added tests and release notes for ↵Mariusz Felisiak
signing.dumps()/loads() changes. Follow up to 71c4fb7beb8e3293243140e4bd74e53989196440. Backport of 1d6fdca557e674b9a789b51caadca8985e588492 from master
2020-07-30[3.1.x] Refs #31829 -- Added ↵Tim Graham
DatabaseFeatures.json_key_contains_list_matching_requires_list. CockroachDB's behavior matches PostgreSQL. Backport of 184a6eebb0ef56d5f1b1315a8e666830e37f3f81 from master
2020-07-28[3.1.x] Fixed #31829 -- Used JSONField __contains lookup on key transforms.sage
Backport of 2d8dcba03aae200aaa103ec1e69f0a0038ec2f85 from master
2020-07-28[3.1.x] Fixed #31836 -- Dropped support for JSONField __contains and ↵Mariusz Felisiak
__contained_by lookups on SQLite. The current implementation works only for basic examples without supporting nested structures and doesn't follow "the general principle that the contained object must match the containing object as to structure and data contents, possibly after discarding some non-matching array elements or object key/value pairs from the containing object". Backport of ba691933cee375195c9c50f333dd4b2a3abbb726 from master.
2020-07-28[3.1.x] Fixed #31835 -- Dropped support for JSONField __contains lookup on ↵Mariusz Felisiak
Oracle. The current implementation works only for basic examples without supporting nested structures and doesn't follow "the general principle that the contained object must match the containing object as to structure and data contents, possibly after discarding some non-matching array elements or object key/value pairs from the containing object". Backport of 02447fb133b53ec7d0ff068cc08f06fdf8817ef7 from master
2020-07-22[3.1.x] Fixed #31805 -- Fixed SchemaTests.tearDown() when table names are ↵Mariusz Felisiak
case-insensitive. Backport of fd53db842c35c994dbd54196dd38a908f3676b1a from master
2020-07-22[3.1.x] Fixed #31797 -- Skipped schema tests on specific MariaDB versions.Mariusz Felisiak
test_alter_not_unique_field_to_primary_key() test is affected by https://jira.mariadb.org/browse/MDEV-19598 on MariaDB 10.4.4 to 10.5.1. test_alter_pk_with_self_referential_field() test is affected by https://jira.mariadb.org/browse/MDEV-22775 on MariaDB 10.4 series from 10.4.13. Backport of c071c408d72330b422c124a6bdd85a68acae9566 from master
2020-07-22[3.1.x] Reverted "Fixed #30300 -- Allowed migrations to be loaded from ↵Tim Graham
directories without __init__.py file." This reverts commit 3cd3bebe8921e14b911b36b2a1cbceef8fb6294e. Backport of ff55adbd0da6618abaf265d16196bf54f81aa77a from master
2020-07-20[3.1.x] Used temporary directory in RestartWithReloaderTests.test_manage_py().Tom Forbes
Using the current directory can cause a PermissionError. Backport of 730711e8282893723f993f55d3e3b0c823cfdb9a from master
2020-07-20[3.1.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, ↵Florian Apolloner
3.7.8+, and 3.8.4+. Fixed sending emails crash on email addresses with display names longer then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+. Wrapped display names were passed to email.headerregistry.Address() what caused raising an exception because address parts cannot contain CR or LF. See https://bugs.python.org/issue39073 Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Backport of 96a3ea39ef0790dbc413dde0a3e19f6a769356a2 from master
2020-07-17[3.1.x] Pinned asgiref to 3.2 series with minimum version to 3.2.10.Mariusz Felisiak
2020-07-16[3.1.x] Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in ↵Mariusz Felisiak
HttpResponse.delete_cookie(). Cookies with the "SameSite" flag set to None and without the "secure" flag will be soon rejected by latest browser versions. This affects sessions and messages cookies. Backport of 240cbb63bf9965c63d7a3cc9032f91410f414d46 from master
2020-07-09[3.1.x] Fixed #31773 -- Fixed preserving output_field in ExpressionWrapper ↵Mariusz Felisiak
for combined expressions. Thanks Thodoris Sotiropoulos for the report and Simon Charette for the implementation idea. Regression in df32fd42b84cc6dbba173201f244491b0d154a63. Backport of 8a6df55f2dd5131282084a4edfd48f63fbf8c69a from master
2020-06-30[3.1.x] Fixed #31752 -- Fixed intermittent ↵Carlton Gibson
test_order_by_relational_field_through_model failure. Set explicit datetime for M2M ordering test. Thanks to Mariusz Felisiak for the suggestion. Backport of b5371539a9d871758d639a85d1f2fd648c1f633d from master
2020-06-29[3.1.x] Fixed #30807 -- Fixed TestArchive.test_extract_file_permissions() ↵Ad Timmering
when umask is 0o000. Fixed test that checks permissions on files extracted from archives with no permissions set, to not assume a default umask of 0o002. Test regression in c95d063e776e849cf1a0bf616c654165cb89c706. Backport of ec5aa2161d8015a3fe57dcbbfe14200cd18f0a16 from master
2020-06-26[3.1.x] Fixed #31742 -- Fixed makemigrations crash on ForeignKey to an app ↵Mariusz Felisiak
with mixed case label. Regression in 9e1b6b8a66af4c2197e5b1b41eb9dbb36e4f6502. Thanks Ignacio Santolin for the report. Backport of 62d85a283500e9abb0e1c9ec53c59be468f056a0 from master
2020-06-24[3.1.x] Fixed #31735 -- Fixed migrations crash on namespaced inline FK ↵Simon Charette
addition on PostgreSQL. The namespace of the constraint must be included when making the constraint immediate. Regression in 22ce5d0031bd795ade081394043833e82046016c. Thanks Rodrigo Estevao for the report. Backport of 2e8941b6f90e65ffad3f07083b8de59e8ed29767 from master
2020-06-23[3.1.x] Fixed #31736 -- Fixed ↵Ahmad A. Hussein
InspectDBTransactionalTests.test_foreign_data_wrapper crash on Windows. Backport of 798835112d81b852efaae0e067af389c733cd1b3 from master
2020-06-22[3.1.x] Fixed #31728 -- Fixed cache culling when no key is found for deletion.Guillermo Bonvehí
DatabaseCache._cull implementation could fail if no key was found to perform a deletion in the table. This prevented the new cache key/value from being correctly added. Backport of f386454d1302b66d0eb331ed0ae9e4811e2f3a15 from master
2020-06-18[3.1.x] Fixed #31716 -- Fixed detection of console scripts in autoreloader ↵Tom Forbes
on Windows. Backport of 8a902b7ee622ada258d15fb122092c1f02b82698 from master
2020-06-17[3.1.x] Refs #31670 -- Removed whitelist/blacklist terminology in docs and ↵David Smith
comments. Backport of 10df5b71775d8ee98201acb1367266521b17cc00 from master
2020-06-12[3.1.x] Fixed #31659 -- Made ExpressionWrapper preserve output_field for ↵Mariusz Felisiak
combined expressions. Regression in df32fd42b84cc6dbba173201f244491b0d154a63. Thanks Simon Charette for the review. Backport of aeb8996a6706cad3e96d8221760c1cb408ee7ed9 from master
2020-06-11[3.1.x] Fixed #28132 -- Made MultiPartParser ignore filenames with trailing ↵Michael Brown
slash. Backport of 36db4dd937ae11c5b687c5d2e5fa3c27e4140001 from master
2020-06-10[3.1.x] Fixed #31657 -- Fixed ordering by attnames of self-referential ↵Hasan Ramezani
ForeignKeys. Backport of 037a624120b676858be4b93c4d0adda45916fd2a from master
2020-06-10[3.1.x] Refs #31657 -- Added test for ordering by self-referential ForeignKeys.Hasan Ramezani
Backport of c1f7de8acc187a3899f7f3cda47edbc2f4142d7d from master
2020-06-08[3.1.x] Fixed #31594 -- Added ASGIStaticFilesHandler.get_response_async().Joshua Massover
Backport of 92309e53d9921a60e667656d8dd65e59eb5cf81c from master
2020-06-08[3.1.x] Fixed #31664 -- Reallowed using non-expressions having filterable ↵Nicolas Baccelli
attribute as rhs in queryset filters. Regression in 4edad1ddf6203326e0be4bdb105beecb0fe454c4. Backport of b38d44229ff185ad156bcb443d6db0db7ae3eb98 from master
2020-06-08[3.1.x] Fixed #31660 -- Fixed queryset crash when grouping by m2o relation.Mariusz Felisiak
Regression in 3a941230c85b2702a5e1cd97e17251ce21057efa. Thanks Tomasz Szymański for the report. Backport of 78ad4b4b0201003792bfdbf1a7781cbc9ee03539 from master
2020-06-05[3.1.x] Fixed #31663 -- Made DecimalField.to_python() handle non-numeric ↵Sasha Pachev
invalid values. Backport of 38a21f2d9ed4f556af934498ec6a242f6a20418a from master
2020-06-05[3.1.x] Fixed #31654 -- Fixed cache key validation messages.Mariusz Felisiak
Backport of 926148ef019abcac3a9988c78734d9336d69f24e from master
2020-06-04[3.1.x] Fixed #30134 -- Ensured unlocalized numbers are string ↵Claude Paroz
representation in templates. Backport of 9e57b1efb5205bd94462e9de35254ec5ea6eb04e from master
2020-06-04[3.1.x] Refs #30134 -- Added test for {% localize off %} tag with format ↵Claude Paroz
settings. Backport of 51250d2f123b694ab7e09c119cb72d4878266688 from master
2020-06-03[3.1.x] Refs CVE-2020-13254 -- Fixed cache.tests when KEY_PREFIX is defined.Mariusz Felisiak
Follow up to 2c82414914ae6476be5a166be9ff49c24d0d9069. Backport of 229c9c6653356a0bc23846d83b2d4b5d0438a145 from master
2020-06-03[3.1.x] Fixed CVE-2020-13254 -- Enforced cache key validation in memcached ↵Dan Palmer
backends.
2020-06-03[3.1.x] Fixed CVE-2020-13596 -- Fixed potential XSS in admin ↵Jon Dufresne
ForeignKeyRawIdWidget.
2020-06-03[3.1.x] Fixed #31651 -- Made ExpressionWrapper use grouping columns from ↵Thodoris Sotiropoulos
wrapped expression. Backport of df32fd42b84cc6dbba173201f244491b0d154a63 from master
2020-06-01[3.1.x] Fixed #31536 -- Fixed rendering of disabled AdminFileWidget and ↵Carles Pina
ClearableFileInput. Backport of e46c2326c8cfc038e015f55fd050ab5d7eb91b62 from master
2020-06-01[3.1.x] Fixed #31570 -- Corrected translation loading for apps providing ↵Carlton Gibson
territorial language variants with different plural equations. Regression in e3e48b00127c09eafe6439d980a82fc5c591b673. Thanks to Shai Berger for report, reproduce and suggested fix. Backport of dd1ca50b096bf0351819aabc862e91a9797ddaca from master
2020-05-28[3.1.x] Refs #31034 -- Improved accessibility of admin navigation sidebar.Tom Carrick
Backport of 780473d75625d014cbe9b0acdea40b7a5970d5d8 from master
2020-05-28[3.1.x] Fixed isolation of test_migrate_fake_initial.Mariusz Felisiak
Backport of 42de52affe20e399554d984cc7848bf8e0368b41 from master
2020-05-26[3.1.x] Fixed #31614 -- Fixed aliases ordering by OrderBy() expressions of ↵Laurent Tramoy
combined queryset. Backport of 2aac176e86204785f0f2ec4838049d8fed70870e from master
2020-05-26[3.1.x] Fixed #31416 -- Made autodetector find dependencies for MTI model ↵Nan Liu
creation on base fields removal. Removing a base field must take place before adding a new inherited model that has a field with the same name. Backport of 33c365781abbcc1b21a31b31d95d344a174df0d5 from master
2020-05-25[3.1.x] Fixed #31624 -- Avoided subquery usage on QuerySet.all().delete().Simon Charette
Thanks Adam Johnson for the report. Regression in 7acef095d73322f45dcceb99afa1a4e50b520479. Backport of 972000420e08703dd4981466ff67adcd5a61ad4b from master
2020-05-20[3.1.x] Fixed #31597, #31603 -- Corrected admin clear all filters link behavior.Fran Hrzenjak
- Show "Clear all filters" only when any filter is selected. - Preserve query string not related with filters. Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com> Backport of 4484bc1b2f84da6442c9c2bfd95d3f1f7d8f96f7 from master
2020-05-19[3.1.x] Fixed #31607 -- Fixed evaluated Subquery equality.Mariusz Felisiak
Regression in 691def10a0197d83d2d108bd9043b0916d0f09b4. Backport of a125da6a7c79b1d4c55677d0bed6f9b1d7d77353 from master
2020-05-19[3.1.x] Fixed #31601 -- Fixed SearchHeadlineTests on PostgresSQL 9.6.18+, ↵Hannes Ljungberg
10.13+, 11.8+, and 12.3+. Backport of 952afc166c8d79013b7181e35aab638145d2adc5 from master
2020-05-18[3.1.x] Updated docutils link to HTTPS and new location.Jon Dufresne
Backport of 7070d4611471db701ed0d51d23e72d5f5c647085 from master
2020-05-18[3.1.x] Refs #12990 -- Added DatabaseFeatures.has_json_operators.Tim Graham
CockroachDB also has them. Backport of f59a2b730685fc62c5cb44101f54faf8921d9bc7 from master