1
0

Accepting request 824265 from devel:languages:python:mailman

- Version update to 1.3.3
  * Allow SHOW_INACTIVE_LISTS_DEFAULT setting to be configurable. (Closes #276)
  * Fix a bug where the user couldn’t chose the address to send reply or new post as. (Closes #288)
  * Improve the Django admin command reference from hyperkitty_import. (Closes #281)
  * Fix FILTER_VHOST to work with web hosts other than the email host. (Closes #254)
  * Fixed a bug where export can fail if certain headers are wrapped. (Closes #292)
  * Fixed hyperkitty_import to allow odd line endings in a folded message subject. (Closes #280)
  * Fixed a bug that could throw an IndexError when exporting messages. (Closes #293)
  * Use errors='replace' when encoding attachments. (Closes #294)
- Drop merged python-HyperKitty-remove-legacy-use-of-available_attrs.patch

OBS-URL: https://build.opensuse.org/request/show/824265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=4
This commit is contained in:
2020-08-04 18:23:16 +00:00
committed by Git OBS Bridge
5 changed files with 18 additions and 29 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08ad1dbd619c957eddc2aa46eea229adb00213ac00f33e867cbb38dfc19e4e24
size 1472683

3
HyperKitty-1.3.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b628d2e45878cce78505a474a64c0960da1be784e9f63456d1aad86a70ca055d
size 1936346

View File

@@ -1,22 +0,0 @@
diff --git a/hyperkitty/lib/view_helpers.py b/hyperkitty/lib/view_helpers.py
index 4e19e7c01d03cd3f52f8edb06876f135d59b284b..9094d2183a3eb650c33127270ec2e783f61b3a23 100644
--- a/hyperkitty/lib/view_helpers.py
+++ b/hyperkitty/lib/view_helpers.py
@@ -25,7 +25,6 @@ from functools import wraps
from django.http import Http404
from django.shortcuts import render
-from django.utils.decorators import available_attrs
from django.utils.timezone import utc
from django_mailman3.lib.mailman import get_subscriptions
@@ -117,7 +116,7 @@ def get_category_widget(request, current_category=None):
# View decorator: check that the list is authorized
def check_mlist_private(func):
- @wraps(func, assigned=available_attrs(func))
+ @wraps(func)
def inner(request, *args, **kwargs):
if "mlist_fqdn" in kwargs:
mlist_fqdn = kwargs["mlist_fqdn"]

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Aug 4 01:35:17 UTC 2020 - Stasiek Michalski <stasiek@michalski.cc>
- Version update to 1.3.3
* Allow SHOW_INACTIVE_LISTS_DEFAULT setting to be configurable. (Closes #276)
* Fix a bug where the user couldnt chose the address to send reply or new post as. (Closes #288)
* Improve the Django admin command reference from hyperkitty_import. (Closes #281)
* Fix FILTER_VHOST to work with web hosts other than the email host. (Closes #254)
* Fixed a bug where export can fail if certain headers are wrapped. (Closes #292)
* Fixed hyperkitty_import to allow odd line endings in a folded message subject. (Closes #280)
* Fixed a bug that could throw an IndexError when exporting messages. (Closes #293)
* Use errors='replace' when encoding attachments. (Closes #294)
- Drop merged python-HyperKitty-remove-legacy-use-of-available_attrs.patch
-------------------------------------------------------------------
Thu May 14 12:57:07 UTC 2020 - pgajdos@suse.com

View File

@@ -19,14 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-HyperKitty
Version: 1.3.2
Version: 1.3.3
Release: 0
Summary: A web interface to access GNU Mailman v3 archives
License: GPL-3.0-only
URL: https://gitlab.com/mailman/hyperkitty
Source: https://files.pythonhosted.org/packages/source/H/HyperKitty/HyperKitty-%{version}.tar.gz
# https://gitlab.com/mailman/hyperkitty/-/commit/03c99ad5beefeac4474b5a00c840fd9debccba02
Patch0: python-HyperKitty-remove-legacy-use-of-available_attrs.patch
BuildRequires: %{python_module isort}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -76,7 +74,6 @@ A web interface to access GNU Mailman v3 archives.
%prep
%setup -q -n HyperKitty-%{version}
%patch0 -p1
%build
%python_build