Compare commits
No commits in common. "69638b6b6d6985bac75097af9e8383c9f0120cda" and "b69ecbfa2dd203dbe3cf012a022ba6a5877c386f" have entirely different histories.
69638b6b6d
...
b69ecbfa2d
4 changed files with 2 additions and 7 deletions
|
@ -1,9 +1,6 @@
|
||||||
Changelog
|
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>`
|
* :release:`0.14.1 <2023-07-22>`
|
||||||
* :bug:`-` fix squashed migration for disk space statistics
|
* :bug:`-` fix squashed migration for disk space statistics
|
||||||
|
|
||||||
|
|
|
@ -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.1"
|
||||||
|
|
|
@ -290,8 +290,6 @@ class CustomerHostingPackage(HostingPackageBase):
|
||||||
used_disk_space_sum = property(get_used_disk_space_sum)
|
used_disk_space_sum = property(get_used_disk_space_sum)
|
||||||
|
|
||||||
def get_space_level(self):
|
def get_space_level(self):
|
||||||
if not self.diskspace:
|
|
||||||
return 100.0
|
|
||||||
return self.used_disk_space_sum / self.disk_space * 100.0
|
return self.used_disk_space_sum / self.disk_space * 100.0
|
||||||
|
|
||||||
space_level = property(get_space_level)
|
space_level = property(get_space_level)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "gva"
|
name = "gva"
|
||||||
version = "0.14.2"
|
version = "0.14.1"
|
||||||
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+"
|
||||||
|
|
Loading…
Reference in a new issue