Commit Graph

9 Commits

Author SHA1 Message Date
164e2162a2 Move client key to database with admin UI for key management and QR code generation
- Store client key in SQLite database instead of environment variable
- Add database migration from CLIENT_KEY environment variable to preserve existing keys
- Add admin UI with tabbed interface (Configuration and QR Code tabs)
- Implement QR code generation containing server config (address, port, key) for Android app
- Add functionality to regenerate client key with warning dialog
- Add buttons to download QR code as PNG and copy QR image to clipboard
- Add manual input fields for server address and port configuration
- Update requirements.txt with pyotp and qrcode dependencies
2025-12-27 14:29:58 -05:00
872ae74668 Migrate storage from JSON to SQLite with enhanced MVC architecture
- Replace JSON file storage with SQLite database for improved concurrency and data integrity
- Implement repository pattern with dedicated model layer (admin_model, file_model, chunk_model)
- Add database.py with automatic migration from existing JSON files
- Enable WAL mode for thread-safe concurrent access across Gunicorn workers
- Store database files in dedicated db/ folder
- Update controllers to use model layer instead of direct JSON access
- Add admin authentication system with TOTP 2FA support
2025-12-27 14:00:39 -05:00
d4be29386b Adding chunk file support 2025-04-16 21:40:35 -04:00
10983b9410 added logic to support self signed certs 2025-04-15 19:23:42 -04:00
21a6734300 refactoring how the .env is loaded 2025-04-15 08:08:22 -04:00
e0c89b4f21 require client-key for uploads 2025-04-15 07:44:20 -04:00
350a8aaab7 added endpoint for early delete (before file expires) 2025-04-14 22:57:32 -04:00
68ed19766d improving look and feel 2025-04-14 20:47:26 -04:00
688149d6af initial commit 2024-10-07 23:16:42 -04:00