Commit Graph

8 Commits

Author SHA1 Message Date
d6c465466a feat: add statistics API and dashboard for asset metrics
All checks were successful
Rust CI / build-test (push) Successful in 1m22s
- Implemented `/api/stats` endpoint to return JSON metrics including active assets, total uploads, storage usage, and recent activity.
- Created `stats.html` page to display real-time statistics with auto-refresh functionality.
- Enhanced asset logging to include uploader IP and detailed event information for uploads and deletions.
- Updated asset model to store uploader IP for audit purposes.
- Improved logging functionality to ensure log directory exists before writing.
- Refactored asset creation and management to support new features and logging.
2026-01-09 20:59:24 +01:00
92d3ba1929 ok
Some checks failed
Rust CI / build-test (push) Has been cancelled
2026-01-08 17:40:34 +01:00
715ae5c971 wip
All checks were successful
runner-test / test (push) Successful in 1s
runner-test / test2 (push) Successful in 1s
2026-01-06 19:21:11 +01:00
2aa2bd2c23 wip 2026-01-06 18:10:35 +01:00
28f2dc7787 wip 2026-01-06 17:35:17 +01:00
37d17dc8b8 Refactor environment variables to use LazyLock for dynamic binding address and port 2026-01-06 17:18:13 +01:00
c6eba691a8 Refactor asset and logging directory creation for improved clarity 2026-01-06 14:34:31 +01:00
6a0f1771f6 first 2026-01-06 10:10:36 +01:00