Remove the per-provider custom scripts feature #82
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Remove the per-provider custom-scripts feature: the Scripts tab,
save_scripts/clear_scripts/update_scripts_enabledin the GUI,exe_custom_scriptsand its six call sites intunnel.py, and the{provider}_scriptsconfig keys.Why:
cfgupdate) and run inside the root service's tunnel threads. polkit gates the writer, but it's a wide, quiet root-exec channel kept alive for a feature with no known users — same reasoning that deleted the self-updater (#19).If demand ever shows up, the re-add should be the inverse shape: hooks run in the GUI process as the user, triggered by the status/state signals the GUI already receives (it now holds the typed tunnel state for context) — no root involvement. Same check-only-re-add pattern as #48.
Upstream history and ecosystem research before starting the removal — it strengthens the no-known-users rationale into an evidence-backed one:
e8ba225(2018-11-24) in a same-day sprint alongside connection profiles; it shipped as one changelog line in 0.8.0 and was never documented in the README. No issue or PR in upstream's lifetime asked for it — every 'script' hit in that tracker is install/packaging or PIA-cert related, and the feature-request roundup from a month before (upstream #40) asked for a map, kill switch and server rotation, no hooks.