900d111a5d
Refactor geo enrichment into jail_service and mark Task 14 done
2026-04-17 16:36:22 +02:00
487f252a4d
Move history geo enrichment into history service
2026-04-17 16:28:53 +02:00
8c6950afc1
Task 13: move ban_ip, unban_ip, and get_active_bans from jail_service to ban_service and update routers/tests
2026-04-17 16:22:20 +02:00
6e1e3c4546
Remove unused service protocol aliases and use direct service imports
2026-04-17 16:01:27 +02:00
7d16391c6c
Centralise DbDep and mark Task 11 complete
2026-04-17 15:44:13 +02:00
58112fb191
Move auth session signing into auth_service.login
2026-04-17 15:33:09 +02:00
33643880ed
Extract fail2ban restart orchestration into jail_service
2026-04-17 15:23:54 +02:00
c21cf82e9e
Refactor map color threshold storage into dedicated settings service
2026-04-17 15:13:07 +02:00
13b3fde274
Fix stale activation record on failed jail activation
...
Record activation only after a successful jail activate request and add regression coverage to prevent stale last_activation state.
2026-04-17 14:53:57 +02:00
73cc212e28
Invert blocklist scheduler dependency to task callback
2026-04-15 21:31:08 +02:00
cdb0c3681e
Task 3: remove config_file_service facade, update direct imports and tests
2026-04-15 21:16:00 +02:00
0e22d1c425
Move config file exceptions into app.exceptions
...
Move ConfigDirError, ConfigFileNotFoundError, ConfigFileExistsError, ConfigFileWriteError, and ConfigFileNameError from raw_config_io_service into the shared domain exception module. Update router and tests to import the exceptions from app.exceptions.
2026-04-15 10:28:27 +02:00
328f3575e2
Move Fail2Ban exceptions into central app.exceptions module
2026-04-15 10:22:48 +02:00
a79f5339bc
Refactor fail2ban DB path lookup and simplify geo router response
2026-04-15 09:15:50 +02:00
a8f2d2d7b9
Refactor geo re-resolve endpoint into geo_service and add typed response
2026-04-15 08:56:37 +02:00
b70dc6fa7a
Refactor blocklist schedule management into service
2026-04-14 15:25:36 +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
0e84f1f60c
Fix config sub-router prefixes and router tags
2026-04-14 10:25:36 +02:00
41a67d52ab
Remove ghost service imports from config router
2026-04-14 10:20:28 +02:00
56ade7fb08
Task 13: wire geo_batch_lookup through dependency injection and mark task completed
2026-04-14 09:51:23 +02:00
a564830abb
Fix blocklist service injection and centralize session cookie name
2026-04-14 09:21:38 +02:00
a5674f9e4c
Consolidate domain exceptions into app.exceptions
...
Move all shared domain exception classes to backend/app/exceptions.py and update services/routers to import the canonical exceptions. Update docs to reflect the shared exceptions source.
2026-04-13 19:35:12 +02:00
4b2e86edbb
Fix filter_config router import and mark Task 3 complete
2026-04-13 19:10:24 +02:00
e221cd414f
Split monolithic config router into focused subrouters
2026-04-12 19:41:43 +02:00
952469e667
Task 7 complete: move config operational orchestration from routers into service/task layer
2026-04-10 21:24:54 +02:00
f61d497e4e
Refactor backend auth, setup, router, and runtime state handling
2026-04-10 21:00:36 +02:00
3371ff8324
Introduce service/repository dependency protocols and tests
2026-04-10 19:51:19 +02:00
1dfc17f4f5
Replace process-local session cache with pluggable session cache backend
2026-04-10 19:22:02 +02:00
2157502670
Eliminate direct app.state access from routers
2026-04-10 19:15:37 +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
1e39e5a1d6
Refactor app helpers and use AppStateDep in config router
...
Move service-dependent helper wrappers from app.utils to app.helpers and update config router activation/rollback to use explicit AppState dependency.
2026-04-07 20:39:56 +02:00
ed3aa61c35
Refactor routers to use explicit FastAPI app dependencies
2026-04-07 20:27:06 +02:00
30e0dd71c9
Use explicit AppState dependency in config router and update task status
2026-04-07 20:15:28 +02:00
59a56f2e4f
Use dependency injection for health status and add health router regression test
2026-04-07 20:05:54 +02:00
0a70e40d8b
Refactor config router to use explicit dependency injection
2026-04-06 21:11:02 +02:00
89ab41cc9e
Convert setup guard to startup-driven cache and update tests
2026-04-06 20:38:15 +02:00
594f55d157
Refactor router dependency wiring to explicit app state providers
2026-04-06 20:12:04 +02:00
f0ee466603
backup
2026-04-06 19:49:53 +02:00
3b58179845
Refactor router dependencies to use explicit fail2ban socket and HTTP session injection
2026-04-06 16:38:17 +02:00
42c030c706
Refactor backend to use request-scoped SQLite connections
2026-04-05 23:14:46 +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
798ed08ddd
Refactor service status response: migrate bangui_version into version field
2026-03-22 21:42:08 +01:00
bf2abda595
chore: commit local changes
2026-03-22 14:24:32 +01:00
471eed9664
Rename file_config_service to raw_config_io_service and update references
2026-03-22 14:24:28 +01:00