backend
c42d375d6c
fix(news): drop future-dated items at ingest, hide them in /api/news
...
wiseye.org public-affairs event listings carry pubDate 3-6 days ahead; with
ORDER BY timestamp DESC they pinned the top of the feed for a week and made
the news list look frozen.
- PostgresPipeline drops items whose parsed publish date is >2h in the
future, counts future_dated_dropped (stats + one INFO line per run).
Unparseable dates keep the old behaviour (kept, timestamped now()).
- GET /api/news filters timestamp > now() in the query while still returning
timestamp IS NULL rows; limit/offset/domain/since unchanged.
- docs/news.md documents the guard.
- tests: pipeline drop/keep unit tests, API future-row exclusion + limit.
2026-11-13 21:41:44 -05:00
..
conftest.py
Add NASA FIRMS active-fire ingest + /api/fires; API keys management page
2026-08-24 15:37:42 -04:00
test_api_fires.py
Add NASA FIRMS active-fire ingest + /api/fires; API keys management page
2026-08-24 15:37:42 -04:00
test_api_live_layers.py
feat(aircraft): planespotters.net photo in aircraft popup
2026-08-28 22:58:04 -04:00
test_api_news.py
fix(news): drop future-dated items at ingest, hide them in /api/news
2026-11-13 21:41:44 -05:00
test_api_settings.py
feat: persist summarizer model in app_settings
2026-08-28 17:06:55 -04:00
test_bg_jobs.py
feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation
2026-08-28 09:35:18 -04:00
test_cache_and_timeline.py
fix: pipeline reliability — WS, summarizer, ingest, health
2026-08-28 21:49:05 -04:00
test_camera_popup_contract.py
fix: hydrate camera popup from GET /api/cameras/{id}
2026-08-28 20:04:53 -04:00
test_chokepoints.py
feat(map): chokepoint preset catalog + vessels ?src= filter
2026-08-29 14:03:15 -04:00
test_event_ingest.py
fix: pipeline reliability — WS, summarizer, ingest, health
2026-08-28 21:49:05 -04:00
test_fire_aircraft.py
feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation
2026-08-28 09:35:18 -04:00
test_fire_ingest.py
fix: chunk FIRMS bulk inserts under asyncpg 32767 bind cap
2026-08-28 22:22:12 -04:00
test_fire_sources.py
fix(ingest): skip known KEV/FIRMS rows; CI skips unchanged images
2026-08-29 19:32:00 -04:00
test_frontend_reliability.py
feat(map): chokepoint preset buttons on the Leaflet toolbar
2026-08-29 14:12:02 -04:00
test_geofence.py
feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation
2026-08-28 09:35:18 -04:00
test_gpsjam.py
feat(gpsjam): GPS interference hex overlay API (GPSJAM/ADS-B Exchange)
2026-08-29 14:17:52 -04:00
test_health_ready.py
fix: pipeline reliability — WS, summarizer, ingest, health
2026-08-28 21:49:05 -04:00
test_live_layers.py
fix(titiler): drop @1x suffix + append SAS token top-level
2026-08-29 11:42:03 -04:00
test_map_payloads.py
perf: slim fires/cameras/events/news map payloads
2026-08-27 21:19:42 -04:00
test_new_sources.py
fix(ingest): skip known KEV/FIRMS rows; CI skips unchanged images
2026-08-29 19:32:00 -04:00
test_news_scraper.py
fix(news): drop future-dated items at ingest, hide them in /api/news
2026-11-13 21:41:44 -05:00
test_phase1_guardrails.py
feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation
2026-08-28 09:35:18 -04:00
test_phase2_api.py
feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation
2026-08-28 09:35:18 -04:00
test_sentinel1_frontend.py
feat(map): Sentinel-1 SAR layer toggle (Leaflet)
2026-08-29 11:15:34 -04:00
test_tracks.py
feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation
2026-08-28 09:35:18 -04:00
test_upstream_cache.py
fix(ingest): skip known KEV/FIRMS rows; CI skips unchanged images
2026-08-29 19:32:00 -04:00
test_vesselapi.py
fix(vessels): protect Hormuz VesselAPI rows from AISStream eviction
2026-08-29 13:05:57 -04:00
test_ws_manager.py
feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation
2026-08-28 09:35:18 -04:00