Commit Graph

3725 Commits

Author SHA1 Message Date
Jon Dufresne 5d41fd22dc [3.1.x] Added backticks to code literals in various docs.
Backport of 550297d20d from master
2020-12-15 07:21:53 +01:00
sage a891e1bb0a [3.1.x] Fixed #32252 -- Fixed __isnull=True on key transforms on SQLite and Oracle.
__isnull=True on key transforms should not match keys with NULL values.

Backport of 8d7085e0fd from master
2020-12-11 11:18:15 +01:00
Mariusz Felisiak d3e3d63bb1 [3.1.x] Added stub release notes for 3.1.5.
Backport of adb40d217e from master
2020-12-01 07:19:22 +01:00
Mariusz Felisiak 0313af7d8a [3.1.x] Added release date for 3.1.4.
Backport of 670261b8d6 from master
2020-12-01 06:25:27 +01:00
sage a7935fe942 [3.1.x] Fixed #32203 -- Fixed QuerySet.values()/values_list() crash on key transforms with non-string values on SQLite.
Thanks Gordon Wrigley for the report.

Backport of fe6e582421 from master
2020-11-25 20:30:38 +01:00
Mariusz Felisiak 97bfe0cba5 [3.1.x] Fixed #32224 -- Avoided suppressing connection errors in supports_json_field on SQLite.
Regression in 6789ded0a6.

Thanks Juan Garcia Alvite for the report.
Backport of f5e5aac59e from master
2020-11-25 12:21:29 +01:00
Hasan Ramezani 166c0d2474 [3.1.x] Fixed #32200 -- Fixed grouping by ExpressionWrapper() with Q objects.
Thanks Gordon Wrigley for the report.

Regression in df32fd42b8.

Backport of fe9c7ded29 from master
2020-11-19 21:42:14 +01:00
Carlton Gibson 012822c7f9 [3.1.x] Fixed #32202 -- Fixed autoreloader argument generation for Windows with Python 3.7-.
Backport of ead37dfb58 from master
2020-11-19 12:12:47 +01:00
Nick Pope 1f6e7fb4ab [3.1.x] Changed docs and a code comment to use gender-neutral pronouns.
Follow up to e1b7723817.

Backport of 477c800443 from master.
2020-11-13 22:29:41 +01:00
Hannes Ljungberg cc3870c30f [3.1.x] Fixed #32182 -- Fixed crash of JSONField nested key transforms with subquery annotations on PostgreSQL.
Backport of 0773837e15 from master
2020-11-10 08:13:03 +01:00
Carlton Gibson 8b3010a298 [3.1.x] Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers.
Backport of ebb08d1942 from master
2020-11-04 11:09:52 +01:00
Patrick Arminio bb74d2db98 [3.1.x] Fixed #32162 -- Fixed setting Content-Length header in AsyncRequestFactory.
Backport of 542b4b3ab4 from master
2020-11-03 10:33:34 +01:00
Carlton Gibson c13702a9f3 [3.1.x] Added stub release notes for 3.1.4.
Backport of c8785b473f from master
2020-11-02 09:21:21 +01:00
Carlton Gibson 3df3e2ef8d [3.1.x] Set release date for 3.1.3, 3.0.11, and 2.2.17.
Backport of 7fc07b9b2b from master
2020-11-02 08:35:59 +01:00
Christian Klus ab951d242e [3.1.x] Fixed #32152 -- Fixed grouping by subquery aliases.
Regression in 42c08ee465.

Thanks Simon Charette for the review.

Backport of 4ac2d4fa42 from master
2020-10-29 11:30:53 +01:00
Josh Santos b3d667f20d [3.1.x] Fixed #32127 -- Fixed admin change-form textarea layout for mid-sized displays.
Backport of 36bc47069c from master
2020-10-27 16:06:57 +01:00
Carlton Gibson d00127ccab [3.1.x] Fixed #32128 -- Added asgiref 3.3 compatibility.
Thread sensitive parameter is True by default from asgiref v3.3.0.
Added an explicit thread_sensitive=False to previously implicit uses.

Backport of e17ee44688 from master
2020-10-27 11:29:31 +01:00
Mariusz Felisiak 767e06b5a8 [3.1.x] Fixed #32130 -- Fixed pre-Django 3.1 password reset tokens validation.
Thanks Gordon Wrigley for the report and implementation idea.

Regression in 226ebb1729.
Backport of 3418092238 from master
2020-10-22 13:22:00 +02:00
Mariusz Felisiak c6b95be190 [3.1.x] Updated release notes following backport of 4047c1602c. 2020-10-22 10:11:43 +02:00
Carlton Gibson b37d5849b7 [3.1.x] Fixed #32069 -- Fixed admin change-form layout on small screens.
Restored flex-wrap CSS declaration to form elements at smallest breakpoint.
This was present since the responsive admin was introduced in dc37e8846e.
Regression in 8ee4bb6ffc, where it was accidentally removed.

Backport of 257f8495d6 from master
2020-10-21 15:09:45 +02:00
Hasan Ramezani 2212927c1b [3.1.x] Fixed #32107 -- Fixed ProtectedError.protected_objects and RestrictedError.restricted_objects.
Regression in 4ca5c565f4 and
ab3cbd8b9a.

Thanks Vitaliy Yelnik for the report.

Backport of 3b1746d519 from master
2020-10-19 13:10:13 +02:00
Mariusz Felisiak 536213278c [3.1.x] Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms in expressions.
Regression in 6789ded0a6.

Backport of ee0abac169 from master.
2020-10-14 22:10:09 +02:00
Mariusz Felisiak ae6b24093c [3.1.x] Refs #32096 -- Fixed ExpressionWrapper crash with JSONField key transforms.
Regression in 6789ded0a6.

Thanks Simon Charette and Igor Jerosimić for the report.

Backport of bbd55e5863 from master
2020-10-14 21:03:40 +02:00
Mariusz Felisiak 59fe0b8541 [3.1.x] Refs #32096 -- Fixed __in lookup crash against key transforms for JSONField.
Regression in 6789ded0a6 and
1251772cb8.

Thanks Simon Charette and Igor Jerosimić for the report.

Backport of 7e1e198494 from master
2020-10-14 21:03:15 +02:00
Mariusz Felisiak d94e777b66 [3.1.x] Refs #32096 -- Fixed crash of ArrayAgg/StringAgg/JSONBAgg with ordering over JSONField key transforms.
Regression in 6789ded0a6.

Thanks Igor Jerosimić for the report.

Backport of 1f31027bb3 from master
2020-10-14 21:02:29 +02:00
Mariusz Felisiak 84685e5132 [3.1.x] Refs #31040 -- Doc'd Python 3.9 compatibility.
Backport of e18156b6c3 from master.
2020-10-13 08:36:43 +02:00
Tim Schilling 4047c1602c [3.1.x] Fixed #32091 -- Fixed admin search bar width on filtered admin page.
Backport of b7da588e88 from master
2020-10-09 12:11:15 +02:00
Qi Zhao 8c403b17f9 [3.1.x] Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and read-only JSONField values in admin.
Backport of de81676b51 from master
2020-10-09 08:44:32 +02:00
Tom Carrick 3add635ff7 [3.1.x] Fixed #32072 -- Fixed admin search bar height.
Thanks şuayip üzülmez for the report.

Regression in 8ee4bb6ffc.

Backport of 342a41740d from master
2020-10-06 11:57:34 +02:00
Mariusz Felisiak 079e766217 [3.1.x] Added stub release notes for 3.1.3.
Backport of 85fa24e3eb from master
2020-10-01 07:57:13 +02:00
Mariusz Felisiak f18b51a7d8 [3.1.x] Added release date for 3.1.2.
Backport of 5a1f0f1318 from master
2020-10-01 07:23:12 +02:00
Tom Carrick 57b359343b [3.1.x] Fixed #31986 -- Fixed admin filter sidebar scrolling.
Regression in 2bc38bc7ca.

Thanks haki for the report.

Backport of 8ee4bb6ffc from master
2020-09-30 21:49:11 +02:00
David Smith 793bd24db6 [3.1.x] Fixed #28009 -- Doc'd empty_value for CharField subclasses.
Backport of 91669cc566 from master
2020-09-25 18:31:20 +02:00
Mariusz Felisiak b7df7de44f [3.1.x] Fixed #32038 -- Fixed EmptyFieldListFilter crash with GenericRelation.
Thanks Javier Matos Odut for the report.

Backport of e4ab44a4b2 from master
2020-09-25 10:10:26 +02:00
Mariusz Felisiak fbb7881956 [3.1.x] Fixed #32012 -- Made test database creation sync apps models when migrations are disabled.
Thanks Jaap Roes for the report.
Backport of 77caeaea88 from master
2020-09-23 10:54:50 +02:00
Mariusz Felisiak 73d084bf97 [3.1.x] Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator changes.
Backport of ba6b32e5ef from master
2020-09-21 06:26:59 +02:00
Mariusz Felisiak 1afc9b31bb [3.1.x] Fixed #32007 -- Fixed queryset crash with Q() annotation and aggregation.
Thanks Gordon Wrigley for the report.

Regression in 8a6df55f2d.
Backport of eaf9764d3b from master
2020-09-15 11:41:42 +02:00
Mariusz Felisiak a3bb80dc31 [3.1.x] Fixed #31990 -- Fixed QuerySet.ordered for GROUP BY queries on models with Meta.ordering.
Regression in 0ddb4ebf7b.

Thanks Julien Dutriaux for the report.
Backport of e11d05e0b4 from master
2020-09-14 20:08:18 +02:00
Mariusz Felisiak 6b16623bd9 [3.1.x] Refs #31956 -- Doc'd consequences of disabling psycopg2's JSONB typecaster.
Follow up to 0be51d2226.
Backport of 438b85dfab from master
2020-09-10 11:00:59 +02:00
Brian Helba c69c6886de [3.1.x] Fixed #31941 -- Corrected FileField.deconstruct() with a callable storage.
Backport of 2d42e23b6d from master
2020-09-02 11:07:43 +02:00
007gzs 2610a3909e [3.1.x] Added "Bugfixes" section to release notes for 3.1.2.
Backport of 76e0151ea0 from master
2020-09-02 07:00:36 +02:00
Carlton Gibson 63787b3ed6 [3.1.x] Added CVE-2020-24583 & CVE-2020-24584 to security archive.
Backport of d5b526bf78 from master
2020-09-01 11:38:06 +02:00
Carlton Gibson 2629882095 [3.1.x] Added stub release notes for 3.1.2.
Backport of 7a60670b78 from master
2020-09-01 10:45:36 +02:00
Carlton Gibson 1ef38005a7 [3.1.x] Added release date for 3.1.1, 3.0.10, and 2.2.16.
Backport of 976e2b7420 from master
2020-09-01 09:57:12 +02:00
Mariusz Felisiak 2b099caa59 [3.1.x] Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level directories of the file system cache on Python 3.7+.
Backport of f56b57976133129b0b351a38bba4ac882badabf0 from master.
2020-09-01 09:35:05 +02:00
Mariusz Felisiak 934430d22a [3.1.x] Fixed CVE-2020-24583, #31921 -- Fixed permissions on intermediate-level static and storage directories on Python 3.7+.
Thanks WhiteSage for the report.

Backport of ea0febbba531a3ecc8c77b570efbfb68ca7155db from master.
2020-09-01 09:35:05 +02:00
007gzs dfa31f8e87 [3.1.x] Fixed #31901 -- Prevented content overflowing in the admin changelist with navigation sidebar.
Backport of 2bc38bc7ca from master
2020-09-01 08:19:12 +02:00
Federico Jaramillo Martínez c4e5384e73 [3.1.x] Fixed #31952 -- Fixed EmptyFieldListFilter crash with reverse relationships.
Thanks dacotagh for the report.

Backport of 179d9dc0c2 from master
2020-08-31 10:40:21 +02:00
Simon Charette 2986ec031d [3.1.x] Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.
The optimization introduced in 7acef095d7 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 f6405c0b8e from master
2020-08-31 09:22:59 +02:00
Mariusz Felisiak 655e1ce6b1 [3.1.x] Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.
Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.

Backport of 0be51d2226 from master
2020-08-28 19:12:02 +02:00