evcc-io/util/sponsor
Stefan 13215c74c2
Some checks failed
CodeQL / Analyze (go) (push) Failing after 1m16s
CodeQL / Analyze (actions) (push) Failing after 4s
CodeQL / Analyze (javascript-typescript) (push) Failing after 7s
Default / Clean (push) Has been cancelled
Default / Build (push) Has been cancelled
Default / Test (push) Has been cancelled
Default / Lint (push) Has been cancelled
Default / UI (push) Has been cancelled
Default / Integration (push) Has been cancelled
Default / Warm fork cache (Go) (push) Has been cancelled
Default / Warm fork cache (UI) (push) Has been cancelled
Remove sponsor token gating
Unlock all locally gated features without a sponsor token. The change sits
in util/sponsor/auth.go instead of the ~68 device constructors:

- Subject defaults to a non-empty value, so RedactedStatus reports an active
  sponsorship and the frontend unlocks isSponsor
- IsAuthorized always returns true, opening every caller including the
  modbus proxy and the optimizer gate
- ConfigureSponsorship still validates a configured token but never fails,
  so an expired token no longer aborts startup

Drops TestAlpitronicSponsorGate and TestSigenergyEVDCSponsorGate, which
asserted exactly the gate that is removed here.

Cloud-backed services (optimizer API, remote access, cloud vehicles,
telemetry) still require a real token - those are checked server side.

See FORK.md.
2026-08-30 10:41:18 +02:00
..
auth.go Remove sponsor token gating 2026-08-30 10:41:18 +02:00
docs.go chore: clarify license 2026-01-07 08:32:17 +01:00
hardware.go Sponsor: wait for network to settle during startup check (#32556) 2026-08-06 07:21:44 +02:00
hemspro.go Sponsor: prepare for GitHub alternative (#29043) 2026-04-29 12:49:44 +00:00
hemspro_linux.go Sponsor: include device serial in hardware check metadata (#32927) 2026-08-18 12:02:29 +02:00
pulsares.go chore: minor 2026-08-11 09:59:37 +02:00
victron.go Sponsor: prepare for GitHub alternative (#29043) 2026-04-29 12:49:44 +00:00