1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/webvirtcloud/tests
catborise c9fef349d5 feat(storages): a volume downloads from its pool page
The volume menu of a pool page gets Download: the host reads the volume
with libvirt's download stream and the panel passes it on in chunks, so
a disk image never sits in the panel's memory. The file is the volume as
stored: a qcow2 volume comes as its qcow2 file. A volume a running VM
uses is refused, as for a copy; the refusal is a message on the pool
page. Each download is a row in the audit log.

gunicorn's worker exits when a request runs past its timeout (600 s), to
end requests stuck on a host. A download of a large disk runs longer, so
each chunk sent starts the request's timeout again: a download that stops
sending is still ended. nginx passes the chunks on as they come
(X-Accel-Buffering: no) instead of spooling them to a file.
2026-11-15 00:31:42 +03:00
..
js fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
sh test(installer): check that the settings are copied from the template 2026-11-08 21:20:06 +03:00
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_access_denied.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_api_schema.py fix(api): a volume's size is GiB to create and bytes to read, each documented 2026-11-07 13:29:46 +03:00
test_authorization_matrix.py fix(instances): the root password and SSH key a setting turns off are refused 2026-11-13 08:19:13 +03:00
test_busy_refusal.py refactor(computes): the lock helpers take claims instead of file locks 2026-10-14 23:27:57 +03:00
test_child_processes.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_confirm_prompts.py feat(templates): every confirmation asks in the page's own dialog 2026-10-31 20:44:39 +03:00
test_connection_errors.py fix(instances): an open VM page follows its VM's removal on the host 2026-11-10 13:19:39 +03:00
test_csp.py feat(webvirtcloud): pages run only the scripts the panel serves 2026-11-02 10:08:09 +03:00
test_delete_pages.py feat(templates): the shared form and delete pages in a centred column 2026-10-31 18:10:05 +03:00
test_error_focus.py fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
test_error_pages.py feat: error pages that say what happened and what to do 2026-10-29 17:52:16 +03:00
test_gunicorn_conf.py feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
test_gunicorn_worker.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
test_icon_cache.py chore: remove files nothing uses 2026-11-06 10:53:43 +03:00
test_install_lib.py test: the installer library's shell tests run with the suite 2026-11-06 13:48:03 +03:00
test_logging.py fix(logging): the web workers rotate the panel's log without losing lines 2026-11-10 13:48:14 +03:00
test_otp_bypass.py feat(accounts): API tokens show their last use, and a user has at most ten 2026-10-25 10:16:52 +03:00
test_pages.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_poll_js.py fix(instances): an open VM page follows its VM's removal on the host 2026-11-10 13:19:39 +03:00
test_sensitive_posts.py fix: the views that take a password or a key keep it out of error reports 2026-11-05 18:17:00 +03:00
test_settings_env.py fix(settings): OTP mail is sent from the SMTP account, or DEFAULT_FROM_EMAIL 2026-11-09 12:00:55 +03:00
test_static_files.py chore(deps): the icons come from the committed cache, not django-bootstrap-icons 2026-11-05 12:37:51 +03:00
test_status_contrast.py feat(interfaces): the interface pages on Bootstrap's cards, tables and dialogs 2026-10-29 10:09:52 +03:00
test_test_runner.py fix(tests): a killed test run no longer breaks the next one 2026-10-26 16:43:22 +03:00
test_worker_install.py build(docker): the image is Ubuntu 26.04 with supervisord in place of phusion's runit 2026-11-08 16:09:21 +03:00