Commit Graph

833 Commits

Author SHA1 Message Date
Egor
1eadbfe3f8 Update campaigns.py 2026-01-17 05:14:23 +03:00
Egor
bf0627a301 Update campaigns.py 2026-01-17 05:08:14 +03:00
Egor
ea4570ba71 Update campaigns.py 2026-01-17 05:05:42 +03:00
Egor
73e4009c35 Update start.py 2026-01-17 05:02:07 +03:00
Egor
c0e3e329af Update main.py 2026-01-17 03:31:39 +03:00
Egor
e3fb2ec854 Update purchase.py 2026-01-17 03:28:29 +03:00
Egor
8b83f3d08b Update tickets.py 2026-01-17 03:28:01 +03:00
Egor
0e4f9c1ce0 Update happ.py 2026-01-17 03:07:06 +03:00
Egor
94320d4217 Add files via upload 2026-01-17 03:02:28 +03:00
Egor
44592602dc Update links.py 2026-01-17 03:00:13 +03:00
Egor
35dc9cf3e2 Update purchase.py 2026-01-17 02:54:40 +03:00
Egor
c59b823df2 Add files via upload 2026-01-17 02:45:46 +03:00
Egor
39fed57876 Update pricing.py 2026-01-17 02:41:59 +03:00
Egor
c0062b1ca3 Update promocode.py 2026-01-17 02:38:11 +03:00
Egor
5bdb06a280 Update main.py 2026-01-17 02:37:43 +03:00
Egor
a42a884eb6 Update purchase.py 2026-01-17 02:37:16 +03:00
Egor
4599801f83 Update pricing.py 2026-01-17 02:35:23 +03:00
Egor
1b4758cdbf Update monitoring.py 2026-01-17 01:16:50 +03:00
Egor
5cb0ce3030 Add files via upload 2026-01-17 01:16:10 +03:00
Mikhail
1c7ed68674 Merge branch 'main' into main 2026-01-16 12:16:23 +03:00
Egor
b088328439 Update tariffs.py 2026-01-16 08:36:08 +03:00
Egor
31fbccca26 Update tariff_purchase.py 2026-01-16 06:12:36 +03:00
Egor
dbf4c1f521 Update users.py 2026-01-16 06:12:01 +03:00
Egor
1337339d23 Update tariffs.py 2026-01-16 06:03:32 +03:00
Egor
5b7fdff186 Update traffic.py 2026-01-16 00:50:59 +03:00
Egor
a80f6f8700 Add files via upload 2026-01-15 17:42:17 +03:00
Egor
26865059b8 Update traffic.py 2026-01-15 17:32:20 +03:00
Egor
a2a09c8914 Update menu.py 2026-01-15 17:02:04 +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
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
c9d1a6bb55 Update stars_payments.py 2026-01-14 04:11:44 +03:00
Egor
b651867aac Add files via upload 2026-01-14 03:05:04 +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
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
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
SayonaraQ
96384cfdcf Fix ticket timestamps: render in local timezone 2026-01-13 01:09:03 +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
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