dd2ebf863a
Security hardening: CORS lockdown, rate limiting middleware con sliding window e eviction IP stale, security headers (CSP, HSTS, X-Frame-Options), session cookie hardening, filename sanitization upload. i18n completion: internazionalizzati barcode.js e csv-export.js con bridge window.BARCODE_I18N/CSV_I18N, aggiornati .po IT/EN con 27 nuove stringhe. Tablet UX: touch target 44px per dispositivi coarse pointer. Test suite: 101 test totali (76 server + 25 client), copertura completa di tutti i router API, autenticazione, ruoli, CRUD, SPC, file upload, security integration. Infrastruttura SQLite async in-memory con fixtures. Fix critici: MissingGreenlet in recipe_service (selectinload eager), route ordering tasks.py, auth_service bcrypt diretto, Measurement.id Integer per SQLite. Documentazione: API.md (riferimento completo 40+ endpoint), DEPLOYMENT.md (guida produzione con Docker/Nginx/SSL), USER_GUIDE.md (manuale utente per ruolo). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
35 lines
454 B
Plaintext
35 lines
454 B
Plaintext
# FastAPI + ASGI
|
|
fastapi>=0.110.0
|
|
uvicorn[standard]>=0.30.0
|
|
|
|
# Database
|
|
sqlalchemy[asyncio]>=2.0.0
|
|
asyncmy>=0.2.0
|
|
alembic>=1.13.0
|
|
|
|
# Validation
|
|
pydantic>=2.0.0
|
|
pydantic-settings>=2.0.0
|
|
|
|
# Security
|
|
bcrypt>=4.0.0
|
|
|
|
# File handling
|
|
pillow>=10.0.0
|
|
python-multipart>=0.0.6
|
|
|
|
# Reports
|
|
plotly>=5.0.0
|
|
kaleido>=0.2.0
|
|
weasyprint>=62.0
|
|
|
|
# Utilities
|
|
python-dotenv>=1.0.0
|
|
|
|
# Testing
|
|
pytest>=8.0.0
|
|
pytest-asyncio>=0.23.0
|
|
httpx>=0.27.0
|
|
aiosqlite>=0.20.0
|
|
coverage>=7.0.0
|