Commit Graph

5865 Commits

Author SHA1 Message Date
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
Egor ce7d7a206c Update config.py 2026-01-13 16:24:48 +03:00
Egor fe4e261115 Merge pull request #2275 from BEDOLAGA-DEV/buttons
Buttons
2026-01-13 03:33:39 +03:00
Egor 38613722b3 Merge pull request #2274 from SayonaraQ/fix/tickets-timezone
Fix ticket timestamps: render in local timezone
2026-01-13 03:29:00 +03:00
PEDZEO a686333603 Add support for custom days and traffic in tariffs
- Introduced fields for custom days and traffic in the tariff model, including enabling flags, pricing, and limits.
- Updated relevant routes and schemas to handle new tariff features.
- Implemented logic for purchasing and managing custom days and traffic in subscriptions.
- Added database migration scripts to accommodate new columns for tariffs and subscriptions.
2026-01-13 02:55:32 +03:00
Egor eac299d0bd Update backup_service.py 2026-01-13 01:37:46 +03:00
Egor 31241a6f01 Update backup_service.py 2026-01-13 01:31:02 +03:00
Egor e5faaa6c6f Update index.html 2026-01-13 01:27:07 +03:00
SayonaraQ 96384cfdcf Fix ticket timestamps: render in local timezone 2026-01-13 01:09:03 +03:00
Egor 91f75acb77 Update balance.py 2026-01-13 01:07:46 +03:00
Egor 11167d532b Add files via upload 2026-01-13 01:07:12 +03:00
Egor 70e747b866 Add files via upload 2026-01-13 01:06:13 +03:00
Egor 87f909d9bc Update admin.py 2026-01-13 01:05:36 +03:00
Egor 808bc2d40b Update miniapp.py 2026-01-13 01:04:50 +03:00
Egor 2f06285f69 Update messages.py 2026-01-13 00:53:08 +03:00
Egor 7fb7116101 Update messages.py 2026-01-13 00:52:02 +03:00
Egor 9d1b4bcb54 Update users.py 2026-01-13 00:22:32 +03:00
Egor 1583511854 Update tariff_purchase.py 2026-01-13 00:22:04 +03:00
Egor 45d7c2f659 Merge pull request #2273 from BEDOLAGA-DEV/dev5
Dev5
2026-01-13 00:08:04 +03:00
Egor e92b14391b Update config.py 2026-01-13 00:07:09 +03:00
Egor 61cc2a72cd Update display_name_restriction.py 2026-01-13 00:06:42 +03:00
Egor 9b3a39b13f Update balance.py 2026-01-12 23:53:04 +03:00