feat: schedule VK conversation messages
This commit is contained in:
1 parent
f7c5eb994e
commit
4590070bbc
9 files changed
+314
-2
No files matched your search
@@ -71,3 +71,6 @@ Production Belki images and Kubernetes workloads require `linux/amd64`. CI sets
|
||||
`/sudoku` is a separate public route, backed by `app/sudoku.py` and `web/sudoku.html`. A supplied nickname (case-insensitive) is intentionally only a resume key, not authentication; never present it as private storage. Games persist in `sudoku_games` through `BELKI_DATABASE_URL` in production or `SUDOKU_DB` locally. The public API must never return the saved solution, and it must keep original clues immutable. The generator is the explicitly requested `dokusan==0.1.0`; it is GPL-3.0-only, Alpha, and last released in 2023, so retain the `NOTICE`/README license disclosure and revalidate it before future runtime upgrades.
|
||||
|
||||
The final gateway Dockerfile must copy `nginx.conf` into the release image, not rely exclusively on the immutable gateway base. This keeps `/sudoku` and other route changes from producing a successful deployment with an old Nginx configuration and a public 404.
|
||||
# 2026-09-06: VK conversation scheduler
|
||||
|
||||
`app/belki/vk_scheduler.py` хранит реестр бесед, шаблоны, расписания и историю попыток в общей БД (`BELKI_DATABASE_URL` или `BELKI_HISTORY_DB`). `BelkiBot` регистрирует `chat_invite_user`/`chat_invite_user_by_link`, помечает `chat_kick_user`/`chat_leave_user` как недоступные и запускает idempotent scheduler в отдельном daemon-потоке. Админские endpoints `/api/admin/vk/conversations`, `/templates`, `/schedules` защищены существующей сессией; сообщения по умолчанию выключены.
|
||||
Reference in new issue
Block a user