Feature: Add "Online Notify" to log message context menu in main dialog
- Add "Online Notify" menu item to the log message list (m_CList_Message) right-click context menu, allowing users to extract IPv4 addresses from selected log entries and add them to notification keywords - Implement ExtractFirstIPFromMessage() for dependency-free IPv4 parsing with per-segment 0-255 validation, handling diverse log message formats - Extend NotifyManager::ShouldNotify with IP column (ONLINELIST_IP) fallback check, ensuring IP keywords match regardless of the user's configured ColumnIndex setting - OnMsglogLoginNotify only appends keywords and enables the rule without overwriting the user's existing ColumnIndex or TriggerType settings - Menu item is automatically grayed out when PowerShell is unavailable or no log entry is selected - Sync en_US / zh_TW language files with new translation strings Co-Authored-By: DeepSeek V4 Pro
This commit is contained in:
@@ -1965,3 +1965,6 @@ FRPC Զ
|
||||
搜索日志=Search Logs
|
||||
隐藏搜索=Hide Search
|
||||
请=Please
|
||||
所选日志消息中未检测到有效的 IP 地址=No valid IP address detected in the selected log messages
|
||||
所有解析出的 IP 已在上线提醒列表中=All extracted IPs are already in the login notify list
|
||||
已添加 %d 个 IP 到上线提醒列表=Added %d IP(s) to login notify list
|
||||
|
||||
@@ -1956,3 +1956,6 @@ FRPC Զ
|
||||
搜索日志=搜索日志
|
||||
隐藏搜索=隐藏搜索
|
||||
请=请
|
||||
所有解析出的 IP 已在上线提醒列表中=所有解析出的 IP 已在上線提醒列表中
|
||||
已添加 %d 个 IP 到上线提醒列表=已新增 %d 個 IP 到上線提醒列表
|
||||
所选日志消息中未检测到有效的 IP 地址=所選日誌消息中未檢測到有效的 IP 位址
|
||||
|
||||
Reference in New Issue
Block a user