1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 03:36:48 +00:00
webvirtcloud/nwfilters
catborise a95ec40f69 fix(virtsecrets): a secret in use is not deleted, and a password is stored as typed
- A secret is in use when a VM names it in a disk, a host device or its
  vTPM, or a pool in its source, by UUID or by its usage within the usage
  type, as they run and as saved. The vTPM, host devices and pools' saved
  definitions were not checked before.
- A Ceph key is taken in base64, as `ceph auth get-key` prints it; any other
  value is a password or passphrase stored as typed, spaces included.
- A new secret takes its value at once; a value refused leaves no secret.
- TLS and vTPM secrets can be created; the usage has no length limit.
- Every POST redirects; the list is read once and only with its users; a
  secret, VM or pool gone meanwhile is left out.
- domain_trees() is shared by the in-use checks of secrets, network filters,
  networks and pools; the storage page's Ceph secret picker reads the same
  listing.
2026-10-29 10:10:43 +03:00
..
migrations Add NWFilters 2018-09-21 19:11:17 +03:00
templates feat(nwfilters): the network filter pages on Bootstrap's cards, tables and dialogs 2026-10-29 10:10:30 +03:00
tests fix(virtsecrets): a secret in use is not deleted, and a password is stored as typed 2026-10-29 10:10:43 +03:00
__init__.py Add NWFilters 2018-09-21 19:11:17 +03:00
apps.py lint with black python. convert f style strings to old one. some small fixes 2020-11-05 12:34:31 +03:00
models.py ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
views.py feat(nwfilters): the network filter pages on Bootstrap's cards, tables and dialogs 2026-10-29 10:10:30 +03:00