summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-05-03[4.2.x] Fixed CVE-2023-31047, Fixed #31710 -- Prevented potential bypass of ↵Mariusz Felisiak
validation when uploading multiple files using one form field. Thanks Moataz Al-Sharida and nawaik for reports. Co-authored-by: Shai Berger <shai@platonix.com> Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
2023-05-03[4.2.x] Fixed #34529, Refs #34525 -- Reduced index operations with ↵Mariusz Felisiak
Meta.indexes/index_together when optimizing migrations. This makes squashing migrations an available path for changing Meta.index_together, which is deprecated, to Meta.indexes. Follow up to f81032572107846922745b68d5b7191058fdd5f5. Backport of 8e2460d599aec95f8cfe514d3cc8acdd4ca4b1fb from main.
2023-05-02[4.2.x] Fixed #34515 -- Made LocaleMiddleware prefer language from paths ↵Mariusz Felisiak
when i18n patterns are used. Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81. This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81 (refs #34069) and partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5. Thanks Anthony Baillard for the report. Co-Authored-By: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Backport of 0e444e84f87d174713a2aef0c4f9704ce2865586 from main
2023-04-26[4.2.x] Fixed #34512 -- Restored breadcrumbs on admin app index view.Mariusz Felisiak
Thanks Adam (ataylor32) for the report. Regression in 872b61193b013a700ff88cf50f0eb2cf2c266ff7. Backport of 9440f6ba41e5e96458cd7949fc6d605ef5bd09e9 from main
2023-04-14[4.2.x] Refs #34483 -- Fixed timesince()/timeuntil() with timezone-aware ↵Mariusz Felisiak
dates on different days and interval less than 1 day. Follow up to 813015d67e2557fa859a07930a9becec4e5f64a0. Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8. Backport of 198a19b692699ad3940373d9ed797fe9155f3f4a from main
2023-04-14[4.2.x] Fixed #34486 -- Fixed DatabaseOperations.compose_sql() crash with no ↵Scott Macpherson
existing database connection on PostgreSQL. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. Backport of 53aee470d5b35e2708864d5221d2b5655e10c091 from main
2023-04-14[4.2.x] Refs #34483 -- Fixed utils_tests.test_timesince crash on Python 3.8.Mariusz Felisiak
2023-04-13[4.2.x] Fixed #34483 -- Fixed timesince()/timeuntil() with timezone-aware ↵nessita
dates and interval less than 1 day. Regression in 8d67e16493c903adc9d049141028bc0fff43f8c8. Thanks Lorenzo Peña for the report. Backport of 813015d67e2557fa859a07930a9becec4e5f64a0 from main
2023-04-12[4.2.x] Refs #34482 -- Reverted "Fixed #32969 -- Fixed pickling HttpResponse ↵Mariusz Felisiak
and subclasses." This reverts commit d7f5bfd241666c0a76e90208da1e9ef81aec44db. Thanks Márton Salomváry for the report. Backport of 173034b00589c083793d495e8b07e35be2cb1cf0 from main
2023-04-12[4.2.x] Fixed #34484, Refs #34482 -- Reverted "Fixed #29186 -- Fixed ↵Mariusz Felisiak
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-10[4.2.x] Fixed #34455 -- Restored i18n_patterns() respect of ↵sarahboyce
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-07[4.2.x] Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on ↵Mariusz Felisiak
Python 3.11.4+. https://github.com/python/cpython/commit/5342f5e713e0cc45b6f226d2d053a8cde1b4d68e Follow up to 38e63c9e61152682f3ff982c85a73793ab6d3267. Backport of 2eb1f37260f0e0b71ef3a77eb5522d2bb68d6489 from main
2023-04-07[4.2.x] Fixed #34470 -- Enforced UTF-8 encoding on PostgreSQL.Mariusz Felisiak
Regression in 6a2165816394ab4bb259f6171e82417e098e97a6. Backport of 5b8a043bf51ab8bcf4a758d0b4646f30a84be183 from main
2023-04-07[4.2.x] Fixed #34466 -- Reallowed setting cursor_factory in ↵Anders Kaseorg
DATABASES["options"] on PostgreSQL. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. Backport of 73cbb372baa45d1fdafd571e2f430a980831f722 from main
2023-04-07[4.2.x] Fixed #34464 -- Fixed queryset aggregation over group by reference.Simon Charette
Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7. Refs #28477. Thanks Ian Cubitt for the report. Backport of 9daf8b4109c3e133eb57349bb44d73cc60c5773c from main
2023-04-06[4.2.x] Fixed #34459 -- Fixed SearchVector() crash for parameters with % symbol.Mariusz Felisiak
Thanks Patryk Zawadzki for the report. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. Backport of 4bf4222010fd8e413963c6c873e4088614332ef9 from main
2023-04-06[4.2.x] Moved SearchVectorIndexTests.test_search_vector_index to ↵Mariusz Felisiak
postgres_tests.test_indexes. Backport of 02a04ab79ae8c9e1aa10a91ee8b73fc5252a58e8 from main
2023-04-05[4.2.x] Refs #34118 -- Fixed CustomChoicesTests.test_uuid_unsupported on ↵Mariusz Felisiak
Python 3.12+. https://github.com/python/cpython/commit/2a4d8c0a9e88f45047da640ce5a92b304d2d39b1 Backport of 38e63c9e61152682f3ff982c85a73793ab6d3267 from main
2023-04-05[4.2.x] Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.Simon Charette
Thanks Andrew Cordery for the report. Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879. Backport of 87c63bd8df0eb0109df333df1264c6a96707d6a4 from main
2023-03-28[4.2.x] Fixed #34443 -- Fixed filtering by transforms on reverse relations.Mariusz Felisiak
Regression in ce6230aa976e8d963226a3956b45a8919215dbd8. Backport of 996c802229b93fe83c39842e56c6b8668464deaf from main
2023-03-28[4.2.x] Refs #29799 -- Added field instance lookups to suggestions in ↵Mariusz Felisiak
FieldErrors. Bug in cd1afd553f9c175ebccfc0f50e72b43b9604bd97. Backport of 3afdc9e9b47d5bdd1bd653633b4cb2357478ade5 from main
2023-03-28[4.2.x] Fixed #34438 -- Reallowed extending UserCreationForm.Gary Jarrel
Regression in 298d02a77a69321af8c0023df3250663e9d1362d. Backport of fcc7dc5781667932bf0bf8bec76df458836e5e95 from main
2023-03-28[4.2.x] Fixed #34383 -- Fixed layout of admin fieldsets with multiple fields ↵Tom Carrick
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-21[4.2.x] Fixed #34428 -- Made ASGIStaticFilesHandler adapt response to async ↵Carlton Gibson
iterator. Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830. Backport of 02c356f2f3945b8075735d485c3cf48cad991011 from main
2023-03-18[4.2.x] Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage ↵Mariusz Felisiak
optional. Co-authored-by: Author: Claude Paroz <claude@2xlibre.net> Backport of e10c1688f96e3b2d202fe401472b7b25f6105969 from main
2023-03-08[4.2.x] Fixed #34384 -- Fixed session validation when rotation secret keys.David Wobrock
Bug in 0dcd549bbe36c060f536ec270d34d9e7d4b8e6c7. Thanks Eric Zarowny for the report. Backport of 2396933ca99c6bfb53bda9e53968760316646e01 from main
2023-02-28[4.2.x] Refs #34320 -- Added skipIf for a test requiring check constraints.Tim Graham
Backport of 40e88ae8c899bcae3a9520f7a6519dd178185f85 from main
2023-02-27[4.2.x] Fixed #34368 -- Made subquery raise NotSupportedError when ↵Simon Charette
referencing outer window expression. Regression in f387d024fc75569d2a4a338bfda76cc2f328f627. Co-authored-by: Jannis Vajen <jvajen@gmail.com> Backport of c67ea79aa981ae82595d89f8018a41fcd842e7c9 from main
2023-02-27[4.2.x] Fixed #34372 -- Fixed queryset crash on order by aggregation using ↵Simon Charette
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-22[4.2.x] Fixed #34363 -- Fixed floatformat crash on zero with trailing zeros.Panagiotis H.M. Issaris
Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124. Follow up to 4b066bde692078b194709d517b27e55defae787c. Backport of dcd974698301a38081c141ccba6dcafa5ed2c80e from main
2023-02-20[4.2.x] Fixed #34349 -- Fixed FormSet.empty_form crash when deleting extra ↵Laurens Verhoeven
forms is disabled. Backport of 6cbc403b8ee7014bd6dae4892d404eedb1d4a50d from main
2023-02-20[4.2.x] Fixed #34346 -- Ordered selected expressions by position.Simon Charette
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-18[4.2.x] Refs #33308 -- Added tests for queryset ordered by annotation with ↵Simon Charette
nulls_first/nulls_last. Backport of a6511bc23329f1d3939571ad01d3176f8f6cb786 from main
2023-02-17[4.2.x] Fixed #34302 -- Fixed SpatialReference.srid for objects without ↵Stefan Brand
top-level authority. Backport of eacf6b73d8eace004f840bd9b80c8c671caab9da from main
2023-02-17[4.2.x] Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when ↵Stefan Brand
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[4.2.x] Fixed #34342, Refs #33735 -- Fixed test client handling of async ↵Alexandre Spaeth
streaming responses. Bug in 0bd2c0c9015b53c41394a1c0989afbfd94dc2830. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Backport of 52b054824e899db40ba48f908a9a00dadc56cb89 from main
2023-02-17[4.2.x] Refs #34342 -- Added tests for handling sync streaming responses by ↵Alexandre Spaeth
test client. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Backport of bfb8fda3e69cc6f5c6695ba70117faff51cc25a9 from main
2023-02-15[4.2.x] Fixed #34320 -- Make sure constraints names are obtained from ↵nabil-rady
truncated columns names. Backport of 6bdc3c58b65eb32fd63cd41849f00a17a36b4473 from main
2023-02-14[4.2.x] Fixed #34250 -- Fixed renaming model with m2m relation to a model ↵DevilsAutumn
with the same name. Backport of ff3a2834224f527ca574b5cd0d578c8c26d51a6c from main
2023-02-14[4.2.x] Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.Markus Holtermann
Thanks to Jakob Ackermann for the report.
2023-02-13[4.2.x] Fixed #34316 -- Fixed layout of admin password change forms and help ↵sarahboyce
texts. Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd. Backport of e67804668115fd388e7554c6a809bd409f70adfe from main
2023-02-10[4.2.x] Fixed #32813 -- Made runserver display port after binding.Dhanush
Thanks Florian Apolloner for the review. Backport of a18d20ca97e6799152c1e0b6f007fde943053dcb from main
2023-02-08[4.2.x] Fixed #34319 -- Fixed Model.validate_constraints() crash on ↵Mariusz Felisiak
ValidationError with no code. Thanks Mateusz Kurowski for the report. Regression in 667105877e6723c6985399803a364848891513cc. Backport of 2fd755b361d3da2cd0440fc9839feb2bb69b027b from main
2023-02-08[4.2.x] Fixed #34315 -- Preserved admin changelist filters on "Close" button.Bakdolot
Backport of 325c44ac6c070465ef2b3b7b8ed06cbcb88a3f10 from main
2023-02-07[4.2.x] Fixed #34285 -- Fixed index/slice lookups on filtered aggregates ↵Nils VAN ZUIJLEN
with ArrayField. Thanks Simon Charette for the review. Backport of ae1fe72e9b1f5fe3b05e5b670bd0c205cd305e71 from main
2023-02-07[4.2.x] Fixed #33638 -- Fixed GIS lookups crash with geography fields on ↵Jacob Walls
PostGIS. Backport of 4403432b759124aa613249373e0d2ede64ae8765 from main
2023-02-07[4.2.x] Fixed #34301 -- Made admin's submit_row check add permission for ↵Frederic Mheir
"Save as new" button. Backport of 2878938626aed211d03db33a9a135c9b1d933069 from main
2023-02-04[4.2.x] Increased the default PBKDF2 iterations for Django 4.2.Mariusz Felisiak
See https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2. Thanks Markus Holtermann for the report.
2023-02-03[4.2.x] Fixed #34259 -- Passed called_from_command_line to command subparsers.Adam Johnson
Backport of 017fa23d3b0aee9142f531c2a0002fc86c82a54c from main
2023-02-02[4.2.x] Fixed #34286 -- Fixed admindocs markups for case-sensitive ↵skidipap
template/view names. Backport of 1250483ebf73f7a82ff820b94092c63ce4238264 from main