Commit Graph
95 Commits
Author SHA1 Message Date
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 ca1f2e1966 Simplify map: remove filter dropdown, only show DeepDesert/HaggaBasin data, placeholder when no image 2026-05-15 03:48:18 +01:00
Reditus d769c3ef86 Add map image support with coordinate mapping to pixels 2026-05-15 03:40:15 +01:00
Reditus 3d63950d01 Fix map: use class for vehicle names instead of non-existent name column 2026-05-15 03:23:25 +01:00
Reditus f15e8783e2 Add map prototype with coordinate tracking for players, vehicles, buildings 2026-05-15 03:14:15 +01:00
Reditus 7c7e655de7 Fix: query world_partition for active server IDs 2026-05-15 02:56:18 +01:00
Reditus 7bfcafdaf6 Security: add @auth_req to unprotected endpoints, lower admin rate limits 2026-05-15 02:46:27 +01:00
Reditus c74ef9cf9c Update to latest version 2026-05-15 02:18:17 +01:00
Reditus 7125e29993 Merge branch 'nightly' 2026-05-15 02:13:17 +01:00
Reditus 9bc68c6d4f Security fixes: add authentication to unprotected endpoints, replace deprecated Flask-Talisman, fix session cookie, add WebSocket auth check, improve error handling 2026-05-14 23:04:18 +01:00
Reditus 5fddd72e69 Restore @auth_req decorators to all API endpoints 2026-05-14 22:22:17 +01:00
Reditus 9c34ccb327 Restore @auth_req decorators to all API endpoints
- Re-added conditional @auth_req decorator to all 38+ unprotected endpoints
- Ensures login required when auth.enabled=true, works without auth when disabled
2026-05-14 22:22:11 +01:00
Reditus 361c6fcf2f Fix: Add CSRF token to login form and make auth conditional
- Added csrf_token hidden input to login.html for regular form POST
- Made @login_required conditional on auth.enabled setting so dashboard works without auth enabled
- Now supports both auth-enabled and auth-disabled modes
2026-05-14 09:48:00 +01:00
Reditus 9f56c3943e Security: Add @login_required to all API endpoints and CSRF protection
- Added @login_required decorator to all 38 unprotected API endpoints
- Initialized Flask-WTF CSRFProtect in app factory
- Added CSRF token meta tag to base.html
- Added JavaScript fetch interceptor to attach X-CSRFToken header to all non-GET requests
- Closes critical security vulnerability where any unauthenticated user could perform administrative actions
2026-05-14 09:03:14 +01:00
Reditus 0418fba37c fix: use NodePort (30822) for director API instead of local tunnel port 2026-05-14 05:29:14 +01:00
Reditus f84dd975cd fix: create VERSION file on first ZIP run to prevent false update alerts 2026-05-14 01:10:50 +01:00
Reditus a9ac20e036 fix: remove duplicate except block causing SyntaxError in updater 2026-05-14 01:06:54 +01:00
Reditus 32a010ed40 fix: detect branch from folder name for ZIP downloads, preventing false update alerts on nightly/beta builds 2026-05-14 01:03:28 +01:00
Reditus 748d66b1f1 fix: updater checks current branch instead of always main, preventing false update alerts on nightly/beta 2026-05-14 00:51:02 +01:00
Reditus 67ad94ea26 fix: firewall block/unblock in INPUT, FORWARD, and mangle PREROUTING chains; combine SSH calls to avoid timeouts; check actual iptables rules instead of settings config 2026-05-14 00:37:45 +01:00
Reditus ae86251196 fix: firewall block/unblock in both INPUT and FORWARD chains for Kubernetes traffic 2026-05-14 00:08:34 +01:00
Reditus f7bcbb81b4 fix: firewall unblock error handling - combine stdout/stderr, handle Bad rule error 2026-05-13 23:42: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 290271a4f9 cleanup: remove admin page, add fuel keywords to vehicle API, ignore temp scripts and AI docs 2026-05-13 22:05:05 +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 4d3d5d2888 fix: use git fetch + origin/main for update checks in git clones 2026-05-12 09:25:05 +01:00
Reditus fb672a16bd fix: use git rev-parse HEAD for update checks when .git exists 2026-05-12 09:21:54 +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 2b215f8920 Add retry loop to database pool initialization (handles startup race conditions) 2026-05-12 04:37:55 +01:00
Reditus 51cf375823 Fix updater restart to use launcher script (preserves SSH/DB tunnels) 2026-05-12 04:34:39 +01:00
Reditus 289e092b5f Switch updater to SHA comparison via GitHub API (instant updates) 2026-05-12 04:23:43 +01:00
Reditus 51252b7f98 Fix VERSION comparison and add debug values to check endpoint 2026-05-12 04:17:45 +01:00
Reditus 55f87f8fbb Fix update checker to compare VERSION strings instead of commit SHAs 2026-05-12 04:14:27 +01:00
Reditus de19edee54 Sync VERSION file to current commit and fix SHA comparison 2026-05-12 04:11:01 +01:00
Reditus 8828de0e3c Restore missing updater service initialization in factory.py 2026-05-12 04:02:57 +01:00
Reditus 0f75258405 Fix update checker to force fresh check on button click 2026-05-12 03:51:25 +01:00
Reditus e9fb72ed02 Switch to VERSION file for update detection (works for zip downloads) 2026-05-12 03:45:43 +01:00
Reditus b2464c2912 Restore missing update API routes in api.py 2026-05-12 03:40:16 +01:00
Reditus f52e5f1693 Add auto-update system with background checker and safe file replacement 2026-05-12 03:17:06 +01:00
Reditus 6dab454830 Replace hardcoded IPs with placeholders in templates and services 2026-05-12 01:55:01 +01:00
Reditus 59cc98133c Initial release - Dune Awakening Dashboard beta 2026-05-12 01:02:58 +01:00