revert: remove LoTW sync type support (QSL/QSO delta/full)

This reverts commit 5b78935 which added:
- Sync type parameter (qsl_delta, qsl_full, qso_delta, qso_full)
- getLastLoTWQSODate() function
- Sync type dropdown on QSO page
- Job queue handling of sync types

Reason: LoTW doesn't provide DXCC entity data for unconfirmed QSOs,
which causes award calculation issues. Going back to QSL-only sync.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-20 12:28:23 +01:00
parent 688b0fc255
commit 310b1547c4
5 changed files with 24 additions and 111 deletions

View File

@@ -314,9 +314,8 @@ const app = new Elysia()
* POST /api/lotw/sync
* Queue a LoTW sync job (requires authentication)
* Returns immediately with job ID
* Body: { syncType?: 'qsl_delta' | 'qsl_full' | 'qso_delta' | 'qso_full' }
*/
.post('/api/lotw/sync', async ({ user, body, set }) => {
.post('/api/lotw/sync', async ({ user, set }) => {
if (!user) {
logger.warn('/api/lotw/sync: Unauthorized access attempt');
set.status = 401;
@@ -324,8 +323,7 @@ const app = new Elysia()
}
try {
const { syncType = 'qsl_delta' } = body || {};
const result = await enqueueJob(user.id, 'lotw_sync', { syncType });
const result = await enqueueJob(user.id, 'lotw_sync');
if (!result.success && result.existingJob) {
return {