Spaces:
Sleeping
Sleeping
Commit History
-
Refactor anonymous chat as default homepage with stateless JWT sessions
findEthicsMajor changes: - Homepage now directly opens anonymous chat interface - Implemented JWT-based stateless sessions for anonymous users (6-hour expiry) - Added info banner showing message limits and remaining messages - Login/register buttons remain accessible in header - Added cleanup script to reset anonymous data on startup - Removed choose.html template (no longer needed) Features: - Anonymous users land directly on chat without extra clicks - Clear visual indication of anonymous status and limitations - Message counter with color-coded warnings as limit approaches - Stateless operation handles Hugging Face Spaces load balancing - Automatic cleanup of anonymous sessions on app restart This fixes session expiration issues on Hugging Face Spaces deployment385121f -
Complete user authentication system implementation
findEthics- Add comprehensive user authentication with registration and login - Implement secure password hashing and session management - Add CSRF protection and rate limiting for security - Create MongoDB integration for user accounts and chat history - Add personalized chat history per user - Implement production-ready configuration system - Add comprehensive documentation and deployment guides - Update UI with authentication forms and navigation - Add environment-based configuration management - Include security features: rate limiting, secure sessions, CSRF tokens - Add deployment tools and production readiness checks - Update requirements and documentation for production deploymentf6278c5