summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2021-02-19[3.2.x] Bumped version for 3.2 beta 1.3.2b1Carlton Gibson
2021-02-19[3.2.x] Fixed CVE-2021-23336 -- Fixed web cache poisoning via ↵Nick Pope
django.utils.http.parse_qsl().
2021-02-19[3.2.x] Fixed #32455 -- Allowed right combining Q() with boolean expressions.Hasan Ramezani
Backport of f2bef2b7bc6c817af0f5fa77e1052a1f5ce12f71 from master
2021-02-18[3.2.x] Fixed #32450 -- Fixed crash when ANDing/ORing an empty Q() with not ↵starryrbs
pickleable Q(). Regression in bb0b6e526340e638522e093765e534df4e4393d2. Backport of 466920f6d726eee90d5566e0a9948e92b33a122e from master
2021-02-17[3.2.x] Fixed #32453 -- Added introspection of unique constraint field ↵Hannes Ljungberg
ordering on SQLite. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Backport of 4d99375b46ad03fa4b4795319973046f438328c8 from master
2021-02-16[3.2.x] Fixed #29052 -- Made test database creation preserve alias order and ↵Harm Geerts
prefer the "default" database. This fixes flushing test databases when two aliases point to the same database. Use a list() to store the test database aliases so the order remains stable by following the order of the connections. Also, always use the "default" database alias as the first alias to accommodate `migrate`. Previously `migrate` could be executed on a secondary alias which caused truncating the "default" database. Backport of 06e5f7ae1639f1e275e7cc1076dc70ca3ebaa946 from master
2021-02-12[3.2.x] Fixed #32437 -- Fixed cleaning up ALLOWED_HOSTS in ↵Chris Jerdonek
LiveServerTestCase on setUpClass() failure. Backport of 694deff82f86e025561dfa724425f67e2ff7cbb7 from master
2021-02-11[3.2.x] Fixed #32433 -- Added error message on QuerySet.delete() following ↵Egidijus Macijauskas
distinct(). Backport of 6307c3f1a123f5975c73b231e8ac4f115fd72c0d from master
2021-02-09[3.2.x] Fixed #32425 -- Fixed adding nullable field with default on MySQL.Jordan Bae
Thanks Simon Charette for the review. Backport of d4ac23bee1c84d8e4610350202ac068fc90f38c0 from master
2021-02-05[3.2.x] Fixed #32420 -- Fixed detecting primary key values in ↵Mikolaj Rybinski
deserialization when PK is also a FK. Backport of 8e90560aa8868a42bb8eda6273595bf0932a6090 from master
2021-02-04[3.2.x] Refs #32074 -- Fixed TextChoices/IntegerChoices crash on Python 3.10.Mariusz Felisiak
EnumMeta has a new keyword argument 'boundary' in Python 3.10. This is a new mechanism that controls how out-of-range / invalid bits are handled, see https://bugs.python.org/issue38250. Backport of 5d9b065d3f93de056588dfee6f1776294dd8bab2 from master
2021-02-04[3.2.x] Fixed #32332 -- Fixed loss of parent with non-numeric pk when saving ↵Hasan Ramezani
child after parent. Follow up to 519016e5f25d7c0a040015724f9920581551cab0. Backport of 7cba92ec55a5d05450261f375830619870ca84fa from master
2021-02-02[3.2.x] Fixed #32403 -- Fixed re-raising DatabaseErrors when using only ↵Mariusz Felisiak
'postgres' database. Thanks Kazantcev Andrey for the report. Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe. Backport of f131841c601b9d4884adcdb284b4213c2ad89231 from master
2021-02-01[3.2.x] Fixed CVE-2021-3281 -- Fixed potential directory-traversal via ↵Mariusz Felisiak
archive.extract(). Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews. Thanks Wang Baohua for the report. Backport of 05413afa8c18cdb978fcdf470e09f7a12b234a23 from master.
2021-01-29[3.2.x] Fixed #32345 -- Fixed preserving encoded query strings in ↵Sandro Covo
set_language() view. Thanks Johannes Maron for the review. Backport of 6822aa5c6c3fbec7c5393a05e990865ba59fe167 from master
2021-01-29[3.2.x] Fixed #32392 -- Fixed ExclusionConstraint crash with Cast() in ↵Tilman Koschnick
expressions. Backport of fdfbc66331292def201c9344e3cd29fbcbcd076a from master
2021-01-28[3.2.x] Fixed #32391 -- Used CSS flex properties for changelist filter.Denis Skulimovskiy
Matched layout adjustment using flex from admin sidebar added in d24ba1be7a53a113d19e2860c03aff9922efec24. Filters would become squashed when viewport was constrained or list display table became too wide. Backport of 269a76714616fd7ad166a14113f3354bab8d9b65 from master
2021-01-28[3.2.x] Fixed #32389 -- Fixed ResponseHeaders crash when data is not mapping.Illia Volochii
Backport of 3c004075b1d4fe4aa1ffc3f7d699dd9525bc6c02 from master
2021-01-27[3.2.x] Fixed #32290 -- Fixed TemplateNotFound in {% include %} tag for ↵Hasan Ramezani
relative path in variable. Backport of c978dd93fda87c6d2e965d385164c35f1a3e64b8 from master
2021-01-26[3.2.x] Fixed #32369 -- Fixed adding check constraints with pattern lookups ↵Simon Charette
and expressions as rhs. This disables interpolation of constraint creation statements. Since Constraint.create_sql interpolates its parameters instead of deferring this responsibility to the backend connection it must disable connection level parameters interpolation. Backport of 42e8cf47c7ee2db238bf91197ea398126c546741 from master
2021-01-21[3.2.x] Fixed #32367 -- Fixed system check for specifying type of ↵Mariusz Felisiak
auto-created primary keys for inherited PKs. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb. Thanks אורי for the report. Backport of a03a36121d22c8784985c7e45727eddef6a3ea7f from master
2021-01-21[3.2.x] Fixed #32374 -- Stopped recording migration application before ↵Simon Charette
deferred SQL. Migrations cannot be recorded in the same transaction as its associated DDL operations when some of it is deferred until the schema editor context exits. Regression in c86a3d80a25acd1887319198ca21a84c451014ad. Backport of 0c42cdf0d2422f4c080e93594d5d15381d6e955e from master
2021-01-20[3.2.x] Refs #31259 -- Made various dark theme adjustments.Tom Carrick
Backport of f054468cac325e8d8fa4d5934b939b93242a3730 from master
2021-01-19[3.2.x] Bumped version for 3.2 alpha 1 release.3.2a1Carlton Gibson
2021-01-19[3.2.x] Refs #32365 -- Allowed use of non-pytz timezone implementations.Paul Ganssle
Backport of 10d126198434810529e0220b0c6896ed64ca0e88 from master
2021-01-18[3.2.x] Fixed #32358 -- Fixed queryset crash when grouping by annotation ↵Illia Volochii
with Distance()/Area(). Made MeasureBase hashable. Backport of bef6f7584280f1cc80e5e2d80b7ad073a93d26ec from master
2021-01-18[3.2.x] Fixed #18549 -- Fixed heading for inlines with a OneToOneField.Timothy McCurrach
Used verbose_name instead of verbose_name_plural. Backport of 0aff3fd7110d1bd431a35bb28d8688693b98d886 from master.
2021-01-15[3.2.x] Updated source translation catalogs.Claude Paroz
2021-01-14Refs #31259 -- Improved some color contrasts for admin dark theme.Matthias Kestenholz
2021-01-14Fixed #32321 -- Added system checks for invalid model field names in ↵Hasan Ramezani
functional indexes.
2021-01-14Fixed #31358 -- Increased salt entropy of password hashers.Jon Moroney
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
2021-01-14Refs #26167 -- Changed default value of ↵Hannes Ljungberg
DatabaseFeatures.supports_expression_indexes to True.
2021-01-14Fixed #31259 -- Added admin dark theme.mimi89999
2021-01-13Refs #31358 -- Added constant for get_random_string()'s default alphabet.Florian Apolloner
2021-01-13Fixed #16117 -- Added decorators for admin action and display functions.Nick Pope
Refs #25134, #32099.
2021-01-13Fixed #26167 -- Added support for functional indexes.Hannes Ljungberg
Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
2021-01-13Removed redundant database vendor helpers in gis_tests/utils.py.Tim Graham
2021-01-13Added SpatialFeatures.empty_intersection_returns_none.Tim Graham
2021-01-12Refs #26709 -- Made Index raise ValueError on non-string fields.Hannes Ljungberg
2021-01-12Fixed #32291 -- Added fixtures compression support to dumpdata.Paolo Melchiorre
2021-01-12Fixed #31747 -- Fixed model enumeration via admin URLs.Jon Dufresne
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-01-12Fixed #29010, Fixed #29138 -- Added limit_choices_to and to_field support to ↵Johannes Maron
autocomplete fields. * Fixed #29010 -- Added limit_choices_to support to autocomplete fields. * Fixed #29138 -- Allowed autocomplete fields to target a custom to_field rather than the PK.
2021-01-12Refs #32311 -- Fixed CSRF_FAILURE_VIEW system check errors code.Hasan Ramezani
2021-01-12Fixed #32311 -- Added system check for CSRF_FAILURE_VIEW setting.Hasan Ramezani
2021-01-12Refs #32018 -- Corrected color variables for paginator and header links in ↵Michel Le Bihan
admin. Follow up to cd3019bc106eed27b2f97776e4dd9ec7cbac29b2.
2021-01-11Fixed #32342 -- Added index order introspection on MySQL 8.0.1+.Mariusz Felisiak
2021-01-11Refs #32018 -- Used --header-link-color for header links in admin.Michel Le Bihan
2021-01-11Refs #31791 -- Improved performance of URLResolver.resolve().David Smith
Performance regression in 11ebc6479ffda87376b60c9475d33d8120f86368.
2021-01-07Fixed #32191 -- Made CookieStorage use RFC 6265 compliant format.Florian Apolloner
Co-authored-by: Craig Smith <hello@craigiansmith.com.au>
2021-01-07Fixed #32018 -- Extracted admin colors into CSS variables.Matthias Kestenholz
Defined all colors used in the admin CSS as variables. Implemented the following standardizations and accessibility improvements while at it: - Improved the contrast of text to not use ratios of less than 3:1 anymore. - Most hover states already used desaturated and darkened colors. Changed object tools to follow the same rule instead of showing the primary color on hover. Various places used similar colors; those have been merged with the goal of reducing the count of CSS variables. Contrasts have been improved in a few places. - Many borders used slightly different colors (e.g. #eaeaea vs. #eee) - Help texts used #999, this has been changed to --body-quiet-color (#666) which has a better contrast. Introduced fast color transitions on links and buttons.