Commit Graph

43 Commits

Author SHA1 Message Date
Egor
991e5a3112 Preserve zero device limit when replacing trials 2025-11-18 01:14:43 +03:00
Egor
cb6d51ed3d Remove trial squad override setting 2025-11-08 07:55:24 +03:00
Pavel Stryuk
427011fe41 1) Отображение скидки на кнопках (красивое!)
2) У промогрупп появится приоритет
3) У пользователя может быть несколько промогрупп, но влиять будет только с наивысшим приоритетом
4) К промокодам можно будет добавить промогруппу. Все активировавшие промокод получат её
5) При выводе пользователей с промогруппой будет также выводиться ссылка на каждого. Можно будет отследить сливы промокодов "для своих". Я в целом это добавлю во все места, где пользователь выводится в админке
6) Исправить баг исчезновения триалки при пополнении
7) Исправить падающие тесты и добавить новых
8) Трафик: 0 ГБ в тестовой подписке исправить на Трафик: Безлимит
2025-11-04 13:05:02 +01:00
Mikhail
92cb1e3971 Merge branch 'Fr1ngg:main' into main 2025-11-02 15:08:01 +03:00
gy9vin
005fc95433 Массовая синхронизация пользователей с ремнем! 2025-11-02 15:07:28 +03:00
Egor
5ce87238c8 Fix subscription timestamps to use configured timezone 2025-11-01 04:54:12 +03:00
Egor
8407f7cdb1 Restore device management button in disabled mode 2025-10-31 19:15:48 +03:00
gy9vin
7f2e4615ee Фикс простой покупки 2025-10-19 15:52:10 +03:00
gy9vin
83a473606f Простая покупка подписки 2025-10-18 18:42:03 +03:00
Egor
e032369110 Reactivate subscriptions when extending from disabled 2025-10-13 16:52:58 +03:00
Egor
d13ff6830b Gate server counter updates for paid subscriptions 2025-10-08 07:54:31 +03:00
Egor
a020db5bc6 Fix server counters when subscriptions are removed 2025-10-08 06:57:53 +03:00
Egor
6b2af1f4a3 feat: randomize trial squad distribution 2025-10-08 06:07:31 +03:00
Egor
ea7697fd66 Enable configurable default autopay 2025-10-08 05:16:11 +03:00
Egor
6fc4eb033b Allow admins to decrease subscription days 2025-10-08 04:56:33 +03:00
Egor
60d23bedde Revert "Add tariff-based subscription mode" 2025-10-01 02:06:18 +03:00
Egor
70ad084bcd Add tariff-aware subscription API handling 2025-10-01 02:04:20 +03:00
Egor
e4743ced9b Convert extended trials to paid subscriptions 2025-09-30 00:50:57 +03:00
Egor
ca81b32502 Add configurable traffic reset on payments 2025-09-29 14:40:36 +03:00
Egor
b258bd95bd Document happ cryptolink mode in env example 2025-09-25 10:25:06 +03:00
Egor
033230f73e Revert "Add Happ crypto link connection mode with download prompts" 2025-09-25 08:51:34 +03:00
Egor
ff71f4b637 Add Happ crypto link mode and download flow 2025-09-25 08:50:22 +03:00
Egor
b64bda64dc Revert "Add Happ cryptoLink connect mode with download flow" 2025-09-25 04:33:28 +03:00
Egor
54d798f358 Add Happ cryptoLink mode and download support 2025-09-25 04:31:44 +03:00
Egor
ec6b6e6b09 Revert "feat: add Happ crypto link mode and download flow" 2025-09-25 04:12:42 +03:00
Egor
ae3c34c2fe chore: tidy migration imports 2025-09-25 03:59:03 +03:00
Egor
084363b3d6 feat: add period-based discounts for promo groups 2025-09-24 05:04:19 +03:00
Egor
4b457240b9 Add configurable base promo group period discounts 2025-09-20 09:12:26 +03:00
Egor
177862f178 Add admin promo groups and integrate discounts 2025-09-20 07:48:41 +03:00
Egor
a09b6c1431 Update subscription.py 2025-09-18 16:19:07 +03:00
yazhog
dfbaf9de21 Filter zero-cost subscription pricing details 2025-09-18 00:37:02 +03:00
yazhog
560e60b856 Persist subscription expiry notifications 2025-09-09 19:13:15 +03:00
Egor
f7c8c82775 Update subscription.py 2025-09-06 02:04:17 +03:00
Egor
f12964ecc8 Update subscription.py 2025-09-06 01:54:51 +03:00
Egor
693dce2e28 Update subscription.py 2025-09-06 01:46:49 +03:00
Egor
2a78ace675 Update subscription.py 2025-09-05 01:40:31 +03:00
Egor
f100ec62d4 Update subscription.py 2025-09-03 04:24:55 +03:00
Egor
e356542df7 Update subscription.py 2025-09-03 00:46:11 +03:00
Egor
ce954ad775 Update subscription.py 2025-09-03 00:15:42 +03:00
Egor
ff2c09d3be Update subscription.py 2025-08-26 03:20:47 +03:00
Egor
eb8b09e658 Update subscription.py 2025-08-25 03:12:46 +03:00
Egor
0ffa86ff36 Update subscription.py 2025-08-22 02:30:55 +03:00
Egor
736e4c6cae NEW VERSION
NEW VERSION
2025-08-20 23:57:04 +03:00