Commit Graph

143 Commits

Author SHA1 Message Date
PEDZEO
aa669fa3cd Refactor logging in ButtonStatsMiddleware and cleanup debug endpoints in menu_layout; streamline button click logging and enhance error handling. 2025-12-21 04:05:26 +03:00
PEDZEO
02ebcd368e Improve logging in get_top_users to include detailed user data and streamline response item creation 2025-12-21 03:15:25 +03:00
PEDZEO
7e1a2998af Add debug_stats endpoint to expose raw button click log data and enhance logging for user_id checks in get_top_users 2025-12-21 03:10:41 +03:00
PEDZEO
763d8f2aaa Enhance logging in get_stats_by_button_type to include total record count in button_click_logs and update stats logging to info level for better visibility. 2025-12-21 02:54:40 +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
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
37dd5ede9f fix 2025-12-19 23:27:00 +03:00
PEDZEO
b81400105f Add button open mode and webapp url 2025-12-19 04:02:58 +03:00
PEDZEO
8c3e71bdfd Fix menu layout update conversions 2025-12-19 03:22:44 +03:00
PEDZEO
025d50675f test 2025-12-19 02:14:57 +03:00
gy9vin
5ca0f5fc27 Еще правки 2025-12-18 00:13:57 +03:00
gy9vin
2f0594e361 Конкурсная система. 2025-12-15 20:04:39 +03:00
gy9vin
afd4fe8d1d Конкурсы +АПИ 2025-12-14 14:37:29 +03:00
Egor
81f5ce429e Fix FAQ status route matching 2025-12-10 02:09:46 +03:00
Egor
136cae68f1 Revert "Support user-specific internal squads" 2025-12-08 04:23:57 +03:00
Egor
799243a988 Support user-specific internal squads 2025-12-08 04:20:21 +03:00
Egor
d596b19d96 Fix RemnaWave squad creation success flag 2025-12-08 04:00:42 +03:00
Egor
988ffbebdb Expand Remnawave node statistics 2025-12-08 03:19:23 +03:00
Egor
10d08d5b40 Add full statistics API endpoint 2025-12-06 15:32:01 +03:00
Egor
a24b4c72e9 Add promo offer broadcast endpoint 2025-12-06 15:21:54 +03:00
Egor
479b9bc384 Add telegram id support for promo offers 2025-12-05 09:56:03 +03:00
Egor
2761255e65 Ensure ReDoc loads reliably 2025-11-28 03:58:59 +03:00
Egor
9a5b0553c6 Avoid unescaping attribute entities in sanitizer 2025-11-28 02:22:39 +03:00
Egor
f5a6dbdeec Serve miniapp app-config and fix maintenance schema 2025-11-25 04:26:54 +03:00
Egor
04279542c5 Ensure balance fields exposed in subscription events API 2025-11-25 02:10:33 +03:00
Egor
80752c3004 Fix welcome text update payload mapping 2025-11-25 01:53:01 +03:00
Egor
14c89c7aab Expand notification events 2025-11-25 01:43:07 +03:00
Egor
49b8a96a84 Handle missing creator on welcome text creation 2025-11-25 01:25:41 +03:00
Egor
2679172ae4 Fix referrer query predicate 2025-11-25 00:54:05 +03:00
Egor
3d44403318 Add user info to subscription event API 2025-11-25 00:24:32 +03:00
Egor
f40f233562 Add universal migration for referral commission column 2025-11-24 05:27:04 +03:00
Egor
eab4cce251 Add subscription events universal migration 2025-11-23 04:33:44 +03:00
Egor
86ebff4948 Serve proxy media with detected content type 2025-11-23 04:09:04 +03:00
Egor
991e5a3112 Preserve zero device limit when replacing trials 2025-11-18 01:14:43 +03:00
Egor
a02416c78b Add poll sending and ticket API enhancements 2025-11-18 00:22:46 +03:00
Egor
fadea75314 Fix renewal mixed payment logic 2025-11-14 01:30:31 +03:00
Egor
302a028873 Allow trial users to renew from miniapp 2025-11-14 00:15:43 +03:00
Egor
0a4ede8f79 Revert "feat: auto activate paid trials after balance top-up" 2025-11-12 04:44:46 +03:00
Egor
5c3484ee28 feat: auto activate paid trials after balance top-up 2025-11-12 04:27:33 +03:00
Egor
a3532e5878 Handle CryptoBot renewal payload fallbacks 2025-11-11 13:06:10 +03:00
Egor
68c125ba14 feat: expose integration metadata for miniapp payments 2025-11-11 08:11:42 +03:00
gy9vin
dd85db071a Апи поиск в боте по тгID 2025-11-10 13:53:21 +03:00
Egor
cefb8cba78 Add database health and pool metrics endpoints 2025-11-09 09:17:18 +03:00
Egor
ea61aa7053 Fix Pal24 SBP link handling after status checks 2025-11-09 06:31:02 +03:00
Egor
cd3832fef0 Handle trial provisioning failures by refunding charges 2025-11-08 08:14:49 +03:00
Egor
cb6d51ed3d Remove trial squad override setting 2025-11-08 07:55:24 +03:00
gy9vin
cfdc829f48 update 2025-11-07 22:24:43 +03:00
Egor
9fe7d0592f Expose unified health status alongside admin API 2025-11-06 18:02:08 +03:00