Files
magpie/internal/gui
yetone a2a49c204f providers: a curl pasted into a keyed provider's Base URL takes no key unseen again (#6424)
2bb201162 (env lines pasted into a key box) rewrote the editor's paste
reader and dropped `&& key.isConnected` from its key line. A provider
whose keys are in its Accounts has no key box on the page, so a curl
command pasted into its Base URL put the curl's key into the draft
unseen, and Save sent it as the provider's key. key-box-once has said
so since 2bb201162 ("no key saved over the first"), and was filed as
"red on origin/main" in #6424 two days ago.

Run on mote, at origin/main b754cb095 + this change:
- key-box-once at 2bb201162's parent: 10/10 ok (chromium); at
  2bb201162: 0/10. With this change: 20/20, both engines, every
  language, 900 and 420px.
- provider-curl-paste, provider-env-paste (the key box paste and the
  Add sheet still take the key), key-page, i18n-keys: 94/94 in all.
- go test -tags nogui -run TestCoreScriptBudget ./internal/gui: ok.
Broken by hand: the line without the guard is origin/main, red above.
Not tried: the full GUI suite (#6709 is the open list of its reds).

Fixes #6424 (key-box-once; its other two files are not touched here).
2026-11-15 05:59:25 +08:00
..
…
…
…