1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/static/js
catborise 0532471759 feat(console): one VNC console page, driven from the panel's bar
The VM page offered a lite and a full VNC console. Lite lacked a clipboard,
display settings and a way to reconnect; full put noVNC's own side bar under
the panel's bar, with a Fullscreen item that called a function noVNC does
not have, status messages hidden behind the bar, saved noVNC settings that
overrode the Access tab's, connection settings that cannot apply, and a
Connect button that reused the page's two-minute token and failed.

console-vnc.html and static/js/console_vnc.js replace both, on noVNC's RFB
with Bootstrap controls, and keep what the full view did:
- Status in the bar (Connecting, Connected, Disconnected, Connection lost,
  Could not connect, Authentication failed with the server's reason on
  hover); Disconnect, then Reconnect, which loads the page again for a new
  token.
- The VNC password in a dialog (with a username when the server asks for
  one), not a browser prompt; without passwordless console it is not in
  the page.
- Send key(s) gains Hold Ctrl / Alt / Windows (noVNC's extra keys).
- Clipboard: what the VM copies, sending text to the VM's clipboard, and
  typing it key by key (new: works in firmware, installers and login
  prompts; Shift for the characters a US keyboard shifts, 25 ms a key as
  firmware drops faster keys, verified in a UEFI shell).
- View: scaling (none, fit, resize the VM's screen), clip, drag a clipped
  screen, view only, dot cursor, quality, compression; it starts as
  Settings > Console says (a touch screen starts fitted).
- A Keyboard item on touch devices (noVNC's on-screen keyboard input,
  key events and Android's text-only input), Fullscreen with keyboard
  lock, the bell.
Dropped with the full view: noVNC's websocket host/port/path, repeater ID
and log level (the panel fixes them), automatic reconnect (the token is
single use in time), XVP power buttons (QEMU has no XVP) and shared-mode off.

The bar is compact (about 45 px in the 850x600 window). The Access tab has
one Console button instead of the Lite/Full split and four switches, and
it and the VM list open one window per VM (opening it again reloads it).
2026-10-27 08:05:31 +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
console_keys.js feat(console): one VNC console page, driven from the panel's bar 2026-10-27 08:05:31 +03:00
console_vnc.js feat(console): one VNC console page, driven from the panel's bar 2026-10-27 08:05:31 +03:00
find_address.js fix(instances): the address search shows host names as they are 2026-10-25 21:33:41 +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
table_filter.js fix(templates): the list pages search their rows as text, with one script 2026-10-25 23:08:42 +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