Commit Graph

524 Commits

Author SHA1 Message Date
Egor
66092af999 Update maintenance_service.py 2025-12-22 15:29:46 +03:00
Egor
c7eabdf90e Update remnawave_service.py 2025-12-22 15:29:21 +03:00
Egor
ee6f4b35b0 Update subscription_service.py 2025-12-22 15:29:02 +03:00
Egor
9a1e57a764 Update remnawave_service.py 2025-12-22 14:08:44 +03:00
Egor
88657dd3e2 Update remnawave_service.py 2025-12-22 14:03:33 +03:00
Egor
73e5e1b5a3 Update pinned_message_service.py 2025-12-22 13:56:15 +03:00
Egor
0951c9f6dd Add one-time pinned message delivery mode 2025-12-22 13:32:34 +03:00
Egor
a87d067133 Update exported_at to use timezone-aware datetime 2025-12-21 08:08:07 +03:00
Egor
b2027df7f3 Replace deprecated datetime.utcnow() with _utcnow()
Replaced deprecated datetime.utcnow() with a custom _utcnow() function to return current UTC time as naive datetime.
2025-12-21 08:06:52 +03:00
Egor
6482284cd8 Use configured timezone for contest scheduling
Refactor time handling to use configured timezone for scheduling.
2025-12-21 07:52:35 +03:00
Egor
7f8fbf069b Update referral_contest_service.py 2025-12-21 07:52:00 +03:00
Egor
01d3659ad2 Update stats_service.py 2025-12-21 07:16:24 +03:00
Egor
7dd0f5f7b0 Improve button configuration and logging
Refactor button construction and configuration handling.
2025-12-21 07:16:06 +03:00
Egor
cfd79f4b23 Update partner_stats_service.py 2025-12-21 07:15:39 +03:00
PEDZEO
0cd355a878 Merge pull request #2175 from BEDOLAGA-DEV/buttons
Buttons
2025-12-21 05:02:45 +03:00
Egor
344ff65710 Merge pull request #2173 from Gy9vin/main
Юкасса сдк обновление
2025-12-21 04:52:41 +03:00
PEDZEO
1b47f2aa99 Remove unused imports from partner_stats_service.py to streamline the code and improve readability. 2025-12-21 04:38:42 +03:00
PEDZEO
1d01a77457 Add global partner statistics endpoints and enhance partner-related schemas; implement detailed stats retrieval for referrers and daily statistics. 2025-12-21 04:35:58 +03:00
Egor
e487776510 Update remnawave_service.py 2025-12-21 03:40:00 +03:00
PEDZEO
1bb0a5c000 Refactor MenuLayoutStatsService to return hourly statistics as a complete list for all 24 hours, ensuring counts default to 0 when no data exists for a given hour. 2025-12-21 01:14:04 +03:00
gy9vin
2cb6dfb4aa Merge branch 'main' of https://github.com/Gy9vin/remnawave-bedolaga-telegram-bot 2025-12-21 00:38:14 +03:00
gy9vin
aab32299ac Детальная статистика по конкурсу рефералов. 2025-12-21 00:19:13 +03:00
PEDZEO
2a3f1bac76 Refactor MenuLayoutStatsService to create a dictionary for quick access to weekday statistics, ensuring all weekdays are returned with a count of 0 if no data exists. 2025-12-20 23:33:35 +03:00
PEDZEO
f4ed274623 Merge branch 'buttons' of https://github.com/Fr1ngg/remnawave-bedolaga-telegram-bot into buttons 2025-12-20 21:56:36 +03:00
PEDZEO
32c28aedea Enhance MenuLayoutStatsService to include daily, weekly, and monthly click statistics for buttons, improving analytics capabilities in the menu layout. 2025-12-20 21:56:33 +03:00
PEDZEO
69927a4db2 Improve error handling and logging in MenuLayout statistics endpoints; change button click log ordering to descending. 2025-12-20 21:50:13 +03:00
gy9vin
bdc1df737b Фикс автопродления и Фиксы конкурсов 2025-12-20 14:57:38 +03:00
gy9vin
c8c79ea807 Улучшение реферального конкурса! 2025-12-20 14:32:26 +03:00
PEDZEO
d75fc0c60f Add statistics endpoints in MenuLayoutService for button clicks, including by type, hour, weekday, top users, period comparison, and user click sequences 2025-12-20 03:32:34 +03:00
PEDZEO
931b282f5b Enhance button handling in MenuLayoutService to improve connect button identification and URL management 2025-12-20 03:27:31 +03:00
PEDZEO
10bc00d429 Merge pull request #2174 from BEDOLAGA-DEV/buttons
Buttons
2025-12-20 02:55:59 +03:00
PEDZEO
b8671ef07d Refactor subscription days variable usage in MenuLayoutService to improve clarity and consistency 2025-12-20 02:29:41 +03:00
PEDZEO
a87d52f2bc Update subscription placeholder naming in menu layout and adjust context variable accordingly 2025-12-20 02:15:51 +03:00
PEDZEO
5919cfff16 Refactor referral data retrieval and update subscription placeholder naming in menu layout 2025-12-20 01:55:26 +03:00
PEDZEO
37dd5ede9f fix 2025-12-19 23:27:00 +03:00
PEDZEO
af91423dec Merge pull request #2171 from BEDOLAGA-DEV/buttons
Buttons
2025-12-19 07:27:44 +03:00
Egor
2eb2661848 Merge pull request #2167 from BEDOLAGA-DEV/dev5
Dev5
2025-12-19 07:23:00 +03:00
PEDZEO
b81400105f Add button open mode and webapp url 2025-12-19 04:02:58 +03:00
PEDZEO
025d50675f test 2025-12-19 02:14:57 +03:00
Egor
7b60be1ec7 Add toggle for trial deactivation on channel unsubscribe 2025-12-18 03:04:13 +03:00
gy9vin
5ca0f5fc27 Еще правки 2025-12-18 00:13:57 +03:00
gy9vin
e76f2f3d50 Кнопка конкурсов + прототип налоговой. не трогайте налоговую еще!!! 2025-12-16 00:59:23 +03:00
gy9vin
2f0594e361 Конкурсная система. 2025-12-15 20:04:39 +03:00
gy9vin
1409a0ab8d Конкурсы 2025-12-14 01:38:22 +03:00
Egor
e3dccf2c1b Merge pull request #2144 from Gy9vin/main
Обновки
2025-12-12 06:04:37 +03:00
Egor
3699d248b1 Add enrich_happ_links parameter to get_all_users 2025-12-12 05:59:58 +03:00
gy9vin
5dd586e0b2 Новый фильтр Готовы к продлению 2025-12-11 22:42:37 +03:00
gy9vin
c9de084efa Фикс корзины 2025-12-11 22:25:42 +03:00
gy9vin
80785f22b0 Черный список, мониторинг суточно графика по регламенту 2025-12-10 19:13:52 +03:00
Egor
535b92d43b Merge pull request #2129 from BEDOLAGA-DEV/dev5
Обновление Api Remnawave под версию 2.3.0 + Возможность установить таги для триалов и платных подписок + Правки Web Api
2025-12-08 04:28:00 +03:00