Files
uptime-kuma/server
mkdev11 8b145d2522 refactor: split MQTT check() into smaller functions
Per CommanderStorm's feedback, refactor the check() method into:
- checkKeyword() - for legacy keyword matching
- checkJsonQuery() - for legacy JSONata query
- checkConditions() - for new conditions system

Also add test cases for MQTT conditions:
- Message condition with contains operator
- Topic condition with equals operator
- Condition mismatch rejection
- Multiple conditions with AND logic

This improves readability and maintainability.
2026-01-06 03:48:31 +02:00
..
2026-01-05 20:25:22 +01:00
2025-10-25 05:22:13 +08:00
2023-12-11 02:36:08 +08:00
2023-08-11 15:46:41 +08:00
2025-12-15 14:08:14 +01:00
2023-08-11 15:46:41 +08:00
2023-08-11 15:46:41 +08:00