summaryrefslogtreecommitdiff
path: root/django/contrib
AgeCommit message (Collapse)Author
2021-06-02[3.2.x] Fixed CVE-2021-33203 -- Fixed potential path-traversal via ↵Florian Apolloner
admindocs' TemplateDetailView.
2021-05-18[3.2.x] Fixed #32754 -- Made AdminSite.catch_all_view() respect SCRIPT_NAME.Slava Skvortsov
Regression in ba31b0103442ac891fb3cb98f316781254e366c3. Backport of f7691d4812c578e696635718e67639d2e08eac40 from main
2021-04-27[3.2.x] Fixed #32682 -- Made admin changelist use Exists() instead of ↵Mariusz Felisiak
distinct() for preventing duplicates. Thanks Zain Patel for the report and Simon Charette for reviews. The exception introduced in 6307c3f1a123f5975c73b231e8ac4f115fd72c0d revealed a possible data loss issue in the admin. Backport of 187118203197801c6cb72dc8b06b714b23b6dd3d from main
2021-04-27[3.2.x] Refs #32682 -- Renamed use_distinct variable to may_have_duplicates.Mariusz Felisiak
QuerySet.distinct() is not the only way to avoid duplicate, it's also not preferred. Backport of cd74aad90e09865ae6cd8ca0377ef0a5008d14e9 from main
2021-04-26[3.2.x] Fixed #32681 -- Fixed VariableDoesNotExist when rendering some admin ↵Zain Patel
template. Regression in 84609b3205905097d7d3038d32e6101f012c0619. Backport of 4e5bbb6ef2287126badd32842b239f4a8a7394ca from main.
2021-04-21[3.2.x] Fixed #32647 -- Restored multi-row select with shift-modifier in ↵Carlton Gibson
admin changelist. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b. Backport of 5c73fbb6a93ee214678f02ba4027f18dff49337b from main
2021-04-15[3.2.x] Fixed #32643 -- Fixed decoding of messages in the pre-Django 3.2 format.Florian Apolloner
Thanks Jan Pieter Waagmeester for the report. Regression in 2d6179c819010f6a9d00835d5893c4593c0b85a0. Backport of 4511d1459810037b91faa5b506e4f75c77aa72be from main.
2021-04-14[3.2.x] Fixed #32648 -- Fixed VariableDoesNotExist rendering sitemaps template.Arthur Jovart
Backport of 08c60cce3b13f6e60d7588206da2d3c71228f378 from main
2021-04-14[3.2.x] Fixed #32649 -- Fixed ModelAdmin.search_fields crash when searching ↵Mariusz Felisiak
against phrases with unbalanced quotes. Thanks Dlis for the report. Regression in 26a413507abb38f7eee4cf62f2ee9727fdc7bf8d. Backport of 23fa29f6a6659e0f600d216de6bcb79e7f6818c9 from main
2021-04-07[3.2.x] Fixed #32544 -- Confirmed support for GDAL 3.2 and GEOS 3.9.Claude Paroz
Backport of e3cfba0029516aafe40f963378e234df2c0d33bb from main.
2021-04-06[3.2.x] Updated translations from Transifex.Claude Paroz
2021-03-18[3.2.x] Fixed #32466 -- Corrected autocomplete to_field resolution for ↵Johannes Maron
complex cases. In MTI or ForeignKey as primary key cases, it is required to fetch the attname from the field instance on the remote model in order to reliably resolve the to_field_name. Backport of ceb4b9ee68dffc6ab0398886f1758f15f037c472 from main Backport of 03d0f12c823239812da21e5180aaa74dc6fd146e from main Co-authored-by: Johannes Maron <info@johanneshoppe.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-03-10[3.2.x] Fixed #32512 -- Fixed admin dark theme for autocomplete fields.mimi89999
Backport of 0df5c8187a9fa9828824ec2b1fdf37d1082d7ebe from main
2021-03-09[3.2.x] Refs #32018 -- Corrected color variable for toggle links in admin.Mariusz Felisiak
Follow up to cd3019bc106eed27b2f97776e4dd9ec7cbac29b2. Backport of 6f5dbe9dbe45b23b3befe4f1cd2ea13b6049ab96 from main
2021-03-09[3.2.x] Refs #32018 -- Used --darkened-bg for <pre> elements.Mariusz Felisiak
Backport of 781acf0987d80b638057ed1203409e3a19944e3b from main
2021-02-22[3.2.x] Refs #16117 -- Made @action and @display decorators importable from ↵Nick Pope
django.contrib.gis.admin. Backport of 8f02a78695a6c07bc5b05499e6e6cf96bc25320f 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-20[3.2.x] Refs #31259 -- Made various dark theme adjustments.Tom Carrick
Backport of f054468cac325e8d8fa4d5934b939b93242a3730 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 #31358 -- Increased salt entropy of password hashers.Jon Moroney
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
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-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 #32018 -- Corrected color variables for paginator and header links in ↵Michel Le Bihan
admin. Follow up to cd3019bc106eed27b2f97776e4dd9ec7cbac29b2.
2021-01-11Refs #32018 -- Used --header-link-color for header links in admin.Michel Le Bihan
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.
2021-01-06Fixed #32322 -- Fixed autocomplete widget wrapping.Viktor Grabov
2021-01-02Replaced DatabaseFeatures.supports_left_right_lookups with skipUnlessGISLookup.Tim Graham
2020-12-29Used model's Options.label where applicable.Mariusz Felisiak
Follow up to b7a3a6c9ef0a89625881b47594120bca55fa2e49.
2020-12-28Refs #31358 -- Fixed decoding salt in Argon2PasswordHasher.Florian Apolloner
Argon2 encodes the salt as base64 for representation in the final hash output. To be able to accurately return the used salt from decode(), add padding, b64decode, and decode from latin1 (for the remote possibility that someone supplied a custom hash consisting solely of bytes -- this would require a manual construction of the hash though, Django's interface does not allow for that).
2020-12-28Refs #31358 -- Simplified Argon2PasswordHasher.must_update() by using decode().Florian Apolloner
2020-12-28Fixed #32301 -- Made clearsessions raise CommandError when clear_expired() ↵François Freitag
is not implemented.
2020-12-23Refs #26167 -- Made DatabaseSchemaEditor._create_index_sql()'s fields ↵Hannes Ljungberg
argument optional and kwarg-only.
2020-12-15Fixed #31007 -- Allowed specifying type of auto-created primary keys.Tom Forbes
This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField.
2020-12-10Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵Hasan Ramezani
failures. Co-authored-by: Tim Graham <timograham@gmail.com>
2020-12-03Fixed #32235 -- Made ReadOnlyPasswordHashField disabled by default.Timo Ludwig
2020-11-30Added SpatialFeatures.supports_tolerance_parameter.Tim Graham
2020-11-30Refs #31978 -- Fixed hint in admin's password reset confirmation form for ↵Mariusz Felisiak
custom username fields. Thanks Jaap Roes for the report.
2020-11-28Fixed #21021 -- Changed BaseGeometryWidget's default geometry type to ↵Giannis Adamopoulos
'Geometry'.
2020-11-28Refs #32230 -- Made LayerMapping support pathlib.Path.Mariusz Felisiak
2020-11-28Fixed #32230 -- Made DataSource support pathlib.Path.Hasan Ramezani