Make entry autoban opt-in, bound PPTX unpacking, unify skin DB path, prune deploy examples
checks / pytest (push) Has been cancelled
checks / moderation (push) Has been cancelled
checks / node (push) Has been cancelled

This commit is contained in:
2026-10-30 23:14:03 +03:00
parent 0ee6fb843b
commit 52018ca568
24 changed files with 168 additions and 93 deletions
+5 -10
View File
@@ -3,7 +3,7 @@
Спасибо, что зашли. Проект в бете, мейнтейнер один, времени мало — поэтому правила
простые и направлены на то, чтобы ваш PR можно было проверить быстро.
**Все PR ревьюит владелец проекта (@your-handle).** Мержится только то, что прошло ревью.
**Все PR ревьюит владелец проекта.** Мержится только то, что прошло ревью.
## С чего начать
@@ -72,16 +72,11 @@ Issues и PR можно писать по-русски или по-англий
## Вопросы
Общие вопросы и идеи — в чат проекта. Личные — @your-handle в Telegram.
Общие вопросы и идеи — в чат проекта. Личные — владельцу репозитория (`reform`) на git.reformboss.com.
Уязвимости — только приватно, см. [SECURITY.md](SECURITY.md).
## Windows checkout note
`bot/grok_bot.py` is a **symlink** to `bot/iishko_bot.py` (git mode `120000`) — production runs with that name, and internal code does `import grok_bot as g`.
On Windows git cannot create symlinks by default (`core.symlinks=false`), so the file is checked out as a **plain text file containing the target name**. `git status` stays clean, but the bot will not run from a Windows checkout without either:
- enabling symlinks: `git config core.symlinks true` + re-clone with Developer Mode / admin, or
- copying the real module: `cp bot/iishko_bot.py bot/grok_bot.py` (do **not** commit the result).
Deploy to Linux: `rsync` preserves the symlink; `tar` and `git clone`/`git bundle` restore it correctly.
`bot/grok_bot.py` — единственная реализация, обычный файл; `bot/iishko_bot.py` — тонкий
лаунчер для совместимости (см. README). Никаких symlink и копирований не нужно —
**не копируйте** `iishko_bot.py` поверх `grok_bot.py`: это затрёт реализацию.