Josh Santos
b3d667f20d
[3.1.x] Fixed #32127 -- Fixed admin change-form textarea layout for mid-sized displays.
...
Backport of 36bc47069c
from master
2020-10-27 16:06:57 +01:00
Carlton Gibson
d00127ccab
[3.1.x] Fixed #32128 -- Added asgiref 3.3 compatibility.
...
Thread sensitive parameter is True by default from asgiref v3.3.0.
Added an explicit thread_sensitive=False to previously implicit uses.
Backport of e17ee44688
from master
2020-10-27 11:29:31 +01:00
Mariusz Felisiak
767e06b5a8
[3.1.x] Fixed #32130 -- Fixed pre-Django 3.1 password reset tokens validation.
...
Thanks Gordon Wrigley for the report and implementation idea.
Regression in 226ebb1729
.
Backport of 3418092238
from master
2020-10-22 13:22:00 +02:00
Carlton Gibson
b37d5849b7
[3.1.x] Fixed #32069 -- Fixed admin change-form layout on small screens.
...
Restored flex-wrap CSS declaration to form elements at smallest breakpoint.
This was present since the responsive admin was introduced in dc37e8846e
.
Regression in 8ee4bb6ffc
, where it was accidentally removed.
Backport of 257f8495d6
from master
2020-10-21 15:09:45 +02:00
Mariusz Felisiak
536213278c
[3.1.x] Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms in expressions.
...
Regression in 6789ded0a6
.
Backport of ee0abac169
from master.
2020-10-14 22:10:09 +02:00
Mariusz Felisiak
d94e777b66
[3.1.x] Refs #32096 -- Fixed crash of ArrayAgg/StringAgg/JSONBAgg with ordering over JSONField key transforms.
...
Regression in 6789ded0a6
.
Thanks Igor Jerosimić for the report.
Backport of 1f31027bb3
from master
2020-10-14 21:02:29 +02:00
Tim Schilling
4047c1602c
[3.1.x] Fixed #32091 -- Fixed admin search bar width on filtered admin page.
...
Backport of b7da588e88
from master
2020-10-09 12:11:15 +02:00
Qi Zhao
8c403b17f9
[3.1.x] Fixed #32080 -- Fixed displaying Unicode chars in forms.JSONField and read-only JSONField values in admin.
...
Backport of de81676b51
from master
2020-10-09 08:44:32 +02:00
Tom Carrick
3add635ff7
[3.1.x] Fixed #32072 -- Fixed admin search bar height.
...
Thanks şuayip üzülmez for the report.
Regression in 8ee4bb6ffc
.
Backport of 342a41740d
from master
2020-10-06 11:57:34 +02:00
Tom Carrick
57b359343b
[3.1.x] Fixed #31986 -- Fixed admin filter sidebar scrolling.
...
Regression in 2bc38bc7ca
.
Thanks haki for the report.
Backport of 8ee4bb6ffc
from master
2020-09-30 21:49:11 +02:00
Claude Paroz
f7397bb7c8
[3.1.x] Updated translations from Transifex.
2020-09-30 09:53:06 +02:00
David Smith
12ba61ed17
[3.1.x] Bumped minimum isort version to 5.1.0.
...
Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
Backport of e74b3d724e
from master
2020-09-30 09:51:31 +02:00
Mariusz Felisiak
b7df7de44f
[3.1.x] Fixed #32038 -- Fixed EmptyFieldListFilter crash with GenericRelation.
...
Thanks Javier Matos Odut for the report.
Backport of e4ab44a4b2
from master
2020-09-25 10:10:26 +02:00
007gzs
dfa31f8e87
[3.1.x] Fixed #31901 -- Prevented content overflowing in the admin changelist with navigation sidebar.
...
Backport of 2bc38bc7ca
from master
2020-09-01 08:19:12 +02:00
Mariusz Felisiak
655e1ce6b1
[3.1.x] Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.
...
Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
Backport of 0be51d2226
from master
2020-08-28 19:12:02 +02:00
Mariusz Felisiak
14a19700d8
[3.1.x] Fixed #31912 -- Removed strict=True in Path.resolve() in project template and CommonPasswordValidator.
...
This caused permission errors when user didn't have permissions to
all intermediate directories in a Django installation path.
Thanks tytusd and leonyxz for reports.
Regression in edeec1247e
and
26554cf5d1
.
Backport of e39e727ded
from master
2020-08-28 05:59:11 +02:00
Mariusz Felisiak
7eaa2776e1
[3.1.x] Fixed #31895 -- Fixed crash when decoding invalid session data.
...
Thanks Matt Hegarty for the report.
Regression in d4fff711d4
.
Backport of 4376c2c7f8
from master
2020-08-19 12:06:55 +02:00
Carlton Gibson
02b474f2a4
[3.1.x] Fixed #31865 -- Adjusted admin nav sidebar template to reduce debug logging.
...
Thanks to Mariusz Felisiak for review.
Backport of 0aeb802cf0
from master
2020-08-11 11:43:22 +02:00
Mariusz Felisiak
c21bbe0883
[3.1.x] Fixed #31864 -- Fixed encoding session data during transition to Django 3.1.
...
Thanks אורי for the report.
Backport of 99abfe8f4d
from master
2020-08-07 21:43:46 +02:00
Mariusz Felisiak
1c3d3294c1
[3.1.x] Fixed #31854 -- Fixed wrapping of long model names in admin's sidebar.
...
Backport of e70dc506d7
from master
2020-08-05 10:55:11 +02:00
007gzs
ff8e6e83a9
[3.1.x] Fixed #31853 -- Fixed wrapping of translated action labels in admin sidebar.
...
Backport of b0af56f639
from master
2020-08-05 10:27:17 +02:00
Mariusz Felisiak
9857352655
[3.1.x] Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting.
...
It's a transitional setting helpful in migrating multiple instance of
the same project to Django 3.1+.
Thanks Markus Holtermann for the report and review, Florian
Apolloner for the implementation idea and review, and Carlton Gibson
for the review.
Backport of d907371ef9
from master.
2020-08-04 09:39:29 +02:00
Claude Paroz
08fb75ea64
[3.1.x] Updated translations from Transifex
...
Backport of 1a60838fa6
from master
2020-08-01 21:39:47 +02:00
Mariusz Felisiak
3ca8cc0df1
[3.1.x] Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in HttpResponse.delete_cookie().
...
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.
This affects sessions and messages cookies.
Backport of 240cbb63bf
from master
2020-07-16 08:17:45 +02:00
Claude Paroz
dda8a2aa1d
Added admin translatable string.
2020-07-14 21:34:02 +02:00
Mariusz Felisiak
3b5e307bbc
[3.1.x] Fixed #31751 -- Fixed database introspection with cx_Oracle 8.
...
Backport of 615e32162f
from master
2020-06-30 09:54:42 +02:00
David Smith
9b95c3bc09
[3.1.x] Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments.
...
Backport of 10df5b7177
from master
2020-06-17 13:16:17 +02:00
Joshua Massover
3fb69756ea
[3.1.x] Fixed #31594 -- Added ASGIStaticFilesHandler.get_response_async().
...
Backport of 92309e53d9
from master
2020-06-08 13:00:48 +02:00
David Smith
1ac45e619d
[3.1.x] Fixed #31662 -- Added detection for GDAL 3.0 and 3.1 on Windows.
...
Backport of 4652f1f0aa
from master
2020-06-08 09:50:24 +02:00
Collin Anderson
5b3886d091
[3.1.x] Fixed #31641 -- Improved loading of navigation sidebar in admin.
...
Backport of 4ae9a2b18e
from master
2020-06-03 15:17:45 +02:00
Jon Dufresne
49d7cc19e3
[3.1.x] Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignKeyRawIdWidget.
2020-06-03 09:30:41 +02:00
Carles Pina
56af541790
[3.1.x] Fixed #31536 -- Fixed rendering of disabled AdminFileWidget and ClearableFileInput.
...
Backport of e46c2326c8
from master
2020-06-01 12:48:26 +02:00
Tom Carrick
dc3234be48
[3.1.x] Refs #31034 -- Improved accessibility of admin navigation sidebar.
...
Backport of 780473d756
from master
2020-05-28 11:20:39 +02:00
Fran Hrzenjak
47e21d339f
[3.1.x] Fixed #31597 , #31603 -- Corrected admin clear all filters link behavior.
...
- Show "Clear all filters" only when any filter is selected.
- Preserve query string not related with filters.
Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
Backport of 4484bc1b2f
from master
2020-05-20 21:35:09 +02:00
Jon Dufresne
3f977c5837
[3.1.x] Updated docutils link to HTTPS and new location.
...
Backport of 7070d46114
from master
2020-05-18 08:46:51 +02:00
Jon Dufresne
16716551bd
[3.1.x] Refs #31034 -- Used === in nav_sidebar.js admin JS to avoid possible coercion issues.
...
Backport of e46f700e39
from master
2020-05-18 08:09:47 +02:00
kjpc-tech
ef19aec2ca
[3.1.x] Fixed #31590 -- Fixed ModelAdmin.date_hierarchy crash with an empty QuerySet.
...
Regression in 55cdf6c52d
.
Backport of 099bce1bf0
from master
2020-05-15 07:07:49 +02:00
Jon Dufresne
1c2d0fdf3e
[3.1.x] Fixed #31575 -- Added system check for admin sidebar request context processor dependency.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Backport of d522b51c40
from master
2020-05-14 11:01:22 +02:00
Sergey Fedoseev
91e287cce0
Refs #30678 -- Added support for GDAL 3.1.
...
OSRSetAxisMappingStrategy() really returns void, so no errcheck is
needed. Previously set errcheck was raising positive false exceptions
on GDAL 3.1.
2020-05-12 11:25:19 +02:00
Claude Paroz
58f1b07e49
Fixed #30678 -- Added support for GDAL 3.
2020-05-12 09:06:06 +02:00
Mariusz Felisiak
0668164b4a
Fixed E128, E741 flake8 warnings.
2020-05-12 08:52:23 +02:00
Claude Paroz
e6ec76d245
Updated JS admin translation catalog.
2020-05-11 22:59:27 +02:00
Claude Paroz
33f26339b7
Updated source translation catalogs.
2020-05-11 21:34:46 +02:00
Tom Carrick
46fe506445
Corrected indentation of #main div in admin base template.
2020-05-11 18:16:38 +02:00
Tom Carrick
d24ba1be7a
Fixed #31034 -- Added a navigation sidebar to the admin.
...
Co-authored-by: elky <elky@users.noreply.github.com>
Co-authored-by: Goetz <goetz.buerkle@gmail.com>
2020-05-11 18:16:38 +02:00
Jon Dufresne
d6aff369ad
Refs #30116 -- Simplified regex match group access with Match.__getitem__().
...
The method has been available since Python 3.6. The shorter syntax is
also marginally faster.
2020-05-11 12:01:28 +02:00
Sergey Fedoseev
23f6fbdd93
Simplified GDAL version parsing.
2020-05-11 11:57:22 +02:00
Hasan Ramezani
87faeee4e0
Fixed #31528 -- Made collectstatic management command run staticfiles checks.
2020-05-08 12:47:57 +02:00
Mariusz Felisiak
b23e3a1caa
Refs #27661 -- Added Tags.staticfiles.
...
Follow up to 0ec4dc91e0
.
2020-05-08 11:38:18 +02:00
dbxnr
fc0f7f6c15
Fixed #31157 -- Fixed displaying read-only JSONField values in admin.
2020-05-08 09:44:42 +02:00