Enhance AutoMod functionality with default word list and improved filtering
- Introduced a default blocked words list for the WORD_FILTER, including common profanity in both English and German. - Updated the word matching logic to utilize Unicode word boundaries, reducing false positives. - Implemented a button in the WebUI to load the default word list, enhancing user experience. - Added functionality to seed default word filters only when necessary, preventing overwriting user-defined lists. - Improved localization for new features related to the word list in both English and German. - Documented changes in phase tracking to reflect the new AutoMod enhancements.
This commit is contained in:
@@ -634,3 +634,18 @@
|
||||
- [ ] AutoMod-WARN → ebenfalls DM + Case verknüpft
|
||||
- [ ] Dashboard: Warn-Tabelle zeigt `#`-Spalte
|
||||
|
||||
## Post-Phase – AutoMod Standard-Wortliste DE/EN (Status: implementiert)
|
||||
|
||||
### Abgeschlossen (Code)
|
||||
|
||||
- `DEFAULT_AUTOMOD_BLOCKED_WORDS` (gängige DE+EN Schimpfwörter) als Default für `WORD_FILTER`
|
||||
- Bestehende leere Wortlisten werden beim Ensure einmalig befüllt (außer bewusst geleert)
|
||||
- Wort-Matching über Unicode-Wortgrenzen (weniger False Positives wie `class`/`ass`)
|
||||
- Dashboard-Button „Standardliste laden (DE/EN)“
|
||||
|
||||
### Manuell testen
|
||||
|
||||
- [ ] Automod → Wortfilter: Liste ist vorausgefüllt bzw. Button lädt Defaults
|
||||
- [ ] WORD_FILTER aktivieren → Nachricht mit Blockwort wird gefiltert
|
||||
- [ ] Harmlose Wörter (`class`, `hello`) lösen keinen Treffer aus
|
||||
|
||||
|
||||
Reference in New Issue
Block a user