Files
OmniRoute/tests
diegosouzapw 9d6f7a2ab8 feat(proxy): SOCKS5 enabled by default (opt-out, not opt-in)
SOCKS5 support gated on ENABLE_SOCKS5_PROXY === "true" (default OFF), so a
fresh deploy with no .env (Docker/npm/Electron) silently REJECTED SOCKS5
proxies and the connections fell back to the host IP — a real cause of the
codex shared-IP anomaly when operators shipped SOCKS5 proxies but never set
the flag. Flip to opt-out: ON by default, disabled only by an explicit falsey
value (false/0/no/off).

Centralized semantics applied to all gates: isSocks5ProxyEnabled()
(dispatcher), isSocks5Enabled() (proxy route), socks5Enabled (proxies route),
BUILD_TIME_SOCKS5 (modal), plus updated disabled-state messages and the docs
tab. TDD: 4 tests (unset/empty/true-ish ON, falsey OFF). 18/18 proxy tests
green, typecheck:core=0.
2026-06-12 01:04:01 -03:00
..
2026-05-23 01:46:59 -03:00
2026-06-10 13:49:08 -03:00
2026-06-10 13:49:08 -03:00
2026-06-10 13:49:08 -03:00