The reporter turned Settings → Privacy → Subscription accounts off and every
subscription they had stopped working, with nothing to say why, and asked
for the switch to go. It stays: #1535 asked for it so that magpie can run
on a managed or shared machine as a gateway for API-key providers alone,
without reading any agent's credential files or the Keychain, and that
reporter confirmed it on v0.1.1176. What reading those files means is a
privacy question, so it stays on the Privacy page too.
What went wrong is that one click took them all away. Off now asks first
in a dialog (confirmAction, as Remove does), titled "Turn off subscription
accounts?", that names the subscriptions in use it stops (switched-off
ones and API-key providers aren't named; the Providers list is read for it
when no page has yet) and says API-key providers go on. Cancel leaves it
on with nothing saved. On, and the CLI's `magpie accounts discovery off`,
don't ask. New strings in zh, zh-TW, ja and de.
docs/subsystems/providers-accounts.md says so.
Run:
- account-discovery.test.cjs, chromium and webkit, en/zh/zh-TW/ja/de at
900 and 360: the dialog's title and button in each language, the two
subscriptions in use named and the switched-off one and the API-key
provider not, the dialog inside the window, Cancel posts nothing and
leaves On, then taking it posts {off:true}; the rest as before. 32 pass;
with app.js put back, the dialog never comes and it goes red.
- gofmt -l, go vet ./..., GOOS=linux go vet -tags nogui ./...,
GOOS=windows go vet ./..., sandboxed go test ./... at the rebased head.
Not run: the desktop app's webview by hand.