Scott Macpherson
090d5ccc6c
[4.2.x] Fixed #34486 -- Fixed DatabaseOperations.compose_sql() crash with no existing database connection on PostgreSQL.
...
Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.
Backport of 53aee470d5b35e2708864d5221d2b5655e10c091 from main
2023-04-14 11:02:47 +02:00
nessita
a3c14ea61b
[4.2.x] Fixed #34483 -- Fixed timesince()/timeuntil() with timezone-aware dates and interval less than 1 day.
...
Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8.
Thanks Lorenzo Peña for the report.
Backport of 813015d67e2557fa859a07930a9becec4e5f64a0 from main
2023-04-13 13:20:16 -03:00
Mariusz Felisiak
791407fef1
[4.2.x] Refs #34482 -- Reverted "Fixed #32969 -- Fixed pickling HttpResponse and subclasses."
...
This reverts commit d7f5bfd241666c0a76e90208da1e9ef81aec44db.
Thanks Márton Salomváry for the report.
Backport of 173034b00589c083793d495e8b07e35be2cb1cf0 from main
2023-04-12 18:53:29 +02:00
Mariusz Felisiak
2feb9333e7
[4.2.x] Fixed #34484 , Refs #34482 -- Reverted "Fixed #29186 -- Fixed pickling HttpRequest and subclasses."
...
This reverts commit 6220c445c40a6a7f4d442de8bde2628346153963.
Thanks Adam Johnson and Márton Salomváry for reports.
Backport of 280ca147af9cdfce1ca9cb14cc3c5527ff6c7a02 from main
2023-04-12 18:53:22 +02:00
sarahboyce
facc153af7
[4.2.x] Fixed #34455 -- Restored i18n_patterns() respect of prefix_default_language argument when fallback language is used.
...
Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.
Thanks Oussama Jarrousse for the report.
Backport of 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5 from main
2023-04-10 15:35:28 +02:00
Mariusz Felisiak
b0d7753d07
[4.2.x] Fixed #34470 -- Enforced UTF-8 encoding on PostgreSQL.
...
Regression in 6a2165816394ab4bb259f6171e82417e098e97a6.
Backport of 5b8a043bf51ab8bcf4a758d0b4646f30a84be183 from main
2023-04-07 10:12:19 +02:00
Anders Kaseorg
0bc2bbf041
[4.2.x] Fixed #34466 -- Reallowed setting cursor_factory in DATABASES["options"] on PostgreSQL.
...
Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.
Backport of 73cbb372baa45d1fdafd571e2f430a980831f722 from main
2023-04-07 09:21:54 +02:00
Simon Charette
511dc3db53
[4.2.x] Fixed #34464 -- Fixed queryset aggregation over group by reference.
...
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.
Refs #28477 .
Thanks Ian Cubitt for the report.
Backport of 9daf8b4109c3e133eb57349bb44d73cc60c5773c from main
2023-04-07 06:58:24 +02:00
Mariusz Felisiak
db49def5fc
[4.2.x] Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol.
...
Thanks Patryk Zawadzki for the report.
Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca.
Backport of 4bf4222010fd8e413963c6c873e4088614332ef9 from main
2023-04-06 13:33:13 +02:00
Mariusz Felisiak
32cfa73c6a
[4.2.x] Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on Python 3.12+.
...
2a4d8c0a9e
Backport of 38e63c9e61152682f3ff982c85a73793ab6d3267 from main
2023-04-05 13:59:55 +02:00
Simon Charette
647920b766
[4.2.x] Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.
...
Thanks Andrew Cordery for the report.
Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.
Backport of 87c63bd8df0eb0109df333df1264c6a96707d6a4 from main
2023-04-05 06:06:03 +02:00
Swara
50d469fe48
[4.2.x] Fixed Central Kurdish (Sorani) translations of date-related strings.
...
Backport of 79a3ea83b13a336b5dd2963c4dab374b2064f092 from main
2023-04-04 11:46:26 +02:00
Mariusz Felisiak
cd071f2902
[4.2.x] Post-release version bump.
2023-04-03 10:30:34 +02:00
Mariusz Felisiak
879e5d587b
[4.2.x] Bumped version for 4.2 release.
2023-04-03 10:24:35 +02:00
Mariusz Felisiak
fa68771932
[4.2.x] Updated translations from Transifex.
2023-04-03 08:38:58 +02:00
Tim Graham
837e68a1bf
[4.2.x] Prevented PostgreSQL's DatabaseCreation._execute_create_test_db() from hiding clause-less exceptions.
...
Regression in 3cafb783f3f711c7413ba2b8d7c8ff750bd4d6e1.
Backport of 465f3c045b2cb7d757a8cbabc909c137901c9844 from main
2023-04-03 05:55:52 +02:00
Mariusz Felisiak
47530bfb20
[4.2.x] Refs #34383 -- Corrected margins in admin fieldsets with multiple fields on the same line on small screens.
...
Regression in d687febce5868545f99974d2499a91f81a32fef5.
Backport of b347dc63d5468564cbb7050461565f4f89032664 from main
2023-03-29 20:11:34 +02:00
Tim Graham
4b01a4e6f5
[4.2.x] Fixed overindentation of AdminURLFieldWidget.
...
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
Backport of 080e13a6ef9c896bba0f272c68d7d03696058955 from main
2023-03-29 12:41:13 +02:00
Mariusz Felisiak
f12dc36754
[4.2.x] Fixed #34443 -- Fixed filtering by transforms on reverse relations.
...
Regression in ce6230aa976e8d963226a3956b45a8919215dbd8.
Backport of 996c802229b93fe83c39842e56c6b8668464deaf from main
2023-03-28 21:03:48 +02:00
Mariusz Felisiak
be6a309b1d
[4.2.x] Refs #29799 -- Added field instance lookups to suggestions in FieldErrors.
...
Bug in cd1afd553f9c175ebccfc0f50e72b43b9604bd97.
Backport of 3afdc9e9b47d5bdd1bd653633b4cb2357478ade5 from main
2023-03-28 19:19:30 +02:00
Gary Jarrel
99ba5b43f0
[4.2.x] Fixed #34438 -- Reallowed extending UserCreationForm.
...
Regression in 298d02a77a69321af8c0023df3250663e9d1362d.
Backport of fcc7dc5781667932bf0bf8bec76df458836e5e95 from main
2023-03-28 12:48:25 +02:00
Tom Carrick
788f7b8100
[4.2.x] Fixed #34383 -- Fixed layout of admin fieldsets with multiple fields on the same line.
...
Thanks Antonio Candido Nazareth junior for the report.
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of d687febce5868545f99974d2499a91f81a32fef5 from main
2023-03-28 05:35:28 +02:00
Mariusz Felisiak
ded3334af6
[4.2.x] Refs #34316 -- Fixed layout of admin password change forms and help texts for RTL languages.
...
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
Follow up to e67804668115fd388e7554c6a809bd409f70adfe and
39d1e45227e060746ed461fddde80fa2b6cf0dcd.
Backport of f5c5c571d3b87a78d005ea6f21959388d1747696 from main
2023-03-24 20:49:05 +01:00
Mariusz Felisiak
b85dd83194
[4.2.x] Refs #34316 -- Fixed displaying error lists in admin password change forms on small screens.
...
Follow up to e67804668115fd388e7554c6a809bd409f70adfe.
Backport of 39d1e45227e060746ed461fddde80fa2b6cf0dcd from main
2023-03-23 10:44:27 +01:00
Mariusz Felisiak
12561b7021
[4.2.x] Refs #33781 -- Restored alignment for admin split-field timezone warnings for RTL languages.
...
Regression in f3e2bb0833105f43efc0cc6f19c8465bc1b1a785.
Backport of 73ae8545ae620469550f1adcfe63fb9b9e4f3eb3 from main
2023-03-23 10:33:25 +01:00
Carlton Gibson
ae824eceb1
[4.2.x] Fixed #34428 -- Made ASGIStaticFilesHandler adapt response to async iterator.
...
Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830.
Backport of 02c356f2f3945b8075735d485c3cf48cad991011 from main
2023-03-21 20:52:59 +01:00
Mariusz Felisiak
e829b0a239
[4.2.x] Bumped version for 4.2 release candidate 1.
2023-03-20 08:19:05 +01:00
Mariusz Felisiak
7e79fb35d4
[4.2.x] Updated source translation catalogs.
2023-03-20 05:59:41 +01:00
Mariusz Felisiak
f2923306f1
[4.2.x] Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional.
...
Co-authored-by: Author: Claude Paroz <claude@2xlibre.net>
Backport of e10c1688f96e3b2d202fe401472b7b25f6105969 from main
2023-03-18 14:06:09 +01:00
Mariusz Felisiak
87a55e0b51
[4.2.x] Fixed #34395 -- Updated admin's jQuery to 3.6.4.
...
Backport of 18473004afd82a616ba6c9ac22f476347fde4846 from main
2023-03-09 08:55:34 +01:00
David Wobrock
6937c92169
[4.2.x] Fixed #34384 -- Fixed session validation when rotation secret keys.
...
Bug in 0dcd549bbe36c060f536ec270d34d9e7d4b8e6c7.
Thanks Eric Zarowny for the report.
Backport of 2396933ca99c6bfb53bda9e53968760316646e01 from main
2023-03-08 11:33:03 +01:00
Dmitriy Sintsov
b9d89d74f7
[4.2.x] Fixed #34386 -- Made SMTP backend load default system root CA certificates by default.
...
Regression in 2848e5d0ce5cf3c31fe87525536093b21d570f69.
Backport of c914d6cff176ae6bfab2f33a84bcfd45208f1894 from main
2023-03-06 13:27:45 +01:00
Simon Charette
fc15d11f2e
[4.2.x] Fixed #34368 -- Made subquery raise NotSupportedError when referencing outer window expression.
...
Regression in f387d024fc75569d2a4a338bfda76cc2f328f627.
Co-authored-by: Jannis Vajen <jvajen@gmail.com>
Backport of c67ea79aa981ae82595d89f8018a41fcd842e7c9 from main
2023-02-27 09:46:30 +01:00
Simon Charette
872dade29c
[4.2.x] Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy.
...
Regression in 278881e37619278789942513916acafaa88d26f3 caused by a lack
of expression copying when an OrderBy expression is explicitly provided.
Thanks Jannis Vajen for the report and regression test.
Backport of b15f162f252610e3b510ade465549769ab4356cf from main
2023-02-27 07:10:45 +01:00
Panagiotis H.M. Issaris
ce69dba000
[4.2.x] Fixed #34363 -- Fixed floatformat crash on zero with trailing zeros.
...
Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124.
Follow up to 4b066bde692078b194709d517b27e55defae787c.
Backport of dcd974698301a38081c141ccba6dcafa5ed2c80e from main
2023-02-22 20:49:04 +01:00
Mariusz Felisiak
6234acb717
[4.2.x] Bumped version for 4.2 beta 1.
2023-02-20 09:35:28 +01:00
Laurens Verhoeven
bb94e1b7db
[4.2.x] Fixed #34349 -- Fixed FormSet.empty_form crash when deleting extra forms is disabled.
...
Backport of 6cbc403b8ee7014bd6dae4892d404eedb1d4a50d from main
2023-02-20 09:33:19 +01:00
Simon Charette
aab25a69dd
[4.2.x] Fixed #34346 -- Ordered selected expressions by position.
...
Used the same approach as for #34176 by using selected expressions
position to prevent ambiguous aliases in collisions.
Thanks henribru for the report.
Regression in 04518e310d4552ff7595a34f5a7f93487d78a406.
Backport of 278881e37619278789942513916acafaa88d26f3 from main
2023-02-20 06:22:18 +01:00
Stefan Brand
efcc0f25a7
[4.2.x] Fixed #34302 -- Fixed SpatialReference.srid for objects without top-level authority.
...
Backport of eacf6b73d8eace004f840bd9b80c8c671caab9da from main
2023-02-17 19:57:41 +01:00
Stefan Brand
341f33ed15
[4.2.x] Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is None.
...
force_bytes() turns None into the byte string b"None". Since
ctypes.c_char_p() also accepts None, we can bypass force_bytes() if
target is None.
Backport of d77762de038d1ab46cdcda2b7202d36c80956e25 from main
2023-02-17 19:57:34 +01:00
Alexandre Spaeth
610cd06c3f
[4.2.x] Fixed #34342 , Refs #33735 -- Fixed test client handling of async streaming responses.
...
Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of 52b054824e899db40ba48f908a9a00dadc56cb89 from main
2023-02-17 11:48:59 +01:00
nabil-rady
3b09f35558
[4.2.x] Fixed #34320 -- Make sure constraints names are obtained from truncated columns names.
...
Backport of 6bdc3c58b65eb32fd63cd41849f00a17a36b4473 from main
2023-02-15 16:52:31 +01:00
DevilsAutumn
5cde08f702
[4.2.x] Fixed #34250 -- Fixed renaming model with m2m relation to a model with the same name.
...
Backport of ff3a2834224f527ca574b5cd0d578c8c26d51a6c from main
2023-02-14 14:33:45 +01:00
Markus Holtermann
7ac5ff37b8
[4.2.x] Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.
...
Thanks to Jakob Ackermann for the report.
2023-02-14 08:21:18 +01:00
sarahboyce
5510a12c90
[4.2.x] Fixed #34316 -- Fixed layout of admin password change forms and help texts.
...
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
Backport of e67804668115fd388e7554c6a809bd409f70adfe from main
2023-02-13 11:52:09 +01:00
Dhanush
a0623b117c
[4.2.x] Fixed #32813 -- Made runserver display port after binding.
...
Thanks Florian Apolloner for the review.
Backport of a18d20ca97e6799152c1e0b6f007fde943053dcb from main
2023-02-10 09:55:35 +01:00
Mariusz Felisiak
836ae73a89
[4.2.x] Fixed #34319 -- Fixed Model.validate_constraints() crash on ValidationError with no code.
...
Thanks Mateusz Kurowski for the report.
Regression in 667105877e6723c6985399803a364848891513cc.
Backport of 2fd755b361d3da2cd0440fc9839feb2bb69b027b from main
2023-02-08 16:39:53 +01:00
Bakdolot
1f193f7f56
[4.2.x] Fixed #34315 -- Preserved admin changelist filters on "Close" button.
...
Backport of 325c44ac6c070465ef2b3b7b8ed06cbcb88a3f10 from main
2023-02-08 10:21:40 +01:00
Youngkwang Yang
b17fad46fb
[4.2.x] Fixed #34313 -- Updated thousands separator for Spanish (ES) locale.
...
Format was updated from a comma to a space in 2010.
ref: https://en.wikipedia.org/wiki/Decimal_separator#Examples_of_use
Backport of 9f20f382cab9241f2e8ec724eb84d341a68567bc from main
2023-02-08 09:39:10 +01:00
Nils VAN ZUIJLEN
e8a39da396
[4.2.x] Fixed #34285 -- Fixed index/slice lookups on filtered aggregates with ArrayField.
...
Thanks Simon Charette for the review.
Backport of ae1fe72e9b1f5fe3b05e5b670bd0c205cd305e71 from main
2023-02-07 14:06:08 +01:00