mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
feat(portals): make connection cooldown configurable in desktop settings (#1536)
This commit is contained in:
1 parent
de81e3b238
commit
0245d73d78
48 files changed
+787
-27
No files matched your search
@@ -1625,3 +1625,17 @@ No formal migration system yet. Schema changes are applied via raw SQL in the `c
|
||||
- The `nx-generate` skill handles generator discovery internally - don't call nx_docs just to look up generator syntax
|
||||
|
||||
<!-- nx configuration end-->
|
||||
|
||||
## Portal Connectivity Preference
|
||||
|
||||
- Desktop Settings > General > Portal connections exposes default-on
|
||||
`Settings.portalConnectivityGuard`. Only explicit false opts out. Save mirrors
|
||||
the value to Electron `PORTAL_CONNECTIVITY_GUARD` and applies it without restart;
|
||||
settings bootstrap restores it before the renderer loads. It controls Xtream
|
||||
and Stalker together. Preference transitions clear cooldowns and invalidate old
|
||||
request completions; unchanged saves preserve evidence. The environment switch
|
||||
`IPTVNATOR_DISABLE_CONNECTIVITY_GUARD=1` remains authoritative. PWA clients do not
|
||||
control the shared backend's guard.
|
||||
- Both account-info dialogs explain guard refusals with localized paused-request
|
||||
copy and Retry now; Stalker preserves cached account data on a failed refresh.
|
||||
Contract: `docs/architecture/host-connectivity-guard.md`.
|
||||
Reference in new issue
Block a user