Anders Einar Hilden
a8b70aeffd
Fixed #36002 -- Referred to request.Meta key in Persistent/RemoteUserMiddleware comments.
...
Changed the docstrings and code comments to better reflect where the default value
comes from (an environment variable, not request header).
2024-12-18 10:07:30 +01:00
Jeremy Thompson
918e7a2c76
Fixed #35989 -- Removed crs from GeoJSON serializer.
...
Specification of coordinate reference systems (crs) was removed from the GeoJSON spec in 2016.
https://datatracker.ietf.org/doc/html/rfc7946#appendix-B.1
2024-12-11 10:45:47 +01:00
Oleg Sverdlov
ded4854642
Fixed #35944 -- Handled serialization of Unicode values in ArrayField and HStoreField.
2024-12-05 15:31:50 +01:00
Ayush khatri
7a05f63a8e
Fixed #35925 -- Added CSS gap for FilteredSelectMultiple filter icon.
2024-11-29 16:37:04 +01:00
Bendeguz Csirmaz
978aae4334
Fixed #373 -- Added CompositePrimaryKey.
...
Thanks Lily Foote and Simon Charette for reviews and mentoring
this Google Summer of Code 2024 project.
Co-authored-by: Simon Charette <charette.s@gmail.com >
Co-authored-by: Lily Foote <code@lilyf.org >
2024-11-29 11:23:04 +01:00
Tainara Palmeira
86661f2449
Fixed #35791 -- Updated icon button dimensions to 24x24 pixels.
...
This is to meet the WCAG 2.5.8 minimum size requirement.
Co-authored-by: Eva Nanyonga <evewish@gmail.com >
2024-11-29 08:31:06 +01:00
Jaap Roes
ceecd518b1
Fixed #35530 -- Deprecated request.user fallback in auth.login and auth.alogin.
2024-11-28 17:43:46 +01:00
Tommy Allen
c635decb00
Fixed #35942 -- Fixed createsuperuser crash on Python 3.13+ when username is unavailable.
...
Thanks Mariusz Felisiak and Jacob Tyler Walls for reviews.
2024-11-26 17:15:00 -03:00
GappleBee
857b1048d5
Fixed #34619 -- Associated FilteredSelectMultiple elements to their label and help text.
2024-11-20 13:23:18 +01:00
GappleBee
037e740ec5
Refs #28215 -- Marked auth form passwords as sensitive variables.
2024-11-15 13:53:13 +01:00
sai-ganesh-03
c12bc980e5
Fixed #17905 -- Restricted access to model pages in admindocs.
...
Only users with view or change model permissions can access.
Thank you to Sarah Boyce for the review.
2024-11-11 16:56:03 +01:00
Tim Graham
ef8ae06c2a
Fixed #35903 -- Made admin's "view on site" URL accept non-integer ContentType pks.
2024-11-11 16:53:31 +01:00
John Parton
042b381e2e
Refs #23968 -- Removed unnecessary list comprehension in contrib.admin.helpers.
2024-11-07 13:37:58 +01:00
sai-ganesh-03
c2c544cf01
Fixed #27409 -- Made admindocs support custom link text in docstrings.
2024-11-06 14:39:18 +01:00
Sarah Boyce
5fa4ccab7e
Refs #26001 -- Handled relationship exact lookups in ModelAdmin.search_fields.
2024-11-05 09:06:14 +01:00
sai-ganesh-03
968397228f
Fixed #35867 , Refs #2411 -- Allowed links in admindocs view details summary.
2024-11-04 10:43:06 +01:00
0saurabh0
f223729f8f
Fixed #26001 -- Fixed non-string field exact lookups in ModelAdmin.search_fields.
2024-11-04 09:39:47 +01:00
David Smith
cd4497254e
Fixed #35883 -- Confirmed support for GDAL 3.9.
...
Updated test for change to exportToXML() which now errors out on unsupported projection methods. See https://github.com/OSGeo/gdal/issues/9223 .
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com >
2024-11-04 09:24:17 +01:00
Sarah Boyce
611bf6c2e2
Fixed #35837 -- Added missing alters_data=True to QuerySet and UserManager methods.
...
Thank you to Jason Chambers for the report and to Mariusz Felisiak for the review.
2024-11-01 11:43:49 +01:00
Sarah Boyce
2c029c718f
Fixed #35876 -- Displayed non-ASCII fieldset names when rendering ModelAdmin.fieldsets.
...
Thank you to Namhong Kim for the report, and to Mariusz Felisiak and Marijke Luttekes for the review.
Regression in 01ed59f753 .
2024-10-31 06:38:07 +01:00
Peter Ruszel
cf9da6fadd
Fixed #35868 -- Removed unneeded AttributeError catching in collectstatic's delete_file().
2024-10-29 10:30:21 +01:00
Claude Paroz
43287cbb87
Refs #35742 -- Used curly quote in add user form message.
2024-10-26 11:51:24 +02:00
Mariusz Felisiak
5cf88dcc57
Refs #35803 -- Added support for __covers GIS lookup on MySQL.
2024-10-25 07:55:55 +02:00
Mariusz Felisiak
c77573716a
Fixed #35803 -- Added support for Collect, GeoHash, and IsValid on MariaDB 11.7+.
2024-10-25 07:55:55 +02:00
Mariusz Felisiak
0b7edb9fcd
Refs #35803 -- Added support for __coveredby GIS lookup on MySQL and MariaDB 11.7+.
2024-10-25 07:55:55 +02:00
David Smith
04adff9f98
Refs #34406 -- Added support for GDAL curved geometries.
...
Co-authored-by: Fabien Le Frapper <contact@fabienlefrapper.me >
2024-10-22 17:24:36 -03:00
Nick Pope
3fad712a91
Fixed #35841 -- Restored support for DB-IP databases in GeoIP2.
...
Thanks Felix Farquharson for the report and Claude Paroz for the
review.
Regression in 40b5b1596f .
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com >
2024-10-17 21:40:53 -03:00
Mariusz Felisiak
bd3b1dfa24
Refs #35844 -- Used asgiref.sync.iscoroutinefunction() instead of deprecated asyncio.iscoroutinefunction().
...
Fixes DeprecationWarning:
'asyncio.iscoroutinefunction' is deprecated and slated for removal in
Python 3.16; use inspect.iscoroutinefunction() instead.
2024-10-17 10:15:10 -03:00
Jay Patel
8b1a3a5643
Fixed #35795 -- Added role="button" to links acting as buttons for screen readers.
2024-10-17 14:23:24 +02:00
Ben Cail
ec7d69035a
Fixed #35782 -- Allowed overriding password validation error messages.
2024-10-15 17:23:39 +02:00
Adam Johnson
cee95e6172
Fixed #35717 -- Reduced Create/RemoveCollation operations when optimizing migrations.
2024-10-10 13:18:46 +02:00
Bona Fide IT GmbH
d4e4520efb
Fixed #35792 -- Simplified ModelBackend._get_group_permissions().
2024-10-09 16:14:32 +02:00
nessita
679d57816d
Fixed #35809 -- Set background color for selected rows in the admin's form select widget.
...
Regression in b47bdb4cd9 .
Thank you Giannis Terzopoulos for the review, and Tom Carrick and Sarah Boyce
for the review.
2024-10-08 10:01:28 -03:00
Gavin Wahl
747b417a22
Fixed #35798 , Refs #31641 -- Prevented admin navigation sidebar loading flicker.
...
Thank you to Mario Munoz and Thibaud Colas for the testing and review.
2024-10-08 14:00:53 +02:00
Mario Munoz
ef56e1ff6d
Fixed #35799 -- Fixed the positioning of the inline admin plus icon for RTL languages.
2024-10-08 12:39:55 +02:00
antoliny0919
862026a8b9
Fixed #35742 -- Removed hardcoded "username" references in admin templates.
2024-10-08 10:18:51 +02:00
nessita
7d9dd7b68f
Updated translations from Transifex.
...
Forwardport of e245f62d00 from stable/5.1.x.
2024-10-07 17:37:36 -03:00
GappleBee
a417c0efb4
Fixed #35449 -- Fixed validation of array items in SplitArrayField when remove_trailing_nulls=True.
2024-10-07 15:36:57 +02:00
Jon Janzen
50f89ae850
Fixed #35303 -- Implemented async auth backends and utils.
2024-10-07 14:19:41 +02:00
aditya.chaudhary1558@gmail.com
4cad317ff1
Fixed #35804 -- Removed unused rules for ul.tools from admin CSS.
2024-10-07 12:05:53 +02:00
David Smith
1857b6663b
Fixed #35776 -- Dropped support for GDAL 3.0.
2024-09-19 17:26:30 +02:00
Mariusz Felisiak
f8cc9285e1
Fixed #35074 -- Fixed adding/removing indexes when spatial_index is changed on MySQL, PostgreSQL, and Oracle.
...
Co-authored-by: Mário Falcão <mario@falcao.dev >
2024-09-19 08:12:11 +02:00
Richard Laager
16af0c60ed
Fixed #35755 -- Hid help text of hidden fields in admin fieldsets.
...
Regression in 96a598356a .
2024-09-12 13:49:07 +02:00
ldeluigi
2a4321ba23
Fixed #35747 -- Used default ordering when the ORDER_VAR param is blank in the admin changelist.
2024-09-11 10:41:23 +02:00
Mariusz Felisiak
371a9f3c5f
Refs #35074 -- Added _create_spatial_index_sql()/_delete_spatial_index_sql() hooks to GIS backends.
2024-09-10 10:49:20 +02:00
Mário Falcão
d4bce26c94
Refs #35074 -- Added PostGISSchemaEditor._create_spatial_index_name().
...
This is consistent with Oracle and MySQL GIS database backends.
2024-09-10 10:49:20 +02:00
Csirmaz Bendegúz
5865ff5adc
Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK is set.
2024-09-09 17:46:50 -03:00
Natalia
8c35a0a903
Fixed CVE-2024-45231 -- Avoided server error on password reset when email sending fails.
...
On successful submission of a password reset request, an email is sent
to the accounts known to the system. If sending this email fails (due to
email backend misconfiguration, service provider outage, network issues,
etc.), an attacker might exploit this by detecting which password reset
requests succeed and which ones generate a 500 error response.
Thanks to Thibaut Spriet for the report, and to Mariusz Felisiak, Adam
Johnson, and Sarah Boyce for the reviews.
2024-09-03 09:22:32 -03:00
sanjeevholla26
4470d1f156
Refs #35706 -- Replaced template _('...') usages with translate tag.
2024-09-03 10:16:05 +02:00
sanjeevholla26
387475c5b2
Refs #35706 -- Prefixed 'Error:' to titles of admin pages with form errors.
...
This improves the screen reader experience.
2024-09-02 15:19:33 +02:00