Commit Graph

61 Commits

Author SHA1 Message Date
gy9vin
94cd06302a Фиксы UI 2026-01-16 15:58:22 +03:00
Egor
65c087aefb Update system_settings_service.py 2026-01-16 04:57:04 +03:00
PEDZEO
243eef066c Add ban notification messages and refactor notification service
- Introduced new ban notification messages for device limit, WiFi, and mobile network violations in the configuration.
- Refactored the BanNotificationService to utilize the new messages from the configuration for sending notifications.
- Added a new method to handle mobile network ban notifications.
- Updated API routes to support the new notification type for mobile network bans.
2026-01-14 07:25:09 +03:00
PEDZEO
0e24a5505c feat(subscription): добавлены новые функции для управления тарифами и трафиком
- Обновлены схемы и маршруты для поддержки покупки тарифов и управления трафиком.
- Реализована синхронизация тарифов и серверов из RemnaWave при запуске.
- Добавлены новые параметры в тарифы: server_traffic_limits и allow_traffic_topup.
- Обновлены настройки и логика для проверки доступности докупки трафика в зависимости от тарифа.
- Внедрены новые эндпоинты для работы с колесом удачи и обработка платежей через Stars.

Обновлён .env.example с новыми параметрами для режима продаж подписок.
2026-01-12 07:41:10 +03:00
Egor
23b64ffb2a Revert "Revert "Frekassa"" 2026-01-06 22:43:01 +03:00
Egor
aeaaa54920 Revert "Frekassa" 2026-01-06 22:40:35 +03:00
Egor
53a10c0640 Add files via upload 2026-01-06 20:56:44 +03:00
yazhog
800d589afa Document YooKassa VAT codes in env example 2025-12-31 12:00:48 +03:00
Egor
c9c25613af Add new traffic selection mode option 2025-12-30 18:10:08 +04:00
Egor
83cb1ec823 Add files via upload 2025-12-25 21:01:11 +03:00
Egor
791482a8a1 Update system_settings_service.py 2025-12-22 19:32:06 +03:00
Egor
fc955bd3b2 Revert "Add admin web panel miniapp toggle" 2025-12-15 07:24:41 +03:00
Egor
174f9b8517 Add admin web panel miniapp toggle 2025-12-15 07:18:45 +03:00
Egor
0892f494d9 Revert "Add internal squad management for users and trials" 2025-12-08 04:17:05 +03:00
Egor
6c41263511 Add internal squad management for users and trials 2025-12-08 04:15:18 +03:00
Egor
386b9ae998 Add configurable user tags for trial and paid subscriptions 2025-12-08 02:44:53 +03:00
Egor
9d3f096be0 Add toggle for support top-ups 2025-11-24 08:17:23 +03:00
Egor
29c6e296df Escape promo discount format hint for HTML 2025-11-23 06:36:44 +03:00
Egor
edff6d5102 Add tests for Platega payment flows and method parsing 2025-11-07 07:49:38 +03:00
Egor
47bd1be714 Update system_settings_service.py 2025-11-06 03:21:48 +03:00
Egor
777ad52bad Update system_settings_service.py 2025-11-06 03:02:31 +03:00
Egor
5fcadb5544 Update system_settings_service.py 2025-11-06 02:48:36 +03:00
Egor
0a8af20b58 Update system_settings_service.py 2025-11-06 02:23:32 +03:00
Egor
221cc05af3 Group timezone and payment verification settings 2025-11-01 05:27:56 +03:00
Egor
17768c303f Ensure env configuration takes priority over DB overrides 2025-11-01 02:50:24 +03:00
Egor
da46c18210 Revert "Add automatic Telegram Stars rate fetching and toggle" 2025-11-01 00:55:55 +03:00
Egor
61a93f86b3 Add dynamic Telegram Stars rate with auto refresh 2025-11-01 00:25:55 +03:00
Egor
e02123c1ed Add configurable retry attempts for maintenance checks 2025-10-31 22:15:05 +03:00
Egor
cf6bbffd9b Respect maintenance monitoring setting 2025-10-31 21:45:58 +03:00
Egor
2af013b75b Add template support for RemnaWave usernames 2025-10-31 21:31:54 +03:00
Egor
aa03384012 Remove referred user reward setting 2025-10-31 20:38:38 +03:00
Egor
8407f7cdb1 Restore device management button in disabled mode 2025-10-31 19:15:48 +03:00
Egor
edf4132c2d Revert "Revert "feat: auto purchase subscription after top-up"" 2025-10-26 18:27:01 +03:00
Egor
2e3c707745 Revert "Add automatic subscription purchase after balance top-up" 2025-10-26 18:26:32 +03:00
Egor
a681a9ff1b Add automatic subscription purchase after balance top-up 2025-10-26 18:04:13 +03:00
Egor
93c733aac0 Revert "Revert "Improve Pal24 and Heleket verification coverage"" 2025-10-26 10:46:38 +03:00
Egor
aacc07835e Revert "Improve Pal24 and Heleket verification coverage" 2025-10-26 10:45:35 +03:00
Egor
5b59ca3c4f Display transaction numbers in admin payment list 2025-10-26 10:28:32 +03:00
Egor
2c253382d5 Move Heleket settings into payment systems group 2025-10-21 11:21:37 +03:00
gy9vin
62777f8995 Возможность настройки простой покупки 2025-10-19 15:10:22 +03:00
Egor
0c93516056 feat: make MulenPay display name configurable 2025-10-19 01:55:10 +03:00
Egor
0f358a9691 Persist RemnaWave auto-sync schedule updates 2025-10-15 06:10:44 +03:00
Egor
53231ca074 Organize other settings into dedicated menu groups 2025-10-15 02:52:35 +03:00
Egor
fc0b7591f9 Revert "refactor: regroup config categories" 2025-10-15 02:38:40 +03:00
Egor
fd41d22322 refactor: regroup config categories 2025-10-15 02:36:11 +03:00
Egor
ac3890598f Route subscription reminders to miniapp in text mode 2025-10-12 06:40:31 +03:00
Egor
45d2ca6e25 feat: make display name banned keywords configurable 2025-10-10 00:42:17 +03:00
Egor
ea7697fd66 Enable configurable default autopay 2025-10-08 05:16:11 +03:00
Egor
6225463af1 Очистка токена внешней админки при подмене 2025-10-08 02:31:12 +03:00
Egor
9c60ef2c33 Mutate period price cache in place 2025-10-04 06:30:50 +03:00