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

141 commits

Author SHA1 Message Date
catborise
d9112b797f fix(console): fix novncd startup in container and prevent double slashes in websocket url 2026-09-25 23:11:52 +03:00
catborise
7435d66492 fix(security): resolve reviewer findings on secret key baking, host symlinks, and injection safety
- Prevent baking SECRET_KEY into Docker image during collectstatic
- Persist runtime SECRET_KEY in data/secret_key volume or read from environment
- Remove sed-based injection of CSRF_TRUSTED_ORIGINS in favor of native os.getenv
- Avoid overwriting system python3 symlink on SUSE; auto-detect python 3.10+ binaries
- Make /etc/hosts entry in installer idempotent
- Add security notice regarding compute node VNC/SPICE port firewall isolation
2026-09-25 22:06:16 +03:00
catborise
b1a843e846 feat(docker): modernize Dockerfile, add runit init script, and provide docker-compose setup
- Add python3-libvirt to apt and configure --system-site-packages for zero-compilation build
- Introduce 10_webvirtcloud_init.sh to handle container startup, migrations, and SQLite persistence
- Exclude host settings.py in .dockerignore for clean builds from settings.py.template
- Add docker-compose.yml with persistent data and SSH volume mounts
- Document Docker Compose deployment in README.md
2026-09-25 21:58:19 +03:00
catborise
f5e5ff2759 fix(install): refine openSUSE Leap dependencies and streamline installer execution
- Add Python 3.11 package detection and alternatives configuration for openSUSE/SLES
- Relax libvirt-python and lxml minimum versions in requirements to match distro-provided packages
- Gracefully handle missing hostname command in minimal/containerized SUSE environments
- Prevent redundant git clone if workspace already exists in target path
2026-09-25 20:44:52 +03:00
catborise
88288f965d feat(install): add openSUSE and SLES 15 distribution support and compute bootstrap 2026-09-25 20:03:02 +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
dc6327c554 fix(vrtManager): modernize rwlock for Python 3.12 compatibility and add tests 2026-09-24 21:49:52 +03:00
hudeng
326579a6ea feat: Add ISO file upload progress support. 2025-07-17 17:11:30 +08:00
catborise
b909a81f51 update requirements 2025-07-01 15:06:29 +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
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
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
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
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
Your Name
950e668631 Silly Mistake fixed 2024-05-28 11:33:40 +02:00
Your Name
46029d533c Ubuntu Service files 2024-05-28 11:22:20 +02:00
catborise
fc60819ff1 update requirements 2024-04-29 12:13:04 +03:00
catborise
6144760456 update requirements 2024-02-13 14:28:13 +03:00
catborise
bfe7da1ccc add tzdata package and reorder package names 2024-01-17 10:20:06 +03:00
catborise
f0cd0bc04f update requirements 2024-01-17 09:28:01 +03:00
catborise
296081d1e3
Merge branch 'master' into master 2023-11-10 16:35:51 +03:00
catborise
e324a19401 add white noise for static_root/staticfiles_dir problem for debug/non-debug running mode 2023-11-10 16:29:48 +03:00
catborise
2ff0abf8c5
Merge pull request #619 from catborise/master
update requirements
2023-10-30 15:59:51 +03:00
catborise
7171a70f75 update requirements 2023-10-30 15:56:54 +03:00
catborise
8995f47c13
Merge pull request #617 from 0x6d61726b/patch-01_X-Forwarded-Proto
Fixed nginx X-Forwarded-Proto to match the protocol ("http", "https")
2023-10-30 15:53:40 +03:00
Mark
cc86730441
Corrected X-Forwarded-Proto meaning for Gunicorn 2023-10-26 22:43:27 +02:00
Mark
2072890fc5
Fixed nginx X-Forwarded-Proto to match the protocol ("http", "https") 2023-10-26 21:53:04 +02:00
MisterBlueBear
4aafad668b Location /websockify proxy passes to wsnovncd 2023-10-26 13:12:20 -04:00
MisterBlueBear
31cace9994 nginx conf - Fix for issue #577 2023-10-18 21:42:57 -04:00
Amélie Krejčí
01a4225a84
Add django-auth-ldap dependency 2023-09-11 21:16:51 +02:00
catborise
cbd1f6f8b0 update requirement and fix install script 2023-09-06 09:41:08 +03:00
catborise
2935c9d382 update django 3.2.20 -> 4.2.4 2023-08-23 09:26:39 +03:00
catborise
fc2063eccb update requirements 2023-08-17 13:35:55 +03:00
Emre Serdengeçti
1cbdf76df6
logger updates (#31)
* Log for failed login attempts

* Logger configuration for logging to file

* interface fixes

* login log fix, added logged in too

* bootstrap icons setup

* font-awesome icons replaced with bootstrap icons

* replaced i-tags with django_bootstrap_icons

* removed icons library from project

* bug fix

---------

Co-authored-by: catborise <catborise@gmail.com>
2023-08-09 09:20:18 +03:00
catborise
07d7a6d752 update requirements 2023-07-11 11:14:56 +03:00
catborise
9671f7b3e0 update requirements 2023-05-12 10:30:50 +03:00
catborise
0754d07540 update requirements 2023-04-27 16:56:55 +03:00
catborise
9f8aaee15a update requirements 2023-02-16 09:11:49 +03:00
catborise
33002d5a49 update requirements 2023-02-06 09:03:29 +03:00