rcourtman
|
778a2577b6
|
feat: Pulse v6 release
|
2026-03-18 16:06:30 +00:00 |
|
rcourtman
|
eb46942a40
|
test: Add edge case for extractTelegramChatID URL parse error
Test URL with control characters triggers url.Parse error path.
Coverage: 92.9% → 100%
|
2025-12-02 00:31:50 +00:00 |
|
rcourtman
|
e57e2e696b
|
test: Improve coverage for security utility functions
- Add fmt.Stringer test cases for isEmptyInterface (80% -> 100%)
- Expand isTrustedNetwork tests with edge cases (80% -> 100%)
- Empty/invalid IP strings
- Invalid CIDR handling
- Whitespace trimming in CIDRs
- Multiple network matching
|
2025-12-01 14:33:31 +00:00 |
|
rcourtman
|
0e25712d8e
|
Add unit tests for notification security utilities (notifications)
Test 7 security-related functions with 118 test cases:
- formatWebhookDuration: webhook payload duration formatting
- isNumeric: Telegram chat_id validation helper
- extractTelegramChatID: Telegram webhook URL parsing
- isPrivateIP: SSRF protection (private IP detection)
- isNumericIP: HTTPS IP address detection
- isEmptyInterface: custom field validation
- ensurePushoverCustomFieldAliases: Pushover legacy field aliasing
|
2025-11-30 08:05:04 +00:00 |
|