feat: add 2fa support, starred items, batch operations, and logging infrastructure
- Implement two-factor authentication with TOTP verification, recovery codes, and QR code setup in auth flow - Add is_starred and last_accessed_at fields to File and Folder models for bookmarking and recency tracking - Introduce batch operation endpoints for files and folders (delete, star, unstar, move, copy) - Configure structured logging with timestamps and module names, replacing print statements - Register admin and starred routers, add global HTTPException handler with JSON error responses - Update authenticate_user and create_access_token to handle 2FA verification and token claims
This commit is contained in:
+3
-1
@@ -5,7 +5,9 @@ __pycache__/
|
||||
.*
|
||||
storage
|
||||
*.so
|
||||
|
||||
*.txt
|
||||
poetry.lock
|
||||
rbox.*
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
|
||||
Reference in New Issue
Block a user