1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 11:46:49 +00:00
webvirtcloud/static/js
catborise 3730a95c02 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
..
ace build: Ace editor 1.45.0 2026-10-16 22:42:35 +03:00
novnc feat(novnc): upgrade noVNC from 1.2.0 to 1.7.0 2026-09-26 18:25:44 +03:00
xterm build: xterm 6.0.0 for the serial console 2026-10-17 16:09:50 +03:00
bootstrap.bundle.min.js build(deps): Bootstrap and Bootswatch 5.3.8 2026-10-12 08:44:31 +03:00
bootstrap.bundle.min.js.map build(deps): Bootstrap and Bootswatch 5.3.8 2026-10-12 08:44:31 +03:00
chart.umd.min.js build: Chart.js 4.5.1 2026-10-17 13:19:43 +03:00
charts.js build: Chart.js 4.5.1 2026-10-17 13:19:43 +03:00
filter-table.js rearrange search functionality 2021-06-10 15:17:53 +03:00
instance_filter.js feat(instances): the VM list filters by state, and a host's name finds its VMs 2026-10-24 18:51:47 +03:00
instance_tabs.js fix(instances): the VM page opens the tab a redirect points to, and host links are for administrators 2026-10-08 08:50:21 +03:00
jquery.js build: jQuery 4.0.0 2026-10-17 12:40:56 +03:00
js.cookie.js build: js-cookie 3.0.8 2026-10-16 22:42:25 +03:00
poll.js perf(instances): the VM stats no longer wait a second per poll 2026-10-09 11:59:41 +03:00
socket.io.js build: socket.io client 4.8.4 2026-10-16 22:42:30 +03:00
sort_tables.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
tablesort.min.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
tablesort.number.min.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
tom-select.complete.min.js build: Tom Select replaces bootstrap-multiselect 2026-10-16 23:25:15 +03:00
xml_editor.js fix(instances): the XML dialog keeps the edit and defines only this VM 2026-10-24 20:03:20 +03:00