A call once uploaded can no longer be sent again: claim_upload refuses a
call that already carries a CRM transcript id ("Bereits hochgeladen"),
checked under the same lock that already serializes uploads per call, so a
concurrent second upload can never slip through between the check and the
one upload it allows. upload_transcript runs this check before any HTTP
request, so a rejected re-upload never reaches the backend.
The call detail view drops "Erneut hochladen" and its confirmation dialog:
once a call has uploaded_at/crm_transcript_id, only "Hochgeladen am …" is
shown, no button.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- the backend URL is no longer a setting: one constant per build
(release/dev) in src-tauri/src/backend.rs; Settings shows the server
read-only; an old backend_url in settings.json is ignored
- the stored key records the backend it was created for; a key of
another backend is discarded before any use and never stored
- a refused key is discarded only if it still is the stored one
- the keyring is never called while the settings are locked
- one upload per call at a time, also visible after a view switch
- opener plugin without its link-click script (it also ran in the
remote login page); a login error says to reload the login page
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Settings section "Backend": backend URL, login status checked live
(logged in as / until, not logged in, backend unreachable), Anmelden /
Neu anmelden, Abmelden and the link to the key management page
- login window "backend-login": the backend's own login page in an
incognito webview without any Tauri capability; after a page load
behind the login, its cookies create a key (one request, never stored
or logged), the key goes to the keyring, the window closes; closing it
cancels; one login at a time, later requests wait for the same result
- call detail: "Transkript hochladen" / "Erneut hochladen" (with a
confirmation), "wird hochgeladen…", "Hochgeladen am … (ID …)" and
inline errors; logs in first when there is no usable key
- saving a different backend URL discards the key of the old backend
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Summaries are not coming to the desktop app, and the customer is chosen
in the web UI after the upload:
- drop the Anthropic key (Service::Anthropic, Settings field) and delete
a leftover keyring entry best-effort at startup
- drop the Summary model, the store's summary accessors and the
"Zusammenfassung" tab; the transcript is the detail's only content
- drop the mocked customer accounts, list_accounts/set_account and the
"Kunde" dropdown; calls.account_id and summaries stay in the schema
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>