Commit Graph
40 Commits
Author SHA1 Message Date
Reditus ab8d0d922a Add miner protection feature with auto-cleanup and log viewer 2026-05-18 02:39:38 +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 104b3db4a8 Fix default map and zoom initialization: HaggaBasin default, initial zoom 0.15 2026-05-16 14:29:47 +01:00
Reditus 7e2c7128e5 Simplify map zoom with CSS transform instead of canvas resizing 2026-05-16 14:25:09 +01:00
Reditus 368ae69b7e Fix map interactivity: canvas overflow hidden, always show full image on load, scroll to top-left 2026-05-16 14:18:01 +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 f23d4aa1f5 Zoom map to 50% by default (was 100%), allows seeing full map on load 2026-05-16 13:48:21 +01:00
Reditus 86b65d48b0 Fix map credit visibility and add thank you message
- Positioned credit absolutely at bottom of map view with semi-transparent background
- Added thank you message to awakening.wiki
2026-05-16 12:45:58 +01:00
Reditus 1fd28267e9 Add fan-made disclaimer footer and awakening.wiki map attribution
- Added site-wide footer with fan-made project disclaimer
- Added credit link to awakening.wiki below map images on Map tab
2026-05-16 12:40:01 +01:00
Reditus e3c828c2ed Add organized logging with sanitization and auto-cleanup
- Launcher logs categorized by type (ssh, k8s, database, dashboard, setup, diagnostics)
- Sensitive data automatically redacted in log files (IPs, tokens, passwords, namespaces, host IDs)
- Console output remains unsanitized for user visibility
- Auto-cleanup: deletes logs older than 30 days, truncates files over 10 MB
- Updated README with logging documentation
2026-05-15 21:13:16 +01:00
Reditus 341e9a3213 Fix chat UI to show helpful message when text-router logs don't contain chat data 2026-05-15 18:47:00 +01:00
Reditus bbdc0ab39c Add graceful Director unavailable UI and diagnostic script
- Director API returns 503 with helpful error details when BGD is down
- New unavailable banner in director.html with troubleshooting hints
- Created scripts/diagnostic.py for full connectivity testing
- Launcher diagnostics now runs server-side checks via diagnostic.py
- All Director endpoints handle connection errors gracefully
2026-05-15 15:53:08 +01:00
Reditus 6efce4dbcb Fix director connectivity, dynamic firewall port resolution, and map banner readability
- DirectorService now connects via 127.0.0.1 SSH tunnel instead of external IP
- Launcher auto-scales BGD deployment before starting port-forward
- SSH tunnel forwards both DB and Director ports
- Firewall toggle resolves BGD NodePort dynamically from K8s
- Map experimental banner uses theme-aware text color for readability
- Frontend gracefully handles director not running (shows N/A)
2026-05-15 15:23:21 +01:00
Reditus 1959a013ab Major refactor: unified launcher, paramiko SSH, DirectorService, diagnostics, and map warning banner
- Merge setup and start scripts into unified launcher (launcher.ps1 / start.sh)
  with menu: Start Dashboard, Run Setup, Run Diagnostics, Quit
- Migrate SSHService from subprocess to paramiko for connection reuse
- Extract Director API into dedicated DirectorService class
- Centralize SSH key resolution in app/utils/ssh_key.py
- Add pagination to player list (50 per page)
- Add comprehensive diagnostics with port-forward troubleshooting guide
- Add 17 new tests (43 total, all passing)
- Fix Director page loading (point to local port-forward instead of remote IP)
- Add experimental warning banner to map page with Dune-themed joke
- Remove dead Flask-Talisman dependency, upgrade cryptography to >=42.0.0
- Fix PowerShell launcher parsing errors (Unicode chars, variable delimiters)
- Update start.bat/setup.bat to point to unified launcher
2026-05-15 14:57:36 +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 85d8fbc8ae Fix Atreides theme swatch typo 2026-05-15 04:06:02 +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 70f573eed5 Add Dune theme system with 14 themes 2026-05-15 03:08:32 +01:00
Reditus c74ef9cf9c Update to latest version 2026-05-15 02:18:17 +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 236ac4caee revert: restore server page title 2026-05-14 01:29:58 +01:00
Reditus aa8915903d test: temporary change on server page 2026-05-14 01:28:39 +01:00
Reditus 98f9866dea feat: add version indicator in nav bar 2026-05-14 01:24:27 +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 0f75258405 Fix update checker to force fresh check on button click 2026-05-12 03:51:25 +01:00
Reditus d1c8e5afa3 Fix missing update UI in base.html 2026-05-12 03:26:41 +01:00
Reditus 7e602a78ff Mark health data as WIP in player detail view 2026-05-12 02:18:11 +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