summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-12Fixed #35755 -- Hid help text of hidden fields in admin fieldsets.Richard Laager
Regression in 96a598356a9ea8c2c05b22cadc12e256a3b295fd.
2024-09-12Refs #29522 -- Improved test coverage of deserializers.Amir Karimi
2024-09-11Added example of email sending with additional capabilities to ↵Ronny V.
docs/topics/email.txt. Co-authored-by: Mike Edmunds <medmunds@gmail.com>
2024-09-11Refs #373 -- Removed outdated comment in RelatedIn lookup.Csirmaz Bendegúz
2024-09-11Fixed #35732 -- Wrapped ConcatPair expression in parentheses to ensure ↵Gastón Avila
operator precedence. When ConcatPair was updated to use || this lost the implicit wrapping from CONCAT(...). This broke the WHERE clauses when used in combination with PostgreSQL trigram similarity. Regression in 6364b6ee1071381eb3a23ba6b821fc0d6f0fce75. Co-authored-by: Emiliano Cuenca <106986074+emicuencac@users.noreply.github.com>
2024-09-11Refs #35060 -- Fixed the update to update_fields in overridden save() method ↵Clifford Gama
docs. Regression in 3915d4c70d0d7673abe675525b58117a5099afd3.
2024-09-11Fixed #35752 -- Fixed crash when using In() lookup in filters.Bendeguz Csirmaz
2024-09-11Refs #373 -- Refactored variable assignments in ColPairs and tuple lookups.Bendeguz Csirmaz
2024-09-11Refs #373 -- Improved test coverage of tuple lookup checks.Bendeguz Csirmaz
This also removed unreachable checks.
2024-09-11Fixed #35747 -- Used default ordering when the ORDER_VAR param is blank in ↵ldeluigi
the admin changelist.
2024-09-10Refs #35074 -- Added _create_spatial_index_sql()/_delete_spatial_index_sql() ↵Mariusz Felisiak
hooks to GIS backends.
2024-09-10Refs #35074 -- Added PostGISSchemaEditor._create_spatial_index_name().Mário Falcão
This is consistent with Oracle and MySQL GIS database backends.
2024-09-09Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK ↵Csirmaz Bendegúz
is set.
2024-09-09Refs #33817 -- Corrected errors raised when Oracle driver is not installed.Mariusz Felisiak
oracledb_any should reraise ImportError instead of raising ImproperlyConfigured.
2024-09-09Fixed #35631 -- Added HttpRequest.get_preferred_type().Jake Howard
2024-09-06Fixed #35681 -- Corrected geoip2 docs when describing GeoIP2Exception.Jon Ribbens
2024-09-05Fixed #35737 -- Clarified where "models" comes from in tutorial 7.Mariatta
2024-09-05Updated instruction for deploying with Uvicorn and Gunicorn.SirenityK
2024-09-05Fixed #32831 -– Allowed cache tests to be retried via a new "retry" decorator.Wassef Ben Ahmed
2024-09-03Added CVE-2024-45230 and CVE-2024-45231 to security archive.Natalia
2024-09-03Added stub release notes for 5.1.2.Natalia
2024-09-03Fixed CVE-2024-45231 -- Avoided server error on password reset when email ↵Natalia
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-03Fixed CVE-2024-45230 -- Mitigated potential DoS in urlize and urlizetrunc ↵Sarah Boyce
template filters. Thanks MProgrammer (https://hackerone.com/mprogrammer) for the report.
2024-09-03Fixed #35704 -- Fixed reduction for AddIndex subclasses.Adam Johnson
2024-09-03Added EMAIL_USE_SSL to the 'Core Settings Topical Index' docs.github-user-en
2024-09-03Refs #35706 -- Replaced template _('...') usages with translate tag.sanjeevholla26
2024-09-03Added assertion for the results of migrating an integer pk to SmallAutoField.Tim Graham
Follow up to 7ca42974ee087a82b6f7f6874ca2b25e42a9a584 which did the same for similar tests.
2024-09-03Fixed #35724 -- Tested migration commands handling of distributed namespace ↵Jacob Walls
packages. Also increased coverage of module_loading.py.
2024-09-02Fixed #35712 -- Prevented Q.check() from leaving the connection in an ↵Alex Fischer
unusable state. Co-authored-by: Simon Charette <charette.s@gmail.com>
2024-09-02Refs #35706 -- Prefixed 'Error:' to titles of admin pages with form errors.sanjeevholla26
This improves the screen reader experience.
2024-09-02Fixed #35690 -- Errored nicely when using in_bulk() with a values() or ↵John Parton
values_list() queryset.
2024-08-30Fixed #35716 -- Fixed VariableDoesNotExist when rendering admin fieldsets.Sarah Boyce
Regression in 01ed59f753139afb514170ee7f7384c155ecbc2d. Thank you to Fábio Domingues and Marijke Luttekes for the report, and thank you to Natalia Bidart for the review.
2024-08-30Fixed #35700 -- Added AlterModelTable and AlterModelTableComment reductions.Adam Johnson
2024-08-30Fixed #35083 -- Updated method_decorator to handle async methods.Vaarun Sinha
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2024-08-30Dropped safeguards against very old versions of gettext.Claude Paroz
gettext 0.19 was released in 2014.
2024-08-30Fixed #35669 -- Improved max post-process passes exceeded error message in ↵SaJH
HashedFilesMixin. Signed-off-by: SaJH <wogur981208@gmail.com>
2024-08-30Fixed #35702 -- Removed connection pooling note for mysql drivers.Hisham Mahmood
2024-08-28Fixed #35688 -- Restored timezone and role setters to be PostgreSQL ↵Sarah Boyce
DatabaseWrapper methods. Following the addition of PostgreSQL connection pool support in Refs #33497, the methods for configuring the database role and timezone were moved to module-level functions. This change prevented subclasses of DatabaseWrapper from overriding these methods as needed, for example, when creating wrappers for other PostgreSQL-based backends. Thank you Christian Hardenberg for the report and to Florian Apolloner and Natalia Bidart for the review. Regression in fad334e1a9b54ea1acb8cce02a25934c5acfe99f. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-08-28Removed outdated note about lack of subquery support in MySQL.Adam Johnson
2024-08-28Fixed typos in docs/howto/initial-data.txt.Jacob Walls
2024-08-28Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test ↵Simon Charette
suite accordingly. Over the years we've had multiple instances of hit and misses when emitting warnings: either setting the wrong stacklevel or not setting it at all. This work adds assertions for the existing warnings that were declaring the correct stacklevel, but were lacking tests for it.
2024-08-28Refs #35405 -- Adjusted deprecation warning stacklevel in ↵Simon Charette
FieldCacheMixin.get_cache_name().
2024-08-28Refs #35326 -- Adjusted deprecation warning stacklevel in ↵Simon Charette
FileSystemStorage.OS_OPEN_FLAGS.
2024-08-28Refs #35060 -- Adjusted deprecation warning stacklevel in Model.save()/asave().Simon Charette
2024-08-28Refs #34547 -- Adjusted deprecation warning stacklevel in ↵Simon Charette
DatabaseOperations.field_cast_sql().
2024-08-28Refs #33735 -- Adjusted warning stacklevel in ↵Simon Charette
StreamingHttpResponse.__iter__()/__aiter__().
2024-08-28Refs #32339 -- Adjusted deprecation warning stacklevel in transitional form ↵Simon Charette
renderers.
2024-08-28Refs #22712 -- Adjusted deprecation warning stacklevel in staticfiles finders.Simon Charette
2024-08-28Refs #16055 -- Adjusted deprecation warning stacklevel in ↵Simon Charette
get_joining_columns()/get_reverse_joining_columns().
2024-08-28Refs #12581 -- Adjusted warning stacklevel in queries ring buffer.Simon Charette