Fix literal parsing of multiline Unraid notifications

This commit is contained in:
Mikei386
2026-09-21 19:16:54 +02:00
parent 1c41175a86
commit 5c76877bd7
3 changed files with 80 additions and 2 deletions
+11
View File
@@ -331,6 +331,17 @@ bash scripts/package.sh
### Lokaler Test
Die PHP-Statushelper lassen sich unabhängig vom laufenden MUA-Dienst testen
(PHP 8 erforderlich):
```bash
php scripts/test-notifications.php
php scripts/test-docker-update-status.php
```
Der Benachrichtigungsparser liest auch mehrzeilige URBM-Meldungen und erhält
Text wörtlich, ohne INI-Variablen wie `${HOME}` auszuwerten.
```bash
# Test-Setup (ohne Unraid)
MUA_CONFIG_DIR=/tmp/mua-test MUA_PORT=3999 MUA_CONFIG_PORT=3998 ./dist/mua-mac