summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-11-25[3.1.x] Fixed #32203 -- Fixed QuerySet.values()/values_list() crash on key ↵sage
transforms with non-string values on SQLite. Thanks Gordon Wrigley for the report. Backport of fe6e5824218bab7cf47dee112d68325b338f9947 from master
2020-11-25[3.1.x] Refs #32203 -- Added tests for QuerySet.values()/values_list() on ↵sage
key transforms with non-trivial values. Backport of 7408c4cd157ae18971302a2baf7aacce7c204a09 from master
2020-11-25[3.1.x] Fixed #32224 -- Avoided suppressing connection errors in ↵Mariusz Felisiak
supports_json_field on SQLite. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Juan Garcia Alvite for the report. Backport of f5e5aac59ebbcea46b98d37834915de0f43d7cc8 from master
2020-11-25[3.1.x] Added test for filtering JSONField key transforms with quoted strings.Mariusz Felisiak
Backport of bec415b290b68c07adcd9c67631b6573666d76be from master
2020-11-19[3.1.x] Fixed #32200 -- Fixed grouping by ExpressionWrapper() with Q objects.Hasan Ramezani
Thanks Gordon Wrigley for the report. Regression in df32fd42b84cc6dbba173201f244491b0d154a63. Backport of fe9c7ded2996364f853c524b4421274717d89d5f from master
2020-11-19[3.1.x] Fixed #32202 -- Fixed autoreloader argument generation for Windows ↵Carlton Gibson
with Python 3.7-. Backport of ead37dfb580136cc27dbd487a1f1ad90c9235d15 from master
2020-11-13[3.1.x] Changed docs and a code comment to use gender-neutral pronouns.Nick Pope
Follow up to e1b77238171cc96f4451a06fb4682e2378896238. Backport of 477c800443d091b5f36be9b5f83ce16c85da5879 from master.
2020-11-10[3.1.x] Fixed #32182 -- Fixed crash of JSONField nested key transforms with ↵Hannes Ljungberg
subquery annotations on PostgreSQL. Backport of 0773837e15bb632afffb6848a58c59a791008fa1 from master
2020-11-04[3.1.x] Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers.Carlton Gibson
Backport of ebb08d19424c314c75908bc6048ff57c2f872269 from master
2020-11-03[3.1.x] Fixed #32162 -- Fixed setting Content-Length header in ↵Patrick Arminio
AsyncRequestFactory. Backport of 542b4b3ab44d33dfd9b00c22f624ee4aed6f7534 from master
2020-11-02[3.1.x] Fixed #31850 -- Fixed BasicExtractorTests.test_extraction_warning ↵Max Smolens
with xgettext 0.21+. "format string with unnamed arguments cannot be properly localized" warning is not raised in xgettext 0.21+. This patch uses a message that causes an xgettext warning regardless of the version. Backport of 07a30f561661efae1691ff45d10ec6014b395b58 from master
2020-10-29[3.1.x] Fixed #32152 -- Fixed grouping by subquery aliases.Christian Klus
Regression in 42c08ee46539ef44f8658ebb1cbefb408e0d03fe. Thanks Simon Charette for the review. Backport of 4ac2d4fa42e1659f328c35b6b8d4761b3419c11a from master
2020-10-22[3.1.x] Fixed #32130 -- Fixed pre-Django 3.1 password reset tokens validation.Mariusz Felisiak
Thanks Gordon Wrigley for the report and implementation idea. Regression in 226ebb17290b604ef29e82fb5c1fbac3594ac163. Backport of 34180922380cf41cd684f846ecf00f92eb289bcf from master
2020-10-19[3.1.x] Fixed #32107 -- Fixed ProtectedError.protected_objects and ↵Hasan Ramezani
RestrictedError.restricted_objects. Regression in 4ca5c565f4dc9e97845036e86416abc5cfde766c and ab3cbd8b9a315911248227208630a020cedca08f. Thanks Vitaliy Yelnik for the report. Backport of 3b1746d5194778fab15c15dd14c212e0912ec8f3 from master
2020-10-17[3.1.x] Fixed #32110 -- Doc'd and tested enumerations for ChoiceField.choices.Claude Paroz
Backport of 7f85498eef1d8fcc52e4fb70df8041f5452d405a from master
2020-10-14[3.1.x] Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key ↵Mariusz Felisiak
transforms in expressions. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Backport of ee0abac169c2dcc6818d583247903c2a8ef55f7c from master.
2020-10-14[3.1.x] Refs #32096 -- Fixed ExpressionWrapper crash with JSONField key ↵Mariusz Felisiak
transforms. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Simon Charette and Igor Jerosimić for the report. Backport of bbd55e58639c33b4c5adff5f41b78deffc915c11 from master
2020-10-14[3.1.x] Refs #32096 -- Fixed __in lookup crash against key transforms for ↵Mariusz Felisiak
JSONField. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd and 1251772cb83aa4106f526fe00738e51c0eb59122. Thanks Simon Charette and Igor Jerosimić for the report. Backport of 7e1e198494d4fc72cf6e153f9d24fe2493c17dc1 from master
2020-10-14[3.1.x] Refs #32096 -- Fixed crash of ArrayAgg/StringAgg/JSONBAgg with ↵Mariusz Felisiak
ordering over JSONField key transforms. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Igor Jerosimić for the report. Backport of 1f31027bb3ad460864fbcbbb89eeb328c0a2f184 from master
2020-10-14[3.1.x] Refs #32096 -- Added test for ArrayAgg over JSONField key transforms.Mariusz Felisiak
Backport of 1d650ad019c1ab8e73d1e5b2587bb232c8ab35b6 from master
2020-10-09[3.1.x] Fixed #32091 -- Fixed admin search bar width on filtered admin page.Tim Schilling
Backport of b7da588e883e12b8ac3bb8a486e654e30fc1c6c8 from master
2020-10-09[3.1.x] Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField ↵Qi Zhao
and read-only JSONField values in admin. Backport of de81676b51e4dad510ef387c3ae625f9091fe57f from master
2020-10-06[3.1.x] Skipped GetImageDimensionsTests.test_webp when WEBP is not installed.Mariusz Felisiak
Backport of fce389af7cf95151118c9fc7cafd777a31f94946 from master
2020-09-30[3.1.x] Bumped minimum isort version to 5.1.0.David Smith
Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. Backport of e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 from master
2020-09-25[3.1.x] Fixed #32038 -- Fixed EmptyFieldListFilter crash with GenericRelation.Mariusz Felisiak
Thanks Javier Matos Odut for the report. Backport of e4ab44a4b2ef70be09c35c9197a19fd2e993b4d6 from master
2020-09-23[3.1.x] Fixed #32012 -- Made test database creation sync apps models when ↵Mariusz Felisiak
migrations are disabled. Thanks Jaap Roes for the report. Backport of 77caeaea888d1744416b213036ff29699758de76 from master
2020-09-16[3.1.x] Refs #32007 -- Skipped test_q_expression_annotation_with_aggregation ↵Mariusz Felisiak
on Oracle. Backport of 3a9f192b131f7a9b0fe5783c684b23015fa67cc8 from master
2020-09-15[3.1.x] Fixed #32007 -- Fixed queryset crash with Q() annotation and ↵Mariusz Felisiak
aggregation. Thanks Gordon Wrigley for the report. Regression in 8a6df55f2dd5131282084a4edfd48f63fbf8c69a. Backport of eaf9764d3bb25970da89de5799d8d308715628ba from master
2020-09-14[3.1.x] Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on ↵Mariusz Felisiak
models with Meta.ordering. Regression in 0ddb4ebf7bfcc4730c80a772dd146a49ef6895f6. Thanks Julien Dutriaux for the report. Backport of e11d05e0b488a3ff2b3c9d8f2e1e50f471750d6e from master
2020-09-02[3.1.x] Refs #31901 -- Fixed SeleniumTests.test_list_editable_popups with ↵Mariusz Felisiak
headless mode. Backport of 6a881197e92a03a8bb7c91440d0a702b6dfd6736 from master
2020-09-02[3.1.x] Fixed #31941 -- Corrected FileField.deconstruct() with a callable ↵Brian Helba
storage. Backport of 2d42e23b6d8fd76f93a96b2310b2c9dfd441d009 from master
2020-09-01[3.1.x] Fixed CVE-2020-24584 -- Fixed permission escalation in ↵Mariusz Felisiak
intermediate-level directories of the file system cache on Python 3.7+. Backport of f56b57976133129b0b351a38bba4ac882badabf0 from master.
2020-09-01[3.1.x] Fixed CVE-2020-24583, #31921 -- Fixed permissions on ↵Mariusz Felisiak
intermediate-level static and storage directories on Python 3.7+. Thanks WhiteSage for the report. Backport of ea0febbba531a3ecc8c77b570efbfb68ca7155db from master.
2020-08-31[3.1.x] Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse ↵Federico Jaramillo Martínez
relationships. Thanks dacotagh for the report. Backport of 179d9dc0c2265176f9f7062a1d98dc44d896f91f from master
2020-08-31[3.1.x] Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.Simon Charette
The optimization introduced in 7acef095d73 did not properly handle deletion involving filters against aggregate annotations. It initially was surfaced by a MariaDB test failure but misattributed to an undocumented change in behavior that resulted in the systemic generation of poorly performing database queries in 5b83bae031. Thanks Anton Plotkin for the report. Refs #23576. Backport of f6405c0b8ef7aff513b105c1da68407a881a3671 from master
2020-08-28[3.1.x] Fixed #31956 -- Fixed crash of ordering by JSONField with a custom ↵Mariusz Felisiak
decoder on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. Backport of 0be51d2226fce030ac9ca840535a524f41e9832c from master
2020-08-28[3.1.x] Fixed #31928 -- Fixed detecting an async get_response in various ↵Kevin Michel
middlewares. SecurityMiddleware and the three cache middlewares were not calling super().__init__() during their initialization or calling the required MiddlewareMixin._async_check() method. This made the middlewares not properly present as coroutine and confused the middleware chain when used in a fully async context. Thanks Kordian Kowalski for the report. Backport of 825ce75faec63ce81601e31152c757a9c28fed13 from master
2020-08-26[3.1.x] Fixed #31936 -- Fixed __in lookup on key transforms for JSONField.Mariusz Felisiak
This resolves an issue on databases without a native JSONField (MariaDB, MySQL, SQLite, Oracle), where values must be wrapped. Thanks Sébastien Pattyn for the report. Backport of 1251772cb83aa4106f526fe00738e51c0eb59122 from master
2020-08-26[3.1.x] Fixed #31905 -- Made MiddlewareMixin call ↵Michael Galler
process_request()/process_response() with thread sensitive. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Backport of 547a07fa7ec4364ea9ecd2aabfdd16ee4c63003c from master
2020-08-24[3.1.x] Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView ↵Mariusz Felisiak
passing URL kwargs into context." This reverts commit 4ed534758cb6a11df9f49baddecca5a6cdda9311. Backport of bb8f66934d93faf80cd1a2dda65aaedce21a6fc5 from master
2020-08-24[3.1.x] Refs #31877 -- Reverted "Fixes #31877 -- Used lazy() for ↵Mariusz Felisiak
TemplateView kwarg deprecation warning." This reverts commit 20799cc0a6d98816b9ef0577e24691bd26b80d7d. Backport of 04e87e79a0bd2b1b9fdc30f884a637a3268733f0 from master
2020-08-19[3.1.x] Fixed #31895 -- Fixed crash when decoding invalid session data.Mariusz Felisiak
Thanks Matt Hegarty for the report. Regression in d4fff711d4c97356bd6ba1273d2a5e349326eb5f. Backport of 4376c2c7f8cd9c7604a7d053b3c4022dd5ac2795 from master
2020-08-13[3.1.x] Fixed #31863 -- Prevented mutating model state by copies of model ↵Gert Burger
instances. Regression in bfb746f983aa741afa3709794e70f1e0ab6040b5. Backport of 94ea79be137f3cb30949bf82198e96e094f2650d from master
2020-08-13[3.1.x] Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning.Adam Johnson
SimpleLazyObjects cause a crash when filtering. Thanks Tim L. White for the report. Regression in 4ed534758cb6a11df9f49baddecca5a6cdda9311. Backport of 20799cc0a6d98816b9ef0577e24691bd26b80d7d from master
2020-08-11[3.1.x] Fixed #31866 -- Fixed locking proxy models in ↵Daniel Hillier
QuerySet.select_for_update(of=()). Backport of 60626162f76f26d32a38d18151700cb041201fb3 from master
2020-08-11[3.1.x] Fixed #31865 -- Adjusted admin nav sidebar template to reduce debug ↵Carlton Gibson
logging. Thanks to Mariusz Felisiak for review. Backport of 0aeb802cf054cb369646c871b53c93a83c1fa58a from master
2020-08-07[3.1.x] Fixed #31864 -- Fixed encoding session data during transition to ↵Mariusz Felisiak
Django 3.1. Thanks אורי for the report. Backport of 99abfe8f4d3caebcd73548f5bf9e4755bdfed318 from master
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