Add feedback service, reminder diagnostics and smooth week transitions

This commit is contained in:
Codex
2026-10-14 15:53:21 +08:00
parent c5e736b39b
commit 1f06e3741e
40 changed files with 3982 additions and 25 deletions
+17
View File
@@ -0,0 +1,17 @@
# Server only. Never put these secrets in Flutter, the APK, or source control.
SMTP_HOST=smtp.feishu.cn
SMTP_PORT=465
SMTP_TLS=ssl
SMTP_USERNAME=authors@glowtps.cn
SMTP_PASSWORD='REPLACE_WITH_FEISHU_MAIL_CLIENT_AUTHORIZATION_PASSWORD'
MAIL_FROM=authors@glowtps.cn
MAIL_TO=tps-david@glowtps.cn
# Generate once on the server, keep unchanged across container updates/restarts.
IDEMPOTENCY_SECRET='REPLACE_WITH_RANDOM_SECRET_AT_LEAST_32_BYTES'
DATABASE_PATH=/app/data/feedback.sqlite3
SMTP_TIMEOUT_SECONDS=15
RETENTION_DAYS=7
IP_REQUESTS_PER_HOUR=10
GLOBAL_REQUESTS_PER_HOUR=100
MAX_CONCURRENT_REQUESTS=4
UPLOAD_TIMEOUT_SECONDS=60