Commit Graph

13 Commits

Author SHA1 Message Date
650352b103 fix: enhance log file rotation to include timestamp and improve error handling 2026-01-12 17:22:06 +01:00
9e567ae760 fix: update log file handling to include timestamp in renamed log files 2026-01-12 16:28:09 +01:00
0685de8ffa fix: enhance code content display with syntax highlighting and improve logging structure 2026-01-12 16:14:47 +01:00
62f3c49e8a fix: refactor logging events to use owned asset instances and simplify log event structures 2026-01-11 09:36:40 +01:00
cde83139b1 Refactor statistics page and enhance logging
- Updated the layout and styling of the statistics page for better responsiveness and visual appeal.
- Introduced a new error page for 404 errors with user-friendly messaging and navigation options.
- Enhanced logging functionality to capture detailed events related to asset uploads, deletions, and HTTP requests.
- Implemented an AssetTracker to manage assets in memory, allowing for efficient tracking and retrieval.
- Improved the API for uploading and retrieving assets, ensuring better error handling and response formatting.
- Added auto-refresh functionality to the statistics page to keep data up-to-date.
2026-01-11 07:51:47 +01:00
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