6eab47f7ba
Fix setup persistence and load persisted runtime configuration
2026-04-07 21:41:55 +02:00
be46547114
backup
2026-04-07 21:15:41 +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
effcc65e1b
Document process-local auth session cache semantics
...
Clarify that dependencies.py session cache is process-local and not cluster-safe, and document the limitation in architecture docs.
2026-04-07 20:42:31 +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
e21f153946
Remove dead task DB fast-path and update task tests
2026-04-07 20:00:13 +02:00
0a70e40d8b
Refactor config router to use explicit dependency injection
2026-04-06 21:11:02 +02:00
ca4b0ed324
backup
2026-04-06 21:02:48 +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
42c030c706
Refactor backend to use request-scoped SQLite connections
2026-04-05 23:14:46 +02:00
554c75247f
Update Docs/Tasks.md
2026-04-05 22:45:41 +02:00
f1e3d4c4c9
Make Map companion table header and pagination sticky
2026-04-05 22:17:24 +02:00
c51858ec71
Add country-specific companion table filtering for map page
2026-04-05 22:12:06 +02:00
c03a5c1cbc
backup
2026-04-05 21:46:25 +02:00
8e2bb5d3fb
Migrate WorldMap to d3-geo, fix TopoJSON country ID mappings and update tests
2026-04-05 18:50:44 +02:00
bfe0daf754
Fix WorldMap hover highlight by memoizing style objects and handlers
...
Memoize per-Geography style objects with useMemo so React.memo can
skip re-renders when only the tooltip position changes. Stabilize
mouse event handlers with useCallback using data-* attributes instead
of per-Geography closures. This eliminates the state-update race
condition that caused hover fill colors to flash back to defaults.
2026-04-01 14:53:38 +02:00
13823b1182
fix(history): unify History filter bar with Jail and IP inputs
2026-04-01 09:37:38 +02:00
7967191ccd
backup
2026-03-29 21:24:12 +02:00
487cb171f2
fix(history): auto-apply history filters and remove explicit buttons
...
HistoryPage no longer requires Apply/Clear; filter state auto-syncs with query. Added guard to avoid redundant state updates. Updated task list in Docs/Tasks.md to mark completion.
2026-03-29 20:35:11 +02:00
7789353690
Add MapPage pagination and page-size selector; update Web-Design docs
2026-03-29 15:23:47 +02:00
7626c9cb60
Fix WorldMap hover tooltip/role behavior and mark task done
2026-03-29 15:01:10 +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
f555b1b0a2
Add server dbpurgeage warning state in API and mark task complete
2026-03-24 20:45:07 +01:00
a30b92471a
chore: persist docs and frontend lockfile updates
2026-03-24 20:20:35 +01:00
29587f2353
backup
2026-03-22 21:42:19 +01:00
cf721513e8
Fix history origin filter path and add regression tests
2026-03-22 20:32:40 +01:00
ee73373111
backup
2026-03-22 14:24:32 +01:00
a1f97bd78f
Refactor BlocklistsPage into section components and fix frontend lint issues
2026-03-22 14:24:32 +01:00
b15629a078
Mark Task 1 as verified done and update notes
2026-03-22 14:24:32 +01:00
136f21ecbe
Standardise frontend hook fetch error handling and mark Task 12 done
2026-03-22 14:24:32 +01:00
335f89c554
Docs: mark Task 8/9 completed and update architecture docs
2026-03-22 14:24:28 +01:00
471eed9664
Rename file_config_service to raw_config_io_service and update references
2026-03-22 14:24:28 +01:00
1f272dc348
Refactor config regex/log preview into dedicated log_service
2026-03-22 14:24:28 +01:00
f9cec2a975
Mark Task 4 (Split config_file_service) as completed
2026-03-22 14:24:28 +01:00
8a6bcc4d94
Refactor frontend date formatting helpers and mark Task 10 done
2026-03-22 14:24:28 +01:00
a442836c5c
refactor: complete Task 2/3 geo decouple + exceptions centralization; mark as done
2026-03-22 14:24:25 +01:00
3aba2b6446
backup
2026-03-22 14:24:25 +01:00
28a7610276
Refactor frontend API calls into hooks and complete task states
2026-03-22 14:24:25 +01:00
bdcdd5d672
Fix geo_re_resolve async mocks and mark tasks complete
2026-03-22 14:24:24 +01:00
482399c9e2
Remove Any type annotations from config_service.py
...
Replace Any with typed aliases (Fail2BanToken/Fail2BanCommand/Fail2BanResponse), add typed helper, and update task list.
2026-03-22 14:24:24 +01:00
ce59a66973
Move conffile_parser from services to utils
2026-03-22 14:24:24 +01:00
dfbe126368
Fix ban_service typing by replacing Any with GeoEnricher and GeoInfo
2026-03-22 14:24:24 +01:00