Commit Graph

467 Commits

Author SHA1 Message Date
Egor
386b9ae998 Add configurable user tags for trial and paid subscriptions 2025-12-08 02:44:53 +03:00
Egor
23eed94009 Add functions to extract traffic bytes from user data 2025-12-08 01:32:23 +03:00
Egor
12b5a39194 Update subscription_purchase_service.py 2025-11-29 09:50:35 +03:00
Egor
7678150e6a Update subscription_auto_purchase_service.py 2025-11-29 09:50:05 +03:00
Egor
aae85683a0 Recover missing RemnaWave users during panel sync 2025-11-28 03:00:09 +03:00
Egor
ac04284d85 Handle lazy subscription access in checkout resume 2025-11-28 00:11:15 +03:00
Egor
7a70a90d63 Reduce noisy price calculation logging 2025-11-27 23:55:54 +03:00
Egor
e0f1f221df Refresh promo groups before platega finalize 2025-11-27 23:38:16 +03:00
Egor
61681b393e Fix CryptoBot saved cart notifications 2025-11-27 23:28:53 +03:00
Egor
330ace039b Avoid lazy loading during Platega payment finalization 2025-11-25 09:57:11 +03:00
Egor
f5a6dbdeec Serve miniapp app-config and fix maintenance schema 2025-11-25 04:26:54 +03:00
Egor
ae453279bf Handle late cancellation finalization 2025-11-25 02:38:17 +03:00
Egor
04279542c5 Ensure balance fields exposed in subscription events API 2025-11-25 02:10:33 +03:00
Egor
14c89c7aab Expand notification events 2025-11-25 01:43:07 +03:00
Egor
9d3f096be0 Add toggle for support top-ups 2025-11-24 08:17:23 +03:00
Egor
9b9d17b8e7 Rollback session after subscription event logging failure 2025-11-24 07:55:52 +03:00
Egor
fbb1091f8b Revert "Debit balance when closing referral withdrawals" 2025-11-24 07:29:57 +03:00
Egor
45ce615fbe Debit balance when closing referral withdrawal requests 2025-11-24 07:21:39 +03:00
Egor
9f00b56be0 Merge pull request #2002 from BEDOLAGA-DEV/j33on7-bedolaga/add-individual-referral-percentage-in-user-edit
Add universal migration for referral commission column
2025-11-24 05:35:46 +03:00
Egor
f40f233562 Add universal migration for referral commission column 2025-11-24 05:27:04 +03:00
Egor
d3a351aeba Merge pull request #1992 from BEDOLAGA-DEV/dd57ir-bedolaga/fix-validation-error-in-system-stats-response
Handle fractional uptime values in system stats
2025-11-24 05:23:15 +03:00
Egor
29c6e296df Escape promo discount format hint for HTML 2025-11-23 06:36:44 +03:00
Egor
fb010038f1 Ensure uptime seconds parsed as integer 2025-11-23 06:08:33 +03:00
Egor
c8b6830704 Clean up CryptoBot amount prompts 2025-11-21 06:32:34 +03:00
Egor
b6e333127c Revert "Clean up Telegram Stars top-up messages" 2025-11-21 03:18:10 +03:00
Egor
af42377c3b Clean up Telegram Stars top-up messages 2025-11-21 03:16:24 +03:00
Egor
545c5fd749 Eager load promo groups for autopay renewals 2025-11-20 23:12:49 +03:00
Egor
3935813336 Trim Platega descriptions by byte length 2025-11-20 01:16:25 +03:00
Egor
9136c7cfe3 Limit Platega description length 2025-11-15 00:56:11 +03:00
Egor
ac9e5cd908 Revert "Enable automatic trial activation after balance top-up" 2025-11-12 05:24:14 +03:00
Egor
8f33eb0cc6 Enable automatic trial activation after balance top-up 2025-11-12 04:45:03 +03:00
Egor
7185fde9bc Handle Platega payments when deleting users 2025-11-12 02:47:37 +03:00
Egor
a3532e5878 Handle CryptoBot renewal payload fallbacks 2025-11-11 13:06:10 +03:00
Egor
ccafb18122 Round CryptoBot top-up amounts up to whole rubles 2025-11-10 06:11:18 +03:00
Egor
f2b724a78d Adjust Pal24 callback handling and SBP link fallback 2025-11-10 05:26:02 +03:00
Egor
b15d78f8af Handle missing RemnaWave config in maintenance monitoring 2025-11-10 04:25:52 +03:00
gy9vin
eaa3c80d59 Фикс простой покупки! 2025-11-09 21:55:58 +03:00
gy9vin
33882f1e93 Фикс проверки зачисления платежа юкассы(защита от дублирования) 2025-11-09 18:31:39 +03:00
Egor
9e88eae416 Ensure YooKassa retries finish pending credits 2025-11-09 10:13:01 +03:00
Egor
cde84ff20b Handle optional Pal24 metadata fields 2025-11-09 08:23:01 +03:00
Egor
ef8142a99b Skip duplicate squad promo associations during restore 2025-11-09 07:30:54 +03:00
Egor
ea61aa7053 Fix Pal24 SBP link handling after status checks 2025-11-09 06:31:02 +03:00
Egor
43c04b7e64 Revert "Fix server category button routing in admin panel" 2025-11-09 05:55:07 +03:00
Egor
ee173190a0 Fix category edit menu callback 2025-11-09 05:48:45 +03:00
Egor
a991c59d58 Revert "Add server group backend selection logic" 2025-11-09 04:54:47 +03:00
Egor
ab51cbe96a Revert "Fix autopurchase server selection and RemnaWave stats handling" 2025-11-09 04:54:24 +03:00
Egor
a0fa7f986b Fix autopurchase server selection and RemnaWave stats handling 2025-11-09 04:50:32 +03:00
Egor
a043fc0e46 feat: add backend support for server groups 2025-11-09 04:36:33 +03:00
Egor
e83ebc4f02 Revert "Dev4" 2025-11-08 11:08:47 +03:00
Egor
e036173670 Verify YooKassa webhooks against API 2025-11-08 11:00:28 +03:00