1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/operations
catborise 7359fbb147 fix(accounts): a page whose session ended says so; a form sent then is not lost in a 405
A session that ended while a page was open went unnoticed: the VM list,
the VM page and the job panel kept asking, were sent to the sign-in
page, and showed what they had as if it were current. A button pressed
then sent the user to sign in and, after it, to the form's own address
by GET, where its view answered an empty 405 and the action was lost.

The panel's LoginRequiredMiddleware (webvirtcloud.middleware) answers a
page's script 401, upon which session_end.js says the user was signed
out, with a link to sign in and come back, and the page stops asking
and reloading. A form sent after the end (or with a token a sign-in
elsewhere replaced) goes back, after the sign-in, to the page it was on,
and the sign-in page says it was not done. accounts.E002 asks for this
middleware; Django's own is a warning (W002), so an update keeps a
panel whose local settings name it running.
2026-11-21 23:48:34 +03:00
..
api feat(computes): Balance proposes migrations that even out the hosts 2026-11-16 07:37:10 +03:00
management feat(operations): the job worker 2026-10-14 23:27:57 +03:00
migrations fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
static/operations fix(accounts): a page whose session ended says so; a form sent then is not lost in a 405 2026-11-21 23:48:34 +03:00
templates/operations feat(ui): what a job, a tag or a backup names links to its page 2026-11-21 23:22:09 +03:00
templatetags fix(ui): a block or a job's cancel asks first; every delete and save says it is done 2026-11-21 21:02:20 +03:00
tests feat(ui): what a job, a tag or a backup names links to its page 2026-11-21 23:22:09 +03:00
__init__.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
alerts.py fix: a test alert button; damage shown and warned of on restore 2026-11-19 17:24:18 +03:00
apps.py refactor(settings): SQLite's WAL mode is an init_command 2026-11-06 11:01:51 +03:00
claims.py fix(backups): a verification marks each damaged backup of the chain; an error told once 2026-11-19 19:12:02 +03:00
jobs.py feat(alerts): mail and webhook alerts, and /healthz for a monitor 2026-11-19 16:10:37 +03:00
models.py fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
urls.py feat(operations): jobs page 2026-10-14 23:27:57 +03:00
utils.py feat(migrations): a migration's bandwidth can be capped 2026-11-20 09:44:17 +03:00
views.py feat(ui): what a job, a tag or a backup names links to its page 2026-11-21 23:22:09 +03:00
worker.py fix(backups): a verification marks each damaged backup of the chain; an error told once 2026-11-19 19:12:02 +03:00