huangzhenpc 889f4f15d5 Optimize database and deployment: fix SQL injection, async auth, persist data
- Move SQLite DB to data/ directory and track in git for portability
- Fix SQL injection in cleanup_old_emails (use parameterized query)
- Replace sync requests with async httpx in auth.py
- Enable WAL mode and foreign keys for SQLite
- Add UNIQUE constraint and foreign key to account_tags table
- Remove redundant indexes on primary key columns
- Mount data/ volume in docker-compose for persistence
- Remove unused requests dependency

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-06 00:57:35 +08:00
2026-03-06 00:28:54 +08:00

The file is empty.
Description
No description provided
Readme 501 KiB
Languages
Python 39.8%
JavaScript 32.6%
CSS 13.8%
HTML 13.5%
Dockerfile 0.3%