1
0
forked from pool/python-Django
Commit Graph

91 Commits

Author SHA256 Message Date
bccc7af30c Accepting request 923266 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.8
  + Fixed a bug in Django 3.2 that caused incorrect links on read-only
    fields in the admin
  + Fixed a regression in Django 3.2 that caused incorrect selection
    of items across all pages when actions were placed both on the top
    and bottom of the admin change-list view
- Drop failing_test_subparser_invalid_option.patch, as is already in
  the upstream code.

OBS-URL: https://build.opensuse.org/request/show/923266
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=92
2021-10-05 14:47:49 +00:00
4e559eca14 - Add failing_test_subparser_invalid_option.patch fixing
https://code.djangoproject.com/ticket/33082

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=91
2021-09-09 15:45:45 +00:00
8d144531fc Accepting request 915460 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.7
  + Fixed a regression in Django 3.2 that caused the incorrect offset
    extraction from fixed offset timezones

OBS-URL: https://build.opensuse.org/request/show/915460
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=90
2021-09-01 11:09:32 +00:00
4c84f2f3cc Accepting request 912366 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.6
  + Fixed a regression in Django 3.2 that caused a crash validating
    "NaN" input with a forms.DecimalField when additional constraints,
    e.g. max_value, were specified
  + Fixed a bug in Django 3.2 where a system check would crash on a
    model with a reverse many-to-many relation inherited from a parent
    class

OBS-URL: https://build.opensuse.org/request/show/912366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=89
2021-08-16 08:46:29 +00:00
3040922dbc Accepting request 903353 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.5 (CVE-2021-35042, bsc#1187785)
  + Fixed a regression in Django 3.2 that caused a crash of
    QuerySet.values_list(..., named=True) after prefetch_related()
  + Fixed a bug in Django 3.2 that caused a migration crash on MySQL
    8.0.13+ when altering BinaryField, JSONField, or TextField to
    non-nullable
  + Fixed a regression in Django 3.2 that caused a migration crash on
    MySQL 8.0.13+ when adding nullable BinaryField, JSONField, or
    TextField with a default value
  + Fixed a bug in Django 3.2 where a system check would crash on a
    model with an invalid app_label

OBS-URL: https://build.opensuse.org/request/show/903353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=88
2021-07-02 08:14:22 +00:00
713157e5df Accepting request 896895 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.4 (CVE-2021-33203, CVE-2021-33571)
  + CVE-2021-33203: Potential directory traversal via admindocs
  + CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks
    since validators accepted leading zeros in IPv4 addresses
  + Fixed a bug in Django 3.2 where a final catch-all view in the
    admin didn’t respect the server-provided value of SCRIPT_NAME when
    redirecting unauthenticated users to the login page
  + Fixed a bug in Django 3.2 where a system check would crash on an
    abstract model
  + Prevented unnecessary initialization of unused caches following a
    regression in Django 3.2
  + Fixed a crash in Django 3.2 that could occur when running mod_wsgi
    with the recommended settings while the Windows colorama library
    was installed
  + Fixed a bug in Django 3.2 that would trigger the auto-reloader for
    template changes when directory paths were specified with strings
  + Fixed a regression in Django 3.2 that caused a crash of
    auto-reloader with AttributeError, e.g. inside a Conda environment
  + Fixed a regression in Django 3.2 that caused a loss of precision
    for operations with DecimalField on MySQL

OBS-URL: https://build.opensuse.org/request/show/896895
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=86
2021-06-03 15:42:35 +00:00
8a94c91b8a Accepting request 893567 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.3
  + Prepared for mysqlclient > 2.0.3 support
  + Fixed a regression in Django 3.2 that caused the incorrect
    filtering of querysets combined with the | operator
  + Fixed a regression in Django 3.2.1 where saving FileField would
    raise a SuspiciousFileOperation even when a custom upload_to
    returns a valid file path

OBS-URL: https://build.opensuse.org/request/show/893567
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=84
2021-05-17 07:56:44 +00:00
8622f84af6 Accepting request 890932 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.2 (CVE-2021-32052)

OBS-URL: https://build.opensuse.org/request/show/890932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=82
2021-05-07 08:11:13 +00:00
bc6d5ae53b Accepting request 890806 from home:bnavigator:branches:devel:languages:python:django
- Keep rpm runtime requirements in sync. Downstream packages often
  read the egg-info and fail if they are not fulfilled.

OBS-URL: https://build.opensuse.org/request/show/890806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=81
2021-05-06 08:56:41 +00:00
215700684a Accepting request 890638 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.1 (CVE-2021-31542)
  + CVE-2021-31542: Potential directory-traversal via uploaded files
  + Corrected detection of GDAL 3.2 on Windows
  + Fixed a bug in Django 3.2 where subclasses of BigAutoField and
    SmallAutoField were not allowed for the DEFAULT_AUTO_FIELD setting
  + Fixed a regression in Django 3.2 that caused a crash of
    QuerySet.values()/values_list() after QuerySet.union(),
    intersection(), and difference() when it was ordered by an
    unannotated field
  + Restored, following a regression in Django 3.2, displaying an
    exception message on the technical 404 debug page
  + Fixed a bug in Django 3.2 where a system check would crash on a
    reverse one-to-one relationships in CheckConstraint.check or
    UniqueConstraint.condition
  + Fixed a regression in Django 3.2 that caused a crash of
    ModelAdmin.search_fields when searching against phrases with
    unbalanced quotes
  + Fixed a bug in Django 3.2 where variable lookup errors were logged
    rendering the sitemap template if alternates were not defined
  + Fixed a regression in Django 3.2 that caused a crash when
    combining Q() objects which contains boolean expressions
  + Fixed a regression in Django 3.2 that caused a crash of
    QuerySet.update() on a queryset ordered by inherited or joined
    fields on MySQL and MariaDB
  + Fixed a regression in Django 3.2 that caused a crash when decoding
    a cookie value, used by
    django.contrib.messages.storage.cookie.CookieStorage, in the
    pre-Django 3.2 format
  + Fixed a regression in Django 3.2 that stopped the shift-key
    modifier selecting multiple rows in the admin changelist
  + Fixed a bug in Django 3.2 where a system check would crash on the
    STATICFILES_DIRS setting with a list of 2-tuples of (prefix, path)
  + Fixed a long standing bug involving queryset bitwise combination
    when used with subqueries that began manifesting in Django 3.2,
    due to a separate fix using Exists to exclude() multi-valued
    relationships
  + Fixed a bug in Django 3.2 where variable lookup errors were logged
    when rendering some admin templates
  + Fixed a bug in Django 3.2 where an admin changelist would crash
    when deleting objects filtered against multi-valued relationships
  + Fixed a regression in Django 3.2 where the calling process
    environment would not be passed to the dbshell command on PostgreSQL
  + Fixed a performance regression in Django 3.2 when building complex
    filters with subqueries

OBS-URL: https://build.opensuse.org/request/show/890638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=80
2021-05-05 09:20:33 +00:00
74ea9e2062 Accepting request 883369 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.0
  + Automatic ~django.apps.AppConfig discovery
  + Customizing type of auto-created primary keys
  + Functional indexes
  + pymemcache support
  + New decorators for the admin site  
  + For a complete description of new features check:
    https://github.com/django/django/blob/main/docs/releases/3.2.txt
- Update PYTHOPATH to include the local tests
- Drop i18n_test.patch, i18n_test_extraction.patch,
  test_clear_site_cache-sort.patch

OBS-URL: https://build.opensuse.org/request/show/883369
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=78
2021-04-24 07:12:22 +00:00
92c2e14db0 Accepting request 872036 from home:bnavigator:branches:devel:languages:python:django
- Don't install python36-numpy for testing. It is no longer
  available. (The tests or portions of tests requiring numpy
  are skipped automatically in this case.)
- Let the singlespec macro do its job to set the primary provider
  for python3-django and python3-South on the primary flavor only.
- Fix mtime of cache file by recompiling.

OBS-URL: https://build.opensuse.org/request/show/872036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=76
2021-02-15 12:40:03 +00:00
a5f8f1daf0 - Update to 3.1.4
* Fixed setting the Content-Length HTTP header in AsyncRequestFactory
 * Fixed passing extra HTTP headers to AsyncRequestFactory request methods
 * Fixed crash of key transforms for JSONField on PostgreSQL when usingi
     on a Subquery() annotation
 * Fixed a regression in Django 3.1 that caused the incorrect grouping
     by a Q object annotation
 * Fixed a regression in Django 3.1 that caused suppressing connection errors
     when JSONField is used on SQLite
 * Fixed a crash on SQLite, when QuerySet.values()/values_list() contained
     key transforms for JSONField returning non-string primitive values

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=74
2020-12-09 12:32:02 +00:00
fb993450a7 - Update to 3.1.3
* Fixed a regression in Django 3.1.2 that caused the incorrect height of the admin
   changelist search bar
 * Fixed a regression in Django 3.1.2 that caused the incorrect width of the
   admin changelist search bar on a filtered page
 * Fixed displaying Unicode characters in forms.JSONField and read-only
   models.JSONField values in the admin
 * Fixed a regression in Django 3.1 that caused a crash of ArrayAgg and StringAgg
   with ordering on key transforms for JSONField
 * Fixed a regression in Django 3.1 that caused a crash of __in lookup when using
   key transforms for JSONField in the lookup value
 * Fixed a regression in Django 3.1 that caused a crash of ExpressionWrapper with
   key transforms for JSONField
 * Fixed a regression in Django 3.1 that caused a migrations crash on PostgreSQL
   when adding an ExclusionConstraint with key transforms for JSONField in expressions
 * Fixed a regression in Django 3.1 where ProtectedError.protected_objects
   and RestrictedError.restricted_objects attributes returned iterators instead
   of set of objects
 * Fixed a regression in Django 3.1.2 that caused incorrect form input layout
   on small screens in the admin change form view
 * Fixed a regression in Django 3.1 that invalidated pre-Django 3.1 password reset tokens
 * Added support for asgiref 3.3
 * Fixed a regression in Django 3.1 that caused incorrect textarea layout
   on medium-sized screens in the admin change form view with the sidebar open
 * Fixed a regression in Django 3.0.7 that didn’t use Subquery() aliases
   in the GROUP BY clause
 * Fixed a bug in Django 3.1 where FileField instances with a callable storage were
   not correctly deconstructed
 * Fixed a regression in Django 3.1 where the QuerySet.ordered attribute returned
   incorrectly True for GROUP BY queries (e.g. .annotate().values()) on models with

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=72
2020-11-02 15:18:09 +00:00
5240b99e4a Accepting request 833246 from home:mcalabkova:branches:devel:languages:python:django
- Update to 3.1.1
  * CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+
  * CVE-2020-24584: Permission escalation in intermediate-level directories of the file 
    system cache on Python 3.7+
  * Fixed a data loss possibility in the select_for_update(). When using related fields 
    pointing to a proxy model in the of argument, the corresponding model was not locked
  * Fixed a regression in Django 3.1 that caused a crash when decoding an invalid session data
  * Fixed __in lookup on key transforms for JSONField with MariaDB, MySQL, Oracle, and SQLite
  * Fixed a regression in Django 3.1 that caused permission errors in CommonPasswordValidator 
    and settings.py

OBS-URL: https://build.opensuse.org/request/show/833246
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=70
2020-09-09 14:32:25 +00:00
Tomáš Chvátal
cfac3943a3 Accepting request 833137 from home:jayvdb:branches:devel:languages:python:django
- Require asgiref >= 3.2.10 per upstream

OBS-URL: https://build.opensuse.org/request/show/833137
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=69
2020-09-09 06:16:14 +00:00
Dominique Leuenberger
5a89231331 Accepting request 825714 from home:aplanas:branches:devel:languages:python:django
- Update to 3.1
  * Asynchronous views and middleware support
  * JSONField for all supported database backends
  * DEFAULT_HASHING_ALGORITHM settings¶
  * Read https://docs.djangoproject.com/en/3.1/releases/3.1/
- Drop fix-selenium-test.patch. Already upstream.
- Add i18n_test_extraction.patch to support xgettext 0.21

OBS-URL: https://build.opensuse.org/request/show/825714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=67
2020-08-12 07:29:18 +00:00
a713776f6e - update to 3.0.9
* Allowed setting the SameSite cookie flag in HttpResponse.delete_cookie()
 * Fixed crash when sending emails to addresses with display names longer than
    75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=66
2020-08-06 11:37:58 +00:00
a836e40a12 - update to 3.0.8
* Fixed messages of InvalidCacheKey exceptions and CacheKeyWarning warnings
    raised by cache key validation
 * Fixed a regression in Django 3.0.7 that caused a queryset crash
    when grouping by a many-to-one relationship
 * Reallowed, following a regression in Django 3.0, non-expressions having
    a filterable attribute to be used as the right-hand side in queryset filters
 * Fixed a regression in Django 3.0.2 that caused a migration crash
    on PostgreSQL when adding a foreign key to a model with a namespaced db_table
 * Added compatibility for cx_Oracle 8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=64
2020-07-08 12:24:10 +00:00
5f98db44a7 * boo#1172167 - CVE-2020-13596: Possible XSS via admin
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=62
2020-06-04 14:58:55 +00:00
8127a47a63 - update to 3.0.7
- drop 32bit.patch
 *  boo#1172167 - CVE-2020-13254: Potential data leakage via malformed
      memcached keys
 * boo#1172164 -  CVE-2020-13596: Possible XSS via admin
      ForeignKeyRawIdWidget
 * many other bugfixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=61
2020-06-04 14:39:41 +00:00
Tomáš Chvátal
942f47eb9d - Add patch to fix the 32bit build:
* 32bit.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=59
2020-04-30 05:16:55 +00:00
Tomáš Chvátal
4a8fb12bb9 Accepting request 796651 from home:dmolkentin:netbox
- Update to 3.0.5 
  https://docs.djangoproject.com/en/3.0/releases/3.0.5/
  https://docs.djangoproject.com/en/3.0/releases/3.0.4/
  https://docs.djangoproject.com/en/3.0/releases/3.0.3/
  https://docs.djangoproject.com/en/3.0/releases/3.0.2/
  https://docs.djangoproject.com/en/3.0/releases/3.0.1/
  https://docs.djangoproject.com/en/3.0/releases/3.0/
- new dependency: python-asgiref

OBS-URL: https://build.opensuse.org/request/show/796651
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=58
2020-04-23 20:48:53 +00:00
Tomáš Chvátal
0349257ef9 - Update to 2.2.12:
* Added the ability to handle .po files containing different plural
    equations for the same language (#30439).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=56
2020-04-03 06:59:04 +00:00
56c5e65c93 - update to 2.2.11
* fix boo#1165022 (CVE-2020-9402) Potential SQL injection via tolerance
   parameter in GIS functions and aggregates on Oracle
 * fix boo#1161919 (CVE-2020-7471) Potential SQL injection via ``StringAgg(delimiter)``

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=54
2020-03-18 11:01:54 +00:00
9f6f318436 - add sqlite330.patch - fix sqlite 3.30 support
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=52
2020-02-04 09:59:22 +00:00
7da22ed73a - add pyyaml53.patch - fix tests with PyYAML 5.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=50
2020-01-15 14:34:23 +00:00
6884fab3f7 * CVE-2019-19844: Potential account hijack via password reset form (bsc#1159447)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=48
2019-12-29 11:44:48 +00:00
89d7878bb6 Accepting request 759880 from home:mimi_vx:branches:devel:languages:python:django
- Update to 2.2.9
 * CVE-2019--19844: Potential account hijack via password reset form (bsc#1156447)
 * Fixed a data loss possibility in SplitArrayField.

OBS-URL: https://build.opensuse.org/request/show/759880
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=47
2019-12-29 11:16:16 +00:00
Tomáš Chvátal
1a863ea358 Accepting request 752866 from home:aplanas:branches:devel:languages:python:django
- Update to 2.2.8
  * CVE-2019-19118: Privilege escalation in the Django admin (boo#1157705)
  * Fixed a data loss possibility in the admin changelist view when a
    custom formset’s prefix contains regular expression special
    characters, e.g. '$'
  * Fixed a regression in Django 2.2.1 that caused a crash when
    migrating permissions for proxy models with a multiple database
    setup if the default entry was empty
  * Fixed a data loss possibility in the select_for_update(). When
    using 'self' in the of argument with multi-table inheritance, a
    parent model was locked instead of the queryset’s model
- Add patch fix-selenium-test.patch to fix a test when selenium is
  missing

OBS-URL: https://build.opensuse.org/request/show/752866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=45
2019-12-02 11:27:04 +00:00
Tomáš Chvátal
5824a53f04 - Update to 2.2.7:
* Fixed a crash when using a contains, contained_by, has_key, has_keys, or has_any_keys lookup on JSONField, if the right or left hand side of an expression is a key transform (#30826).
  * Prevented migrate --plan from showing that RunPython operations are irreversible when reverse_code callables don’t have docstrings or when showing a forward migration plan (#30870).
  * Fixed migrations crash on PostgreSQL when adding an Index with fields ordering and opclasses (#30903).
  * Restored the ability to override get_FOO_display() (#30931).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=43
2019-11-15 11:01:10 +00:00
Tomáš Chvátal
a242516680 - Require full python interpreter on build and runtime
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=42
2019-11-15 07:49:29 +00:00
Tomáš Chvátal
568656c2c8 - Update to 2.2.6:
* Fixed migrations crash on SQLite when altering a model
    containing partial indexes (#30754).
  * Fixed a regression in Django 2.2.4 that caused a crash when
    filtering with a Subquery() annotation of a queryset containing
    JSONField or HStoreField (#30769).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=40
2019-10-07 13:20:58 +00:00
Tomáš Chvátal
4185b17123 - Update to 2.2.5:
* Relaxed the system check added in Django 2.2 for models to reallow use of the same db_table by multiple models when database routers are installed (#30673).
  * Fixed crash of KeyTransform() for JSONField and HStoreField when using on expressions with params (#30672).
  * Fixed a regression in Django 2.2 where ModelAdmin.list_filter choices to foreign objects don’t respect a model’s Meta.ordering (#30449).
  * Fixed a race condition in loading URLconf module that could cause a crash of auto-reloader on Python 3.5 and below (#30500).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=38
2019-09-16 10:28:49 +00:00
Tomáš Chvátal
9b9fc4bf15 bsc#1142883 bsc#1142885 bsc#1142882 bsc#1142880
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=36
2019-08-01 11:43:41 +00:00
Tomáš Chvátal
e6d42316c4 - Update to 2.2.4:
* CVE-2019-14232 CVE-2019-14233 CVE-2019-14234 CVE-2019-14235
  * Fixed a regression in Django 2.2 when ordering a QuerySet.union(), intersection(), or difference() by a field type present more than once results in the wrong ordering being used (#30628).
  * Fixed a migration crash on PostgreSQL when adding a check constraint with a contains lookup on DateRangeField or DateTimeRangeField, if the right hand side of an expression is the same type (#30621).
  * Fixed a regression in Django 2.2 where auto-reloader crashes if a file path contains nulls characters ('\x00') (#30506).
  * Fixed a regression in Django 2.2 where auto-reloader crashes if a translation directory cannot be resolved (#30647).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=35
2019-08-01 11:30:44 +00:00
Tomáš Chvátal
1975509111 - Update to 2.2.3:
* CVE-2019-12781 (bsc#1139945): Incorrect HTTP detection with reverse-proxy connecting via HTTPS¶

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=33
2019-07-18 17:26:36 +00:00
0edf726470 - update to 2.2.2
* Fixes CVE-2019-12308: AdminURLFieldWidget XSS (bsc#1136468)
 * Fixes CVE-2019-11358: Prototype pollution

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=31
2019-06-03 11:04:26 +00:00
Tomáš Chvátal
3758282993 - Update keyring file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=29
2019-05-07 07:13:18 +00:00
Tomáš Chvátal
9fea299ab6 Accepting request 701120 from home:aplanas:branches:devel:languages:python:django
- Update to 2.2.1
  * Fixed a regression in Django 2.1 that caused the incorrect quoting
    of database user password when using dbshell on Oracle (#30307).
  * Added compatibility for psycopg2 2.8 (#30331).
  * Fixed a regression in Django 2.2 that caused a crash when loading
    the template for the technical 500 debug page (#30324).
  * Fixed crash of ordering argument in ArrayAgg and StringAgg when it
    contains an expression with params (#30332).
  * Fixed a regression in Django 2.2 that caused a single instance
    fast-delete to not set the primary key to None (#30330).
  * Prevented makemigrations from generating infinite migrations for
    check constraints and partial indexes when condition contains a
    range object (#30350).  Reverted an optimization in Django 2.2
    (#29725) that caused the inconsistent behavior of count() and
    exists() on a reverse many-to-many relationship with a custom
    manager (#30325).
  * Fixed a regression in Django 2.2 where Paginator crashes if
    object_list is a queryset ordered or aggregated over a nested
    JSONField key transform (#30335).
  * Fixed a regression in Django 2.2 where IntegerField validation of
    database limits crashes if limit_value attribute in a custom
    validator is callable (#30328).
  * Fixed a regression in Django 2.2 where SearchVector generates SQL
    that is not indexable (#30385).
  * Fixed a regression in Django 2.2 that caused an exception to be
    raised when a custom error handler could not be imported (#30318).
  * Relaxed the system check added in Django 2.2 for the admin app’s
    dependencies to reallow use of SessionMiddleware subclasses,
    rather than requiring django.contrib.sessions to be in
    INSTALLED_APPS (#30312).

OBS-URL: https://build.opensuse.org/request/show/701120
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=28
2019-05-06 16:56:44 +00:00
4b16139371 Accepting request 692900 from home:jayvdb:branches:devel:languages:python:django
- Add test_clear_site_cache-sort.patch to workaround flaky test
- Add bcond_with for selenium and memcached, as those tests are inactive,
  and add missing dependencies and setup for selenium testing
- Move removal of executable bit from a JavaScript file to %prep
- Fix fdupes

OBS-URL: https://build.opensuse.org/request/show/692900
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=26
2019-04-12 14:20:43 +00:00
f79336dd46 add comment
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=25
2019-04-04 09:27:33 +00:00
d10664759b Accepting request 691028 from home:mimi_vx:branches:devel:languages:python:django
- update to 2.2
- drop pyyaml5.patch
- add i18n_test.patch
 * HttpRequest.headers to allow simple access to a request’s headers.
 * Database-level constraints on models.
 * Watchman compatibility for runserver to improve the performance

OBS-URL: https://build.opensuse.org/request/show/691028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=24
2019-04-03 12:52:28 +00:00
Tomáš Chvátal
1c8273ad08 - Add patch to build with PyYAML >5:
* pyyaml5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=22
2019-03-23 16:37:43 +00:00
Thomas Bechtold
a2706e4981 - update to 2.1.7 (CVE-2019-6975, bsc#1124991):
* Corrected packaging error from 2.1.6
  * Memory exhaustion in django.utils.numberformat.format()
    If django.utils.numberformat.format() – used by contrib.admin as well
    as the the floatformat, filesizeformat, and intcomma templates
    filters – received a Decimal with a large number of digits or a
    large exponent, it could lead to significant memory usage
    due to a call to '{:f}'.format().
    To avoid this, decimals with more than 200 digits are now formatted
    using scientific notation.
  * Made the obj argument of InlineModelAdmin.has_add_permission() optional
    to restore backwards compatibility with third-party code that doesn’t
    provide it

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=20
2019-02-12 09:33:11 +00:00
Thomas Bechtold
64adc52e6e - update to 2.1.5 (CVE-2019-3498, bsc#1120932):
* CVE-2019-3498: Content spoofing possibility in the default 404 page
  *  Fixed compatibility with mysqlclient 1.3.14 (#30013).
  *  Fixed a schema corruption issue on SQLite 3.26+. You might have to drop
    and rebuild your SQLite database if you applied a migration while using
    an older version of Django with SQLite 3.26 or later (#29182).
  * Prevented SQLite schema alterations while foreign key checks are enabled
    to avoid the possibility of schema corruption (#30023).
  * Fixed a regression in Django 2.1.4 (which enabled keep-alive connections)
    where request body data isn’t properly consumed for such
    connections (#30015).
  * Fixed a regression in Django 2.1.4 where
    InlineModelAdmin.has_change_permission() is incorrectly called with
    a non-None obj argument during an object add (#30050).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=18
2019-01-10 12:17:53 +00:00
e0ffb7bfb9 Accepting request 656841 from home:mimi_vx:branches:devel:languages:python:django
- Update to version 2.1.4
 * Corrected the default password list that CommonPasswordValidator uses
     by lowercasing all passwords to match the format expected by the validator
 * Prevented repetitive calls to geos_version_tuple() in the WKBWriter class in
     an attempt to fix a random crash involving LooseVersion
 * Fixed keep-alive support in runserver after it was disabled o 2.0
 * Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields
 * Fixed “Please correct the errors below” error message when editing an object
     in the admin if the user only has the “view” permission on inlines
 * Fixed a regression in Django 2.0 where combining Q objects with __in lookups 
     and lists crashed
 * Fixed a regression in Django 2.0 where test databases aren’t reused
     with manage.py test --keepdb on MySQL
 * Fixed a regression where cached foreign keys that use to_field were
     incorrectly cleared in Model.save()
 * Fixed a regression in Django 2.0 where FileSystemStorage crashes
     with FileExistsError if concurrent saves try to create the same directory

OBS-URL: https://build.opensuse.org/request/show/656841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=16
2018-12-10 14:00:29 +00:00
Tomáš Chvátal
50e0e77a46 Accepting request 645911 from home:mcepl:work
Switch of BR selenium for non-Intel platforms.

OBS-URL: https://build.opensuse.org/request/show/645911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=14
2018-11-02 08:21:24 +00:00
20b0cbf787 Accepting request 639971 from home:aplanas:branches:devel:languages:python:django
- Update to version 2.1.2
  * CVE-2018-16984: Password hash disclosure to “view only” admin
    users
  * Fixed a regression where nonexistent joins in F() no longer raised
    FieldError (#29727).
  * Fixed a regression where files starting with a tilde or underscore
    weren’t ignored by the migrations loader (#29749).
  * Made migrations detect changes to Meta.default_related_name
    (#29755).
  * Added compatibility for cx_Oracle 7 (#29759).
  * Fixed a regression in Django 2.0 where unique index names weren’t
    quoted (#29778).
  * Fixed a regression where sliced queries with multiple columns with
    the same name crashed on Oracle 12.1 (#29630).
  * Fixed a crash when a user with the view (but not change)
    permission made a POST request to an admin user change form
    (#29809).

OBS-URL: https://build.opensuse.org/request/show/639971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=12
2018-10-04 13:58:52 +00:00
Tomáš Chvátal
dc36a4ad03 Accepting request 633018 from home:mimi_vx:branches:devel:languages:python:django
- update to version 2.1.1
- drop django-urlencode.patch
 * Fixed a race condition in QuerySet.update_or_create() that could result
    in data loss
 * Fixed a regression where QueryDict.urlencode() crashed if the dictionary
    contains a non-string value
 * Fixed a regression in Django 2.0 where using manage.py test --keepdb fails
    on PostgreSQL if the database exists and the user doesn’t have permission
    to create databases
 * Fixed a regression in Django 2.0 where combining Q objects with __in
    lookups and lists crashed
 * Fixed translation failure of DurationField’s “overflow” error message
 * Fixed a regression where the admin change form crashed if the user doesn’t
    have the ‘add’ permission to a model that uses TabularInline
 * Fixed a regression where a related_query_name reverse accessor wasn’t
    set up when a GenericRelation is declared on an abstract base model
 * Fixed the test client’s JSON serialization of a request data dictionary
    for structured content type suffixes
 * Made the admin change view redirect to the changelist view after a POST
    if the user has the ‘view’ permission
 * Fixed admin change view crash for view-only users if the form
    has an extra form field
 * Fixed a regression in Django 2.0.5 where QuerySet.values() or values_list()
    after combining querysets with extra() with union(), difference(),
    or intersection() crashed due to mismatching columns

OBS-URL: https://build.opensuse.org/request/show/633018
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=10
2018-09-05 06:09:55 +00:00