1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/instances
catborise 1e66367bb4 feat(operations): a job's error and warning show in the reader's language
A job stored its error and its result's warning as English text, much
of it built with the values in it (volume paths, a disk, libvirt's
error), so no catalog could translate it, and the job pages and panel
showed English whatever the language.

A job now stores them as messages: our English text, marked for
translation, and its values; libvirt's own text is a message without
values and is shown as it is. The jobs API and pages put them in the
reader's language. OperationError keeps its text and values apart for
the same reason, so a refusal raised while a job is submitted is shown
translated too. Messages one after another still read as sentences.

Errors stored before are kept as one message each, shown as they were.
2026-11-02 23:49:45 +03:00
..
api fix(instances): Refresh ISO list says which pools it could not read 2026-11-02 16:11:15 +03:00
fixtures Instances overhaul 2020-07-13 15:33:09 +06:00
migrations fix(admin): Removed VMs shows the host a VM left and confirms a delete 2026-10-26 11:48:40 +03:00
templates fix(locale): the VM page's and Settings page's messages show translated 2026-11-02 23:09:05 +03:00
templatetags feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
tests feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
__init__.py Fixe migrations for new deployments 2020-05-28 18:19:25 +06:00
addresses.py feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
forms.py feat(instances): a VM's console settings in two cards, with a password action 2026-10-30 14:55:57 +03:00
jobs.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
models.py feat(instances): a clone takes the size asked and starts if asked 2026-11-01 22:38:43 +03:00
report.py fix(admin): the Logs download survives any row and stops at a size it can build 2026-10-26 10:12:53 +03:00
states.py feat(instances): a VM's power actions at a glance, a power cut asked first 2026-10-30 19:21:30 +03:00
urls.py perf(instances): the VM page lists ISO images without reading every pool 2026-11-02 13:58:51 +03:00
utils.py feat(instances): the VM lists follow changes by themselves 2026-11-01 19:53:45 +03:00
views.py fix(locale): the VM page's and Settings page's messages show translated 2026-11-02 23:09:05 +03:00