mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
fix(computes): host pages survive a down host and a vTPM secret
- The host graphs and the machine/bus lists connect inside their libvirt error handling, so a down host gives empty answers instead of a 500 page the polling script drops. - The Secrets page lists vTPM secrets instead of failing on them, and a secret without usage data shows an empty cell instead of "None". - A TCP/TLS host takes a SASL password longer than 14 characters and a login up to the Linux limit of 32. - The compute edit page says "Edit Compute"; a host without VMs no longer closes an extra page element; the memory graph is labelled MiB.
This commit is contained in:
parent
316cdadba2
commit
2ae7d8f967
12 changed files with 63 additions and 22 deletions
24
computes/migrations/0006_login_password_length.py
Normal file
24
computes/migrations/0006_login_password_length.py
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Generated by Django 5.2.18 on 2026-10-26 11:12
|
||||
|
||||
import computes.validators
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('computes', '0005_alter_compute_hostname_alter_compute_login'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='compute',
|
||||
name='login',
|
||||
field=models.CharField(blank=True, max_length=32, validators=[computes.validators.validate_login], verbose_name='login'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='compute',
|
||||
name='password',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='password'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue