Commit Graph
307 Commits
Author SHA1 Message Date
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
dependabot[bot] afc4dbd841 chore(deps): bump cachetools from 7.2.3 to 7.2.6 in /backend
Bumps [cachetools](https://github.com/tkem/cachetools) from 7.2.3 to 7.2.6.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v7.2.3...v7.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-30 07:11:16 +00:00
dependabot[bot] 5ad88370df chore(deps): bump fastapi from 0.142.2 to 0.149.0 in /backend
Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.142.2 to 0.149.0.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](https://github.com/fastapi/fastapi/compare/0.142.2...0.149.0)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.146.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-22 18:04:09 +00:00
Shadowbroker d110c9325e Merge pull request #623 from BigBodyCobain/dependabot/pip/backend/cachetools-7.2.3
chore(deps): bump cachetools from 7.2.0 to 7.2.3 in /backend
2026-10-22 12:01:44 -06:00
dependabot[bot] d3fe35a978 chore(deps): bump playwright from 1.63.0 to 1.64.0 in /backend
Bumps [playwright](https://github.com/microsoft/playwright-python) from 1.63.0 to 1.64.0.
- [Release notes](https://github.com/microsoft/playwright-python/releases)
- [Commits](https://github.com/microsoft/playwright-python/compare/v1.63.0...v1.64.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.64.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-22 07:23:47 +00:00
dependabot[bot] f6839ebe0f chore(deps): bump cachetools from 7.2.0 to 7.2.3 in /backend
Bumps [cachetools](https://github.com/tkem/cachetools) from 7.2.0 to 7.2.3.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v7.2.0...v7.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-22 07:23:29 +00:00
Claude 00fd0f9d60 Stop LAN-shared dashboards from handing out operator access
With the dashboard bound to the network (make up-lan), the frontend proxy
added the server ADMIN_KEY to every same-origin request and the backend
trusted the frontend container as the local operator, so any device on
the LAN that opened the dashboard had full control: DMs, contacts, gate
keys and settings. The proxy cannot tell the local browser apart from
other devices, because Next.js forwards client-supplied X-Forwarded-For
verbatim (verified against next start: a remote client sending
X-Forwarded-For: 127.0.0.1 reaches the backend as 127.0.0.1).

SHADOWBROKER_LAN_MODE=1, set by make up-lan, now makes the proxy inject
the admin key only for signed-in admin sessions and stops the backend
trusting the frontend container. Loopback tools on the host keep working.
For a backend behind nginx/Caddy on the same host, the new opt-in
SHADOWBROKER_UNTRUSTED_LOOPBACK=1 makes loopback callers present the key
too. Default installs are unchanged.

Also compare the admin key in constant time at sign-in, and make the
403 message say how to sign in from another device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
2026-10-22 04:57:47 +00:00
Claude f1f3c37500 Pin lane-floor tests to an RNS-enabled node
Two tests asserted that a gate at private_transitional fails its release
floor and that startup warm-up targets private_strong. Both now depend
on whether RNS is enabled, since Tor-only nodes use the Tor floor for
DMs and gates. Run them against an RNS-enabled node so they keep
checking the strict floor they were written for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
2026-10-22 03:32:49 +00:00
Claude 123463caf3 Let gates release over Tor when RNS is off, and always pin privacy-core
Gate messages publish over Tor first, with RNS only as the fallback
carrier, but the release floor demanded private_strong (Tor and RNS).
RNS is not installed by default, so on an ordinary node every gate post
sat in "Queued for private delivery" forever. Gates now get the same
Tor-only floor DMs already use when RNS is not enabled; nodes that
enable RNS keep the two-transport floor.

The start scripts' privacy-core pin refresh skipped whenever
backend/.env was missing or private lanes were turned on from the UI
rather than .env, which is the common case. It now pins the locally
built library regardless, creating backend/.env if needed, matching
what the Docker entrypoint already does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
2026-10-22 03:08:47 +00:00
Claude cbf3029138 Share gate keys across nodes over the encrypted DM lane
Gate history is readable on another node only through the gate envelope,
which is keyed from a per-gate secret that every node generated on its
own. Nothing ever moved that secret between members, so two operators in
the same gate could not read each other.

Members can now send the current gate key to a DM contact inside an
end-to-end encrypted DM. The key rides as a control frame that is
stripped on decrypt, so it never reaches the browser or the mailbox. The
recipient's operator accepts or declines it; the previous local key is
archived so existing history stays readable.

Rotation sends the new key to every contact the key was granted to,
minus excluded peers. Recipients apply a rotation automatically only
when it comes from the member they got the key from, and forward it to
their own grantees. Ban/kick rotations now redistribute too, instead of
silently splitting the gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
2026-10-22 03:06:11 +00:00
Shadowbroker a7966e9f5a Merge pull request #599 from BigBodyCobain/dependabot/pip/backend/fastapi-0.142.2
chore(deps): bump fastapi from 0.136.3 to 0.142.2 in /backend
2026-10-10 08:33:04 -06:00
dependabot[bot] 0096b7bb12 chore(deps): bump fastapi from 0.136.3 to 0.142.2 in /backend
Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.136.3 to 0.142.2.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](https://github.com/fastapi/fastapi/compare/0.136.3...0.142.2)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.142.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-08 07:24:00 +00:00
dependabot[bot] bb2e6f3e92 chore(deps): bump python-dotenv from 1.2.2 to 1.2.4 in /backend
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 1.2.2 to 1.2.4.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md)
- [Commits](https://github.com/theskumar/python-dotenv/compare/v1.2.2...v1.2.4)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-version: 1.2.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-08 07:23:47 +00:00
Shadowbroker 96930018d4 docs(basemap): describe CARTO as optional override 2026-10-06 15:49:50 -06:00
Piero Maddaleni 24c9b2962c Bring back referer. 2026-10-04 22:07:20 -05:00
Piero Maddaleni b17535621c Give Amtraker service a proper user agent. 2026-10-04 21:43:48 -05:00
Shadowbroker f4aaeb45e5 Merge pull request #582 from R1ngZer0/fix/prekey-lookup-event-loop
Run prekey and pubkey fleet lookups off the event loop
2026-10-01 13:33:45 -06:00
Shadowbroker a800e3bd6f Merge pull request #586 from BigBodyCobain/dependabot/pip/backend/starlette-1.7.0
chore(deps): bump starlette from 1.0.1 to 1.7.0 in /backend
2026-10-01 13:28:01 -06:00
dependabot[bot] e1911fdced chore(deps): bump starlette from 1.0.1 to 1.7.0 in /backend
Bumps [starlette](https://github.com/Kludex/starlette) from 1.0.1 to 1.7.0.
- [Release notes](https://github.com/Kludex/starlette/releases)
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md)
- [Commits](https://github.com/Kludex/starlette/compare/1.0.1...1.7.0)

---
updated-dependencies:
- dependency-name: starlette
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-01 07:28:56 +00:00
dependabot[bot] 61796601ea chore(deps): bump uvicorn from 0.53.0 to 0.54.0 in /backend
Bumps [uvicorn](https://github.com/Kludex/uvicorn) from 0.53.0 to 0.54.0.
- [Release notes](https://github.com/Kludex/uvicorn/releases)
- [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md)
- [Commits](https://github.com/Kludex/uvicorn/compare/0.53.0...0.54.0)

---
updated-dependencies:
- dependency-name: uvicorn
  dependency-version: 0.54.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-01 07:28:50 +00:00
Clint Bodungen 625b6030ed Run prekey and pubkey fleet lookups off the event loop
dm_get_prekey_bundle and dm_get_pubkey are async but called the
synchronous fetch_dm_prekey_bundle directly. When the lookup handle
isn't local it calls peers over the network, which blocked the event
loop so every endpoint stopped answering until it returned. Run it with
asyncio.to_thread, as main.py does for other blocking calls, and add a
regression test that checks the loop keeps ticking during a slow lookup.
2026-09-29 09:50:52 -05:00
Shadowbroker 46fb6c8648 Merge pull request #574 from BigBodyCobain/dependabot/pip/backend/cachetools-7.2.0
chore(deps): bump cachetools from 7.1.8 to 7.2.0 in /backend
2026-09-24 16:33:58 -06:00
Shadowbroker c5cfe69da7 Merge pull request #576 from BigBodyCobain/dependabot/pip/backend/uvicorn-0.53.0
chore(deps): bump uvicorn from 0.34.0 to 0.53.0 in /backend
2026-09-24 16:33:32 -06:00
dependabot[bot] f33f9f57f8 chore(deps): bump playwright from 1.59.0 to 1.63.0 in /backend
Bumps [playwright](https://github.com/microsoft/playwright-python) from 1.59.0 to 1.63.0.
- [Release notes](https://github.com/microsoft/playwright-python/releases)
- [Commits](https://github.com/microsoft/playwright-python/compare/v1.59.0...v1.63.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.63.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-24 07:23:47 +00:00
dependabot[bot] 247c54588e chore(deps): bump uvicorn from 0.34.0 to 0.53.0 in /backend
Bumps [uvicorn](https://github.com/Kludex/uvicorn) from 0.34.0 to 0.53.0.
- [Release notes](https://github.com/Kludex/uvicorn/releases)
- [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md)
- [Commits](https://github.com/Kludex/uvicorn/compare/0.34.0...0.53.0)

---
updated-dependencies:
- dependency-name: uvicorn
  dependency-version: 0.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-24 07:23:42 +00:00
dependabot[bot] bf5eaa3ca6 chore(deps): bump cachetools from 7.1.8 to 7.2.0 in /backend
Bumps [cachetools](https://github.com/tkem/cachetools) from 7.1.8 to 7.2.0.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v7.1.8...v7.2.0)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-24 07:23:33 +00:00
C3B2W23andClaude Fable 5.1 667f51cb7a fix(basemap): serve CARTO key from backend, bound the map gate, add source attribution
Review follow-up:

- Drop the Next.js route. CARTO_API_KEY is now a regular backend registry
  key (env, .env, or the API Keys panel) served by public
  GET /api/basemap-config. Every frontend mode already proxies /api/* to
  the backend (Next.js proxy in web mode, companion server in packaged
  desktop), so this covers web and desktop with one mechanism and leaves
  the static export untouched. Also removes the invalid non-handler
  export from the route module by removing the module.
- useBasemapConfig: fail open to the unkeyed style after 3 s, abort the
  request at 15 s, apply a late key when it arrives, cache successes per
  page and retry failures on the next mount.
- Declare OSM/CARTO attribution on the raster source (same markup as the
  viewer's existing AttributionControl so MapLibre de-duplicates it).
- Tests: backend endpoint (unset / set+trimmed / persisted operator key /
  registry), hook behaviour (success, non-OK, network error, soft timeout
  then late key, hard abort, shared request and retry), attribution and
  gating source checks.
- CARTO_API_KEY moves to the backend service in docker-compose.yml; docs
  updated accordingly.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 15:16:47 -07:00
dependabot[bot] 51e63b98d2 chore(deps): bump cachetools from 5.5.2 to 7.1.8 in /backend
Bumps [cachetools](https://github.com/tkem/cachetools) from 5.5.2 to 7.1.8.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v5.5.2...v7.1.8)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 7.1.8
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-10 07:23:48 +00:00
BigBodyCobain cd6395f5ee fix: complete intelligence layer refreshes and UAP fallback 2026-08-23 20:14:07 -06:00
BigBodyCobain 2461756da4 fix: restore CCTV and Telegram map visibility 2026-08-23 19:28:40 -06:00
Shadowbroker 901f3f3dd4 test(aprs): cover public network safety and lifecycle 2026-08-23 06:52:53 -06:00
Shadowbroker a263230130 fix(sigint): decouple APRS lifecycle from Meshtastic 2026-08-23 06:52:14 -06:00
Shadowbroker 685dc0a947 fix(aprs): add bounded opt-in APRS-IS client 2026-08-23 06:51:46 -06:00
Shadowbroker b06adeab46 fix(xquik): make attempt timestamp sentinel explicit 2026-08-23 01:46:26 -06:00
Shadowbroker 3124827738 test(xquik): cover outage backoff and credential rotation 2026-08-23 01:45:49 -06:00
Shadowbroker fd0f530478 refactor(xquik): keep attempt cadence state minimal 2026-08-23 01:45:18 -06:00
Shadowbroker 90da89f7c6 fix(xquik): throttle failed provider attempts 2026-08-23 01:44:54 -06:00