Commit Graph
31 Commits
Author SHA1 Message Date
Reditus fd90b6cd46 feat(dashboard): Refactor database schema to dashboard namespace 2026-05-21 16:48:00 +01:00
Reditus 6fe4384d91 Add db_owner setting to reassign table ownership to game server DB user for backup compatibility 2026-05-21 06:37:31 +01:00
Reditus 5f26621744 Revert "Add db_owner setting to reassign table ownership to game server DB user for backup compatibility"
This reverts commit 18a3253879.
2026-05-21 06:36:16 +01:00
Reditus c57e6572a9 Experimental branch cleanup and fixes
- Removed miner protection module, config, API routes, and UI
- Removed block_postgres firewall feature from dashboard + launcher
- Fixed SSH host key policy (WarningPolicy → AutoAddPolicy)
- Fixed kick race condition (threading.Lock for iptables)
- Tuned Argon2 password parameters (time_cost=3, memory_cost=65536)
- Added login rate-limit (10/min) + IP cooldown after 5 failed attempts
- Created scripts/db_check.py for launcher pre-flight DB check
- Updated README and .gitignore for sanitized repo state
2026-05-21 06:33:48 +01:00
Reditus 18a3253879 Add db_owner setting to reassign table ownership to game server DB user for backup compatibility 2026-05-21 06:28:17 +01:00
Reditus 00288d93a6 Add debug logging system with full request/response logging and sanitization
- New debug logging system with auto-sanitization of sensitive data (passwords, tokens, JWTs, keys)
- Debug mode can be enabled via launcher (option 6) or Server page UI
- Debug logs written to logs/debug.log with full HTTP request/response details
- Added comprehensive page access logging (overview, players, vehicles, server, director)
- Added SSH, K8s, database, and service initialization debug logging
- Fixed miner protection console spam (now uses DEBUG level)
- Removed admin management section from server page
- Updated README with debug mode documentation
2026-05-19 06:59:46 +01:00
Reditus 6e7a850ba2 Fix setup flow: ask remote access first, auto-detect VM IP, validate local_ip
- Ask 'Enable remote access?' before any IP questions
- Default to local-only (n) for simpler setup
- Skip SSL questions when local-only
- Fix Hyper-V VM IP detection (handle single-element arrays properly)
- Validate local_ip in config.py before using as host override
- Fix factory.py to use settings['server']['host'] instead of local_ip
- VM Host prompt shows '(detected)' when auto-detected IP is found
2026-05-19 02:57:50 +01:00
Reditus ab8d0d922a Add miner protection feature with auto-cleanup and log viewer 2026-05-18 02:39:38 +01:00
Reditus 7f3ef08e7e Calibrate DeepDesert: calculated bounds from top-left, top-right, bottom 2026-05-16 18:27:55 +01:00
Reditus e6a05b4371 Update DeepDesert bounds with new top-left coordinate 2026-05-16 17:41:46 +01:00
Reditus fa50f640c9 Revert "Calibrate DeepDesert map bounds from in-game coordinates"
This reverts commit 8e6e2a91e5.
2026-05-16 17:06:14 +01:00
Reditus 8e6e2a91e5 Calibrate DeepDesert map bounds from in-game coordinates 2026-05-16 16:10:22 +01:00
Reditus de3212b31f Calibrate HaggaBasin: corner1=(-456752,-450630), corner2=(354547,353821) 2026-05-16 15:27:37 +01:00
Reditus df2cff537c HaggaBasin first in map list, both maps default 15% zoom, slider min 15% 2026-05-16 14:59:03 +01:00
Reditus c06660ae5a Set HaggaBasin as hardcoded default map, 5% zoom, slider min 5% 2026-05-16 14:53:20 +01:00
Reditus 692c673ab3 Revert to simple zoom: canvas size changes, both maps default 100% zoom 2026-05-16 14:49:17 +01:00
Reditus 594dc198b5 Replace DeepDesert with WebP version, match HaggaBasin 8000x8000 bounds and 15% default zoom 2026-05-16 14:11:55 +01:00
Reditus 5a3b0ef2c4 Change zoom min from 0% to 15%, HaggaBasin default 15% 2026-05-16 14:02:27 +01:00
Reditus b9cf227d92 Per-map default zoom levels: HaggaBasin 0%, DeepDesert 145%
- HaggaBasin defaults to 0% zoom for full map view
- DeepDesert defaults to 145% zoom since map is much smaller
- Zoom slider min changed from 25% to 0%
- Added default_zoom to map options in build_map_options
2026-05-16 13:55:38 +01:00
Reditus bb60c3b8d9 Switch HaggaBasin to 8k WebP image (3.6 MB vs 100+ MB) 2026-05-16 13:39:40 +01:00
Reditus 9ddaa5f667 merge remote changes 2026-05-15 13:59:59 +01:00
Reditus 6161f36ea4 merge remote changes 2026-05-15 11:15:00 +01:00
Reditus 3d1fc8a638 Merge local changes 2026-05-15 09:12:35 +01:00
Reditus d769c3ef86 Add map image support with coordinate mapping to pixels 2026-05-15 03:40:15 +01:00
Reditus c74ef9cf9c Update to latest version 2026-05-15 02:18:17 +01:00
Reditus 8002fe33f5 fix: firewall setup - clarify vulnerability status, fix PS5.1 base64 upload, remove extra braces 2026-05-13 23:29:35 +01:00
Reditus b7e2b6ccf9 feat: firewall security - block unauthenticated game server ports 2026-05-13 23:16:50 +01:00
Reditus 99864b4d8f feat: implement player editing, security hardening, and director proxy
- Add 7 player-edit endpoints: faction, XP, tech knowledge, currency, item edit/delete/add
- Password hashing with Argon2 (setup.ps1, setup.sh, auth.py, config.py)
- Rate limiting on all sensitive endpoints (Flask-Limiter)
- IP validation for ban/unban/kick operations
- Audit logging for admin actions
- File browser path traversal protection
- Login_required on all debug endpoints
- Director API proxy via NodePort with _director_request helper
- SSH tunnel includes director port forward in start.ps1
- Currency editing now sets exact balance instead of delta
- Fix undefined values in success alert messages
2026-05-13 20:07:37 +01:00
Reditus 846b27e834 feat: Let's Encrypt integration, dual IP prompts, firewall checks, and CA utilities
- Add Let's Encrypt support in setup scripts with certbot auto-install (winget/pip/python -m fallbacks)
- Separate VM External IP and Host External IP prompts during setup
- Firewall rule creation only prompts when DuneDashboard rule doesn't exist
- HTTP redirect server tries 0.0.0.0:80 first, falls back to 127.0.0.1:80
- Cert monitor detects LE certs and runs certbot renew instead of local CA regeneration
- Add ssl_domain and ssl_email settings
- Add install-ca-cert.bat and clean-ca-certs.bat utilities for Windows CA management
- Update README with setup flow details, LE docs, and firewall notes
2026-05-12 09:07:51 +01:00
Reditus f22f3bdf8d Release beta: Remote access, auto-update, settings migration, and login security 2026-05-12 05:51:33 +01:00
Reditus 59cc98133c Initial release - Dune Awakening Dashboard beta 2026-05-12 01:02:58 +01:00