1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 19:56:48 +00:00
webvirtcloud/storages
catborise fa5a8c4d6e fix(storages): the pool page measures its pool fresh, shares one clone dialog and says what it cannot show
- The page lists the volumes first: that refreshes the pool, and libvirt
  measures a pool's space only when it is refreshed, so the size and
  usage shown were as of the previous refresh.
- A space that cannot be read says so instead of 0 bytes, and the
  pool's status, read from the same pool info, no longer fails the
  page after it; a stopped pool says its space and volumes are
  unavailable until it is started, instead of 0 bytes and nothing.
- The API's pool is measured after the same refresh, and a stopped
  pool lists no volumes there instead of failing.
- A clone the job refuses (a name in use, a volume gone) is a message
  on the page, not a server error.
- An ISO image is recognised by its name (storages.jobs.is_iso):
  libvirt calls its format raw, so the template's "iso" check never
  disabled its Clone button. The clone job refuses one too; the upload
  uses the same rule.
- One clone dialog serves every volume, filled and reset by the button
  that opens it, instead of one dialog per volume in the page; its
  fields have labels and its title names the dialog.
- Volume rows are searched by name only (data-search), with a message
  when none matches, in a live region for screen readers; names show
  in full. The search script loads only
  with the volume table: on a stopped pool's page it failed for want
  of a search box. An empty pool says "This pool has no volumes".
- The unused wvmStorage.get_volumes_details goes: update_volumes is
  the same.
2026-10-28 19:20:35 +03:00
..
api fix(storages): the pool page measures its pool fresh, shares one clone dialog and says what it cannot show 2026-10-28 19:20:35 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates fix(storages): the pool page measures its pool fresh, shares one clone dialog and says what it cannot show 2026-10-28 19:20:35 +03:00
tests fix(storages): the pool page measures its pool fresh, shares one clone dialog and says what it cannot show 2026-10-28 19:20:35 +03:00
__init__.py build new tree 2015-02-27 11:28:22 +02:00
forms.py fix(storages): pool pages work while a volume is cloned, failed pools are undefined 2026-10-26 15:36:57 +03:00
jobs.py fix(storages): the pool page measures its pool fresh, shares one clone dialog and says what it cannot show 2026-10-28 19:20:35 +03:00
models.py reorg imports and black format 2022-11-02 16:05:41 +03:00
upload.py fix(logs): blocking a blocked user writes no row; one upload submit path 2026-10-23 14:23:32 +03:00
views.py fix(storages): the pool page measures its pool fresh, shares one clone dialog and says what it cannot show 2026-10-28 19:20:35 +03:00