1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
webvirtcloud/instances/templates/instances
catborise cc949e4a3a fix(instances): the XML dialog keeps the edit and defines only this VM
Found by review (Codex and agy) of the XML editor's dialog:

- A busy or moved VM made the page reload and the edit was lost. The
  dialog's requests now get these answers as JSON (X-Requested-With, as the
  create page's flavor forms) and show them; any other failure says the
  edit is still in the editor.
- libvirt finds the VM to define by the XML's UUID: another VM's UUID
  overwrote that VM past its lock, a new or missing one added a VM. The
  XML must keep this VM's UUID; a malformed one is refused with the
  parser's error, as on the create page.
- Save sends the XML whose diff the dialog shows, also when two previews
  answer out of order; a failed save keeps the diff and Save.
- The edited XML is defined with the line breaks libvirt gave, not the
  form's CRLF, and the VM's state is read before the definition, so a
  failed read cannot turn a saved change into an error.
2026-10-24 20:03:20 +03:00
..
access_tab.html fix(instances): the VM page offers only the controls the user may use 2026-10-07 20:42:10 +03:00
destroy_instance_form.html fix(instances): a paused VM can be destroyed from its page 2026-10-08 08:50:21 +03:00
destroy_tab.html fix(instances): a paused VM can be destroyed from its page 2026-10-08 08:50:21 +03:00
edit_instance_volume.html fix(templates): each confirmation says what its action does 2026-10-21 21:25:45 +03:00
form_errors.html fix(instances): a refused VM create form comes back with what was entered 2026-10-20 08:12:25 +03:00
info_tab.html Bootstrap5 (#17) 2021-07-07 14:12:38 +03:00
power_tab.html fix(templates): icon-only buttons, selects and delete pages have accessible names 2026-10-19 16:15:06 +03:00
resize_tab.html fix(instances): a running VM's options and CPU edits keep the pending changes 2026-10-11 14:09:23 +03:00
settings_tab.html fix(instances): the XML dialog keeps the edit and defines only this VM 2026-10-24 20:03:20 +03:00
snapshots_tab.html fix(templates): each confirmation says what its action does 2026-10-21 21:25:45 +03:00
stats_tab.html feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00