Commit Graph

2 Commits

Author SHA1 Message Date
alper 367a1c428e Implement Monitor API v1.1 changes
BREAKING CHANGES:
- IP endpoint changed: ip-pool -> servers&for_monitor=1
- BurnVote: removed 'reason' field, 'monitor_id' extracted from token
- Evidence format updated with checked_at ISO timestamp

NEW FEATURES:
- Heartbeat endpoint (POST gateway-sync&action=heartbeat)
- Rate limiting with retry logic (429 handling)
- 60-second heartbeat timer in main process

DEPRECATED:
- register() method - token now created via admin panel

Files changed:
- src/shared/types.ts - Updated PanelIpInfo, BurnVote, added HeartbeatStats
- src/main/services/PanelService.ts - Full API v1.1 implementation
- src/main/index.ts - Heartbeat timer, checks counter
- src/main/preload.ts - panelHeartbeat IPC
- src/renderer/types/electron.d.ts - Updated types
2025-12-01 01:30:00 +03:00
alper adb574e68e Initial commit: IP Monitor - Modern Windows Desktop Application
Features:
- IP/Country detection from public APIs
- M3U8 playlist parsing and channel management
- Single URL channel support
- Live stream monitoring with HLS.js video player
- Ping/TCP health checks
- Stream error detection (CONNRESET, 404, timeout)
- Windows Toast notifications
- Telegram Bot notifications
- Email (SMTP) notifications
- Auto/Manual notification options
- MONITOR_API_GUIDE panel integration
- System tray support
- Persistent settings (portable mode support)
- Modern dark UI with Tailwind CSS

Tech Stack:
- Electron 28
- React 18 + TypeScript
- Vite
- Tailwind CSS + Framer Motion
- HLS.js for video playback
- electron-store for persistent data
2025-12-01 00:44:04 +03:00