- backend/admin.py : module FastAPI avec 4 endpoints admin-gated - GET /api/admin/stats (CPU/RAM/Disk/Uptime via psutil) - GET /api/admin/audit (filtres user/action/limit/offset) - GET /api/admin/backup-stats (count + size + age par vault) - GET /api/admin/stream (Server-Sent Events 5s) - backend/main.py : routeur monté + middleware gzip bypass pour SSE - backend/requirements.txt : ajout psutil>=5.9 - tests/test_admin.py : 13 tests (auth + filtres + format SSE), 100% verts Pas de frontend dans cette PR — page admin.html + admin.js restent à faire.
18 lines
300 B
Plaintext
18 lines
300 B
Plaintext
fastapi==0.110.3
|
|
uvicorn==0.30.0
|
|
python-frontmatter==1.1.0
|
|
mistune==3.0.2
|
|
python-multipart==0.0.9
|
|
aiofiles==23.2.1
|
|
aiohttp>=3.9.0
|
|
watchdog>=4.0.0
|
|
argon2-cffi>=23.1.0
|
|
python-jose>=3.3.0
|
|
sortedcontainers>=2.4.0
|
|
snowballstemmer>=2.2.0
|
|
weasyprint>=60.0
|
|
httpx>=0.27.0
|
|
pypdf>=4.0
|
|
pyotp>=2.10.0
|
|
psutil>=5.9
|