tractatus/public
TheFlow 18bb173c95 feat: add disk monitoring system for dev and production
Add comprehensive disk monitoring with real-time metrics:
- Backend API endpoints for disk/memory metrics (local + remote)
- Admin UI page with CSP-compliant DOM rendering
- Health status indicators with color-coded thresholds
- SSH-based remote metrics collection from OVH VPS
- Auto-refresh every 5 minutes

Backend:
- src/models/DiskMetrics.model.js: Metrics collection model
- src/controllers/diskMetrics.controller.js: 3 admin endpoints
- src/routes/diskMetrics.routes.js: Admin-authenticated routes
- src/routes/index.js: Register disk-metrics routes

Frontend:
- public/admin/disk-monitoring.html: Admin dashboard page
- public/js/admin-disk-monitoring.js: CSP-compliant UI rendering
- public/js/components/navbar-admin.js: Add disk monitoring link

Documentation:
- deployment-quickstart/UPTIME_MONITORING_SETUP.md

API endpoints:
- GET /api/admin/disk-metrics (all systems)
- GET /api/admin/disk-metrics/local (dev system)
- GET /api/admin/disk-metrics/remote (production VPS)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 11:53:55 +13:00
..
.well-known fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
admin feat: add disk monitoring system for dev and production 2025-10-29 11:53:55 +13:00
css fix(css): correct justify-center syntax error in loading overlay 2025-10-24 12:41:53 +13:00
demos feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
docs docs(deployment): fix MongoDB credential placeholder in deployment guide 2025-10-26 23:20:28 +13:00
downloads fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
fonts fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
images docs: complete research documentation publication (Phases 1-6) 2025-10-25 20:10:04 +13:00
js feat: add disk monitoring system for dev and production 2025-10-29 11:53:55 +13:00
koha fix(analytics): add tracking to koha transparency and success pages 2025-10-29 10:49:38 +13:00
locales docs(privacy): add comprehensive Umami Analytics disclosure 2025-10-29 11:30:41 +13:00
about.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
api-reference.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
architecture.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
blog-post.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
blog.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
case-submission.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
check-version.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
docs-viewer.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
docs.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
faq.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
favicon-new.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.ico fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
gdpr.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
implementer.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
implementer.html.backup fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
index.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
koha.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
leader.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
manifest.json fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
media-inquiry.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
media-triage-transparency.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
privacy.html docs(privacy): add comprehensive Umami Analytics disclosure 2025-10-29 11:30:41 +13:00
researcher.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
service-worker.js chore: bump cache version for deployment 2025-10-28 23:31:39 +13:00
test-pressure-chart.html feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
version.json chore: bump cache version for deployment 2025-10-29 00:49:26 +13:00