Compare commits

..

2 commits

Author SHA1 Message Date
1d4f070867 Release 0.14.3 2023-07-22 22:25:36 +02:00
d1494af0a1 Fix permission check on disk space detail view 2023-07-22 22:25:08 +02:00
4 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,9 @@
Changelog Changelog
========= =========
* :release:`0.14.3 <2023-07-22>`
* :bug:`-` fix missing permission check on disk space detail view
* :release:`0.14.2 <2023-07-22>` * :release:`0.14.2 <2023-07-22>`
* :bug:`-` fix division by zero for hosting packages without disk space allocation * :bug:`-` fix division by zero for hosting packages without disk space allocation

View file

@ -1,4 +1,4 @@
# import celery_app to initialize it # import celery_app to initialize it
from gnuviechadmin.celery import app as celery_app # NOQA from gnuviechadmin.celery import app as celery_app # NOQA
__version__ = "0.14.2" __version__ = "0.14.3"

View file

@ -321,7 +321,7 @@ class UploadCustomerPackageDiskUsage(APIView):
return Response("Accepted", status=http.HTTPStatus.ACCEPTED) return Response("Accepted", status=http.HTTPStatus.ACCEPTED)
class CustomerHostingPackageDiskUsageDetails(DetailView): class CustomerHostingPackageDiskUsageDetails(StaffOrSelfLoginRequiredMixin, DetailView):
template_name_suffix = "_disk_usage_details" template_name_suffix = "_disk_usage_details"
model = CustomerHostingPackage model = CustomerHostingPackage
pk_url_kwarg = "package" pk_url_kwarg = "package"

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "gva" name = "gva"
version = "0.14.2" version = "0.14.3"
description = "gnuviechadmin web interface" description = "gnuviechadmin web interface"
authors = ["Jan Dittberner <jan@dittberner.info>"] authors = ["Jan Dittberner <jan@dittberner.info>"]
license = "AGPL-3+" license = "AGPL-3+"