2 Commits

Author SHA1 Message Date
xming521 583cba0b5b Add authentication and authorization features for the web UI
- Implemented a new authentication system in `auth.py` to manage user sessions and password security.
- Created an `AuthStore` class to handle password hashing, session management, and login/logout functionality.
- Added API endpoints for login, logout, and session validation in the FastAPI application.
- Developed a React context for authentication in `Auth.tsx`, including a login form and logout button.
- Introduced tests for private routes and session management in `test_web_auth.py`.
- Added CSS styles for the authentication page in `index-DOIy3AqG.css`.
- Included a new JavaScript file for the web application in `index-DwlWkAhO.js`.
2026-09-27 16:00:03 +08:00
xming521 7837d35030 Add unit tests for profile review and server CLI functionality
- Implement comprehensive tests for profile review endpoints, including approval, editing, and exporting facts.
- Validate snapshot import behavior and ensure proper error handling for invalid data.
- Introduce tests for server CLI options and ensure correct application of configurations.
- Test unified routes with lifespan management, authentication, and streaming responses.
2026-09-27 10:51:19 +08:00