David Sanders
33d9247c8b
[4.1.x] Fixed #34025 -- Fixed selecting ModelAdmin.autocomplete_fields after adding/changing related instances via popups.
...
Regression in c72f6f36c13a21f6db3d4f85d2d3cec87bad45e6.
Thanks Alexandre da Silva for the report.
Backport of 9976f3d4b80cfb2e6f4c998438622b78eb1ac53e from main
2022-09-28 12:54:48 +02:00
Alexander Kerkum
2d20386b41
[4.1.x] Fixed #34016 -- Fixed QuerySet.values()/values_list() crash on ArrayAgg() and JSONBAgg().
...
Regression in e06dc4571ea9fd5723c8029959b95808be9f8812.
Backport of f88fc72da4eb76f2d464edb4874ef6046f8a8658 from main
2022-09-18 07:39:47 +02:00
David Sanders
be5e3b46f7
[4.1.x] Fixed #33996 -- Fixed CheckConstraint validation on NULL values.
...
Bug in 667105877e6723c6985399803a364848891513cc.
Thanks James Beith for the report.
Backport of e14d08cd894e9d91cb5d9f44ba7532c1a223f458 from main
2022-09-13 14:06:46 +02:00
Simon Charette
e0f14d8389
[4.1.x] Fixed #33992 -- Fixed queryset crash when aggregating over a group containing Exists.
...
A more in-depth solution is likely to make sure that we always GROUP BY
selected annotations or revisit how we use Query.exists() in the Exists
expression but that requires extra work that isn't suitable for a
backport.
Regression in e5a92d400acb4ca6a8e1375d1ab8121f2c7220be.
Thanks Fernando Flores Villaça for the report.
Backport of 32536b1324e98768dd892980408a8c6b26c23fd9 from main
2022-09-08 08:13:15 +02:00
James Beith
7ba9a44831
[4.1.x] Fixed #33982 -- Fixed migrations crash when adding model with ExclusionConstraint.
...
Regression in 0e656c02fe945389246f0c08f51c6db4a0849bd2.
Backport of 19e838daa8872ee29fbea0bc471c2a6443f26835 from main
2022-09-07 09:17:23 +02:00
Mariusz Felisiak
ef6e80d4ec
[4.1.x] Post-release version bump.
2022-09-05 05:46:37 +02:00
Mariusz Felisiak
a6874fc4f6
[4.1.x] Bumped version for 4.1.1 release.
2022-09-05 05:33:40 +02:00
Mariusz Felisiak
a1083805ac
[4.1.x] Fixed #33955 , Fixed #33971 -- Reverted "Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs."
...
This reverts commit 7f3cfaa12b28d15c0ca78bb692bfd6e59d17bff1.
Thanks Tom Carrick and Greg Kaleka for reports.
Backport of 974942a75039ba43e618f6a5ff95e08b5d5176fd from main
2022-09-01 21:10:43 +02:00
Mariusz Felisiak
e98869a8a8
[4.1.x] Fixed #33960 -- Fixed migrations crash on SQLite < 3.26.
...
Regression in 0b95a96ee10d3e12aef01d449467bcf4641286b4.
Thanks Aristotelis Mikropoulos for the report.
Backport of 4483a9b12f295908e68b82d6599f460de943444f from main
2022-08-29 09:56:12 +02:00
David Wobrock
fca055315e
[4.1.x] Fixed #33952 -- Reallowed creating reverse foreign key managers on unsaved instances.
...
Thanks Claude Paroz for the report.
Regression in 7ba6ebe9149ae38257d70100e8bfbfd0da189862.
Backport of 806e9e2d0dcf8f58e376fb7e2a8b9771e2a9ce16 from main
2022-08-27 15:36:13 +02:00
Iuri de Silvio
7d5ccbbe1a
[4.1.x] Fixed #33953 -- Reverted "Fixed #33201 -- Made RenameModel operation a noop for models with db_table."
...
Regression in afeafd6036616bac8263d762c1610f22241c0187.
This reverts afeafd6036616bac8263d762c1610f22241c0187.
Thanks Timothy Thomas for the report.
Backport of 166a3b32632c141541d1c3f0eff18e1d8b389404 from main
2022-08-26 07:14:54 +02:00
Simon Charette
c9ebd5b7aa
[4.1.x] Fixed #33938 -- Fixed migration crash for m2m with a through model in another app.
...
Regression in aa4acc164d1247c0de515c959f7b09648b57dc42.
Thanks bryangeplant for the report.
Backport of 71902e0d9f93670c4f93ff9d66095b0e571be74b from main
2022-08-25 10:32:48 +02:00
Benoît Vinot
85942cf669
[4.1.x] Fixed #33932 -- Fixed altering AutoFields to OneToOneField on PostgreSQL.
...
Regression in 2eea361eff58dd98c409c5227064b901f41bd0d6.
Backport of e3cb8bcb7d2a2d392e726ee1f7e32a8d9038e14c from main
2022-08-17 17:43:48 +02:00
Mariusz Felisiak
3848475eeb
[4.1.x] Fixed #33919 -- Fixed adding AutoFields on PostgreSQL.
...
Thanks Jack Calvin Brown for the report.
Regression in 2eea361eff58dd98c409c5227064b901f41bd0d6.
Backport of 5c803bc0702511c8bc05e9db600367a465514f82 from main
2022-08-12 17:31:15 +02:00
David Sanders
e215948f0d
[4.1.x] Fixed #33905 -- Fixed CheckConstraint() validation on range fields.
...
Bug in 667105877e6723c6985399803a364848891513cc.
Backport of e0ae1363ec2aa71945be26f869cafd4181ccbc95 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 667105877e6723c6985399803a364848891513cc.
Backport of 63884829acd207404f2a5c3cc1d6b4cd0a822b70 from main
2022-08-09 06:09:56 +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 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
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
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
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
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
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
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
d3f5782a33
[4.1.x] Fixed warnings per flake8 5.0.0.
...
Backport of c18861804feb6a97afbeabb51be748dd60a04458 from main
2022-07-31 10:28:17 +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 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc.
Backport of 24effbceb871e71d3bc320b91252f743714722df from main
2022-07-19 09:45:39 +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
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
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
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
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
DhruvaPatil98
531c96de34
[4.1.x] Fixed #33799 , Refs #31685 -- Added parameters for updating conflicts to QuerySeta.abulk_create().
...
Backport of c627226d05dd52aef59447dcfb29cec2c2b11b8a from main
2022-06-23 12:16:41 +02:00
Carlton Gibson
0204dc951c
[4.1.x] Bumped version for 4.1 beta 1.
2022-06-21 11:15:01 +02:00
Claude Paroz
42e4b0e608
[4.1.x] Fixed #33794 -- Fixed string-casting of GIS queries on PostgreSQL.
...
Regression in 64c3f049ea3bcb1c82f35ae09f1dd5349a826a5c.
Backport of de74a74b4b889c986cabab837bb03e2113880afe from main
2022-06-21 10:32:34 +02:00
Abhinav Yadav
99e5ce96c6
[4.1.x] Fixed #33657 -- Allowed customizing formatter class of argument parsers.
...
Backport of 2887b9f67cadc5295ef6a0574de2c2c8fdd66905 from main
2022-06-20 17:35:35 +02:00
Zainab Amir
f741dd5fab
[4.1.x] Fixed #23689 -- Made parsing HTTP Accept-Language header case-insensitive.
...
Thank you Daniel Samuels for test project.
Backport of 901a1691982cab76349d33e51b72c40120ec927a from main
2022-06-20 08:41:17 +02:00
Ankur
5197014eff
[4.1.x] Fixed #33784 -- Removed unnecessary format escaping in admin calendar widget.
...
Replacements were added in fa0653cd1d791a8bce835e8992cbeab6fd70d0e7
where we created a callback function by concatenating strings. It's
unnecessary since d638cdc42acec608c1967f44af6be32a477c239f.
Backport of d19a53d8e3640e8f937048bf7826c7e2229a9665 from main
2022-06-18 22:28:54 +02:00
David Wobrock
d44dc31fcb
[4.1.x] Fixed #28897 -- Fixed QuerySet.update() on querysets ordered by annotations.
...
Backport of 3ef37a5245015f69a9b9f884ebc289a35d02c5f6 from main
2022-06-17 11:13:05 +02:00
David Wobrock
ccb243847e
[4.1.x] Refs #28897 -- Added test for QuerySet.update() on querysets ordered by inline m2m annotation.
...
Backport of f4680a112d01d85540411673eade31f37712d0a6 from main
2022-06-17 11:12:59 +02:00
Bruce Cutler
a7f398ae59
[4.1.x] Fixed #33773 -- Made Index with multiple fields respect DEFAULT_INDEX_TABLESPACE.
...
Thanks to Simon Charette for locating where issue lay.
Backport of de1c8320cedee5d4f91b153a7fe82eb63876470f from main
2022-06-13 08:49:35 +02:00
Swann
9d8b694205
[4.1.x] Fixed documentation of Widget.id_for_label() empty return value.
...
Backport of d0863429a39dbc99a52a6d781006e7075c743d33 from main
2022-06-03 20:01:16 +02:00
David Wobrock
9fce76a237
[4.1.x] Fixed #31788 -- Fixed migration optimization after altering field to ManyToManyField.
...
This makes AddField() used for altering to ManyToManyField, dependent
on the prior RemoveField.
Backport of 798b6c23ee52c675dd0f0e233c50cddd7ff15657 from main
2022-06-02 12:11:06 +02:00
Mehrdad
2f974e3c1e
[4.1.x] Refs #33697 -- Fixed multipart parsing of headers with double quotes and semicolons.
...
See 1ef0c0349e
Backport of 93cedc82f29076c824d476354527af1150888e4f from main
2022-06-01 10:38:59 +02:00