Commit Graph

145 Commits

Author SHA256 Message Date
11ca90c769 Accepting request 1245099 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.1.6
  * Fixed a regression in Django 5.1.5 that caused validate_ipv6_address()
    and validate_ipv46_address() to crash when handling non-string values
  * Fixed a regression in Django 5.1 where password fields, despite being
    set to required=False, were still treated as required in forms derived
    from BaseUserCreationForm

OBS-URL: https://build.opensuse.org/request/show/1245099
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=187
2025-02-11 14:13:37 +00:00
31211500a9 Accepting request 1237996 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.1.5 (bsc#1235856)
  * CVE-2024-56374: Potential denial-of-service vulnerability in 
    IPv6 validation
  * Fixed a crash when applying migrations with references to the 
    removed Meta.index_together option

OBS-URL: https://build.opensuse.org/request/show/1237996
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=185
2025-01-15 12:08:37 +00:00
4b21501c66 Accepting request 1229256 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.1.4 (bsc#1234231, CVE-2024-53908, bsc#1234232, CVE-2024-53907)
  * CVE-2024-53907: Potential denial-of-service in django.utils.html.strip_tags()
  * CVE-2024-53908: Potential SQL injection in HasKey(lhs, rhs) on Oracle
  * Fixed a crash in createsuperuser on Python 3.13+ caused by an unhandled OSError
  * Fixed a regression in Django 5.1 where relational fields were not updated
  * Fixed a bug in Django 5.1 where DomainNameValidator accepted any input value 
    that contained a valid domain name, rather than only input values that were 
    a valid domain name
  * Fixed a regression in Django 5.1 that prevented the use of DB-IP databases with GeoIP2
  * Fixed a regression in Django 5.1 where non-ASCII fieldset names were not displayed 
    when rendering admin fieldsets

OBS-URL: https://build.opensuse.org/request/show/1229256
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=183
2024-12-09 11:00:19 +00:00
a9323c63eb Accepting request 1208605 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.1.2
  * Fixed a regression in Django 5.1 that caused a crash when using 
    the PostgreSQL lookup trigram_similar on output fields from Concat
  * Fixed a regression in Django 5.1 that caused a crash of JSONObject() 
    when using server-side binding with PostgreSQL 16+
  * Fixed a regression in Django 5.1 that made selected items in 
    multi-select widgets indistinguishable from non-selected items in 
    the admin dark theme

OBS-URL: https://build.opensuse.org/request/show/1208605
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=181
2024-10-17 10:32:45 +00:00
dafc696f6b - Update to 5.1.1 (bsc#1229823, bsc#1229824)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=179
2024-09-04 12:09:20 +00:00
ebd59fdf8f Accepting request 1198650 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.1.1 (CVE-2024-45230, bsc#1229823, CVE-2024-45231, bsc#1229824)
  * Fixed a regression in Django 5.1 that caused a crash of Window() when 
    passing an empty sequence to the order_by parameter, and a crash of 
    Prefetch() for a sliced queryset without ordering
  * Fixed a regression in Django 5.1 where a new usable_password field was 
    included in BaseUserCreationForm (and children).
  * Adjusted the deprecation warning stacklevel in Model.save() and 
    Model.asave() to correctly point to the offending call site
  * Adjusted the deprecation warning stacklevel when using OS_OPEN_FLAGS 
    in FileSystemStorage to correctly point to the offending call site
  * Adjusted the deprecation warning stacklevel in FieldCacheMixin.get_cache_name() 
    to correctly point to the offending call site
  * Restored, following a regression in Django 5.1, the ability to 
    override the timezone and role setting behavior used within the 
    init_connection_state method of the PostgreSQL backend
  * Fixed a bug in Django 5.1 where variable lookup errors were logged 
    when rendering admin fieldsets

OBS-URL: https://build.opensuse.org/request/show/1198650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=178
2024-09-04 07:53:21 +00:00
5d6567866e Accepting request 1198652 from home:aplanas:branches:devel:languages:python:django
- Update to 5.1.1
  * CVE-2024-45230: Potential denial-of-service vulnerability in
    django.utils.html.urlize()
  * CVE-2024-45231: Potential user email enumeration via response
    status on password reset
  * Fixed a regression in Django 5.1 that caused a crash of Window()
    when passing an empty sequence to the order_by parameter, and a
    crash of Prefetch() for a sliced queryset without ordering
  * Fixed a regression in Django 5.1 where a new usable_password field
    was included in BaseUserCreationForm (and children). A new
    AdminUserCreationForm including this field was added, isolating
    the feature to the admin where it was intended
  * Adjusted the deprecation warning stacklevel in Model.save() and
    Model.asave() to correctly point to the offending call site
  * Adjusted the deprecation warning stacklevel when using
    OS_OPEN_FLAGS in FileSystemStorage to correctly point to the
    offending call site
  * Adjusted the deprecation warning stacklevel in
    FieldCacheMixin.get_cache_name() to correctly point to the
    offending call site
  * Restored, following a regression in Django 5.1, the ability to
    override the timezone and role setting behavior used within the
    init_connection_state method of the PostgreSQL backend
  * Fixed a bug in Django 5.1 where variable lookup errors were logged
    when rendering admin fieldsets

OBS-URL: https://build.opensuse.org/request/show/1198652
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=177
2024-09-04 07:52:11 +00:00
457ae52508 Accepting request 1192949 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.1
  * Supports Python >= 3.10.
  * Easier guardrails for authentication: the new and shiny 
    LoginRequiredMiddleware, when added to MIDDLEWARE, enforces 
    authentication for all views by default.
  * A more inclusive framework: Django 5.1 includes several accessibility 
    enhancements, such as improved screen reader support in the admin 
    interface, more semantic HTML elements, and better association of 
    help text and labels with form fieldsets.
  * The second oldest ticket fixed in this release provides the long awaited 
    querystring template tag, which greatly simplifies the handling of query 
    strings when building URLs in templates.
  * For a detailed list of changes see https://docs.djangoproject.com/en/5.1/releases/5.1/
- Refreshed python-Django.keyring

OBS-URL: https://build.opensuse.org/request/show/1192949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=175
2024-08-09 14:04:24 +00:00
0e66e59a61 add bugzilla entries for the CVEs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=174
2024-08-08 10:33:49 +00:00
3036718655 Accepting request 1192057 from home:aplanas:branches:devel:languages:python:django
- Update to 5.0.8
  * CVE-2024-41989: Memory exhaustion in
    django.utils.numberformat.floatformat()
  * CVE-2024-41990: Potential denial-of-service vulnerability in
    django.utils.html.urlize()
  * CVE-2024-41991: Potential denial-of-service vulnerability in
    django.utils.html.urlize() and AdminURLFieldWidget
  * CVE-2024-42005: Potential SQL injection in QuerySet.values() and
    values_list()
  * Added missing validation for
    UniqueConstraint(nulls_distinct=False) when using *expressions
  * Fixed a regression in Django 5.0 where ModelAdmin.action_checkbox
    could break the admin changelist HTML page when rendering a model
    instance with a __html__ method
  * Fixed a crash when creating a model with a Field.db_default and a
    Meta.constraints constraint composed of __endswith, __startswith,
    or __contains lookups
  * Fixed a regression in Django 5.0.7 that caused a crash in
    LocaleMiddleware when processing a language code over 500
    characters
  * Fixed a bug in Django 5.0 that caused a system check crash when
    ModelAdmin.date_hierarchy was a GeneratedField with an
    output_field of DateField or DateTimeField
  * Fixed a bug in Django 5.0 which caused constraint validation to
    either crash or incorrectly raise validation errors for
    constraints referring to fields using Field.db_default
  * Fixed a crash in Django 5.0 when saving a model containing a
    FileField with a db_default set

OBS-URL: https://build.opensuse.org/request/show/1192057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=172
2024-08-07 06:25:06 +00:00
339afff384 Accepting request 1187821 from home:mcalabkova:branches:devel:languages:python
- This release also fixes several security issues:
  * bsc#1227590 (CVE-2024-38875)
  * bsc#1227593 (CVE-2024-39329)
  * bsc#1227594 (CVE-2024-39330)
  * bsc#1227595 (CVE-2024-39614)

OBS-URL: https://build.opensuse.org/request/show/1187821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=169
2024-07-17 14:12:33 +00:00
1354207c29 Accepting request 1186489 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.0.7
  * Supports Python >= 3.10.
  * Facet counts are now shown for applied filters in the admin changelist 
    when toggled on via the UI. This behavior can be changed via the new 
    ModelAdmin.show_facets attribute.
  * Django 5.0 introduces the concept of a field group, and field group 
    templates. This simplifies rendering of the related elements of a 
    Django form field such as its label, widget, help text, and errors.
  * The new Field.db_default parameter sets a database-computed default value.
  * The new GeneratedField allows creation of database generated columns. 
    This field can be used on all supported database backends to create 
    a field that is always computed from other fields.
  * More options for declaring field choices
  * Few backwards-incompatible changes in the database backend API,
    django.contrib.gis and django.contrib.sitemaps
  * Dropped support for MySQL < 8.0.11
  * Using create_defaults__exact may now be required with QuerySet.update_or_create()
  * Migrating existing UUIDField on MariaDB 10.7+
- Drop no-longer-needed patches:
  * dirty-hack-remove-assert.patch
  * sanitize_address.patch

OBS-URL: https://build.opensuse.org/request/show/1186489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=167
2024-07-10 05:58:27 +00:00
44754bf2e2 Accepting request 1172647 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.13
  + Django 4.2.13 fixes a packaging error in 4.2.12.
- Update to 4.2.12
  + Django 4.2.12 fixes a compatibility issue with Python 3.11.9+ and 3.12.3+.
  + Fixed a crash in Django 4.2 when validating email max line lengths
    with content decoded using the surrogateescape error handling
    scheme
- Drop fix-safemimetext-set_payload.patch, already merged upstream

OBS-URL: https://build.opensuse.org/request/show/1172647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=165
2024-05-08 07:44:45 +00:00
5c24bf8efa Accepting request 1168719 from home:dgarcia:branches:devel:languages:python:Factory
- Add fix-safemimetext-set_payload.patch, to support python 3.11.9+
  (gh#django/django@b231bcd19e57, bsc#1222880)

OBS-URL: https://build.opensuse.org/request/show/1168719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=163
2024-04-18 06:46:26 +00:00
e8d68eddd1 Accepting request 1154851 from home:aplanas:branches:devel:languages:python:django
-  Update to 4.2.11 (CVE-2024-27351, bsc#1220358)
  * CVE-2024-27351: Potential regular expression denial-of-service in
    django.utils.text.Truncator.words()
  * Fixed a regression in Django 4.2.10 where intcomma template filter
    could return a leading comma for string representation of floats
- Remove python3122.patch, already upstream

OBS-URL: https://build.opensuse.org/request/show/1154851
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=161
2024-03-04 15:20:16 +00:00
6c6e0c9c92 - Add python3122.patch to fix tests with python 3.12.2
gh#django/django#17843
- Update to 4.2.10 (bsc#1219683, CVE-2024-24680):
  - Django 4.2.10 fixes a security issue with severity "moderate" in
    4.2.9.
    CVE-2024-24680: Potential denial-of-service in intcomma template
    filter The intcomma template filter was subject to a potential
    denial-of-service attack when used with very long strings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=158
2024-02-09 10:55:29 +00:00
ec2a2d4281 Accepting request 1137053 from home:alarrosa:branches:devel:languages:python:django
Add bugzilla reference

  + CVE-2023-31047: Potential bypass of validation when uploading
    multiple files using one form field (bsc#1210866)

OBS-URL: https://build.opensuse.org/request/show/1137053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=156
2024-01-05 17:21:59 +00:00
5db55c8861 Accepting request 1136760 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.9:
  * Fixed a regression in Django 4.2.8 where admin fields on the same
    line could overflow the page and become non-interactive

OBS-URL: https://build.opensuse.org/request/show/1136760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=155
2024-01-04 10:14:17 +00:00
78acb5017d Accepting request 1130704 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.8
  * Fixed a regression in Django 4.2 that caused makemigrations
    --check to stop displaying pending migrations
  * Fixed a regression in Django 4.2 that caused a crash of
    QuerySet.aggregate() with aggregates referencing other aggregates
    or window functions through conditional expressions
  * Fixed a regression in Django 4.2 that caused a crash when
    annotating a QuerySet with a Window expressions composed of a
    partition_by clause mixing field types and aggregation expressions
  * Fixed a regression in Django 4.2 where the admin’s change list
    page had misaligned pagination links and inputs when using
    list_editable
  * Fixed a regression in Django 4.2 where checkboxes in the admin
    would be centered on narrower screen widths
  * Fixed a regression in Django 4.2 that caused a crash of querysets
    with aggregations on MariaDB when the ONLY_FULL_GROUP_BY SQL mode
    was enabled
  * Fixed a regression in Django 4.2 where the admin’s read-only
    password widget and some help texts were incorrectly aligned at
    tablet widths
  * Fixed a regression in Django 4.2 that caused a migration crash on
    SQLite when altering unsupported Meta.db_table_comment

OBS-URL: https://build.opensuse.org/request/show/1130704
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=153
2023-12-04 10:38:51 +00:00
f70b6a88a7 Accepting request 1129117 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- add dirty-hack-remove-assert.patch from fedora to fix
  minor test failure with python 3.12

- Update to 4.2.5 (CVE-2023-41164)
- Update minimal dependency versions.
  + Fixed a long standing bug in the __len lookup for ArrayField
    constraints on expressions and database functions.
    customization.
  read the egg-info and fail if they are not fulfilled.
  + New decorators for the admin site
  * CVE-2020-24584: Permission escalation in intermediate-level directories of the file
  * Fixed a data loss possibility in the select_for_update(). When using related fields
  * Fixed a regression in Django 3.1 that caused permission errors in CommonPasswordValidator
 * Added compatibility for cx_Oracle 8
 * many other bugfixes
- Update to 3.0.5
 * Fixed a regression in Django 2.0 where combining Q objects with __in lookups
     with FileExistsError if concurrent saves try to create the same directory
  * Made admin’s RelatedFieldWidgetWrapper use the wrapped widget’s
    value_omitted_from_data() method (#27905)
  * Fixed ClearableFileInput’s “Clear” checkbox on model form fields where the
    model field has a default
  * Fixed RequestDataTooBig and TooManyFieldsSent exceptions crashing rather than
  * Fixed a crash on Oracle and PostgreSQL when subtracting DurationField or
    IntegerField from DateField
  * Fixed query expression date subtraction accuracy on PostgreSQL for differences
  * Fixed a GDALException raised by GDALClose on GDAL >= 2.0
  * Quoted the Oracle test user’s password in queries to fix the “ORA-00922: missing
    or invalid option” error when the password starts with a number or
  with SLE-12 which provides PIL instead of Pillow.

OBS-URL: https://build.opensuse.org/request/show/1129117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=151
2023-11-27 12:51:15 +00:00
9daf66e2d5 Accepting request 1121555 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.7
  * Fixed a regression in Django 4.2 that caused a crash of
    QuerySet.aggregate() with aggregates referencing expressions
    containing subqueries
  * Restored, following a regression in Django 4.2, creating
    varchar/text_pattern_ops indexes on CharField and TextField with
    deterministic collations on PostgreSQL

OBS-URL: https://build.opensuse.org/request/show/1121555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=149
2023-11-01 19:30:35 +00:00
bd89a6aadb - Update to 4.2.6 (bsc#1215978, CVE-2023-43665)
* CVE-2023-43665: Denial-of-service possibility in
    django.utils.text.Truncator
    The input processed by Truncator, when operating in HTML mode, has
    been limited to the first five million characters in order to
    avoid potential performance and memory issues.
  * Fixed a regression in Django 4.2.5 where overriding the deprecated
    DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings in tests
    caused the main STORAGES to mutate (#34821).
  * Fixed a regression in Django 4.2 that caused unnecessary casting
    of string based fields (CharField, EmailField, TextField,
    CICharField, CIEmailField, and CITextField) used with the __isnull
    lookup on PostgreSQL. As a consequence, indexes using an __isnull
    expression or condition created before Django 4.2 wouldn’t be used
    by the query planner, leading to a performance regression
    (#34840).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=147
2023-10-16 08:50:29 +00:00
1e02396fd8 Accepting request 1108899 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.5 (CVE-2023-41164) 
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused an incorrect
      validation of CheckConstraints on __isnull lookups against
      JSONField
    * Fixed a bug in Django 4.2 where the deprecated
      DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings were not
      synced with STORAGES
    * Fixed a regression in Django 4.2.2 that caused an unnecessary
      selection of a non-nullable ManyToManyField without a natural
      key during serialization
    * Fixed a regression in Django 4.2 that caused a crash of a
      queryset when filtering against deeply nested OuterRef()
      annotations

OBS-URL: https://build.opensuse.org/request/show/1108899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=145
2023-09-04 14:23:01 +00:00
fd7a9a1b04 Accepting request 1101901 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.4
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.aggregate() with aggregates referencing window
      functions
    * Fixed a regression in Django 4.2 that caused a crash when
      grouping by a reference in a subquery
    * Fixed a regression in Django 4.2 that caused aggregation over
      query that uses explicit grouping by multi-valued annotations to
      group against the wrong columns

OBS-URL: https://build.opensuse.org/request/show/1101901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=143
2023-08-02 07:50:24 +00:00
5be7305f2a Accepting request 1099276 from home:mcalabkova:branches:devel:languages:python:django
- Add upstream sanitize_address.patch
  * fixes build with yet another CPython upstream fix (bsc#1210638)

OBS-URL: https://build.opensuse.org/request/show/1099276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=141
2023-07-18 13:27:33 +00:00
febfed4b26 Accepting request 1097909 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.3 (bsc#1212742, CVE-2023-36053)
  + CVE-2023-36053: Potential regular expression denial of service
    vulnerability in EmailValidator/URLValidator
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused incorrect alignment
      of timezone warnings for DateField and TimeField in the admin
    * Fixed a regression in Django 4.2 that caused incorrect
      highlighting of rows in the admin changelist view when
      ModelAdmin.list_editable contained a BooleanField

OBS-URL: https://build.opensuse.org/request/show/1097909
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=139
2023-07-10 10:10:57 +00:00
ef6556ff23 Accepting request 1092045 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092045
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=137
2023-06-11 07:55:46 +00:00
a7891abdca Accepting request 1091039 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.2
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused an unnecessary
      DBMS_LOB.SUBSTR() wrapping in the __isnull and __exact=None
      lookups for TextField()/BinaryField() on Oracle
    * Restored, following a regression in Django 4.2, get_prep_value()
      call in JSONField subclasses
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.defer() when passing a ManyToManyField or
      GenericForeignKey reference. While doing so is a no-op, it was
      allowed in older version
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.only() when passing a reverse OneToOneField reference
    * Fixed a bug in Django 4.2 where makemigrations --update didn’t
      respect the --name option
    * Fixed a performance regression in Django 4.2 when compiling
      queries without ordering
    * Fixed a regression in Django 4.2 where nonexistent stylesheet
      was linked on a “Congratulations!” page
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.aggregate() with expressions referencing other
      aggregates
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.aggregate() with aggregates referencing subqueries
    * Fixed a regression in Django 4.2 that caused a crash of
      querysets on SQLite when filtering on DecimalField against
      values outside of the defined range
    * Fixed a regression in Django 4.2 that caused a serialization
      crash on a ManyToManyField without a natural key when its
      Manager’s base QuerySet used select_related()

OBS-URL: https://build.opensuse.org/request/show/1091039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=135
2023-06-06 10:33:13 +00:00
7e51f05705 Accepting request 1084538 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.1
  + CVE-2023-31047: Potential bypass of validation when uploading multiple files using one form field
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.defer() when deferring fields by attribute names
    * Fixed a regression in Django 4.2 that caused a crash of
      SearchVector function with % characters
    * Fixed a regression in Django 4.2 that caused aggregation over
      query that uses explicit grouping to group against the wrong
      columns
    * Reallowed, following a regression in Django 4.2, setting the
      "cursor_factory" option in OPTIONS on PostgreSQL
    * Enforced UTF-8 client encoding on PostgreSQL, following a
      regression in Django 4.2
    * Fixed a regression in Django 4.2 where i18n_patterns() didn’t
      respect the prefix_default_language argument when a fallback
      language of the default language was used
    * Fixed a regression in Django 4.2 where translated URLs of the
      default language from i18n_patterns() with
      prefix_default_language set to False raised 404 errors for a
      request with a different language
    * Fixed a regression in Django 4.2 where creating copies and deep
      copies of HttpRequest, HttpResponse, and their subclasses didn’t
      always work correctly
    * Fixed a regression in Django 4.2 where timesince and timeuntil
      template filters returned incorrect results for a datetime with
      a non-UTC timezone when a time difference is less than 1 day
    * Fixed a regression in Django 4.2 that caused a crash of
      SearchHeadline function with psycopg 3
    * Fixed a regression in Django 4.2 that caused incorrect
      ClearableFileInput margins in the admin
    * Fixed a regression in Django 4.2 where breadcrumbs didn’t appear
      on admin site app index views
    * Made squashing migrations reduce AddIndex, RemoveIndex,
      RenameIndex, and CreateModel operations which allows removing a
      deprecated Meta.index_together option from historical migrations
      and use Meta.indexes instead

OBS-URL: https://build.opensuse.org/request/show/1084538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=133
2023-05-04 07:11:45 +00:00
3c4c0867cd Accepting request 1077655 from home:david.anes:branches:devel:languages:python:django
- Update minimal dependency versions.

OBS-URL: https://build.opensuse.org/request/show/1077655
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=131
2023-04-10 07:08:59 +00:00
117faaf20d Accepting request 1077154 from home:david.anes:branches:devel:languages:python:django
- Update to 4.2:
  This is just a summary. Full release notes are available at
  https://docs.djangoproject.com/en/4.2/releases/4.2/
  + Psycopg 3 support
  + Comments on columns and tables
  + Mitigation for the BREACH attack
  + In-memory file storage
  + Custom file storages
  + For backwards incompatible changes in 4.2 see
  https://docs.djangoproject.com/en/4.2/releases/4.2/#backwards-incompatible-changes-in-4-2
- Update of keyring file

OBS-URL: https://build.opensuse.org/request/show/1077154
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=129
2023-04-04 12:57:04 +00:00
f44a608380 Accepting request 1065702 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.7:
  + CVE-2023-24580: Potential denial-of-service vulnerability in file
    uploads (bsc#1208082)
  + Fixed a bug in Django 4.1 that caused a crash of model validation
    on ValidationError with no code

OBS-URL: https://build.opensuse.org/request/show/1065702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=127
2023-02-14 10:19:37 +00:00
f2ad9f2647 Accepting request 1062447 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.6:
  + CVE-2023-23969: Potential denial-of-service via Accept-Language
    headers Bugfixes
  + Fixed a bug in Django 4.1 that caused a crash of model validation
    on UniqueConstraint with ordered expressions

OBS-URL: https://build.opensuse.org/request/show/1062447
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=125
2023-02-01 13:06:51 +00:00
5e762e95d8 Accepting request 1046292 from home:david.anes:branches:devel:languages:python:django
- Update to 4.1.5:
  + Fixed a long standing bug in the __len lookup for ArrayField 
    that caused a crash of model validation on Meta.constraints.
- Update keyring file.

OBS-URL: https://build.opensuse.org/request/show/1046292
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=123
2023-01-03 10:05:02 +00:00
d01dcdba31 - Recommends python-pymemcache instead of the deprecated
python-python-memcached. This is the module used in Django since 3.2
  https://docs.djangoproject.com/en/3.2/releases/3.2/#pymemcache-support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=121
2022-12-21 09:48:13 +00:00
dd72ea4057 Accepting request 1040693 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.4
  + Fixed a regression in Django 4.1 that caused an unnecessary table
    rebuild when adding a ManyToManyField on SQLite
  + Fixed a bug in Django 4.1 that caused a crash of the sitemap index
    view with an empty Sitemap.items() and a callable lastmod
  + Fixed a bug in Django 4.1 that caused a crash using acreate(),
    aget_or_create(), and aupdate_or_create() asynchronous methods of
    related managers
  + Fixed a bug in Django 4.1 that caused a crash of
    QuerySet.bulk_create() with "pk" in unique_fields
  + Fixed a bug in Django 4.1 that caused a crash of
    QuerySet.bulk_create() on fields with db_column

OBS-URL: https://build.opensuse.org/request/show/1040693
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=119
2022-12-06 14:24:13 +00:00
6a8d6e0082 Accepting request 1032928 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.3
  + Fixed a bug in Django 4.1 that caused non-Python files created by
    startproject and startapp management commands from custom
    templates to be incorrectly formatted using the black command

OBS-URL: https://build.opensuse.org/request/show/1032928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=117
2022-11-02 16:27:34 +00:00
829b88d3c8 Accepting request 1007838 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.2 (bsc#1203793, CVE-2022-41323)
  + Fixed a regression in Django 4.1 that caused a migration crash on
    PostgreSQL when adding a model with ExclusionConstraint
  + Fixed a regression in Django 4.1 that caused aggregation over a
    queryset that contained an Exists annotation to crash due to too
    many selected columns
  + Fixed a bug in Django 4.1 that caused an incorrect validation of
    CheckConstraint on NULL values
  + Fixed a regression in Django 4.1 that caused a
    QuerySet.values()/values_list() crash on ArrayAgg() and JSONBAgg()
  + Fixed a bug in Django 4.1 that caused
    ModelAdmin.autocomplete_fields to be incorrectly selected after
    adding/changing related instances via popups
  + Fixed a regression in Django 4.1 where the app registry was not
    populated when running parallel tests with the multiprocessing
    start method spawn
  + Fixed a regression in Django 4.1 where the --debug-mode argument
    to test did not work when running parallel tests with the
    multiprocessing start method spawn
  + Fixed a regression in Django 4.1 that didn’t alter a sequence type
    when altering type of pre-Django 4.1 serial columns on PostgreSQL
  + Fixed a regression in Django 4.1 that caused a crash for View
    subclasses with asynchronous handlers when handling non-allowed
    HTTP methods
  + Reverted caching related managers for ForeignKey, ManyToManyField,
    and GenericRelation that caused the incorrect refreshing of
    related objects
  + Relaxed the system check added in Django 4.1 for the same name
    used for multiple template tag modules to a warning

OBS-URL: https://build.opensuse.org/request/show/1007838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=115
2022-10-04 09:20:20 +00:00
239e285e49 Accepting request 1001261 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.1
  + Reallowed, following a regression in Django 4.1, using GeoIP2()
    when GEOS is not installed
  + Fixed a regression in Django 4.1 that caused a crash of admin’s
    autocomplete widgets when translations are deactivated
  + Fixed a regression in Django 4.1 that caused a crash of the test
    management command when running in parallel and multiprocessing
    start method is spawn
  + Fixed a regression in Django 4.1 that caused an incorrect
    redirection to the admin changelist view when using "Save and
    continue editing" and "Save and add another" options
  + Fixed a regression in Django 4.1 that caused a crash of Window
    expressions with ArrayAgg
  + Fixed a regression in Django 4.1 that caused a migration crash on
    SQLite 3.35.5+ when removing an indexed field
  + Fixed a bug in Django 4.1 that caused a crash of model validation
    on UniqueConstraint() with field names in expressions
  + Fixed a bug in Django 4.1 that caused an incorrect validation of
    CheckConstraint() with range fields on PostgreSQL
  + Fixed a regression in Django 4.1 that caused an incorrect
    migration when adding AutoField, BigAutoField, or SmallAutoField
    on PostgreSQL
  + Fixed a regression in Django 4.1 that caused a migration crash on
    PostgreSQL when altering AutoField, BigAutoField, or
    SmallAutoField to OneToOneField
  + Fixed a migration crash on ManyToManyField fields with through
    referencing models in different apps
  + Fixed a regression in Django 4.1 that caused an incorrect
    migration when renaming a model with ManyToManyField and db_table
  + Reallowed, following a regression in Django 4.1, creating reverse

OBS-URL: https://build.opensuse.org/request/show/1001261
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=113
2022-09-05 12:15:01 +00:00
3f6ee1814e Accepting request 992598 from home:aplanas:branches:devel:languages:python:django
- Add 0001-Fixed-33887-Added-version-in-asserted-test-URL.patch to fix
  test

OBS-URL: https://build.opensuse.org/request/show/992598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=111
2022-08-03 14:27:47 +00:00
a28f5d8d93 Accepting request 992592 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1:
  This is just a summary. Full release notes are available at
  https://docs.djangoproject.com/en/4.1/releases/4.1/
  + Django 4.1 supports Python 3.8, 3.9, and 3.10
  + Asynchronous handlers for class-based views
  + Asynchronous ORM interface
  + Validation of Constraints
  + Form rendering accessibility
  + CSRF_COOKIE_MASKED setting
- Drop fix_test_custom_fields_SQLite.patch (already merged)

OBS-URL: https://build.opensuse.org/request/show/992592
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=110
2022-08-03 14:14:04 +00:00
922581a20a Accepting request 992580 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.7 (CVE-2022-36359, bsc#1201923):
  + Django 4.0.7 fixes a security issue with severity “high” in 4.0.6.

OBS-URL: https://build.opensuse.org/request/show/992580
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=109
2022-08-03 13:03:05 +00:00
e714a1bfcd Accepting request 986794 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.6
  + CVE-2022-34265: Potential SQL injection via Trunc(kind) and
    Extract(lookup_name) arguments

OBS-URL: https://build.opensuse.org/request/show/986794
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=107
2022-07-05 08:25:30 +00:00
beee932cb6 Accepting request 980458 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.5
  + Fixed a bug in Django 4.0 where not all OPTIONS were passed to a
    Redis client
  + Fixed a bug in Django 4.0 that caused a crash of QuerySet.filter()
    on IsNull() expressions
  + Fixed a bug in Django 4.0 where a hidden quick filter toolbar in
    the admin’s navigation sidebar was focusable

OBS-URL: https://build.opensuse.org/request/show/980458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=105
2022-06-02 07:48:26 +00:00
80a7eee3e0 Accepting request 977871 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.4
  + CVE-2022-28346: Potential SQL injection in "QuerySet.annotate()",
    "aggregate()", and "extra()"
  + CVE-2022-28347: Potential SQL injection via
    "QuerySet.explain(**options)" on PostgreSQL

OBS-URL: https://build.opensuse.org/request/show/977871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=103
2022-05-18 06:46:00 +00:00
82bdf0c029 Accepting request 958255 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.3
  + Prevented, following a regression in Django 4.0.1, makemigrations
    from generating infinite migrations for a model with
    ManyToManyField to a lowercased swappable model such as
    'auth.user'
  + Fixed a regression in Django 4.0 that caused a crash when
    rendering invalid inlines with readonly_fields in the admin

OBS-URL: https://build.opensuse.org/request/show/958255
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=102
2022-03-01 11:24:38 +00:00
2b9379167a Accepting request 950390 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.2 (CVE-2022-22818, bsc#1195086) (CVE-2022-23833, bsc#1195088)
  + CVE-2022-22818: Possible XSS via {% debug %} template tag
  + CVE-2022-23833: Denial-of-service possibility in file uploads
  + Fixed a bug in Django 4.0 where
    TestCase.captureOnCommitCallbacks() could execute callbacks
    multiple times
  + Fixed a regression in Django 4.0 where help_text was HTML-escaped
    in automatically-generated forms
  + Fixed a regression in Django 4.0 that caused displaying an
    incorrect name for class-based views on the technical 404 debug
    page
  + Fixed a regression in Django 4.0 that caused an incorrect repr of
    ResolverMatch for class-based views
  + Fixed a regression in Django 4.0 that caused a crash of
    makemigrations on models without Meta.order_with_respect_to but
    with a field named _order
  + Fixed a regression in Django 4.0 that caused incorrect
    ModelAdmin.radio_fields layout in the admin
  + Fixed a duplicate operation regression in Django 4.0 that caused a
    migration crash when altering a primary key type for a concrete
    parent model referenced by a foreign key
  + Fixed a bug in Django 4.0 that caused a crash of
    QuerySet.aggregate() after annotate() on an aggregate function
    with a default
  + Fixed a regression in Django 4.0 that caused a crash of
    makemigrations when renaming a field of a renamed model

OBS-URL: https://build.opensuse.org/request/show/950390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=101
2022-02-01 10:48:28 +00:00
64e83c4e20 - Add fix_test_custom_fields_SQLite.patch fixing issues with
modern SQLite (gh#django/django#15168).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=100
2022-01-12 14:16:45 +00:00
4ce017e855 Accepting request 945252 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.1 (CVE-2021-45115, CVE-2021-45452, bsc#1194117)
  + CVE-2021-45115: Denial-of-service possibility in
    UserAttributeSimilarityValidator
  + CVE-2021-45452: Potential directory-traversal via Storage.save()
  + Fixed a regression in Django 4.0 that caused a crash of
    assertFormsetError() on a formset named form
  + Fixed a bug in Django 4.0 that caused a crash on booleans with the
    RedisCache backend
  + Relaxed the check added in Django 4.0 to reallow use of a
    duck-typed HttpRequest in
    django.views.decorators.cache.cache_control() and never_cache()
    decorators
  + Fixed a regression in Django 4.0 that caused creating bogus
    migrations for models that reference swappable models such as
    auth.User
  + Fixed a long standing bug in Geometry Collections and Polygon that
    caused a crash on some platforms (reported on macOS based on the
    ARM64 architecture)

OBS-URL: https://build.opensuse.org/request/show/945252
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=99
2022-01-10 09:56:14 +00:00
f1f5f639b0 Accepting request 942768 from home:bnavigator:branches:devel:languages:python:django
- Fix u-a scriptlet dependency.
- Remove python36 conditional on numpy dep.

OBS-URL: https://build.opensuse.org/request/show/942768
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=98
2021-12-28 11:56:59 +00:00