The name is stored and shown wherever mqtt1 and mqtt2 were: packet
brokers, observer brokers, the broker filter and /brokers. Unset keeps
the old names.
MQTT_BROKER_n_REBROADCAST=true marks a broker that forwards from other
brokers and names each message's source in the source-broker and
source-host user properties. The worker then connects with MQTT 5 and
records packets, observations and observer brokers under the source
name. Without it the connection is 3.1.1 as before.
Each packet keeps the set of brokers it arrived through (brokers on
packet detail). Observer broker lists and the broker filter cover the
last 30 days, and GET /brokers/sources lists the names for the filter.
The server now reads DOMAIN, and WEB_DOMAIN when the web app is on
another host, for mailed links and the portal callback. A leftover
accounts.public_url is ignored with a startup warning.
Release note for the next production release: accounts.public_url is
removed and no longer needed. Accounts need DOMAIN in the server's
environment; the Docker stacks already set it. Docs need the same
update.
Alerts go out by email, by push or both, as each user chooses. Push is
sent through the push server with the operator's Push ID and secret and
sealed per device, so this server no longer holds a Firebase key. The
outbox tracks each channel, so a retry of one never repeats the other.
Account mail and email alerts both send through it, so it no longer
lives under accounts. The old accounts.smtp block is refused at startup
with a pointer to the new place.
Release the changes on `dev` as v2.0.2: authenticated MeshMapper imports and the traffic-sorted observer directory, including rolling seven-day counts from available history. Bump the API version and regenerate Swagger.
MeshMapper integration requires an API key. Regional admins’ existing per-region or grouped-region coverage keys also work for these APIs. Deployments should set `MESHMAPPER_API_KEY` and restart Beacon.
Validation: `go build ./...`, `gofmt -l .` (empty), `go vet ./...`, `go test ./...`, `govulncheck ./...`, and race tests for MeshMapper and scopestore passed in a clean checkout. PostgreSQL integration tests require CI because Docker is unavailable locally.
* docs: keep only server-specific contributor notes
* docs: trim README to the code and link to beacon-docs
* chore: strip tracking parameters from two airport website URLs
adds insert telemetry for observers in ingestion
adds new config for observer telemetry, moves
packet retention into config for consistency with
defaults on load
adds cleanup for both packets and observer telemetry