Commit Graph
159 Commits
Author SHA1 Message Date
Reditus c5c34867c1 Tighten inventory slot sizing for sleeker look: smaller slots, icons, gaps, and border-radius 2026-05-21 12:55:45 +01:00
Reditus 7866869eb6 Fix port-forward startup: use sudo fuser to kill stale processes on ports 15433/32479; restore db_check.py for database connectivity check 2026-05-21 12:38:38 +01:00
Reditus 52f2575a20 Redesign inventory UI: compact equipped items grid, dedicated hotbar row, key items grid layout
- Equipped items (type 1): compact 5x2 grid matching main inventory sizing,
  slot labels as small uppercase badges
- Hotbar (type 5): dedicated 10-column horizontal row with minimal item display
- Key items (type 15): responsive card grid instead of plain vertical list
- Main inventory: preserve 5x7 slot grid with correct position_index mapping
2026-05-21 07:58:37 +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 8b5b38c5c2 Add launcher.bat for execution policy bypass, remove tracked scripts/, scrub real namespace from patch-battlegroup-example.sh 2026-05-21 02:47:10 +01:00
Reditus 1fcfe0f144 Remove warning banner from README 2026-05-20 11:39:01 +01:00
Reditus 3453a1ebde WIP: Inventory grid redesign (unfinished - do not use) 2026-05-20 11:36:48 +01:00
Reditus f8e08608e2 Experimental: Auto-reconnect on server restart, rate limiting disabled, inventory edit bug fixes 2026-05-20 03:10:13 +01:00
Reditus 23a7392bcd Fix debug mode: preserve debug when called from option 6 2026-05-19 07:21:03 +01:00
Reditus 16bdb2d778 Fix parameter names in create_debug_log_handler call 2026-05-19 07:10:38 +01:00
Reditus 690a3970d0 Fix debug mode enable - recursively convert PS objects to hashtables 2026-05-19 07:08:54 +01:00
Reditus fb6e62021f Fix missing sanitize_for_log import in main.py 2026-05-19 07:08:18 +01:00
Reditus 7bd0dc1584 Fix debug mode enable in launcher - use hashtable for reliable property setting 2026-05-19 07:04:28 +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 e977f8cd5b Remove delete functionality from vehicles and buildings
- Remove DELETE endpoints for vehicles and buildings from api.py
- Remove delete_vehicle() method from vehicle service
- Remove delete buttons from vehicles.html and buildings.html
2026-05-19 05:56:27 +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 b37e39e06b Delete TestDocument.txt 2026-05-18 22:08:49 +01:00
Reditus a19dce93cc Test
Blank
2026-05-18 22:03:22 +01:00
Reditus 8c195c2db0 Fix: import current_user for request logging 2026-05-18 04:27:15 +01:00
Reditus 3dc98c2fc3 Add audit logging expansion, health endpoint, and request logging
- Expand audit logging: server actions (restart, scale), login/logout with success/failure tracking
- Add sensitive data filtering to audit logs before file writes (passwords, keys, tokens)
- Add /api/health endpoint for monitoring (checks DB, SSH, K8s, miner protection, uptime)
- Add request logging middleware with timing for API/server routes
- Add X-Response-Time header to responses
2026-05-18 04:22:39 +01:00
Reditus 6b05dbb643 Fix .gitignore - exclude scripts/ and app/settings.yaml with real credentials 2026-05-18 04:14:32 +01:00
Reditus b4023fb341 Add global exception handler and audit log viewer
- Global exception handler in factory.py (404, 405, unhandled exceptions return JSON)
- AuditService for tracking admin actions (miner cleanup, toggles)
- Audit Log Viewer UI section in server.html
- Updated .gitignore to exclude app/logs/
2026-05-18 04:12:44 +01:00
Reditus ab8d0d922a Add miner protection feature with auto-cleanup and log viewer 2026-05-18 02:39:38 +01:00
Reditus e583525fed Update README 2026-05-17 21:06:19 +01:00
Reditus 6093964d0e Replace example IPs with placeholders in README
Updated example IP addresses to placeholders for better clarity.
2026-05-17 20:50:46 +01:00
Reditus ec9a86cdf1 Add non-critical warning for database port-forward failure 2026-05-16 19:55:02 +01:00
Reditus ba07989c71 Add clarification note for port-forward failures in diagnostics 2026-05-16 19:53:32 +01:00
Reditus 27d87b3d31 Relax rate limits, reduce SSH warning noise, add step logging helpers 2026-05-16 19:50:54 +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 b8da40039a Update README with map features 2026-05-16 16:12:58 +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 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 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 f23d4aa1f5 Zoom map to 50% by default (was 100%), allows seeing full map on load 2026-05-16 13:48:21 +01:00
Reditus eb63337707 Remove old HaggaBasin PNG map image 2026-05-16 13:43:16 +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 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