Commit Graph

2391 Commits

Author SHA1 Message Date
Egor
a7712c7151 Add files via upload 2026-01-31 20:46:25 +03:00
Egor
418d329b75 Update subscription_auto_purchase_service.py 2026-01-31 20:45:55 +03:00
Egor
f61ee0f64a Update subscription.py 2026-01-31 20:33:39 +03:00
Egor
927ec91e0e Update admin_users.py 2026-01-31 20:12:58 +03:00
Egor
9cc2a285dc Update user.py 2026-01-31 20:12:25 +03:00
Egor
7bd5d13cc8 Update websocket.py 2026-01-31 19:50:47 +03:00
Egor
c30e22e1b1 Update subscription_auto_purchase_service.py 2026-01-31 19:50:03 +03:00
Egor
a7669d0f35 Update devices.py 2026-01-31 19:41:16 +03:00
Egor
1371f21d17 Update subscription_auto_purchase_service.py 2026-01-31 19:40:18 +03:00
Egor
ec553d3334 Update subscription.py 2026-01-31 19:39:28 +03:00
Egor
638644d1e9 Update subscription.py 2026-01-31 19:02:30 +03:00
Egor
1092301767 Update universal_migration.py 2026-01-31 18:13:42 +03:00
Egor
365f75447f Update universal_migration.py 2026-01-31 18:12:53 +03:00
Egor
68df186f72 Update admin_broadcasts.py 2026-01-31 17:50:00 +03:00
Egor
8d3bedefb0 Update broadcast_service.py 2026-01-31 17:49:30 +03:00
Egor
701a4d51de Update universal_migration.py 2026-01-31 17:49:02 +03:00
Egor
e4f182ffc6 Update broadcasts.py 2026-01-31 17:47:00 +03:00
Egor
fa94042284 Update admin_broadcasts.py 2026-01-31 17:46:37 +03:00
Egor
b258715cc1 Update broadcast_service.py 2026-01-31 17:45:59 +03:00
Egor
4e9f01d439 Add files via upload 2026-01-31 17:45:19 +03:00
Egor
dd9b33af83 Update channel_checker.py 2026-01-31 17:10:04 +03:00
Egor
11eb27437b Update devices.py 2026-01-31 17:05:35 +03:00
Egor
1bb5ef85aa Update inline.py 2026-01-31 17:04:59 +03:00
Egor
38ff15e794 Update subscription.py 2026-01-31 16:58:32 +03:00
Egor
2992dfbada Update subscription_service.py 2026-01-31 16:58:01 +03:00
Egor
28dbe3dca7 Update subscription_auto_purchase_service.py 2026-01-31 15:22:11 +03:00
Egor
f688c74aee Update monitoring_service.py 2026-01-30 23:02:00 +03:00
Egor
7000cd5bc2 Update balance.py 2026-01-30 21:04:46 +03:00
Egor
e3901c8d39 Add files via upload 2026-01-30 21:04:10 +03:00
Egor
55d817bcad Update user_service.py 2026-01-30 20:43:45 +03:00
Egor
8a9994e539 Update user_service.py 2026-01-30 20:41:42 +03:00
c0mrade
3263606702 fix: resolve circular import with lazy websocket imports
Move websocket notification imports inside functions to avoid
circular dependency when module is loaded.
2026-01-30 19:17:25 +03:00
c0mrade
86350424d5 feat(websocket): add real-time notifications for subscription and balance events
- Import and call notify_user_subscription_renewed in auto-extend flows
- Import and call notify_user_subscription_activated for new subscriptions
- Add WebSocket notifications to _auto_purchase_tariff and _auto_purchase_daily_tariff
- Add WebSocket notifications to auto_activate_subscription_after_topup
- Add notify_user_balance_topup call in payment common mixin
2026-01-30 19:04:44 +03:00
Egor
cc47cea268 Update subscription.py 2026-01-30 18:16:49 +03:00
Egor
5949460572 Update user_cart_service.py 2026-01-30 17:46:55 +03:00
Egor
fa5c217dd0 Update heleket.py 2026-01-30 16:58:40 +03:00
Egor
aa270c9ab4 Update subscription_auto_purchase_service.py 2026-01-30 16:58:12 +03:00
Egor
8078a4e64d Update remnawave_service.py 2026-01-30 16:09:13 +03:00
Egor
0c769ac16d Update config.py 2026-01-30 16:06:28 +03:00
Egor
25aba75413 Update user.py 2026-01-30 16:06:06 +03:00
Egor
9afe370a98 Add files via upload 2026-01-30 16:05:36 +03:00
Egor
6202801793 Update auth.py 2026-01-30 16:03:34 +03:00
Egor
4d48418b2c Update auth.py 2026-01-30 15:59:26 +03:00
Egor
a21dfa75f0 Update email_service.py 2026-01-30 15:59:00 +03:00
Egor
e09d9b6607 Update email_verification.py 2026-01-30 15:58:12 +03:00
Egor
3f43371e60 Update remnawave_service.py 2026-01-29 02:02:59 +03:00
Egor
d95aa7ca5c Rename SubscriptionResponse to SubscriptionData 2026-01-29 01:03:01 +03:00
Egor
f7fc7d5cb0 Refactor subscription endpoint to return SubscriptionStatusResponse 2026-01-29 01:02:40 +03:00
Egor
5d6d3b962b Update remnawave_service.py 2026-01-29 01:02:18 +03:00
Egor
0a254b1903 Improve payload management and subscription validation
Refactor payload handling and user subscription check logic.
2026-01-29 00:07:52 +03:00