Compare commits

..

No commits in common. "69638b6b6d6985bac75097af9e8383c9f0120cda" and "b69ecbfa2dd203dbe3cf012a022ba6a5877c386f" have entirely different histories.

4 changed files with 2 additions and 7 deletions

View file

@ -1,9 +1,6 @@
Changelog
=========
* :release:`0.14.2 <2023-07-22>`
* :bug:`-` fix division by zero for hosting packages without disk space allocation
* :release:`0.14.1 <2023-07-22>`
* :bug:`-` fix squashed migration for disk space statistics

View file

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

View file

@ -290,8 +290,6 @@ class CustomerHostingPackage(HostingPackageBase):
used_disk_space_sum = property(get_used_disk_space_sum)
def get_space_level(self):
if not self.diskspace:
return 100.0
return self.used_disk_space_sum / self.disk_space * 100.0
space_level = property(get_space_level)

View file

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