Gros Frumos
c7661d7c1e
Merge branch 'BATON-008-backend_dev'
2026-03-21 09:34:21 +02:00
Gros Frumos
fde7f57a7a
kin: BATON-008-backend_dev
2026-03-21 09:34:21 +02:00
Gros Frumos
b2fecc5993
kin: BATON-FIX-007-backend_dev
2026-03-21 09:30:44 +02:00
Gros Frumos
42f4251184
Merge branch 'BATON-008-backend_dev'
2026-03-21 09:19:50 +02:00
Gros Frumos
4c9fec17de
kin: BATON-008-backend_dev
2026-03-21 09:19:50 +02:00
Gros Frumos
8896bc32f4
kin: BATON-FIX-011-backend_dev
2026-03-21 09:19:29 +02:00
Gros Frumos
a2b38ef815
fix(BATON-007): add validate_bot_token() for startup detection and fix test mocks
...
- Add validate_bot_token() to backend/telegram.py: calls getMe on startup,
logs ERROR if token is invalid (never raises per #1215 contract)
- Call validate_bot_token() in lifespan() after db.init_db() for early detection
- Update conftest.py make_app_client() to mock getMe endpoint
- Add 3 tests for validate_bot_token (200, 401, network error cases)
Root cause: CHAT_ID=5190015988 (positive) was wrong — fixed to -5190015988
on server per decision #1212 . Group "Big Red Button" confirmed via getChat.
Service restarted.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 08:54:07 +02:00
Gros Frumos
dbd1048a51
Merge branch 'BATON-SEC-003-backend_dev'
2026-03-21 08:12:01 +02:00
Gros Frumos
f17ee79edb
kin: BATON-SEC-003-backend_dev
2026-03-21 08:12:01 +02:00
Gros Frumos
4b7e59d78d
kin: BATON-SEC-006-backend_dev
2026-03-21 07:56:44 +02:00
Gros Frumos
205cc8037c
Merge branch 'BATON-SEC-007-backend_dev'
2026-03-21 07:39:41 +02:00
Gros Frumos
2cf141f6ed
kin: BATON-SEC-007-backend_dev
2026-03-21 07:39:41 +02:00
Gros Frumos
4ab2f04de6
kin: BATON-SEC-002-backend_dev
2026-03-21 07:36:33 +02:00
Gros Frumos
9a450d2a84
fix: add /api/health alias endpoint
...
Adds GET /api/health as alias for /health — fixes frontend 404.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 07:18:56 +02:00
Gros Frumos
cb95c9928f
kin: BATON-005-backend_dev
2026-03-20 23:39:28 +02:00
Gros Frumos
8012cb1c0f
kin: BATON-ARCH-010 Написать unit-тесты бэкенда (tester FAILED без вывода)
2026-03-20 21:10:26 +02:00
Gros Frumos
0f8ecdfc49
kin: BATON-ARCH-012 Добавить WEBHOOK_ENABLED флаг для локальной разработки
2026-03-20 21:03:45 +02:00
Gros Frumos
9ee79f7a88
kin: BATON-ARCH-012-backend_dev
2026-03-20 21:01:48 +02:00
Gros Frumos
a1279b92e6
kin: BATON-ARCH-002-backend_dev
2026-03-20 20:50:31 +02:00
Gros Frumos
057e500d5f
kin: BATON-002 [Research] UX Designer
2026-03-20 20:44:00 +02:00