Commit Graph

2099 Commits

Author SHA1 Message Date
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
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 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
Egor 1b51886dd1 Update yookassa.py 2026-01-12 23:51:39 +03:00
Egor a9499337a0 Update messages.py 2026-01-12 23:31:28 +03:00
Egor 2745b015d7 Update miniapp.py 2026-01-12 23:25:32 +03:00
PEDZEO 8e44db357a Enhance _message_to_response function to include media_file_id in the response 2026-01-12 22:26:47 +03:00
PEDZEO ac5850746e Merge pull request #2271 from BEDOLAGA-DEV/main
merge main
2026-01-12 22:25:49 +03:00
Egor fe9feaf65d Update miniapp.py 2026-01-12 19:43:38 +03:00
Egor cec597cfd9 Update miniapp.py 2026-01-12 19:34:04 +03:00
Egor 40f1312d0b Update backup_service.py 2026-01-12 19:29:03 +03:00
Egor e4d54677fa Update miniapp.py 2026-01-12 19:25:25 +03:00
Egor 26f3d4e052 Update purchase.py 2026-01-12 18:57:50 +03:00
Egor fab17702c5 Update miniapp.py 2026-01-12 18:57:13 +03:00