Consolidate fail2ban truthy values into shared constants

This commit is contained in:
2026-04-14 09:03:49 +02:00
parent b4959133dd
commit 5a9d226cca
4 changed files with 50 additions and 13 deletions

View File

@@ -252,7 +252,7 @@ Pure helper modules with no framework dependencies.
| `config_file_utils.py` | Common file-level config utility helpers |
| `fail2ban_db_utils.py` | Fail2ban DB path discovery and ban-history parsing helpers |
| `setup_utils.py` | Setup wizard helper utilities |
| `constants.py` | Shared constants: default socket path, default database path, time-range presets, limits |
| `constants.py` | Shared constants: default socket path, default database path, time-range presets, parser truthy values, limits |
#### Configuration (`app/config.py`)

View File

@@ -264,6 +264,7 @@ The helpers layer hides import cycles rather than eliminating them and adds thre
### Task 9 — Consolidate _TRUE_VALUES into constants.py
**Status:** Completed
**Severity:** Low (part of Task 6 cleanup)
**Where:**