refactor: Remove unused email sending functionality and update invoice status descriptions

This commit is contained in:
2026-05-23 23:10:37 +02:00
parent 28777021ad
commit 6dbba381da
4 changed files with 29 additions and 58 deletions
+23
View File
@@ -230,6 +230,29 @@ class instace:
def __init__():
return list()
def new_trial(name: str) -> bool:
"""
Generates a new trial instance with the subdomain [name].invario.eu
Input:
- name -> String
Output:
- bool if the creation of the instance works (True: creation worked; False: didnt work)
manage-tenant.sh trial <tenant_id> [port] [days]
"""
port_starter = 10002
port = port_starter
for i in instace.list():
port =+ 1
if execute_script(_var, _cmd, "trial", clear_special(name), port):
add_dns(name, port)
return int(port)
else:
return False
def new(name: str) -> int:
"""
Generates a new instance with the subdomain [name].invario.eu