Commit Graph

5865 Commits

Author SHA1 Message Date
Egor 744428e4f6 Update tariff.py 2026-01-10 20:37:40 +03:00
Egor 5d1d561882 Update subscription.py 2026-01-10 20:33:55 +03:00
Egor 69f4fd2b2a Update tariffs.py 2026-01-10 20:32:57 +03:00
Egor 8690d5fa8e Update traffic.py 2026-01-10 20:32:20 +03:00
Egor 209ce2c25a Update universal_migration.py 2026-01-10 20:30:47 +03:00
Egor 90d090a048 Update models.py 2026-01-10 20:30:30 +03:00
Egor e66944e2bf Update inline.py 2026-01-10 20:29:53 +03:00
Egor 57e4ccea28 Update states.py 2026-01-10 20:29:22 +03:00
Egor 011f4428e2 Update config.py 2026-01-10 19:41:18 +03:00
Egor 4d62fa946b Update freekassa_service.py 2026-01-10 19:40:56 +03:00
Egor fc9552a1bf Add files via upload 2026-01-10 18:38:58 +03:00
Egor af5401a393 Update freekassa_service.py 2026-01-10 18:38:20 +03:00
Egor 3685af771e Update miniapp.py 2026-01-10 18:28:48 +03:00
Egor bc7470b39d Update subscription.py 2026-01-10 18:20:35 +03:00
Egor cd0a25abec Update users.py 2026-01-10 18:17:10 +03:00
Mikhail 553e8e1ecd Merge branch 'BEDOLAGA-DEV:main' into main 2026-01-10 00:47:40 +03:00
gy9vin 6e1d671df2 feat(traffic): добавлен новый мониторинг трафика v2 с проверкой дельты и snapshot
Новый функционал:
- Быстрая проверка (TRAFFIC_FAST_CHECK_*) — отслеживает дельту трафика за интервал через snapshot
- Суточная проверка (TRAFFIC_DAILY_CHECK_*) — анализирует трафик за 24 часа через bandwidth API
- Фильтрация по нодам (TRAFFIC_MONIT
2026-01-10 00:47:23 +03:00
Egor b482c76a5c Merge pull request #2248 from BEDOLAGA-DEV/dev5
Dev5
2026-01-09 19:31:47 +03:00
Egor 4e6d5b4716 Update subscription.py 2026-01-09 19:30:53 +03:00
Egor 879650c2e4 Update webhook_server.py 2026-01-09 13:11:40 +03:00
Egor d9ce09b3bf Update ru.json 2026-01-08 23:14:40 +03:00
Egor 678bd18509 Merge pull request #2247 from BEDOLAGA-DEV/main
ц
2026-01-08 23:14:18 +03:00
Egor 805e3847b9 Merge pull request #2234 from Gy9vin/main
Обновки
2026-01-08 14:43:22 +03:00
gy9vin eaeb6def51 feat(config): добавлено предупреждение после пополнения и обновлён .env.example
Новый функционал:
- SHOW_ACTIVATION_PROMPT_AFTER_TOPUP — показывает предупреждение с кнопками
  "Активировать", "Продлить", "Добавить устройства" после пополнения баланса,
  если подписка не активна (режим для новичков)

Обновлён .env.example (+138 строк):
- Redis: CART_TTL_SECONDS
- Remnawave: AUTO_SYNC_*, TRIAL_USER_TAG, PAID_SUBSCRIPTION_USER_TAG
- Трафик: BUY_TRAFFIC_BUTTON_VISIBLE, PRICE_TRAFFIC_UNLIMITED
- Автопродление: ENABLE_AUTOPAY
- Конкурсы: REFERRAL_CONTESTS_ENABLED
- YooKassa: TRUSTED_PROXY_NETWORKS
- Mulenpay: DISPLAY_NAME, IFRAME_EXPECTED_ORIGIN, DISPLAY_NAME_BANNED_KEYWORDS
- Platega: DISPLAY_NAME
- WATA: PUBLIC_KEY_CACHE_SECONDS, PUBLIC_KEY_URL
- CloudPayments: API_URL, WIDGET_URL, RETURN_URL
- Интерфейс: MENU_LAYOUT_ENABLED, MINIAPP_PURCHASE_URL, HAPP_DOWNLOAD_LINK_PC
- Web API: WORKERS, TITLE, VERSION, TOKEN_HASH_ALGORITHM, REQUEST_LOGGING,
  EXTERNAL_ADMIN_TOKEN, EXTERNAL_ADMIN_TOKEN_BOT_ID

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 11:16:52 +03:00
gy9vin 4c1ebd9f61 Merge branch 'main' of https://github.com/Gy9vin/remnawave-bedolaga-telegram-bot 2026-01-08 11:00:38 +03:00
gy9vin 51b88068bd fix(payment): добавлен параметр bot в auto_activate_subscription_after_topup
- Передача bot через getattr(self, "bot", None) во всех платёжных провайдерах
  - Добавлена отправка предупреждений пользователю при отключенной автоактивации
  - Добавлены предупреждения о необходимости активации подписки после пополнения
2026-01-08 11:00:34 +03:00
Mikhail f25ed360fc Merge branch 'BEDOLAGA-DEV:main' into main 2026-01-08 08:12:45 +03:00
Egor 75b1fff791 Delete docs/web-api-analysis-and-suggestions.md 2026-01-08 04:55:31 +03:00
Egor 4ed23caa68 Update README.md 2026-01-08 04:41:31 +03:00
Egor 098e297e3a Update README.md 2026-01-08 04:40:39 +03:00
Egor 20315cf88f Update README.md 2026-01-08 04:37:18 +03:00
Egor 28c953c5ae Update Dockerfile v2.9.5 2026-01-08 03:45:21 +03:00
Egor 685305bff2 Update docker-registry.yml 2026-01-08 03:45:09 +03:00
Egor 927eb1d240 Update docker-hub.yml 2026-01-08 03:44:57 +03:00
Egor c767473184 Merge pull request #2246 from BEDOLAGA-DEV/dev5
Freekassa fix / campaign fix
2026-01-08 03:30:28 +03:00
Egor 744e5c1453 Update campaign_service.py 2026-01-08 03:28:49 +03:00
Egor 5eb581c68e Update .env.example 2026-01-08 03:19:32 +03:00
Egor cf53801408 Update freekassa.py 2026-01-08 03:18:56 +03:00
Egor 4e59d0a071 Update freekassa_service.py 2026-01-08 03:18:31 +03:00
Egor c31de445b9 Update config.py 2026-01-08 03:18:03 +03:00
Egor cc3f78c2f8 Update subscription.py 2026-01-08 03:07:31 +03:00
Egor 5eae547cb2 Update tariff_purchase.py 2026-01-08 02:57:50 +03:00
Egor 7e8e0c1617 Update tariff_purchase.py 2026-01-08 02:54:31 +03:00
Egor 250b8d95fb Update tariff_purchase.py 2026-01-08 02:45:26 +03:00
Egor 28e868fb09 Merge pull request #2245 from BEDOLAGA-DEV/main
ц
2026-01-08 02:44:47 +03:00
Egor 45e9a29b4e Update index.html 2026-01-08 02:36:25 +03:00
Egor 8a52b34760 Update index.html 2026-01-08 02:26:36 +03:00
Egor 464df9689e Update index.html 2026-01-08 01:33:36 +03:00
Egor 6191a7a395 Update index.html 2026-01-08 01:25:27 +03:00
Egor 233f6c3490 Update index.html 2026-01-08 01:02:18 +03:00