58bb769a35
Refactor history sync into history_service and update docs/tests
2026-04-14 15:09:58 +02:00
86fa271c40
Remove FastAPI dependency from jail config service signatures
2026-04-14 15:01:05 +02:00
6b436dc354
Fix undefined names and config router imports / task status update
2026-04-14 13:53:39 +02:00
0e5e08374f
Use shared SESSION_COOKIE_NAME in auth router tests
2026-04-14 10:33:32 +02:00
5e4d3fcf12
Remove Mock fallback from runtime_state and add runtime settings regression tests
2026-04-14 10:30:25 +02:00
cee5372690
Add backend capability cache reset helper for jail service tests
2026-04-14 10:24:14 +02:00
a564830abb
Fix blocklist service injection and centralize session cookie name
2026-04-14 09:21:38 +02:00
8e43ef9ad2
Fix setup_service to mark setup_complete only after successful runtime DB init
2026-04-12 20:30:22 +02:00
e6df045e5e
Fix startup runtime settings ordering and use effective database path for request DB connections
2026-04-12 20:02:40 +02:00
ee880e6296
Introduce explicit ApplicationContext and remove raw request.app.state usage
2026-04-12 19:56:01 +02:00
72488b14b2
Centralize fail2ban metadata resolution and cache DB path discovery
2026-04-12 19:48:33 +02:00
e271207795
Refactor fail2ban client to use vendored adapter
2026-04-12 19:25:56 +02:00
21b38365c4
Add runtime DB schema migration and version tracking
2026-04-12 19:13:36 +02:00
ffe7ada469
Consolidate setup persistence into bootstrap metadata and runtime DB
2026-04-11 20:57:55 +02:00
cd69550053
Standardize async offloading behind shared executor helper
2026-04-11 20:40:08 +02:00
ae81a8f5be
Refactor periodic tasks to use injected scheduler resources
2026-04-11 20:32:36 +02:00
9cba5a9fcb
Refactor blocklist import registration to async startup flow
2026-04-11 20:07:00 +02:00
952469e667
Task 7 complete: move config operational orchestration from routers into service/task layer
2026-04-10 21:24:54 +02:00
91e5792caf
Mark startup runtime configuration task complete and update startup resource resolution
2026-04-10 21:13:51 +02:00
3371ff8324
Introduce service/repository dependency protocols and tests
2026-04-10 19:51:19 +02:00
3b6e39ddad
Separate bootstrap settings from runtime overrides with a dedicated runtime settings manager
2026-04-10 19:31:51 +02:00
9b4cd17e3b
Harden SQLite connection defaults with WAL and busy timeout
2026-04-10 19:24:21 +02:00
1dfc17f4f5
Replace process-local session cache with pluggable session cache backend
2026-04-10 19:22:02 +02:00
ff92733f90
Move runtime application state into a dedicated runtime state manager
2026-04-10 19:07:35 +02:00
6b177f1881
Mark async socket handling task done and implement startup cleanup
2026-04-09 22:13:22 +02:00
148756fb79
Finish external HTTP client resilience: add shared aiohttp config, retry support, and update task status
2026-04-09 22:01:11 +02:00
e1d741956e
Disable session cache by default and make it opt-in for single-process deployments
2026-04-09 21:52:57 +02:00
4043cdfa3c
Harden session cookie security with configurable cookie flags
2026-04-09 21:43:32 +02:00
208f98dc97
Use session_secret for signed auth session tokens
2026-04-09 21:30:08 +02:00
6eab47f7ba
Fix setup persistence and load persisted runtime configuration
2026-04-07 21:41:55 +02:00
1fc04ed978
Extract startup resource initialization from main.py
...
Move lifespan startup logic into app.startup and remove local imports from app.main._lifespan. Mark startup wiring issue as done.
2026-04-07 20:48:29 +02:00
59a56f2e4f
Use dependency injection for health status and add health router regression test
2026-04-07 20:05:54 +02:00
e21f153946
Remove dead task DB fast-path and update task tests
2026-04-07 20:00:13 +02:00
95f72018f7
Add backend lifecycle regression tests and fix lifespan cleanup
2026-04-06 20:56:57 +02:00
c2982116a8
Add deployment-safe backend config and production-safe CORS defaults
2026-04-06 20:47:31 +02:00
1a7096b276
Add environment-driven CORS settings and backend regression tests
2026-04-06 20:42:33 +02:00
89ab41cc9e
Convert setup guard to startup-driven cache and update tests
2026-04-06 20:38:15 +02:00
3ccfc20c64
Harden fail2ban integration and mark task complete
2026-04-06 20:20:14 +02:00
5107ff10d7
Mark backend SQLite request-scoping task done and clean up test fixture
2026-04-06 19:49:29 +02:00
c51858ec71
Add country-specific companion table filtering for map page
2026-04-05 22:12:06 +02:00
ffaa14f864
Switch dashboard/map/history views to archive source for long-term data
...
Update fail2ban dbpurgeage to 648000 and history sync backfill/pagination for archive-based 7.5 day history.
2026-04-05 20:21:54 +02:00
9f05da2d4d
Complete history archive support for dashboard/map data and mark task finished
...
Add source=archive option for dashboard endpoints and history service; update Docs/Tasks.md; include archive branch for list_bans, bans_by_country, ban_trend, bans_by_jail; tests for archive paths.
2026-03-28 12:39:47 +01:00
876af46955
history archive router precedence + endpoint/source tests + history sync register test + task status update
2026-03-24 21:06:58 +01:00
0d4a2a3311
history archive purge uses current age and test uses dynamic timestamps
2026-03-24 20:52:40 +01:00
f555b1b0a2
Add server dbpurgeage warning state in API and mark task complete
2026-03-24 20:45:07 +01:00
2ea4a8304f
backup
2026-03-24 19:46:12 +01:00
798ed08ddd
Refactor service status response: migrate bangui_version into version field
2026-03-22 21:42:08 +01:00
ed184f1c84
Fix config status and missing historical filter imports
...
1) Added _get_active_jail_names import in jail_config_service 2) Added _get_active_jail_names and _parse_jails_sync imports in filter_config_service and resolved constants/exceptions 3) Added bangui_version=__version__ in config_service.get_service_status and tests
2026-03-22 20:54:44 +01:00
8e1b4fa978
test: add regression test for 500 errors
2026-03-22 20:33:43 +01:00
cf721513e8
Fix history origin filter path and add regression tests
2026-03-22 20:32:40 +01:00