Reditus
c7a0260569
Revise README
...
Updated the README
2026-05-30 01:35:39 +01:00
Reditus
17232053ee
Revise README
...
Updated README
2026-05-30 01:34:23 +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
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
79d9abef34
Fix updater restart to use launcher.ps1 instead of deleted start.bat
2026-05-15 18:42:07 +01:00
Reditus
56361b7a11
Fix DirectorService to use localhost instead of VM IP for SSH tunnel port-forward
2026-05-15 18:38:39 +01:00
Reditus
2378147fa9
Add auto Python install via winget and interactive dependency installer with package list
2026-05-15 18:29:08 +01:00
Reditus
de438769f5
Update GitHub remote and updater to new account name ReditusDraco
2026-05-15 18:16:42 +01:00
Reditus
1c47cf8a11
Update README: remove references to deleted scripts, update project structure and CA utilities
2026-05-15 18:00:58 +01:00
Reditus
3b95a9f07c
Update README with unified launcher workflow and new menu options
2026-05-15 18:00:02 +01:00
Reditus
ac43d14b75
Merge setup into launcher, fix DB connection, add CA cert management, and clean up redundant scripts
...
- Consolidate setup.ps1, setup.bat, setup.sh into launcher.ps1 (option 2)
- Merge install-ca-cert.bat and clean-ca-certs.bat into launcher.ps1 (options 4-5)
- Remove broken local VM direct DB connection path (DB is inside Kubernetes)
- Fix factory.py overriding database.host with server.local_ip
- Add password masking (Read-Host -AsSecureString) in setup flow
- Fix SSH key detection to prioritize battlegroup key path
- Fix SSH test output redirect (*> -> 2>)
- Delete redundant scripts and debug helpers
- Update .gitignore with new patterns
2026-05-15 17:58:03 +01:00
Reditus
ca0a36d817
Add SSH retry loop to setup for fresh VM initialization
...
- Setup now retries SSH up to 12 times (60s total) with 5s delays
- Explains that fresh VMs need time to initialize SSH keys
- Provides clear instructions for manual key deployment if retries fail
- Suppresses ugly stderr output during retry attempts
2026-05-15 16:43:09 +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
9fcaf9d762
Add files via upload
2026-05-15 09:32:18 +01:00
Reditus
3d1fc8a638
Merge local changes
2026-05-15 09:12:35 +01:00
Reditus
ea29e6942c
Fix CSS syntax error breaking theme swatches
2026-05-15 04:30:41 +01:00
Reditus
fd85388246
Update README with branching strategy
2026-05-15 04:24:45 +01:00
Reditus
2bf48876d0
Add branching strategy explanation to README
2026-05-15 04:22:37 +01:00
Reditus
e19fbb0ad1
Fix theme swatch visibility on dark dropdown
2026-05-15 04:08:08 +01:00
Reditus
85d8fbc8ae
Fix Atreides theme swatch typo
2026-05-15 04:06:02 +01:00
Reditus
2d9b4bd0b6
Fix theme dropdown - make it always dark with light text for consistency
2026-05-15 04:00:17 +01:00
Reditus
cb70b1c5f2
Fix theme dropdown contrast for all themes properly
2026-05-15 03:56:46 +01:00
Reditus
89c989b5f5
Fix theme dropdown text contrast for all themes
2026-05-15 03:52:00 +01:00
Reditus
49324a6637
Fix theme dropdown text visibility on dark themes
2026-05-15 03:49:07 +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
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
fc43648089
Rollback to previous stable state
2026-05-15 02:33:17 +01:00
Reditus
027ec13660
Remove accidental file
2026-05-15 02:21:41 +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
573fb9858c
add scripts/db_check.py for database connection test
2026-05-14 06:27:30 +01:00
Reditus
73a3428b1d
fix: run pkill directly via ssh before port-forward
2026-05-14 06:17:22 +01:00
Reditus
a2b35eb3c6
fix: run pkill directly via ssh instead of batch file
2026-05-14 06:09:53 +01:00
Reditus
d0ed5fca16
fix: kill existing port-forwards on VM before starting new ones
2026-05-14 06:06:35 +01:00
Reditus
8a061fa8e6
fix: use batch file for port-forward SSH commands to avoid quote escaping issues
2026-05-14 06:02:23 +01:00
Reditus
6a166b8ac0
fix: use sudo for kubectl port-forward commands
2026-05-14 05:36:55 +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
33dd1c57af
fix: use direct BGD pod port 11717 instead of NodePort; remove conflicting SSH tunnel forward
2026-05-14 05:26:53 +01:00
Reditus
49b38918ad
fix: SSH key detection via batch file; add director port-forward
2026-05-14 05:10:50 +01:00
Reditus
6e7bb75f17
chore: cleanup unused files, fix gitignore, update docs and settings example
2026-05-14 01:54:05 +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
a16f4319fa
fix: remove tracked VERSION file, generate dynamically for ZIP installs
2026-05-14 01:16:15 +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
6eb6948fcf
docs: update firewall description in README with chain details
2026-05-14 00:39:35 +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
15bbda3d11
docs: clarify main branch is beta, no stable release yet
2026-05-13 23:34:16 +01:00
Reditus
fb47962867
docs: make early development warning red
2026-05-13 23:32:53 +01:00
Reditus
aa5d2ca47c
docs: update README with early development warning
2026-05-13 23:31:11 +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