Reditus
79818f6d5d
fix: remove rate limits from API routes, keep login-only
...
Global default_limits set to [] and all per-route @limiter.limit decorators removed from api.py. Login page retains 10/min.
v0.4.1-experimental
v0.4.1-nightly
2026-05-29 16:34:50 +01:00
Reditus
f4ee1b85cf
feat: themes dual-variant, Leaflet maps, RMQ explorer, security hardening
...
Themes: 28 variants (14 light + 14 dark) with grid-based switcher
Maps: Leaflet.js smooth zoom/pan, marker clustering, search, owner labels
Experimental: RMQ queue/exchange explorer, publish, message inspector, safety gate
Security: timing-safe login, rate limiter, token env-var, session timeout, Erlang injection fix
Fixes: logout, auto-login removed, table-header theme, default dark theme, ConfigMap name
v0.4.0-experimental
v0.4.0-nightly
2026-05-29 16:03:13 +01:00
Reditus
4a94bf68ce
fix: director ConfigMap name, CSRF, ServerSetScale replicas + error handling
...
- Fix ConfigMap name derivation (strip funcom-seabass- prefix from namespace)
- Fix CSRF token missing on all 6 director POST handlers (fetch -> csrfFetch)
- Add ServerSetScale replicas management to director map cards
- Merge webOverrideCfg into cfg so UI shows active runtime overrides
- Auto-refresh after Apply and reset button state on all handlers
- Surface JSON error bodies in error banner instead of silent fail
- Fix SSL SAN handling for IP vs DNS common name
- Fix Let's Encrypt certbot paths to use project-root certbot/ dir
- Fix deploys_ok to reflect actual K8s availability
- Add active server deployment matching with restart buttons
v0.3.1-experimental
2026-05-29 11:55:57 +01:00
Reditus
0f173dc107
feat: separate dashboard database + launcher repair/cleanup options
...
- Move dashboard tables (bans, player_ips, audit_log, chat_history,
settings, player_actions) to a dedicated 'dashboard' database to
prevent pg_dump conflicts during game updates
- Add DashboardDatabaseService (legacy + backend) with auto-migration
from old dashboard schema on first startup
- Add launcher option 9: Repair Game Database (fixes schema ownership)
- Add launcher option 10: Clean up Old Dashboard Schema (drops old schema)
- Update PlayerService to fetch IPs from dashboard DB separately
- Update all routes and services to use dash_db for dashboard tables
- Add dashboard_database_name config option to settings.yaml.example
- Update README with new menu options
2026-05-27 01:02:39 +01:00
Reditus
15af849d2c
Merge nightly into main
v0.3.0
2026-05-26 14:41:28 +01:00
Reditus
6de948ecf0
Merge branch 'Experimental' into nightly
2026-05-26 13:35:36 +01:00
Reditus
fe56e429e1
docs: add menu options 7 and 8 to README
2026-05-26 13:35:24 +01:00
Reditus
91f88493ec
Merge branch 'Experimental' into nightly
2026-05-26 13:27:34 +01:00
Reditus
aeaaf49f00
fix: comprehensive reset function + diagnostics + here-string fixes
2026-05-26 13:27:17 +01:00
Reditus
20f07bbc08
feat: cross-platform setup.sh + auto-dependency install in start.sh
...
- New setup.sh: interactive YAML configurator for macOS/Linux
- Auto-detects Python, SSH key, and K8s namespace via SSH
- Generates settings.yaml with Argon2 password hashing
- Installs all Python + psycopg[binary] dependencies
- start.sh: run_setup now delegates to setup.sh
- start.sh: test_dependencies auto-installs pip packages
- start_new_dashboard: auto-installs npm + pip deps
- Both scripts made executable (chmod +x)
2026-05-25 03:16:38 +01:00
Reditus
21b6a048a1
fix: replace broken setup.sh reference with manual instructions in start.sh
2026-05-25 03:10:45 +01:00
Reditus
011ba8c8b4
refactor: ChakraUI v3 frontend + direct SQL backend services
...
Frontend:
- Replace Tailwind CSS with ChakraUI v3 (react, recharts, fontsource)
- 24 themes (12 Dune factions x day/night variants)
- Collapsible sidebar navigation with 6 groups
- Recharts AreaChart/PieChart for CPU/RAM/metrics
- New Experimental page (ports legacy admin_experimental.html)
- Common components: DataTable, Modal, Badge, Toaster
Backend:
- Fix services to use direct SQL (dune.* schema) instead of stored procedures
- PlayerService, EconomyService, GuildService, WorldService rewritten
- Auto-login for SPA development in factory.py
- Fix settings.yaml path resolution
Launcher:
- Add option [7] Start New Dashboard in launcher.ps1 and start.sh
- Auto-installs pip + npm dependencies
- Sets up SSH tunnels + kubectl port-forwards
- Starts backend API + frontend Vite dev server
Security:
- Sanitize hardcoded RMQ password in config.py
- Add frontend/dist/ to .gitignore
2026-05-25 03:08:02 +01:00
Reditus
4f5678c0b0
Merge branch 'Experimental' into nightly
2026-05-23 13:07:58 +01:00
Reditus
d7ac8a6641
fix: allow cross-origin SocketIO when host is 0.0.0.0
2026-05-23 13:07:20 +01:00
Reditus
b220792b40
feat: add missing frontend routes and components
...
- Add PlayerDetail route and all new page routes to App.tsx
- Add Vehicles, Buildings, Map, Accounts, Files, Director, Settings to NavBar
- Include Accounts page component
- Include Director page component
2026-05-23 07:33:48 +01:00
Reditus
22314a7e3f
fix: resolve syntax error in conditional rate limiter decorator
2026-05-23 07:16:41 +01:00
Reditus
79f46a221a
fix: resolve syntax error in conditional rate limiter decorator
2026-05-23 07:16:29 +01:00
Reditus
c472e5428a
fix: resolve syntax error in conditional rate limiter decorator
2026-05-23 07:16:13 +01:00
Reditus
be845f76f1
feat: complete React + Flask rebuild of dashboard
...
Backend:
- New Flask 3 app with service-layer architecture
- Pydantic v2 models and unified API response format
- psycopg3 connection pool with stored procedure support
- 14 services: DB, SSH, K8s, BGD, RMQ (admin + game), realtime, player, economy, guild, world, progression, character, audit, chat
- 30+ API endpoints covering players, guilds, economy, world, admin, server, files, director, chat
- SSE real-time events for battlegroup, chat, metrics, connection status
- SocketIO remote shell (xterm.js compatible)
- Settings CRUD, moderation (ban/kick/unban), audit logging
- Security: CSRF, rate limiting, CSP, HSTS, read-only SQL enforcement
Frontend:
- Vite + React 18 + TypeScript + Tailwind CSS
- 14 Dune house themes via CSS custom properties
- SWR for server state, Axios API client with interceptors
- 14 pages: Overview, Player Explorer + Detail, Guild Manager, Vehicles, Buildings, Map Viewer, Accounts, Server Control, Admin Tools (7 tabs), Chat Monitor, Remote Shell, File Browser, Director, Settings
- Player Detail with 6 tabs: overview, inventory, vehicles, buildings, progression, actions
- Admin Tools: broadcast, economy, world, character, functions, raw query, audit log
- Interactive canvas map viewer with zoom/pan/filter
- Toast notifications, connection badges, theme switcher
Other:
- Updated .gitignore for frontend/backend structure
- Updated README with new architecture, development guide, and project structure
- Legacy app/ templates/ static/ remain untouched
2026-05-23 07:08:30 +01:00
Reditus
fa620f4da9
Start of a refactor for new endpoints
...
It's gonna be a long night!
2026-05-22 22:21:50 +01:00
Reditus
5fad3a6e87
New systems, dashboard reforctoring starts here
2026-05-22 21:55:05 +01:00
Reditus
fd90b6cd46
feat(dashboard): Refactor database schema to dashboard namespace
2026-05-21 16:48:00 +01:00
Reditus
e18395e710
Persist firewall rules across VM reboots: re-apply iptables on startup and after SSH reconnect, checking current state to avoid duplicates
2026-05-21 14:00:18 +01:00
Reditus
2d8728edc8
Fix startup warnings: use psycopg2.sql.Identifier for ALTER TABLE OWNER (fixes single-quote syntax error), remove player_state indexes (it's a view, not a table)
2026-05-21 13:41:04 +01:00
Reditus
3e1386e6bd
Fix add_item: include stats column with empty JSON object to satisfy NOT NULL constraint
2026-05-21 13:28:07 +01:00
Reditus
5aefc883d8
Fix slot overlay clicks: remove blanket pointer-events rules that overrode overlay z-index
2026-05-21 13:21:52 +01:00
Reditus
8868ecb6fc
Fix slot clicks: replace default('null') with tojson (fixes None→null JS error), add transparent click overlay on filled slots
2026-05-21 13:18:32 +01:00
Reditus
b4df542874
Fix slot clicks: blanket pointer-events: none on all children of filled slots with !important
2026-05-21 13:11:45 +01:00
Reditus
676ded0df5
Fix inventory slot clicks: add pointer-events: none to all child elements so clicks pass through to parent slot
2026-05-21 13:08:29 +01:00
Reditus
a400aa5ed7
Fix inventory slot sizing: remove aspect-ratio forcing, use fixed height instead
2026-05-21 13:04:02 +01:00
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