Commit Graph

13 Commits

Author SHA1 Message Date
elpatron b4dd0983b1 Fix Windows deploy to use native OpenSSH instead of Git Bash.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 17:21:54 +02:00
elpatron 6be50147d2 Refactor deployment script to use repo-relative path for bash execution and streamline environment variable handling for deployment settings. 2026-06-19 17:18:58 +02:00
elpatron 7f7da149ab Add deployment scripts for git push and remote Docker rollout.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 17:16:51 +02:00
elpatron 6c65732eb1 Add per-item inventory sparklines with expandable history charts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 17:08:40 +02:00
elpatron 810ad67ab6 Add Plausible analytics with JSON Upload custom event.
Load tagged-events from plausible.elpatron.me on all pages, allow it in CSP, and track successful save uploads with import status.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 16:58:58 +02:00
elpatron 5c87df1e5e Publish port 5000 for external nginx Proxy Manager upstreams.
Map the container to the host so NPM can reach http://<host>:5000 and document the docker-network alternative in the README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 16:52:46 +02:00
elpatron e79fe34643 Fix viewer API routing under Content-Security-Policy.
Pass the viewer id via a body data attribute instead of a blocked inline script so personal links still load saved data after restart.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 16:33:59 +02:00
elpatron fdeaf04280 Add site footer and fix proxy-aware viewer URLs.
Build public links from host_url netloc behind reverse proxies so generated viewer URLs do not include the internal upstream port.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 16:27:20 +02:00
elpatron 58b9e0bb0a Harden app for production behind nginx Proxy Manager.
Remove path-based import, add rate limits and upload caps, security headers, proxy trust, bundled Chart.js, non-root Docker, and NPM deployment docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 16:23:27 +02:00
elpatron f2c564e69a Translate README to English and fix DATA_DIR resolution.
Read get_data_dir from the environment on each request so CLI and server always use the same viewer database path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 16:16:24 +02:00
elpatron f51f166fa1 Add Docker deployment and per-player secret-link viewers.
Each player gets an isolated SQLite viewer via a unique URL without login, with landing page warnings to save the link and compose-based hosting for sharing with others.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 16:06:13 +02:00
elpatron fbc2deec45 Add i18n, save validation, and tolerant import handling.
Prepare the UI for English (default/fallback) and German with auto or manual locale selection, and report import issues with client-translated warnings instead of failing on minor save format changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 15:59:57 +02:00
elpatron 4b8b921e02 Add Idle Fantasy save viewer with local Flask dashboard and SQLite history tracking.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 15:41:58 +02:00