Commit Graph
375 Commits
Author SHA1 Message Date
BigBodyCobainandClaude Opus 5.5 26cf0dfcf0 Add ~27,000 CCTV cameras from 43 new public road-camera feeds
Ports the open, keyless camera feeds found in the MIT-licensed OSIRIS
project (github.com/simplifaisoul/osiris), plus a few more sites found on
the same platforms. Every feed was checked live on 2026-11-15 and sampled
through the media proxy.

Batch 1: 13 IBI 511 sites (AK, AZ, ID, LA, NV, UT, PA, WI, MB, NB, NS, NL,
YT); Ontario and Alberta moved to the working list feed; Spain DGT
catalog; Netherlands RWS via rwsverkeersinfo.

Batch 2: Maryland CHART and DelDOT (HLS); Virginia and South Carolina
(Iteris); TxDOT all 25 districts (base64 JPEG decoded by the proxy);
Indiana, Iowa, Nebraska, Kansas (CARS 511); Finland, Hong Kong,
Queensland, New Zealand.

Batch 3: North Carolina (511 GET query form), Oregon TripCheck statewide,
Edmonton (HLS), Iceland, Taiwan THB, Lithuania, Bizkaia, France (DIR
Centre-Est, DIR Est, Lyon, Inforoute x5, APRR), Autostrade per l'Italia.

De-duplication: WSDOT no longer re-imports its ~66 Oregon TripCheck
cameras, and the Oregon feed skips the Washington and California
cameras that WSDOT and Caltrans already supply.

The media proxy (router and main.py copies) allows the new hosts, with
profiles for Referer-checked hosts, uncompressed MP4 clips and HLS.

Left out: Japan river cameras (site forbids automated access),
Massachusetts (placeholder images, expiring tokens), MN/CO/NY (bot
challenge), Sweden (private site's internal API), YouTube-only lists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:58:24 -07:00
BigBodyCobain 68d462b70b Keep OSM basemap responsive and retain standard Docker builds 2026-11-13 19:26:18 -07:00
BigBodyCobain 591730cbde Merge remote-tracking branch 'origin/main' into codex/osm-693 2026-11-13 19:22:49 -07:00
Shadowbroker fd27e78f46 Merge pull request #705 from BigBodyCobain/codex/beautifulsoup-refresh
Update Beautiful Soup to 4.15.0
2026-11-13 19:16:10 -07:00
Shadowbroker 2317ca2e6d Merge pull request #687 from BigBodyCobain/dependabot/uv/paho-mqtt-2.1.0
chore(deps): bump paho-mqtt from 1.6.1 to 2.2.0
2026-11-13 19:09:11 -07:00
BigBodyCobain fc8b04d49f Update Beautiful Soup without unrelated lockfile changes 2026-11-13 19:03:46 -07:00
Shadowbroker 012c4eeaf4 Merge pull request #666 from BeauBoorman/sb-fixes-261104
Fix batch: SB_PIN_LAYERS guard, silent-failure logging, agent-shell port, AIS stream reconcile
2026-11-13 19:03:42 -07:00
dependabot[bot] a18ac3a267 chore(deps): bump paho-mqtt from 1.6.1 to 2.2.0
Bumps [paho-mqtt](https://github.com/eclipse-paho/paho.mqtt.python) from 1.6.1 to 2.2.0.
- [Release notes](https://github.com/eclipse-paho/paho.mqtt.python/releases)
- [Changelog](https://github.com/eclipse-paho/paho.mqtt.python/blob/master/ChangeLog.txt)
- [Commits](https://github.com/eclipse-paho/paho.mqtt.python/compare/v1.6.1...v2.2.0)

---
updated-dependencies:
- dependency-name: paho-mqtt
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-14 01:56:29 +00:00
Shadowbroker dfd0d4c0e8 Merge pull request #700 from BigBodyCobain/dependabot/docker/backend/rust-1.99-slim-bookworm
chore(deps): bump rust from 1.98-slim-bookworm to 1.99-slim-bookworm in /backend
2026-11-13 18:56:23 -07:00
BigBodyCobain 0adf626641 Require Python 3.11.5 and install patched Soup Sieve 2026-11-13 18:43:11 -07:00
BigBodyCobain 6f55659a5b Resolve map, operator access, updater, and Gemini Live issues 2026-11-13 18:10:20 -07:00
dependabot[bot] d53ad92589 chore(deps): bump rust in /backend
Bumps rust from 1.98-slim-bookworm to 1.99-slim-bookworm.

---
updated-dependencies:
- dependency-name: rust
  dependency-version: 1.99-slim-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-12 07:24:58 +00:00
esmaeelE 28381c19ba Merge remote-tracking branch 'upstream/main' into fix/osm-tile-proxy-pr649 2026-11-07 17:34:08 +03:30
esmaeelE 1030ee85e8 feat(osm): fix PR #649 review requests — add backend tile proxy, remove disabled OSM Source block, clean unused imports, revert cartoTileUrls concatenation 2026-11-07 17:12:55 +03:30
BigBodyCobainandClaude Opus 5.5 c4d7d44f3c Merge origin/main into ui/website-look
Resolve dependency conflicts by keeping the newer version of each package,
except maplibre-gl, which stays on 6.x because this branch migrated the map
worker to MapLibre 6 (main still pins 4.7):

- frontend: framer-motion 14.9, hls.js 1.7.4, lucide-react 1.66,
  maplibre-gl 6.14, @types/node 26, vite 8.3.5, vitest 4.1.12
- backend: apscheduler 3.11.3, cachetools 7.2.8, cryptography 50.0.2,
  keep anyio >= 4.14.2
- package-lock.json and uv.lock regenerated from the resolved manifests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 21:49:47 -07:00
Shadowbroker 48721027da Merge pull request #683 from BigBodyCobain/fix/666-cyber-kev-dates-ais-banner
Fix empty cyber-threats layer and false AIS outage notices
2026-11-04 21:50:58 -07:00
Beau Boorman d4ceba95ff scheduler: reconcile AIS stream to layer state every 2 min
A browser replaying a stale all-off layer preference (saved localStorage)
can stop the AIS stream mid-session and nothing restarts it, because the
enable-transition logic in the layers router only fires on an edge it
observes (seen 3x in one night). This job converges stream state to layer
state every 2 minutes. It returns early and stays silent when the stream
cannot run at all (no AIS_API_KEY, or the AIS proxy disabled) so an
unconfigured deployment never warn-loops. Prune behavior is untouched.
2026-11-04 22:49:34 -06:00
Beau Boorman c7a0881114 logging: surface silently-swallowed fetch failures (oracle resolution, wastewater, country risk)
Three except:continue sites swallowed real errors, producing plausible
zeros or hiding state damage: market end_date parsing, WastewaterSCAN
per-plant futures, USGS quake-risk enrichment. Adds a WARN log with the
exception before continuing, matching the pattern already used at the
CISA date-parsing and AIS cache-wipe sites.
2026-11-04 22:48:54 -06:00
Beau Boorman 13a98aeafc api_settings: allow SB_PIN_LAYERS to persist via operator env loader 2026-11-04 22:48:40 -06:00
Beau Boorman f25c05de16 layers: SB_PIN_LAYERS env guards pinned layers against dashboard all-off replays
Third occurrence tonight: stale dashboard sessions replay saved all-off layer
state via POST /api/layers on every reload, killing the AIS stream and
cyber_threats. SB_PIN_LAYERS=ships_military,...,cyber_threats makes the
endpoint silently ignore disable requests for pinned layers (logged at WARN).
Unpin = remove env var + restart.
2026-11-04 22:48:40 -06:00
Shadowbroker 82357b7572 Merge pull request #679 from BigBodyCobain/dependabot/uv/sentinelhub-3.12.0
chore(deps): bump sentinelhub from 3.11.5 to 3.12.0
2026-11-04 21:32:09 -07:00
Shadowbroker 54ea1e058b Merge pull request #680 from BigBodyCobain/dependabot/uv/playwright-1.64.1
chore(deps): bump playwright from 1.64.0 to 1.64.1
2026-11-04 21:31:48 -07:00
Shadowbroker afcb2cfbac Merge pull request #682 from BigBodyCobain/dependabot/uv/cachetools-7.2.8
chore(deps): bump cachetools from 7.2.6 to 7.2.8
2026-11-04 21:31:20 -07:00
dependabot[bot] 4e0b7ef3b3 chore(deps): bump requests from 2.33.0 to 2.34.2
Bumps [requests](https://github.com/psf/requests) from 2.33.0 to 2.34.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.33.0...v2.34.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.34.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 03:36:22 +00:00
dependabot[bot] 5286e3dcee chore(deps): bump playwright from 1.64.0 to 1.64.1
Bumps [playwright](https://github.com/microsoft/playwright-python) from 1.64.0 to 1.64.1.
- [Release notes](https://github.com/microsoft/playwright-python/releases)
- [Commits](https://github.com/microsoft/playwright-python/compare/v1.64.0...v1.64.1)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.64.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 03:36:16 +00:00
f30e2a1393 Fix empty cyber-threats layer and false AIS outage notices
Both found by @BeauBoorman running Shadowbroker live (#666).

Cyber threats: CISA KEV dateAdded values are date-only ("2026-11-03"), so
fromisoformat() returns naive datetimes and subtracting them from an aware
"now" raised TypeError. The bare except skipped every entry, so the layer
always showed zero recent CVEs from a healthy catalog. Parse them as UTC.

AIS: with every ship layer off the stream is stopped on purpose, but the
banner still blamed AISStream (and suggested an AISHub signup) and
/api/health reported "degraded" when AIS_API_KEY was set. ais_proxy_status()
now reports ship_layers_active; the banner and the health escalation skip
that case. Older backends without the field keep the old behavior.

Tests for both run in the CI backend smoke set; new banner tests cover the
frontend.

Co-Authored-By: Beau Boorman <216379357+BeauBoorman@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 20:34:35 -07:00
dependabot[bot] ef33e034d5 chore(deps): bump pydantic-settings from 2.8.1 to 2.15.0
Bumps [pydantic-settings](https://github.com/pydantic/pydantic-settings) from 2.8.1 to 2.15.0.
- [Release notes](https://github.com/pydantic/pydantic-settings/releases)
- [Commits](https://github.com/pydantic/pydantic-settings/compare/v2.8.1...v2.15.0)

---
updated-dependencies:
- dependency-name: pydantic-settings
  dependency-version: 2.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 03:27:30 +00:00
dependabot[bot] b340ef9f0e chore(deps): bump cachetools from 7.2.6 to 7.2.8
Bumps [cachetools](https://github.com/tkem/cachetools) from 7.2.6 to 7.2.8.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v7.2.6...v7.2.8)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 7.2.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 03:26:23 +00:00
dependabot[bot] c9ae60c3d0 chore(deps): bump sentinelhub from 3.11.5 to 3.12.0
Bumps [sentinelhub](https://github.com/sentinel-hub/sentinelhub-py) from 3.11.5 to 3.12.0.
- [Release notes](https://github.com/sentinel-hub/sentinelhub-py/releases)
- [Changelog](https://github.com/sentinel-hub/sentinelhub-py/blob/master/CHANGELOG.MD)
- [Commits](https://github.com/sentinel-hub/sentinelhub-py/compare/v3.11.5...v3.12.0)

---
updated-dependencies:
- dependency-name: sentinelhub
  dependency-version: 3.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 03:25:57 +00:00
Shadowbroker 8688421b86 Merge pull request #672 from BigBodyCobain/dependabot/uv/sgp4-2.27
chore(deps): bump sgp4 from 2.25 to 2.27
2026-11-04 20:25:16 -07:00
Shadowbroker 24fc7dfeb4 Merge pull request #673 from BigBodyCobain/dependabot/uv/pytest-asyncio-1.4.1.post1
chore(deps-dev): bump pytest-asyncio from 1.4.0 to 1.4.1.post1
2026-11-04 20:25:11 -07:00
dependabot[bot] 15c80e1a88 chore(deps): bump pystac-client from 0.8.6 to 0.9.1
Bumps [pystac-client](https://github.com/stac-utils/pystac-client) from 0.8.6 to 0.9.1.
- [Release notes](https://github.com/stac-utils/pystac-client/releases)
- [Changelog](https://github.com/stac-utils/pystac-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stac-utils/pystac-client/compare/v0.8.6...v0.9.1)

---
updated-dependencies:
- dependency-name: pystac-client
  dependency-version: 0.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 23:40:57 +00:00
dependabot[bot] f8cec8937f chore(deps-dev): bump pytest-asyncio from 1.4.0 to 1.4.1.post1
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 1.4.0 to 1.4.1.post1.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v1.4.0...v1.4.1.post1)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-version: 1.4.1.post1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 23:40:31 +00:00
dependabot[bot] 37b93dd8c5 chore(deps): bump sgp4 from 2.25 to 2.27
Bumps [sgp4](https://github.com/brandon-rhodes/python-sgp4) from 2.25 to 2.27.
- [Commits](https://github.com/brandon-rhodes/python-sgp4/compare/2.25...2.27)

---
updated-dependencies:
- dependency-name: sgp4
  dependency-version: '2.27'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 23:40:22 +00:00
Shadowbroker 6bffda314a Merge pull request #653 from BigBodyCobain/dependabot/docker/backend/rust-1.98-slim-bookworm
chore(deps): bump rust from 1.88-slim-bookworm to 1.98-slim-bookworm in /backend
2026-11-04 16:30:53 -07:00
Shadowbroker e02d417aef Merge pull request #664 from BigBodyCobain/dependabot/uv/setuptools-gte-84.2.1
chore(deps-dev): update setuptools requirement from >=68.0 to >=84.2.1
2026-11-04 16:30:49 -07:00
Shadowbroker a8bfca1c15 Merge pull request #661 from BigBodyCobain/dependabot/uv/imageio-2.38.0
chore(deps): bump imageio from 2.37.3 to 2.38.0
2026-11-04 16:30:45 -07:00
Shadowbroker 2ec7f60c32 Merge pull request #663 from BigBodyCobain/dependabot/uv/apscheduler-3.11.3
chore(deps): bump apscheduler from 3.10.3 to 3.11.3
2026-11-04 16:30:40 -07:00
Shadowbroker 179fab8b9c Merge pull request #659 from BigBodyCobain/dependabot/uv/orjson-3.13.0
chore(deps): bump orjson from 3.11.7 to 3.13.0
2026-11-04 16:30:34 -07:00
Shadowbroker 5ed147006f Merge pull request #657 from BigBodyCobain/dependabot/uv/cryptography-50.0.2
chore(deps): bump cryptography from 48.0.0 to 50.0.2
2026-11-04 16:30:29 -07:00
BigBodyCobainandClaude Opus 5.5 46ab6492e1 Add /api/summary for home dashboard widgets (closes #650)
A small, flat JSON summary (global threat level plus headline counts) that
Homepage's Custom API widget, Homarr, Uptime Kuma and similar tools can poll.
/api/live-data is megabytes; this is a few hundred bytes built from counts
already in the store, rate limited to 60/minute.

- Read-only and unauthenticated like /api/health; it only exposes numbers the
  dashboard already shows. Reachable at localhost:3000 through the existing
  /api proxy (not on the privileged-path list, so it also works in LAN mode)
  and directly on :8000.
- Threat level reports UNKNOWN until the first news cycle instead of a
  misleading GREEN.
- docs/HOMEPAGE_WIDGET.md has a ready-to-paste Homepage config and Docker/LAN
  networking notes; linked from the README.
- New tests run in the CI release smoke set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:25:58 -07:00
dependabot[bot] b5f4e6f20a chore(deps-dev): update setuptools requirement from >=68.0 to >=84.2.1
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v68.0.0...v84.2.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 84.2.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 22:19:56 +00:00
dependabot[bot] 7ef1eaf3c1 chore(deps): bump apscheduler from 3.10.3 to 3.11.3
Bumps [apscheduler](https://github.com/agronholm/apscheduler) from 3.10.3 to 3.11.3.
- [Release notes](https://github.com/agronholm/apscheduler/releases)
- [Commits](https://github.com/agronholm/apscheduler/compare/3.10.3...3.11.3)

---
updated-dependencies:
- dependency-name: apscheduler
  dependency-version: 3.11.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 22:19:45 +00:00
dependabot[bot] e41137e8f3 chore(deps): bump imageio from 2.37.3 to 2.38.0
Bumps [imageio](https://github.com/imageio/imageio) from 2.37.3 to 2.38.0.
- [Release notes](https://github.com/imageio/imageio/releases)
- [Changelog](https://github.com/imageio/imageio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/imageio/imageio/compare/v2.37.3...v2.38.0)

---
updated-dependencies:
- dependency-name: imageio
  dependency-version: 2.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 22:19:33 +00:00
dependabot[bot] 362a105655 chore(deps): bump orjson from 3.11.7 to 3.13.0
Bumps [orjson](https://github.com/ijl/orjson) from 3.11.7 to 3.13.0.
- [Release notes](https://github.com/ijl/orjson/releases)
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ijl/orjson/compare/3.11.7...3.13.0)

---
updated-dependencies:
- dependency-name: orjson
  dependency-version: 3.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 22:19:23 +00:00
dependabot[bot] 791b0f0051 chore(deps): bump cryptography from 48.0.0 to 50.0.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 48.0.0 to 50.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/48.0.0...50.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 50.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 22:19:12 +00:00
dependabot[bot] bf1d24d973 chore(deps): bump rust in /backend
Bumps rust from 1.88-slim-bookworm to 1.98-slim-bookworm.

---
updated-dependencies:
- dependency-name: rust
  dependency-version: 1.98-slim-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 22:18:48 +00:00
BigBodyCobainandClaude Opus 5.5 e2f8ace1a8 Move Docker images and CI to Node 24.22.1 (fixes #630)
Node 20 is end of life and will not get the CVE-2026-111497 Brotli decoder
fix from the 2026-10-21 Node.js security release. The frontend image now
starts from node:24.22.1-alpine, the backend image installs Node 24 from
NodeSource and refuses to build on anything older than 24.22.1, and CI
runs on Node 24 so tests match the shipped runtime.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:39:08 -07:00
BigBodyCobain b715eecbd9 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	.github/workflows/ci.yml
#	backend/pyproject.toml
#	frontend/package-lock.json
#	frontend/package.json
2026-11-04 13:26:59 -07:00
esmaeelE 3285243b04 change dockerfile for build locally on restricted location 2026-11-02 12:57:54 +03:30