1
0
mirror of https://github.com/django/django.git synced 2025-04-09 07:56:43 +00:00

30937 Commits

Author SHA1 Message Date
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
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. 4.1b1 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
Mariusz Felisiak
91b365ef67 [4.1.x] Fixed #33789 -- Doc'd changes in quoting table/column names on Oracle in Django 4.0.
Thanks Paul in 't Hout for the report.

Regression in 1f643c28b5f2b039c47155692844dbae1cb091cd.
Backport of a0608c4b111555023c24ab7333a42ec53dca6b42 from main
2022-06-21 09:10:43 +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
Carlton Gibson
0fb02522f9 [4.1.x] Updated asgiref dependency for 4.1 release series.
Backport of 2a2bde52f31e09e95ce616e8e6bc0ffeb68f76c9 from main
2022-06-16 12:17:15 +02:00
Sfurti-yb
eaf9885392 [4.1.x] Added YugabyteDB to list of third-party DB backends.
Backport of 860643e12e043d7b0b0c10ebe29d6ada017d95d7 from main
2022-06-16 08:58:56 +02:00
Grammy Jiang
3b332c6077 [4.1.x] Updated OWASP Top 10 link in security topic.
Backport of ef9121f3e6f62060d2904fb1811dbe7d74834686 from main
2022-06-16 06:35:52 +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