1
0
mirror of https://github.com/django/django.git synced 2025-04-05 22:16:41 +00:00

30850 Commits

Author SHA1 Message Date
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 c0beff21239e70cbdcc9597e5be09e505bb8f76c 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 e06dc4571ea9fd5723c8029959b95808be9f8812.
Backport of fd93db97c7228b16a4f92f97ef05b0d72418d952 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 00370342ca3a478660372975b3309ffc4d535be1 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 fe7dbef5867c577995f0fc849d8dfdb8f2e6bbfa.

Backport of 0756c61f2ada56e4ae625589099c0141a77737eb 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 f476c8847a0bf1a4e20becfb3dc66f4da0dbf579 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 41c4cb253c137edf5a96b7408ea55d57d6e0602a.
Backport of d4db417c8e6935222d198925dd4c5ac1ca737909 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 3079133c73f3b8b0e929673b06b62dce1f54be71.

Backport of 0638b4e23dbabdcf7d7a6f2a2d5b95b980dece78 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 31bef51d8ea5e3bf650de1495ae1f0566670b8f3.

Backport of e7afb8a18061f664a5d20d409d423b77195e6060 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 7c318a8bdd66f8c5241864c9970dddb525d0ca4c.
Backport of 4e13b40a764cfdae50416338c5d077e9d9a6d0f1 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 09e837c5d93d8ac22697e711901a63ead59c9fd4 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. 4.1 2022-08-03 10:33:01 +02:00
Carlton Gibson
6cd2f97a4f [4.1.x] Updated release notes for Django 4.1 release.
Backport of a4cb1dae6362d473116bb8c8fd97df89bfe036f8 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 57c7220280db19dc9dda0910b90cf1ceac50c66f 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 9062c23de80e999009cbe4100d83e90dd0463612 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 5028a02352cb1fe3e64d63a614912ef694838862 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 89e695a69b16b8c0e720169b3ca4852cfd0c485f 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 88dba2e3fd64b64bcf4fae83b256b4f6f492558f from main
2022-08-01 09:25:36 +02:00
Mariusz Felisiak
70bd1d4f7a [4.1.x] Ignored d3f5782a335823401aa51cae02dd5e789029143a 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 c18861804feb6a97afbeabb51be748dd60a04458 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 6654289f5b350dfca3dc4f6abab777459b906756 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 cadd864f6878c1c02a014589876ece166befdeb3 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 0c1675781ec5944132fe5a475ca6064edc71bd81 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 71ec102b01fcc85acae3819426a4e02ef423b0fa.
Backport of e20e5d1557785ba71e8ef0ceb8ccb85bdc13840a 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 a46dfa87d0ba690125be98f7f1b77062a1794fdc 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 2fac0a18081dcc77fc860c801e5d727dc90435b3 from main
2022-07-22 10:10:23 +02:00
Carlton Gibson
70147215bb [4.1.x] Bumped version for 4.1 release candidate 1. 4.1rc1 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 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc.
Backport of 24effbceb871e71d3bc320b91252f743714722df 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 7faf25d682b8e8f4fd2006eb7dfc71ed2a2193b7 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 5e2f4ddf2940704a26a4ac782b851989668d74db 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 667105877e6723c6985399803a364848891513cc.

Backport of ccbf714ebeff51d1370789e5e487a978d0e2dbfb 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 877c800f255ccaa7abde1fb944de45d1616f5cc9 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 73766c118781a7f7052bf0a5fbee38b944964e31 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 e87f57fdb8dcdabc452bd15abd015bf6c9b1f7a8.

Backport of 18c5ba07cc81be993941ecc2ecc17923b401b66f 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 d12d7c4c42814736c24731a6a300a79526fc2ef6 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 c6932ea2ea7ec431245b9a343c72318bb758072f 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
Aristotelis Mikropoulos
501a3e6727 [4.1.x] Fixed typo in docs/topics/signals.txt.
Backport of 5eb6a2b33d70b9889e1cafa12594ad6f80773d3a from main
2022-07-02 16:46:49 +02:00
Mariusz Felisiak
1757eda3a8 [4.1.x] Fixed GEOSTest.test_emptyCollections() on GEOS 3.8.0.
It's a regression in GEOS 3.8.0 fixed in GEOS 3.8.1.
Backport of 863aa7541d30247e7eb7a973ff68a7d36f16dc02 from main
2022-07-01 19:06:14 +02:00
Arslan Noor
33601df44e [4.1.x] Corrected various typos in contributing docs.
Backport of 5c93a84f44054034f495267ff2400a5de69a4fc1 from main
2022-06-30 11:09:51 +02:00
Pablo Montepagano
72358f0110 [4.1.x] Fixed #32749 -- Doc'd PyMemcacheCache defaults.
Backport of bb2c5f69f47466fa52f3cf2727d10b3ebd79a4da from main
2022-06-28 21:58:08 +02:00
Hrushikesh Vaidya
e40b77365f [4.1.x] Refs #33779 -- Doc'd django.utils.html.json_script().
Backport of 0ee03a439b7016c068ab2e0c477d5c84f750a82c from main
2022-06-28 11:35:41 +02:00
Christopher Adams
aed1a73e0a [4.1.x] Fixed #33422 -- Improved docs about isolating apps.
Backport of 90d2f9f41671ef01c8e8e7b5648f95c9bf512aae from main
2022-06-27 20:53:06 +02:00
Mariusz Felisiak
6c0ee61797 [4.1.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.

Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main
2022-06-27 07:44:27 +02:00
Mariusz Felisiak
d783ce3d8d [4.1.x] Added stub release notes and release date for 4.0.6 and 3.2.14.
Backport of b2eff16806057095c7dd3daa9402ad615e51627f from main
2022-06-27 07:16:51 +02:00
Mariusz Felisiak
d38cd2677e [4.1.x] Fixed #33796 -- Fixed ordered combined queryset crash when used in subquery on PostgreSQL and MySQL.
Thanks Shai Berger for the report.

Regression in 30a01441347d5a2146af2944b29778fa0834d4be.

Backport of 44ffd8d06fabc07d8333f31439e8dd39ea87329b from main
2022-06-27 06:22:37 +02:00
Ian Wootten
2026314b20 [4.1.x] Fixed #33804 -- Corrected GinIndex.gin_pending_list_limit description in docs.
Backport of 6f63e0ce8e36fbdb2d0c4dfd77ed3cf02e467f49 from main
2022-06-24 14:54:06 +02:00
Mariusz Felisiak
b37a4affcd [4.1.x] Fixed #33800 -- Fixed system check for the same template tag module in installed apps and template tag libraries.
Thanks Claude Paroz for the report.

Regression in 004b4620f6f4ad87261e149898940f2dcd5757ef.
Backport of 083bfca6b6c00d0f45837a65c2db721eaf46bc07 from main
2022-06-23 20:24:24 +02:00