Commit Graph

82 Commits

Author SHA1 Message Date
Egor cd0ce908a1 Add files via upload 2026-01-17 10:31:40 +03:00
Egor b7f8469895 Add files via upload 2026-01-17 10:31:21 +03:00
Egor 840c954203 Add files via upload 2026-01-17 10:05:30 +03:00
Egor 44a410babf Add files via upload 2026-01-17 08:50:47 +03:00
Egor 19a1d93a15 Update balance.py 2026-01-17 08:41:15 +03:00
Egor 64fe45fcfc Update balance.py 2026-01-17 08:40:37 +03:00
Egor 1f138aa772 Update admin_users.py 2026-01-17 06:51:20 +03:00
Egor ca4252c9cb Update admin_users.py 2026-01-17 06:40:12 +03:00
Egor 15386ad4d8 Update admin_users.py 2026-01-17 06:35:08 +03:00
Egor a54f5347a8 Update users.py 2026-01-17 06:28:42 +03:00
Egor c121855078 Update admin_users.py 2026-01-17 06:28:10 +03:00
Egor 8956fff7d7 Update admin_users.py 2026-01-17 06:21:14 +03:00
Egor 35b900dfe4 Add files via upload 2026-01-17 05:57:40 +03:00
Egor c1b70436b7 Add files via upload 2026-01-17 05:57:10 +03:00
Egor fd68c1c99f Add files via upload 2026-01-17 05:24:12 +03:00
Egor 0e339450f8 Add files via upload 2026-01-17 05:23:44 +03:00
Egor 248cc51e73 Add files via upload 2026-01-17 04:35:37 +03:00
Egor a5f17b6802 Add files via upload 2026-01-17 02:03:06 +03:00
Egor c804505361 Add files via upload 2026-01-17 02:02:40 +03:00
Egor 782d910f25 Add files via upload 2026-01-17 01:50:34 +03:00
PEDZEO 1a990bd776 Refactor settings handling in AdminBanSystem to improve response parsing
- Introduced a new helper function `_parse_setting_response` to streamline the parsing of settings responses from the API.
- Updated the `get_settings`, `get_setting`, `set_setting`, and `toggle_setting` endpoints to utilize the new parsing function, enhancing code readability and maintainability.
- Improved handling of settings data formats, allowing for both detailed metadata and simple values.
2026-01-16 21:04:48 +03:00
PEDZEO b0f83f3534 Новые вкладки в AdminBanSystem:
1. Traffic (Трафик) - статистика трафика, топ пользователей по трафику, последние нарушения
  2. Reports (Отчёты) - отчёты за период (6h, 12h, 24h, 48h, 72h), статистика активных пользователей и IP, топ нарушителей
  3. Settings (Настройки) - управление настройками системы банов, группировка по категориям, переключатели для bool, ввод для int
  4. Health (Здоровье) - статус системы (healthy/degraded/unhealthy), аптайм, статус компонентов
2026-01-16 20:51:28 +03:00
PEDZEO 723a49f1f1 Fix stats mapping: uptime from tcp_metrics, agents count from connected_nodes
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 19:25:20 +03:00
PEDZEO e31c9118b3 ● Готово! Исправил маппинг для нод и агентов. 2026-01-16 19:21:31 +03:00
PEDZEO 7ef416eff2 Implement logging for Ban System API checks and add endpoint for raw stats retrieval
- Added logging for Ban System API status checks, including whether the system is enabled and its configured URL.
- Introduced a new endpoint `/stats/raw` to fetch raw statistics from the Ban System API for debugging purposes.
- Enhanced logging to capture raw stats response for better monitoring.
2026-01-16 18:51:19 +03:00
PEDZEO 29d0190a05 Исправил маппинг полей. 2026-01-16 18:41:21 +03:00
Egor 5eec0aa1a0 Update balance.py 2026-01-16 18:13:25 +03:00
Egor b9801614f3 Update subscription.py 2026-01-16 17:51:28 +03:00
Egor 0ea1076761 Update subscription.py 2026-01-16 17:36:28 +03:00
PEDZEO b392a99f56 Интеграция системы мониторинга банов 2026-01-16 15:17:02 +03:00
Egor 8db459e206 Update admin_tariffs.py 2026-01-16 08:50:34 +03:00
Egor 4f3a849d03 Update tariffs.py 2026-01-16 08:50:08 +03:00
Egor 4b7dcbbca4 Update subscription.py 2026-01-16 07:25:00 +03:00
Egor 81bda22cb7 Update tariffs.py 2026-01-16 06:29:22 +03:00
Egor 9230efcd31 Update admin_tariffs.py 2026-01-16 06:29:00 +03:00
Egor 53d1828d54 Update admin_tariffs.py 2026-01-16 06:17:44 +03:00
Egor a089947aee Update subscription.py 2026-01-16 06:11:34 +03:00
Egor 0a3f67a1f0 Update tariffs.py 2026-01-16 06:02:47 +03:00
Egor 1c1a15984e Update subscription.py 2026-01-16 06:02:22 +03:00
Egor 4f66e947b9 Update subscription.py 2026-01-16 05:30:01 +03:00
Egor 46efd56e20 Update subscription.py 2026-01-16 05:21:00 +03:00
Egor 2c124f1343 Update subscription.py 2026-01-16 05:13:25 +03:00
Egor 68ce06e97e Update subscription.py 2026-01-16 05:06:54 +03:00
Egor f2e25fe585 Update admin_apps.py 2026-01-16 04:57:54 +03:00
Egor 0e907d80fa Update balance.py 2026-01-16 04:16:20 +03:00
Egor 192381d148 Update balance.py 2026-01-16 04:10:11 +03:00
Egor 73bf9b757a Update balance.py 2026-01-16 04:09:46 +03:00
Egor 0a67a55c5e Add files via upload 2026-01-16 03:59:49 +03:00
Egor 3ef4183650 Update admin_stats.py 2026-01-16 03:52:35 +03:00
Egor 365bcd15a5 Update admin_stats.py 2026-01-16 03:35:41 +03:00