fix: a watched callsign is never parked; refuse uploads to unconfigured services
ZD8GB — watch-listed, six streams a period, two of them RR73 — was refused as "parked" for the rest of the session. Parking answers "it will not answer, stop wasting the evening on it", which is a fair verdict about a station the LOG picked out and the wrong one about a station the OPERATOR named: a DXpedition running a pileup takes more than two series of calls to get through to, which is exactly why it is on the list. The rest between series still applies, so it cannot monopolise the transmitter — it simply never becomes ineligible. Send to (right-click) now refuses a service with no credentials and says which are missing. The upload runs on its own goroutine and reports into the QSL Manager's console, which is not open when the command came from the QSO list, so an upload to an unconfigured service looked exactly like one that worked. The toast is also raised only once the backend has accepted the request, and Cloudlog / Wavelog and HamQTH name themselves in it.
This commit is contained in:
@@ -4559,11 +4559,16 @@ export default function App() {
|
||||
const LABELS: Record<string, string> = {
|
||||
qrz: 'QRZ.com', clublog: 'Club Log', lotw: 'LoTW',
|
||||
hrdlog: 'HRDLog.net', eqsl: 'eQSL.cc', hamlog: 'HAMLOG.online',
|
||||
hamqth: 'HamQTH', cloudlog: 'Cloudlog / Wavelog',
|
||||
};
|
||||
const label = LABELS[service] ?? service;
|
||||
showToast(`Uploading ${ids.length} QSO${ids.length > 1 ? 's' : ''} to ${label}…`);
|
||||
try { await UploadQSOsManual(service, ids as any); }
|
||||
catch (e: any) { setError(String(e?.message ?? e)); }
|
||||
try {
|
||||
// Awaited BEFORE the toast: the backend refuses a service with no
|
||||
// credentials, and announcing an upload that was never started is how an
|
||||
// operator concludes their QSOs are on a site they never signed up to.
|
||||
await UploadQSOsManual(service, ids as any);
|
||||
showToast(`Uploading ${ids.length} QSO${ids.length > 1 ? 's' : ''} to ${label}…`);
|
||||
} catch (e: any) { setError(String(e?.message ?? e)); }
|
||||
}
|
||||
// Right-click "Export filtered to ADIF (no limit)": exports every QSO that
|
||||
// matches the current filter, bypassing the on-screen row threshold.
|
||||
|
||||
Reference in New Issue
Block a user