Release v1.1.0: Add Telegram and Todoist integrations UI
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 57s
- Add telegram_integrations table to store bot token and chat_id - Add Integrations tab with Todoist and Telegram integration screens - Remove TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID from env variables - All Telegram configuration now done through UI - Telegram webhook registration happens when user saves bot token - Rename TELEGRAM_WEBHOOK_BASE_URL to WEBHOOK_BASE_URL
This commit is contained in:
11
env.example
11
env.example
@@ -26,21 +26,18 @@ PORT=8080
|
||||
WEB_PORT=3001
|
||||
|
||||
# ============================================
|
||||
# Telegram Bot Configuration (optional)
|
||||
# Telegram Bot Configuration
|
||||
# ============================================
|
||||
# Bot Token и Chat ID настраиваются через UI приложения в разделе "Интеграции" -> "Telegram"
|
||||
# Get token from @BotFather in Telegram: https://t.me/botfather
|
||||
# To get chat ID: send a message to your bot, then visit: https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates
|
||||
# Look for "chat":{"id":123456789} - that number is your chat ID
|
||||
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
|
||||
TELEGRAM_CHAT_ID=123456789
|
||||
# Base URL для автоматической настройки webhook
|
||||
# Примеры:
|
||||
# - Для production с HTTPS: https://your-domain.com
|
||||
# - Для локальной разработки с ngrok: https://abc123.ngrok.io
|
||||
# - Для прямого доступа на нестандартном порту: http://your-server:8080
|
||||
# Webhook будет настроен автоматически при старте сервера на: <TELEGRAM_WEBHOOK_BASE_URL>/webhook/telegram
|
||||
# Webhook будет настроен автоматически при старте сервера на: <WEBHOOK_BASE_URL>/webhook/telegram
|
||||
# Если не указан, webhook нужно настраивать вручную
|
||||
TELEGRAM_WEBHOOK_BASE_URL=https://your-domain.com
|
||||
WEBHOOK_BASE_URL=https://your-domain.com
|
||||
|
||||
# ============================================
|
||||
# Todoist Webhook Configuration (optional)
|
||||
|
||||
Reference in New Issue
Block a user