Commit Graph

5684 Commits

Author SHA1 Message Date
Egor
5b7fdff186 Update traffic.py 2026-01-16 00:50:59 +03:00
Egor
395646168d Update subscription.py 2026-01-16 00:50:03 +03:00
Egor
23f0be4915 Update info.py 2026-01-15 18:43:34 +03:00
Egor
79904b58a9 Update config.py 2026-01-15 18:42:23 +03:00
Egor
829da095e0 Update balance.py 2026-01-15 17:59:21 +03:00
Egor
8bafcc89f5 Update balance.py 2026-01-15 17:58:52 +03:00
Egor
a80f6f8700 Add files via upload 2026-01-15 17:42:17 +03:00
Egor
2e77c5b74e Update miniapp.py 2026-01-15 17:34:39 +03:00
Egor
75108682cc Update miniapp.py 2026-01-15 17:34:16 +03:00
Egor
7113a381c5 Add files via upload 2026-01-15 17:33:28 +03:00
Egor
26865059b8 Update traffic.py 2026-01-15 17:32:20 +03:00
Egor
c4382ff69d Add files via upload 2026-01-15 17:31:39 +03:00
Egor
13770a01c6 Add files via upload 2026-01-15 17:31:15 +03:00
Egor
a2a09c8914 Update menu.py 2026-01-15 17:02:04 +03:00
Egor
bcd3c26843 Update subscription_auto_purchase_service.py 2026-01-15 17:01:35 +03:00
Egor
7f65d398bf Update models.py 2026-01-15 16:56:19 +03:00
PEDZEO
a53219525f Merge pull request #2284 from BEDOLAGA-DEV/buttons
Enhance ban notification system with delete functionality and improve…
2026-01-14 14:56:43 +03:00
PEDZEO
c868ef3b69 Enhance ban notification system with delete functionality and improved message formatting
- Added a new handler to delete ban notifications upon user interaction.
- Introduced a delete button in ban notifications for better user experience.
- Updated ban notification messages to include node information more prominently.
- Refactored the BanNotificationService to send messages with the delete button included.
2026-01-14 14:50:00 +03:00
PEDZEO
34b87cba88 Merge pull request #2283 from BEDOLAGA-DEV/buttons
Enhance ban notification messages and service to include node informa…
2026-01-14 14:10:24 +03:00
PEDZEO
3aa5e304c3 Enhance ban notification messages and service to include node information
- Updated ban notification messages to provide detailed reasons for account bans, including node information.
- Refactored the BanNotificationService to safely format messages with optional node details.
- Modified API routes and schemas to support the inclusion of node names in ban notifications.
2026-01-14 14:03:09 +03:00
Egor
4b338b3ce2 Update subscription.py 2026-01-14 09:35:16 +03:00
Egor
ba4c41a689 Update subscription.py 2026-01-14 09:22:54 +03:00
Egor
e4c4b11d74 Update subscription.py 2026-01-14 09:17:49 +03:00
Egor
5fa4cf78c0 Update subscription.py 2026-01-14 09:00:20 +03:00
Egor
d2c2f3ced0 Update subscription.py 2026-01-14 08:59:46 +03:00
Egor
7a65dd7fb6 Update branding.py 2026-01-14 08:17:57 +03:00
Egor
e33e8bcc2d Update subscription.py 2026-01-14 07:38:59 +03:00
PEDZEO
b49031ea72 Merge pull request #2282 from BEDOLAGA-DEV/buttons
Add ban notification messages and refactor notification service
2026-01-14 07:33:02 +03:00
PEDZEO
c02c5472a5 Update BanNotificationRequest schema to include new notification type for mobile network bans 2026-01-14 07:31:09 +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
e82b6cd4c0 Merge pull request #2281 from BEDOLAGA-DEV/buttons
Add tariff period selection for custom traffic in subscription flow
2026-01-14 06:52:09 +03:00
PEDZEO
e1d3363122 Implement discount calculation for custom tariff periods in subscription flow
- Added logic to calculate and apply discounts based on the selected tariff period.
- Updated state management to store discount percentages for custom days and traffic changes.
- Enhanced the tariff price calculation to incorporate discounts when confirming selections.
- Modified the tariff preview to display applicable discounts for better user clarity.
2026-01-14 06:50:19 +03:00
PEDZEO
25623ea211 Add tariff period selection for custom traffic in subscription flow
- Introduced a new function to generate a keyboard for selecting tariff periods with custom traffic.
- Enhanced the tariff price calculation logic to separate period and traffic pricing.
- Updated the custom tariff preview formatting to reflect changes in pricing structure.
- Implemented a new handler for processing the selection of tariff periods with custom traffic.
2026-01-14 06:44:36 +03:00
PEDZEO
3557c8c285 Merge pull request #2280 from BEDOLAGA-DEV/buttons
Implement custom days and traffic handling in subscription purchase flow
2026-01-14 06:41:05 +03:00
PEDZEO
84abf529de Implement custom days and traffic handling in subscription purchase flow
- Added new states for selecting custom days and traffic in the subscription process.
- Enhanced the tariff purchase handler to support custom days and traffic adjustments.
- Introduced new functions for formatting and displaying custom tariff previews.
- Updated the ban notification service to include a new notification type for WiFi bans.
- Modified API routes and schemas to accommodate the new notification type and its parameters.
2026-01-14 06:37:59 +03:00
Egor
48effb5087 Update subscription.py 2026-01-14 06:32:51 +03:00
Egor
237bd24fb3 Update subscription.py 2026-01-14 06:32:24 +03:00
Egor
6bea51b6dc Update config.py 2026-01-14 04:14:29 +03:00
Egor
834c542a57 Update yookassa.py 2026-01-14 04:13:02 +03:00
Egor
9c2b17af3b Update subscription.py 2026-01-14 04:12:18 +03:00
Egor
c9d1a6bb55 Update stars_payments.py 2026-01-14 04:11:44 +03:00
Egor
a174943bcc Update subscription.py 2026-01-14 03:35:48 +03:00
Egor
b651867aac Add files via upload 2026-01-14 03:05:04 +03:00
Egor
10b5b37c48 Update wheel_service.py 2026-01-14 02:52:56 +03:00
Egor
f19445bcf1 Update pricing.py 2026-01-14 02:52:22 +03:00
Egor
171b4e2ab4 Update main.py 2026-01-14 02:51:57 +03:00
Egor
a1ab2f3727 Update tariff.py 2026-01-14 02:39:58 +03:00
Egor
58eae42eee Add files via upload 2026-01-13 16:51:19 +03:00
Egor
6937bcbc3d Update pricing.py 2026-01-13 16:30:52 +03:00
Egor
4730cf30e9 Update config.py 2026-01-13 16:30:27 +03:00