catborise
e980aca2ff
feat(console): remove deprecated SPICE support in favor of noVNC
...
- Remove obsolete spice-html5 static assets and SPICE console templates
- Restrict default console types to VNC with migration 0012
- Filter out SPICE in VM creation form and backend capabilities
- Return friendly deprecation notice if legacy VM is opened with SPICE
- Clean up docs, architecture references, and libvirt-bootstrap scripts
2026-09-26 22:43:40 +03:00
catborise
f19c30840e
fix(console): prevent DOM-based XSS in console views and escape JS strings
...
- Validate and coerce console query parameters (view_only, scale, resize_session, clip_viewport) to strict booleans via to_bool in console/views.py
- Sanitize view parameter to strictly 'lite' or 'full'
- Apply escapejs filter to all JS string interpolations in console-vnc-full.html, console-vnc-lite.html, console-spice-lite.html, and console-xterm.html
- Replace unsafe '| safe' filter in console-spice-lite.html with escapejs
- Add unit tests for XSS query param mitigation and escapejs character encoding
2026-09-26 19:28:22 +03:00
catborise
59255eda5e
fix(linter): sort imports for super-linter and narrow spec type for mypy
2026-09-26 15:39:23 +03:00
catborise
5449e2a9ce
style(console): fix isort, black, flake8, and pylint in console app
2026-09-26 15:29:48 +03:00
catborise
591429b0c9
feat(console): add comprehensive test suite and expand send keys menu
...
- Add 23 unit and integration tests covering console views, authorization, URL/path normalization, and novncd daemon token extraction
- Refactor console/novncd arg parsing into __main__ block for clean test imports
- Expand Send Key(s) menu into categorized sections (System, Navigation/Desktop, Terminal Control, Virtual Consoles)
- Implement non-destructive LIFO sendKeyCombo using public rfb.sendKey API, eliminating vendor debt
- Wire Send Key actions across Lite, Full, and PTY (xterm) console templates
- Add modern navigator.keyboard.lock support during fullscreen sessions
2026-09-26 12:10:35 +03:00
catborise
a444a2ba40
fix(linter): format console/views.py and disable htmlhint/jscpd on django templates
2026-09-25 23:18:51 +03:00
catborise
d9112b797f
fix(console): fix novncd startup in container and prevent double slashes in websocket url
2026-09-25 23:11:52 +03:00
catborise
217e106c8b
format python code with black
2022-11-02 08:54:35 +03:00
catborise
0680f02240
remove css urls, add missing socketio requirements, fix cookie import, and rearrange socketiod connetion
2022-07-21 13:31:37 +03:00
Gaëtan Ferez
65dce10ce1
Implement Libvirt Serial Console as Console on WebVirtCloud
2022-07-17 13:25:47 +02:00
Info-IIG
c817d3e61a
Add permission can view instances
2022-06-13 09:58:46 +02:00
catborise
88c261e278
prevent users to access others vnc console if he is not owner
2020-11-20 14:19:53 +03:00
catborise
508e3609be
lint with black python. convert f style strings to old one. some small fixes
2020-11-05 12:34:31 +03:00
catborise
922a8e62d1
fix some linter warnings
2020-09-25 15:57:17 +03:00
Anatoliy Guskov
845c78c564
Merge pull request #345 from skyline75489/fix/none-console-type
...
Handle None console type
2020-07-20 11:41:12 +03:00
skyline75489
0e0521c61f
Handle None console type
2020-07-17 20:32:06 +08:00
catborise
74a4a1a3ef
vnc console options added
2020-07-17 11:04:21 +03:00
Real-Gecko
47009d47ca
Instances overhaul
2020-07-13 15:33:09 +06:00
catborise
c0f707854a
wsproxy patch
2020-06-26 16:31:41 +03:00
catborise
4f8a1fd50d
fix console password & sendkey & css fixes & add scale vb
2020-06-24 12:39:32 +03:00
catborise
e97d592e51
fix some messages, add translation for some keywords, update tr locale file
2020-06-12 14:46:17 +03:00
catborise
7538ddab4f
Add all settings to appsettings page & Convert settings choices
2020-06-04 12:32:00 +03:00
catborise
22cb8f702a
fix code conventions for pylint
2020-06-04 08:48:43 +03:00
Real-Gecko
38befa4362
Added django-login-required-middleware
...
Thus eliminating need for login_requred decorator on every view
2020-05-27 12:43:29 +06:00
catborise
4d40de1b55
Python3 & Django 2.2 Migration - Fix & Updates
2020-03-16 16:59:45 +03:00
T. Tran
08e694db4d
Increase some max_length
2019-11-09 00:07:02 +07:00
catborise
828a271789
pep8 style code corrections
2019-09-10 09:48:31 +03:00
catborise
edb59947af
novnc is updated to 1.0.0 and add console views: lite,full option
2018-08-14 15:11:49 +03:00
retspen
dd2830eddb
Quick fix if console type not support
2018-05-31 12:38:03 +03:00
Jan Krcmar
dac974ddab
request.user.is_authenticated() substitued for @login_required decorator
...
settings.LOGIN_URL = /accounts/login
2015-12-22 15:09:02 +01:00
Retspen
7dee5b94ac
Add app
2015-02-27 14:25:41 +02:00