Hostea dash board
 
 
 
 
Go to file
Aravinth Manivannan b12cc044da
fix: Invoice generation must not consider deleted VMs' names for
checking if payment is already fulfilled

DESCRIPTION
    Invoice generation is dependent on instance_name. Deleting a VM
    doesn't delete the corresponding payments record since payment
    receipts should be preserved for accounting purposes.

    But being heavily dependent on instance_name, without taking deleted
    VMs into account produces incorrect behavior under certain
    circumstances: if a VM named 'foo' is paid for and is deleted before
    its billing cycle is competed and a new VM is created with the same
    name, either by the same user or a different user, invoice won't be
    generated for the new VM since a payment record already exists for
    that billing cycle for the VM named 'foo'.

    Marking deleted VMs' payment records unsuitable for checking if a VM
    is already paid for will result in correct behavior.

fixes: https://gitea.hostea.org/Hostea/dashboard/issues/38
2022-07-08 22:28:39 +05:30
accounts chore: mv common static files to common-static 2022-07-07 13:58:53 +05:30
billing fix: Invoice generation must not consider deleted VMs' names for 2022-07-08 22:28:39 +05:30
common-static chore: mv common static files to common-static 2022-07-07 13:58:53 +05:30
dash Merge pull request 'git config before push' (#43) from dachary/dashboard:wip-config-3 into master 2022-07-08 10:18:00 -04:00
dashboard feat: use whitenoise for static file in development too for uniform Behavior 2022-07-07 13:59:06 +05:30
docs feat: docs: generate_invoice management cmd 2022-07-08 01:51:22 +05:30
infrastructure fix: Invoice generation must not consider deleted VMs' names for 2022-07-08 22:28:39 +05:30
integration fix: hard-code CI_COMMIT_AUTHOR_* details to avoid failures in PR builds 2022-07-08 19:51:06 +05:30
support feat: load footer ctx in all templates 2022-06-30 14:37:49 +05:30
tests feat: add test deployment keys 2022-06-26 04:52:01 +05:30
.dockerignore feat: pkg docker 2022-06-26 04:19:02 +05:30
.env-sample feat: add infrastructure env vars 2022-06-27 04:35:45 +05:30
.gitignore feat & fix: install and configure whitenoise to serve static files in 2022-07-07 10:59:23 +05:30
.woodpecker.yml feat: CI: replace fleet repo remote URI with remote URI template 2022-07-01 19:57:22 +05:30
Dockerfile feat: pkg docker 2022-06-26 04:19:02 +05:30
LICENSE.md init 2022-04-27 17:03:47 +05:30
Makefile git config before push 2022-07-08 15:47:53 +02:00
README.md feat: init hacking instructions 2022-06-06 04:37:15 +05:30
docker-compose-dev-deps.yml feat: re-enable gitea service in docker-compose and CI env setup 2022-06-27 02:43:16 +05:30
manage.py git config before push 2022-07-08 15:47:53 +02:00
requirements.txt git config before push 2022-07-08 15:47:53 +02:00

README.md

Hostea dashboard

status-badge AGPL License Chat

Customer workflow, Hostea admin interface and OIDC provider for Hostea

Hacking

See HACKING