Commit Graph

30911 Commits

Author SHA1 Message Date
Daniel Hahler 2984e17c64 [4.1.x] Refs #18707 -- Corrected django.test.Client signature in docs.
Backport of 6f49b7b69b from main
2022-08-25 07:51:21 +02:00
Kanza dafdcedaf3 [4.1.x] Fixed #33920 -- Doc'd dependency of LOGGING_CONFIG callback on non-empty LOGGING.
Backport of 5f5401b114 from main
2022-08-24 12:28:47 +02:00
Alex Morega 8a8a00388b [4.1.x] Fixed #33939 -- Used functools.partial() in transaction.on_commit() examples.
Backport of 7e6b537f5b from main
2022-08-23 11:58:53 +02:00
Benoît Vinot 85942cf669 [4.1.x] Fixed #33932 -- Fixed altering AutoFields to OneToOneField on PostgreSQL.
Regression in 2eea361eff.

Backport of e3cb8bcb7d from main
2022-08-17 17:43:48 +02:00
Youssef bee09df39f [4.1.x] Fixed #33909 -- Corrected django.dispatch.receiver() signature.
Backport of 0cbbed49f4 from main
2022-08-16 06:57:16 +02:00
Mohammadtaher Abbasi c520a5d06e [4.1.x] Fixed #33921 -- Added release note for 5b8699e723.
Backport of e30d667842 from main
2022-08-12 22:39:23 +02:00
Mariusz Felisiak 3848475eeb [4.1.x] Fixed #33919 -- Fixed adding AutoFields on PostgreSQL.
Thanks Jack Calvin Brown for the report.

Regression in 2eea361eff.
Backport of 5c803bc070 from main
2022-08-12 17:31:15 +02:00
Jarosław Wygoda 04ec8bf92a [4.1.x] Refs #26029 -- Doc'd django.core.files.storage.default_storage.
Backport of 9e7cb27a5b from main
2022-08-10 12:24:05 +02:00
David Sanders e215948f0d [4.1.x] Fixed #33905 -- Fixed CheckConstraint() validation on range fields.
Bug in 667105877e.

Backport of e0ae1363ec from main
2022-08-09 21:45:58 +02:00
Mariusz Felisiak 6b0193146d [4.1.x] Fixed #33902 -- Fixed Meta.constraints validation crash with F() expressions.
Thanks Adam Zahradník for the report.

Bug in 667105877e.
Backport of 63884829ac from main
2022-08-09 06:09:56 +02:00
Alessandro Baccini 8ea203d112 [4.1.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of c614e811f8 from main
2022-08-08 19:44:32 +02:00
Fiza Ashraf f546e7c18b [4.1.x] Fixed #33899 -- Fixed migration crash when removing indexed field on SQLite 3.35.5+.
Regression in 702819227fd0cdd9b581cd99e11d1561d51cbeb.

Thanks cessor for the report.

Backport of c0beff2123 from main
2022-08-08 07:26:46 +02:00
Mariusz Felisiak d9ace347b4 [4.1.x] Fixed #33898 -- Fixed Window() expression crash with ArrayAgg().
Thanks Kia for the report.

Regression in e06dc4571e.
Backport of fd93db97c7 from main
2022-08-06 18:00:38 +02:00
Mariusz Felisiak d3ef502aa9 [4.1.x] Fixed typo in docs/ref/forms/renderers.txt.
Thanks Josh for the report.
Backport of 00370342ca from main
2022-08-06 13:44:05 +02:00
Fab 82e9e19ebe [4.1.x] Fixed #33893 -- Reverted "Fixed #28889 -- Prevented double submission of admin forms."
Regression in fe7dbef586.

Backport of 0756c61f2a from main
2022-08-05 17:21:38 +02:00
Carlton Gibson 7b0ed458d9 [4.1.x] Refs #33173, Refs #33755 -- Fixed ResourceWarning from unclosed files in ASGI tests.
Backport of f476c8847a from main
2022-08-04 10:14:58 +02:00
Mariusz Felisiak ab860d4e48 [4.1.x] Fixed #33891 -- Fixed test command crash when running in parallel using spawn.
Thanks Kevin Renskers for the report.

Regression in 41c4cb253c.
Backport of d4db417c8e from main
2022-08-04 09:17:30 +02:00
Claude Paroz 2ae024c744 [4.1.x] Fixed #33888 -- Fixed get_select2_language() crash with no language activated.
Regression in 3079133c73.

Backport of 0638b4e23d from main
2022-08-03 20:25:10 +02:00
Aarni Koskela a3ce58ac4c [4.1.x] Fixed #33886 -- Reallowed using GeoIP2() when GEOS is not installed.
Regression in 31bef51d8e.

Backport of e7afb8a180 from main
2022-08-03 18:31:15 +02:00
Alberto Planas 9e9bdf8dbd [4.1.x] Fixed #33887 -- Fixed test_fails_squash_migration_manual_porting() on final tags.
Regression in 7c318a8bdd.
Backport of 4e13b40a76 from main
2022-08-03 16:36:48 +02:00
Carlton Gibson a9268e3225 [4.1.x] Added stub release notes for 4.1.1.
Backport of 09e837c5d9 from main
2022-08-03 10:53:02 +02:00
Carlton Gibson 2fed4f7dd9 [4.1.x] Post-release version bump. 2022-08-03 10:37:44 +02:00
Carlton Gibson c8eb9a7c45 [4.1.x] Bumped version for 4.0 release. 2022-08-03 10:33:01 +02:00
Carlton Gibson 6cd2f97a4f [4.1.x] Updated release notes for Django 4.1 release.
Backport of a4cb1dae63 from main
2022-08-03 10:26:53 +02:00
Carlton Gibson c721b569a2 [4.1.x] Added CVE-2022-36359 to security archive.
Backport of 57c7220280 from main
2022-08-03 09:10:23 +02:00
Carlton Gibson 46916665f9 [4.1.x] Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header.
Thanks to Motoyasu Saburi for the report.
2022-08-03 08:47:19 +02:00
Carlton Gibson 5359607c89 [4.1.x] Adjusted version 4.0.7 release notes.
Backport of 9062c23de8 from main
2022-08-03 08:37:13 +02:00
Mariusz Felisiak a3bab93324 [4.1.x] Updated translations from Transifex.
This also fixes related i18n tests.

Co-authored-by: Claude Paroz <claude@2xlibre.net>
2022-08-03 08:02:48 +02:00
Carlton Gibson 064c8100a5 [4.1.x] Doc'd TextField.db_collation as optional.
Matches CharField.db_collation docs.

Thanks to Paolo Melchiorre for the report.

Backport of 5028a02352 from main
2022-08-02 15:18:35 +02:00
Carlton Gibson 8aab03ab55 [4.1.x] Fixed #33876, Refs #32229 -- Made management forms render with div.html template.
Thanks to Claude Paroz for the report.

Backport of 89e695a69b from main
2022-08-02 10:31:04 +02:00
Mariusz Felisiak bdff4d5b3a [4.1.x] Fixed collation tests on MySQL 8.0.30+.
The utf8_ collations are renamed to utf8mb3_* on MySQL 8.0.30+.
Backport of 88dba2e3fd from main
2022-08-01 09:25:36 +02:00
Mariusz Felisiak 70bd1d4f7a [4.1.x] Ignored d3f5782a33 formatting changes in git blame. 2022-07-31 10:29:14 +02:00
Mariusz Felisiak d3f5782a33 [4.1.x] Fixed warnings per flake8 5.0.0.
Backport of c18861804f from main
2022-07-31 10:28:17 +02:00
rharri 088537710f [4.1.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 6654289f5b from main
2022-07-29 09:02:09 +02:00
Carlton Gibson 33c2dc8757 [4.1.x] Adjusted release notes for 4.0.7 and 3.2.15.
Backport of cadd864f68 from main
2022-07-27 10:03:40 +02:00
Carlton Gibson 5b509539e2 [4.1.x] Added release date and stub release notes for 4.0.7 and 3.2.15 releases.
Backport of 0c1675781e from main
2022-07-27 09:32:04 +02:00
Mariusz Felisiak 265c3eb602 [4.1.x] Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.
Thanks Johnny Metz for the report.

Regression in 71ec102b01.
Backport of e20e5d1557 from main
2022-07-26 20:22:03 +02:00
Claude Paroz 1fd79033f7 [4.1.x] Refs #25756 -- Doc'd inability to use file fields with PostgreSQL ArrayField.
Backport of a46dfa87d0 from main
2022-07-23 16:12:52 +02:00
Victor 8a2e65c2e6 [4.1.x] Fixed #33317 -- Added note about unconditional evaluation of {% block %} tags.
Backport of 2fac0a1808 from main
2022-07-22 10:10:23 +02:00
Carlton Gibson 70147215bb [4.1.x] Bumped version for 4.1 release candidate 1. 2022-07-19 10:44:56 +02:00
Mariusz Felisiak 710af68dee [4.1.x] Fixed #33855 -- Removed unnecessary system check calls from test worker initialization.
Regression in 3b3f38b3b0.
Backport of 24effbceb8 from main
2022-07-19 09:45:39 +02:00
Alokik Vijay 0acaea1329 [4.1.x] Fixed #30711 -- Doc'd django.contrib.postgres.fields.hstore.KeyTransform().
Backport of 7faf25d682 from main
2022-07-13 11:34:46 +02:00
Mariusz Felisiak 7d59c6d37c [4.1.x] Refs CVE-2022-34265 -- Unified DatabaseOperations._convert_*_to_tz() hook names.
Backport of 5e2f4ddf29 from main
2022-07-09 13:03:19 +02:00
Stéphane "Twidi" Angel a3d35af26a [4.1.x] Fixed #33829 -- Made BaseConstraint.deconstruct() and equality handle violation_error_message.
Regression in 667105877e.

Backport of ccbf714ebe from main
2022-07-08 08:57:21 +02:00
Simon Charette 585ed2f6d7 [4.1.x] Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 877c800f25 from main
2022-07-06 09:10:41 +02:00
Mariusz Felisiak 14057603c7 [4.1.x] Fixed RelatedGeoModelTest.test08_defer_only() on MySQL 8+ with MyISAM storage engine.
Backport of 73766c1187 from main
2022-07-05 19:06:03 +02:00
Shawn Dong 675d2239ce [4.1.x] Fixed #33822 -- Fixed save() crash on model formsets when not created by modelformset_factory().
Thanks Claude Paroz for the report.

Regression in e87f57fdb8.

Backport of 18c5ba07cc from main
2022-07-05 08:18:09 +02:00
Mariusz Felisiak ee79219f1b [4.1.x] Added CVE-2022-34265 to security archive.
Backport of d12d7c4c42 from main
2022-07-04 10:33:26 +02:00
Mariusz Felisiak 38c2bdba35 [4.1.x] Added stub release notes for 4.0.7.
Backport of c6932ea2ea from main
2022-07-04 10:33:18 +02:00
Mariusz Felisiak 284b188a41 [4.1.x] Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) against SQL injection.
Thanks Takuto Yoshikai (Aeye Security Lab) for the report.
2022-07-04 08:26:02 +02:00