Repository navigation
Add bounded Wi-Fi sign-in for one local phone - #74
Merged
Merged
Conversation
2 of 5 tasks
Reconcile leftover routing state, make closure repeatable, and roll back interrupted helper execution. Retain ownership and expiry when cleanup is uncertain, with specific sign-in messages and bounded health holds. Cover reconnects, live and expired restart state, interrupted installation, and partial installation recovery in isolated kernel fixtures.
Accept detached ingress metadata during exact-owned rule recovery, retire active session configuration after close, and bind retry timers to their owner. Clarify sign-in messages and give portal RPC calls a complete helper budget. Keep sign-in disabled until explicitly enabled in experimental Settings, with persisted opt-in and backend admission enforcement. Isolate RPC test dependencies and cover recovery, defaults, failed saves, deadlines and serial execution.
pjeweb
force-pushed
the
osb/captive-signin-window
branch
from
November 14, 2026 08:03
aa74370 to
0b763fd
Compare
3 of 5 tasks
3 of 5 tasks
The sign-in sheet, its outcome lines and the experimental setting were still English in de, fr, pt-BR, ja, ko, zh, ar and hi. Spanish already had its own copy and is unchanged. The wording follows each catalog's existing terms for the box, sign-in, Wi-Fi, links and the stream, and keeps the English lines' promise that the stream is unaffected.
pjeweb
added a commit
that referenced
this pull request
Nov 16, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 17, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 17, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 18, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 18, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 19, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 21, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 22, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 23, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 24, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 24, 2026
Author
|
Still carried in the integration train and not upstream, so it continues as #253. |
pjeweb
added a commit
that referenced
this pull request
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Hotel and venue Wi-Fi often shows a sign-in page before letting anything online. Signing in on your phone usually unlocks only the phone: the box stays offline, even though it's connected to the same Wi-Fi. Streamers end up guessing why the box has no internet in a place where their phone works fine.
What
How: for the open window, the box sends that phone's web and plain DNS traffic out through the venue Wi-Fi, so the venue sees the box's radio sign in. It checks every ten seconds that the phone is still local and on the same Wi-Fi session, and removes the temporary path when the window closes or expires; the kernel enforces the deadline even if the backend stops. Local control, other devices and the stream keep their paths, and the box never collects page contents, credentials or cookies.
Land #95 first so the production build stays within its size limit; #80 builds on this PR.
Screenshots
Phone and desktop comparisons
Mock data; the same state at the PR base and head.
Additional mock comparisons before and after the setting-save follow-up:
Translations and what a native speaker should check
The new lines are translated into all ten catalogs. The Spanish copy was already there and is unchanged. I kept each catalog's existing words for the box, sign-in, Wi-Fi, links and the stream, and kept the English promise that the stream is unaffected. "Sign-in window" means the ten-minute period, so I used a time word where the language has one (de Zeitfenster, ja 受付時間, ko 허용 시간, zh 时段, ar فترة, hi अवधि).
Worth a native read:
How to verify
With mock data, turn on Settings → Wi-Fi sign-in, open Links → Sign the box in, choose a venue network and check the window, Check sign-in and Cancel sign-in states. The browser spec covers 390 and 1280 px.
scripts/tests/captive-portal-netns.pychecks the real routing in network namespaces: only the chosen phone's web and DNS go through the venue side, and relay and control traffic are untouched.Testing and limits
mainand the other PRs queued for the next merge, with and without Help phones open hotel Wi-Fi sign-in pages #80 on top. The i18n suite (857 tests), the focused frontend tests and the production build with its size limits passed there too.Risks
It's off by default. If cleanup fails, the owner is kept and cleanup retries, and startup recovery removes leftovers.
Checklist