This commit introduces major enhancements to Talk2Me: ## Database Integration - PostgreSQL support with SQLAlchemy ORM - Redis integration for caching and real-time analytics - Automated database initialization scripts - Migration support infrastructure ## User Authentication System - JWT-based API authentication - Session-based web authentication - API key authentication for programmatic access - User roles and permissions (admin/user) - Login history and session tracking - Rate limiting per user with customizable limits ## Admin Dashboard - Real-time analytics and monitoring - User management interface (create, edit, delete users) - System health monitoring - Request/error tracking - Language pair usage statistics - Performance metrics visualization ## Key Features - Dual authentication support (token + user accounts) - Graceful fallback for missing services - Non-blocking analytics middleware - Comprehensive error handling - Session management with security features ## Bug Fixes - Fixed rate limiting bypass for admin routes - Added missing email validation method - Improved error handling for missing database tables - Fixed session-based authentication for API endpoints 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
274 B
Plaintext
25 lines
274 B
Plaintext
flask
|
|
flask-cors
|
|
flask-sqlalchemy
|
|
flask-migrate
|
|
flask-jwt-extended
|
|
flask-bcrypt
|
|
flask-login
|
|
requests
|
|
openai-whisper
|
|
torch
|
|
ollama
|
|
pywebpush
|
|
cryptography
|
|
python-dotenv
|
|
click
|
|
colorlog
|
|
psutil
|
|
redis
|
|
psycopg2-binary
|
|
alembic
|
|
flask-socketio
|
|
python-socketio
|
|
eventlet
|
|
python-dateutil
|