1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-10-18 00:50:07 +00:00
Commit graph

1354 commits

Author SHA1 Message Date
catborise
c31ed28042 test: expand unit test coverage across admin, accounts, vrtManager, logs, appsettings, and datasource 2026-09-25 11:26:53 +03:00
catborise
933e7b378a fix(security): resolve CSRF 403 on DEBUG=False and improve reverse proxy headers
- Add local ports and env var fallback for CSRF_TRUSTED_ORIGINS in settings.py.template
- Configure SECURE_PROXY_SSL_HEADER for reverse proxy / HTTPS environments
- Update Nginx proxy headers to use $http_host and $scheme to prevent port mismatch
2026-09-25 10:28:49 +03:00
catborise
7a9b3c9e13 feat(dev): improve Rocky Linux and RHEL compatibility for local development
- Relax libvirt-python and lxml version pins to allow precompiled distro packages
- Add PEP 508 environment marker to crypt-r (python_version >= 3.13) to avoid unnecessary C compilation on Python 3.12
- Add stdlib crypt fallback when crypt_r is not available in instances/views.py
- Make LDAP imports and configuration optional in settings.py.template
- Add --system-site-packages and missing packages in webvirtcloud.sh for RHEL/CentOS
- Update README with working Rocky Linux / RHEL / Fedora installation and local dev setup
2026-09-25 09:45:54 +03:00
catborise
67364e2a05 feat(api): migrate API documentation from drf-yasg to drf-spectacular
- Replace abandoned drf-yasg with drf-spectacular and drf-spectacular-sidecar
- Configure OpenAPI 3.0 schema generation and offline sidecar assets in settings
- Update schema, Swagger UI, and ReDoc routes in webvirtcloud/urls.py
- Add backwards-compatible AutoSchema fallback for existing settings installations
- Remove 130 obsolete legacy drf-yasg static assets
- Update upgrade instructions in README.md and project documentation
2026-09-25 08:08:36 +03:00
catborise
6d8a62a95e refactor(vrtManager): replace vendored IPy with stdlib ipaddress and add tests
- Migrate network_size and wvmNetwork IP methods to Python built-in ipaddress
- Remove obsolete vendored vrtManager/IPy.py (1650+ lines)
- Add comprehensive unit test suite in vrtManager/test_network_ip.py (15 tests)
- Clean up obsolete IPy exclusion in .travis.yml
2026-09-24 22:52:12 +03:00
catborise
ba9bc2c3b9 perf(docker): optimize dependency layer caching and update dockerignore
- Copy requirements.txt before application source to leverage Docker layer caching
- Expand .dockerignore to exclude local venv, cache files, logs, and .env files
2026-09-24 22:41:34 +03:00
catborise
58b07d9b2b fix(frontend): update Bootstrap bundle source map to 5.3.3 2026-09-24 22:12:34 +03:00
catborise
891fb726d3 chore(frontend): update jQuery to 3.7.1 and Bootstrap to 5.3.3 2026-09-24 22:08:12 +03:00
catborise
3633c0096e refactor(console): replace deprecated optparse with argparse and fix regex escape sequences 2026-09-24 22:08:08 +03:00
catborise
dc6327c554 fix(vrtManager): modernize rwlock for Python 3.12 compatibility and add tests 2026-09-24 21:49:52 +03:00
catborise
a26407176c docs: add codebase overview and dependency upgrade plan 2026-09-24 21:49:49 +03:00
catborise
7047130f3e
Merge pull request #680 from cpasqualini/fix-missing-pip3-in-debian
Fix WVC Install Script: missing pip3 on Debian
2026-09-24 19:17:27 +03:00
catborise
e8974248ee
Merge pull request #685 from resse/fix/ubuntu-ldap-dev-headers
Add missing libldap2-dev/libsasl2-dev to Ubuntu package list
2026-09-24 19:16:33 +03:00
catborise
e3f26c8690
Merge pull request #684 from resse/fix/ubuntu-24.04-installer-support
Add Ubuntu 24.04 support to installer version check
2026-09-24 19:15:30 +03:00
Mikhail Bobkov
b0f978e1db Add missing libldap2-dev/libsasl2-dev to Ubuntu package list
conf/requirements.txt requires django-auth-ldap/python-ldap (added in
#600), which needs libldap2-dev and libsasl2-dev headers to build its
C extension. The Debian branch's PACKAGES list already has both, but
the Ubuntu branch was never updated to match, so a fresh install on
Ubuntu fails to build python-ldap's wheel, which aborts the entire
`pip install -r requirements.txt` — Django itself never gets
installed, and the app fails to start. Verified fix on a real Ubuntu
24.04 host.
2026-09-24 18:27:53 +04:00
Mikhail Bobkov
1f62f150a0 Add Ubuntu 24.04 support to installer version check
webvirtcloud.sh's Ubuntu branch only matched 18.04/20.04/22.04, so
running it on 24.04 (Noble) silently no-ops the entire install block
instead of installing anything. Verified end-to-end on a real 24.04
host: with this check extended, the rest of the Ubuntu install path
(package list, venv setup, nginx/supervisor config) works unmodified.
2026-09-24 18:27:27 +04:00
Carlos Pasqualini
3b2585c1e0 Fix WVC Install Script: missing pip3 on Debian 2026-04-30 12:51:22 -03:00
catborise
1b2da68b28
Merge pull request #679 from honza801/fixes
fix template clone icon replaced with copy icon
2026-04-20 11:59:16 +03:00
Jan Krcmar
80541239ec fix template clone icon replaced with copy icon 2026-04-15 17:29:08 +02:00
catborise
af774ebcc8
Merge pull request #676 from hudeng-go/upstream/master
feat: Add ISO file upload progress support.
2025-07-22 12:15:32 +03:00
hudeng
326579a6ea feat: Add ISO file upload progress support. 2025-07-17 17:11:30 +08:00
catborise
c0f31909bd
Merge pull request #675 from catborise/master
update packages && installation script
2025-07-01 15:08:25 +03:00
catborise
9324b9c36d update installation scripts 2025-07-01 15:07:02 +03:00
catborise
b909a81f51 update requirements 2025-07-01 15:06:29 +03:00
catborise
79450eac6a
Merge pull request #671 from lando814/patch-1
ubdate base image
2025-05-20 16:51:35 +03:00
lando814
a56ce2a58f
ubdate base image
updated base image from jammy to noble due to error message during docker build

ERROR: No matching distribution found for crypt-r==3.13.1
2025-05-19 17:21:29 +02:00
catborise
4646597b39
Merge pull request #668 from catborise/master
update minimum python3 requirements. python3 >= 3.11
2025-05-02 10:25:20 +03:00
catborise
659a6edb73 update minimum python3 requirements. python3 >= 3.11 2025-05-02 10:23:51 +03:00
catborise
099769d305
Merge pull request #666 from liangsuilong/master
crypt-r replaces crypt stdlib, support python-3.13
2025-05-02 10:10:40 +03:00
catborise
120f406b48
Merge pull request #667 from catborise/master
update requirements
2025-05-02 10:10:18 +03:00
catborise
fd54c68e6b
Merge pull request #664 from fangebee/master
Some fixes regarding Ceph/RBD volumes handling
2025-05-02 10:07:48 +03:00
catborise
34f08fc555 update requirements 2025-05-02 10:06:09 +03:00
Liang Suilong
8bca7db917 crypt-r replaces crypt stdlib, support python-3.13 2025-03-30 10:33:51 +08:00
fangebee
f26fa3d050
Detect RDB pools too 2025-03-14 10:31:40 +01:00
fangebee
8c4f1d9fe8
Workaround issue #663
do not confuse a network volume with a network interface
2025-03-13 18:17:21 +01:00
catborise
fb108f9ac9
Merge pull request #662 from catborise/master
update requirements
2025-03-11 10:43:14 +03:00
catborise
1a800b4535 update requirements 2025-03-11 10:38:38 +03:00
catborise
b892af989b
Merge pull request #657 from catborise/master
update requirements
2024-10-15 16:38:48 +03:00
catborise
b55552f05a update requirements 2024-10-15 16:37:21 +03:00
catborise
3d53f45f27
Merge pull request #656 from catborise/master
update requirements
2024-08-27 10:46:55 +03:00
catborise
24f751774b update requirements 2024-08-27 10:45:51 +03:00
catborise
f725d8ec18
Merge pull request #654 from wahello/master
pip install supervisor
2024-08-02 10:37:05 +03:00
nono
9e4dc3256e pip install supervisor 2024-08-02 09:41:06 +08:00
catborise
218ec5dd78
Merge pull request #653 from catborise/master
update requirements
2024-07-23 14:54:43 +03:00
catborise
cb7b690a10 update requirements 2024-07-23 14:53:41 +03:00
catborise
f4651d816d
Merge pull request #650 from catborise/master
fix urls for bus and capabilities
2024-06-24 10:25:48 +03:00
catborise
1edce931ed fix urls for bus and capabilities 2024-06-24 10:22:49 +03:00
catborise
b76b6e382e
Merge pull request #649 from catborise/master
update req
2024-06-24 09:34:25 +03:00
catborise
072a922c15 update requirements 2024-06-24 09:32:41 +03:00
catborise
ee2c55dac7 update chipset url 2024-06-24 08:53:01 +03:00