Commit Graph

27757 Commits

Author SHA1 Message Date
Mariusz Felisiak 9deb850e23 [3.0.x] Skipped GetImageDimensionsTests.test_webp when WEBP is not installed.
Bumped minimum Pillow version to 4.2.0 in test requirements.

Backport of fce389af7c from master
2020-10-06 11:30:21 +02:00
Carlton Gibson 1734484f12 [3.0.x] Added CVE-2020-24583 & CVE-2020-24584 to security archive.
Backport of d5b526bf78 from master
2020-09-01 11:38:46 +02:00
Carlton Gibson 26323dbcf4 [3.0.x] Post-release version bump. 2020-09-01 10:29:42 +02:00
Carlton Gibson a208020ecd [3.0.x] Bumped version for 3.0.10 release. 2020-09-01 10:26:20 +02:00
Carlton Gibson 79e6eb3853 [3.0.x] Added release date for 3.0.10, and 2.2.16.
Backport of 976e2b7420 from master
2020-09-01 09:58:40 +02:00
Mariusz Felisiak cdb367c92a [3.0.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-08-25 10:45:33 +02:00
Mariusz Felisiak 08892bffd2 [3.0.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-08-25 10:43:50 +02:00
Kaustubh db8b935730 [3.0.x] Fixed #31925 -- Fixed typo in docs/releases/3.0.txt.
Backport of 3e753d3de3 from master
2020-08-21 09:49:13 +02:00
Mariusz Felisiak ab5491c7cc [3.0.x] Refs #31863 -- Added release notes for 94ea79be13.
Backport of 21768a99f4 from master
2020-08-13 16:31:27 +02:00
Gert Burger c33b6ceff4 [3.0.x] Fixed #31863 -- Prevented mutating model state by copies of model instances.
Regression in bfb746f983.

Backport of 94ea79be13 from master
2020-08-13 15:27:52 +02:00
Daniel Hillier 784ed4ada1 [3.0.x] Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).
Backport of 60626162f7 from master
2020-08-11 12:31:50 +02:00
Mariusz Felisiak 9f74a24803 [3.0.x] Added stub release notes for 2.2.16 and 3.0.10.
Backport of 8a5683b6b2 from master
2020-08-11 11:13:20 +02:00
Mariusz Felisiak 8f8edec6c4 [3.0.x] Post-release version bump. 2020-08-03 09:06:21 +02:00
Mariusz Felisiak 39716e4578 [3.0.x] Bumped version for 3.0.9 release. 2020-08-03 09:02:29 +02:00
Mariusz Felisiak b1ae5d015b [3.0.x] Added release date for 2.2.15 and 3.0.9.
Backport of b68b8cb89a from master
2020-08-03 08:56:37 +02:00
Mariusz Felisiak d70ed9439d [3.0.x] Corrected signing.dumps()/loads() signatures in docs.
Backport of 8703680ebe from master
2020-07-31 11:34:32 +02:00
Andrzej Bartosiński 8f8d4b3d52 [3.0.x] Corrected admin.register() signature in docs.
Backport of eb215da363 from master
2020-07-29 12:55:00 +02:00
Claude Paroz e0397e11b5 [3.0.x] Refs #30165 -- Removed leftover 'u' prefix.
Backport of bac5777bff from master
2020-07-29 10:20:44 +02:00
Harpreet Sharma 08063f0122 [3.0.x] Fixed #31821 -- Removed outdated note in FILE_UPLOAD_PERMISSIONS docs.
Follow up to 22aab8662f

Backport of 248d03fbe9 from master
2020-07-23 21:01:10 +02:00
LincolnPuzey 6fc4445cff [3.0.x] Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse docs.
Backport of d754361096 from master
2020-07-23 13:13:44 +02:00
Ramiro Morales b732afe30a [3.0.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 51e536178c from master
2020-07-22 23:37:44 +02:00
Buk Bukowski f4b7996e9b [3.0.x] Fixed #31814 -- Fixed typo in docs/ref/settings.txt.
Backport of f65454801b from master
2020-07-22 22:39:55 +02:00
Adam Johnson 76b7b3a778 [3.0.x] Doc'd Model.MultipleObjectsReturned docs and improved documentation related with models exceptions.
Backport of bc4fea92b2 from master
2020-07-22 20:22:09 +02:00
Adam Johnson f026d761d6 [3.0.x] Refs #24763 -- Moved DoesNotExist to Model class docs.
Backport of b5f0efa19c from master
2020-07-22 20:22:06 +02:00
Mariusz Felisiak dcb27ead84 [3.0.x] Fixed #31805 -- Fixed SchemaTests.tearDown() when table names are case-insensitive.
Backport of fd53db842c from master
2020-07-22 12:51:43 +02:00
Mariusz Felisiak 1a81d34e70 [3.0.x] Fixed #31797 -- Skipped schema tests on specific MariaDB versions.
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 c071c408d7 from master
2020-07-22 10:58:47 +02:00
David Chorpash 0a3c1272f2 [3.0.x] Refs #31720 -- Added examples to BoolAnd() and BoolOr() documentation.
Backport of a2e621b14e from master
2020-07-21 07:02:29 +02:00
Adam Johnson bcb511f9d8 [3.0.x] Improved description of USE_THOUSAND_SEPARATOR setting.
Backport of 80f92177eb from master
2020-07-20 12:56:11 +02:00
Florian Apolloner ccc088f8ce [3.0.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, 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 96a3ea39ef from master
2020-07-20 07:15:14 +02:00
Adam Johnson 5bd7c18306 [3.0.x] Improved ManyToManyField.through docs.
Backport of e7fa8aff43 from master
2020-07-17 10:48:32 +02:00
Adam Johnson 051e6f58ea [3.0.x] Refs #31502 -- Made minor edits to Model._state docs.
Backport of 5ef6f62634 from master
2020-07-16 21:12:33 +02:00
Mariusz Felisiak 331324ecce
[3.0.x] Fixed #31790 -- Fixed setting SameSite cookies flag in 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 240cbb63bf from master.
2020-07-16 09:30:15 +02:00
Eric Theise 419a78300f [3.0.x] Fixed typo in docs/ref/contrib/postgres/forms.txt.
Backport of d08e6f55e3 from master
2020-07-15 09:05:04 +02:00
Caio Ariede 96b04f53c5 [3.0.x] Fixed #21528 -- Added note about filtering form field's queryset based on instance to admin docs.
Backport of d38c34119e from master
2020-07-13 23:02:51 +02:00
Mariusz Felisiak b44e2d62c0 [3.0.x] Refs #30676 -- Added pdb argument to DiscoverRunner docs.
Backport of 2c43840dfb from master
2020-07-10 19:10:28 +02:00
Ramiro Morales 7808a04fe5 [3.0.x] Corrected custom model fields how-to.
get_prep_value() method is complementary of from_db_value().

Follow up to e9103402c0.

Backport of 52a0a03671 from master
2020-07-10 11:38:26 +02:00
Carlton Gibson bb47c1dde4 [3.0.x] Removed unsupported third-party database backends from docs.
Backport of 1d8256719e from master
2020-07-08 22:30:51 +02:00
Tim Park 502349ce77 [3.0.x] Fixed #31739 -- Documented dependency between HttpRequest stream IO methods and body.
Backport of 060576b0ab from master
2020-07-08 10:41:57 +02:00
Tim Park b66588abe2 [3.0.x] Fixed #31502 -- Documented Model._state.db and Model._state.adding
Backport of 697e59d5cf from master
2020-07-08 10:07:23 +02:00
Jason Held 3ca2361d70 [3.0.x] Fixed #24816 -- Clarified docs about preventing duplicate signals.
Backport of 639142e24d from master
2020-07-08 08:26:15 +02:00
Jacob Walls 9141841cca [3.0.x] Fixed #29308 -- Clarified how assertQuerysetEqual()'s transform works.
Backport of 659a73bc0a from master
2020-07-08 08:26:11 +02:00
David Smith 8f750bc295 [3.0.x] Fixed #30945 -- Doc'd plural equations changes in 2.2. release notes.
Backport of 392036be29 from master
2020-07-03 09:39:23 +02:00
Carlton Gibson 9e4f55757d [3.0.x] Refs #6903 -- Adjusted ModelAdmin.preserve_filters docs.
Backport of b142bd4a1b from master
2020-07-02 21:11:10 +02:00
Mariusz Felisiak 5a15e3e378 [3.0.x] Added stub release notes for 3.0.9.
Backport of c2a835703f from master
2020-07-01 07:13:25 +02:00
Mariusz Felisiak bb0b9a779f [3.0.x] Post-release version bump. 2020-07-01 06:30:38 +02:00
Mariusz Felisiak 47c5666ae7 [3.0.x] Bumped version for 3.0.8 release. 2020-07-01 06:25:03 +02:00
Mariusz Felisiak 7d133e81e8 [3.0.x] Added release date for 2.2.14 and 3.0.8.
Backport of 0f3aecf581 from master
2020-07-01 06:18:55 +02:00
Mariusz Felisiak 21e8f9f7c9 [3.0.x] Fixed #31751 -- Fixed database introspection with cx_Oracle 8.
Backport of 615e32162f from master
2020-06-30 09:56:14 +02:00
Ad Timmering d1ff7c50e3 [3.0.x] Fixed #30807 -- Fixed TestArchive.test_extract_file_permissions() 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 c95d063e77.
Backport of ec5aa2161d from master
2020-06-29 07:52:47 +02:00
Steven Pousty 9b9083981a [3.0.x] Fixed #31743 -- Doc't that managed=False prevents Django from managing tables modifications.
Backport of d2c135da4c from master
2020-06-26 09:59:20 +02:00