1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/console/tests
catborise 3a560e9f85 fix(console): a console that cannot open says why and starts no client
A stopped VM, an unreachable or unsupported console and a disabled serial
console rendered the lite VNC page under the error: it connected to novncd
anyway, showed "Something went wrong" and offered keys, Scale and Send
CtrlAltDel for a console that was not there. A refused console was a bare
text 403 inside the popup.

- console-error.html: the console shell with the VM's name and the reason,
  no menu and no script; a refused or unknown VM gets it with 403 and
  without the VM's name, as before for everyone (no superuser exception).
- The view signs the console token only for a page that connects.
- console-menu.html: the Send key(s) menu and Fullscreen, included by the
  console pages; the serial page lists only the keys it sends (the VNC
  groups did nothing there).
- Every console window is titled "<VM> - Console".
- The lite page no longer takes a VNC password from its link.
- The shell lost its 850px x 600px corner radius (a grey arc on the
  serial and error pages) and spans the window (container-fluid).
2026-10-27 07:58:51 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_consolecallback.py fix(console): a serial session follows its user's access; a superuser takes over 2026-10-26 19:46:41 +03:00
test_live_serial.py fix(console): a serial session follows its user's access; a superuser takes over 2026-10-26 19:46:41 +03:00
test_socketiod.py fix(console): a serial console worker's failure reaches socketiod's log 2026-10-26 23:52:37 +03:00
test_socketiod_child.py fix(console): a serial console worker's failure reaches socketiod's log 2026-10-26 23:52:37 +03:00
test_sshtunnels.py fix(console): an SSH console tunnel neither stalls on its errors nor hangs on close 2026-10-26 23:52:37 +03:00
test_views.py fix(console): a console that cannot open says why and starts no client 2026-10-27 07:58:51 +03:00