Spaces:
Sleeping
Sleeping
Commit History
-
Fix mobile header layout and change buttons to text
findEthics- Keep all header elements (Chatty, Login, Register) on same row for mobile - Remove vertical stacking on small screens (≤480px) - Change Login/Register buttons from emoji icons to text labels - Improve button padding and sizing for text content - Maintain proper alignment: Chatty left, buttons rightf998846
-
Optimize UI for mobile devices with minimal design
findEthics- Add responsive mobile navigation with icon buttons - Implement rounded corners throughout UI (1-2rem radius) - Remove all animations for instant, clean transitions - Create PWA manifest and app icons for mobile experience - Reorganize header: removed hamburger menu, simplified layout - Change "Create Account" to "Register" for consistency - Ensure single-row header layout across all screen sizes - Mobile: Show icon buttons (👤 for Login, ➕ for Register) - Desktop: Show text buttons for Login and Register - Improve touch targets (min 48px) and spacing on mobile - Add mobile-first responsive breakpoints - Black & white minimal design maintained throughoutb4487f6
-
Add anonymous chat access feature
findEthics- Allow users to chat without creating an account - Add choice page for selecting access mode (anonymous vs authenticated) - Implement session-based chat storage for anonymous users - Add rate limiting (20 messages/hour) for anonymous users - Add message length limits (2000 chars) for anonymous users - Update UI to show anonymous user indicators and session warnings - Maintain backward compatibility with existing authenticated flow6ec566b -
Disable CSRF protection for Hugging Face Spaces
findEthics- Add WTF_CSRF_ENABLED=False to HuggingFaceConfig - Conditionally enable/disable CSRF protection in app.py - Update templates to conditionally include CSRF tokens - Update deployment checklist with CSRF disabled settings - Add security note about HF Spaces iframe limitations This fixes the 'CSRF session token is missing' error that occurs due to Hugging Face Spaces' iframe/proxy environment where sessions don't work reliably for CSRF token validation.5c85005 -
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