Commit Graph
18 Commits
Author SHA1 Message Date
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 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 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 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 e9fb72ed02 Switch to VERSION file for update detection (works for zip downloads) 2026-05-12 03:45:43 +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