1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 03:36:48 +00:00
Commit graph

26 commits

Author SHA1 Message Date
catborise
777057cb19 feat(appsettings): the panel backs itself up every day
The only backups of the panel were the ones taken by hand before an
update. Now `manage.py backup` writes a new directory under backups/
with a consistent copy of the sqlite database (the backup API, while
the panel runs, checked with PRAGMA integrity_check), the secret key,
the worker's node_id, settings.py, the SSH keys of the panel's user
and, outside Docker, the commit. It keeps the newest 7 (--keep N) and
deletes older ones only after a good backup; a failed one leaves
nothing, and a second run while one runs fails. Files are mode 600,
directories 700: the database holds compute passwords and keys. With
PostgreSQL the database is left out.

It runs daily at 03:15: in Docker from the image's cron into a new
volume, webvirtcloud-backups; otherwise from webvirt-backup.timer,
which the installer and the manual steps install. A backup has the
layout of the update backups, so the restore steps take either.
2026-11-03 09:40:47 +03:00
catborise
99b9aa2a3c feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
catborise
6961ff2280 docs: SSH key setup that names the panel user per platform
The host commands hard-coded www-data, which does not exist on RHEL and
openSUSE (the panel runs as nginx there), so the first command failed
with "invalid user". The user is now set once in U and its home is read
with getent, since ~$U is not expanded. The host block also ends with
the same connection check as the Docker one.

Both blocks are labelled, and the step says to use only the one for the
installation type: a key set up on the host is not seen by the panel in
Docker.

AGENTS.md is a local agent file and is ignored.
2026-10-08 13:26:07 +03:00
catborise
40d66003ea chore(gitignore): keep local superpowers plans and workspace out of git 2026-10-07 17:32:36 +03:00
catborise
7639d21ec4 fix(static): collectstatic writes to staticfiles/, and its output is no longer committed 2026-10-07 16:31:56 +03:00
catborise
fd5aa069be fix: track migrations; installs apply them instead of generating them
The *migrations/* ignore rule is removed. appsettings, computes and
logs pin default_auto_field to AutoField, so makemigrations --check
reports no pending BigAutoField migrations and existing installs need
no schema change.

The Vagrant provisioning no longer runs makemigrations, which created
install-specific migration files that conflict with the committed
history; it only runs migrate.
2026-10-04 01:08:11 +03:00
catborise
3ba1baa60b chore: ignore runtime data directory
data/ holds the generated secret_key; keep it out of version control.
2026-10-02 12:04:41 +03:00
catborise
a3a6961155 chore: keep roadmap local and untracked 2026-09-28 15:10:33 +03:00
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
75f73f1607 docs: move codebase overview to doc/architecture.md and untrack dependency upgrade plan 2026-09-25 19:32:50 +03:00
catborise
b47ec2e8f9 bootstrap icon conversion fixes 2023-08-11 09:40:38 +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
Real-Gecko
10b6f88dbb Added coverage.py support 2020-05-29 19:37:49 +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
ace30ca952 Libxml2 converted to lxml, django framework upgrade to 1.11.x and some bug fixes 2018-06-27 10:20:51 +03:00
retspen
b533d59e2f Added vscode 2018-05-31 11:04:19 +03:00
Ing. Jan KRCMAR
6574532c16 webvirtcloud/settings.py -> webvirtcloud/settings.py.template
ignore webvirtcloud/settings.py
2018-01-24 09:25:58 +01:00
Ing. Jan KRCMAR
62467854db gitignore console/cert.pem* 2018-01-03 15:51:56 +01:00
Ing. Jan KRCMAR
80c023f2f3 ignore db.sqlite3* (backups, dumps) 2017-10-05 08:30:15 +02:00
Jan Krcmar
78dcb10a57 .gitignore dhcpd.* 2016-03-22 10:32:16 +01:00
Jan Krcmar
d036d582fd .gitignore: tags 2016-01-19 15:39:56 +01:00
Jan Krcmar
0eb60b1aa4 ignore novnc certificate (console/cert.pem) 2015-12-28 13:53:40 +01:00
Retspen
13e5d70ff3 Moved all to virtualenv 2015-06-16 08:49:30 +03:00
Retspen
9484b11c41 DB changes 2015-04-02 14:24:28 +03:00
Retspen
4d48e79341 Initial commit 2015-02-27 10:53:51 +02:00