Sync project structure and apply feature updates

- Move files from remote_copy/ to root (proper project structure)
- Add Docker setup: Dockerfile, docker-compose.yml with volume mounts
- Auto-reply: fix skip logic (only text field, not pros/cons)
- Auto-reply: fix _paginate to handle cooldown gracefully mid-pagination
- Auto-reply: fix fetch timestamp not saved on API error (infinite retry loop)
- Auto-reply: reduce EMPTY_REMAINING_FALLBACK from 600s to 150s default
- UI: add auto-reply queue display with article number (nm_id)
- UI: replace button with CSS tumbler toggle for auto-reply
- UI: add review_created_at and review_id columns to journal
- UI: add skipped/sent/error status colors to journal

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 17:46:35 +03:00
parent 79768a4fac
commit 53f1bb2e71
21 changed files with 7037 additions and 783 deletions
+16
View File
@@ -0,0 +1,16 @@
version: "3.9"
services:
app:
build: .
env_file:
- .env
environment:
- FLASK_PORT=5000
ports:
- "54119:5000"
volumes:
- ./tokens.db:/app/tokens.db
- ./app.py:/app/app.py
- ./static:/app/static
- ./templates:/app/templates