Skip to content

Add station profiles: one KLog installation, several callsigns - #1135

Open
yl3gbc wants to merge 1 commit into
ea4k:masterfrom
yl3gbc:profiles-support
Open

Add station profiles: one KLog installation, several callsigns#1135
yl3gbc wants to merge 1 commit into
ea4k:masterfrom
yl3gbc:profiles-support

Conversation

@yl3gbc

@yl3gbc yl3gbc commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Turns the existing logs into full station profiles. On startup a dialog lists the profiles with their QSO counts; choosing one switches the log and the station configuration in a single step.

  • New tables: profiles, profile_variants, profile_clubs, plus log.profile_id and log.variant_id
  • Migration from the logs table runs automatically on first start and is idempotent
  • Profile editor with Station / Address / Equipment / Clubs tabs
  • CQ and ITU zones and the DXCC entity are filled in from the callsign prefix; /MM and /AM are excluded since they belong to no entity
  • A profile holding QSOs cannot be deleted
  • New QSOs get their profile through an SQLite trigger, so manual entry, ADIF import and WSJT-X UDP all work without touching existing code

Tested on a live log of 20,200 QSOs across three callsigns.

Turns the existing logs into full station profiles. On startup a dialog
lists the profiles with their QSO counts; choosing one switches the log
and the station configuration in a single step.

- New tables: profiles, profile_variants, profile_clubs, plus
  log.profile_id and log.variant_id
- Migration from the logs table runs automatically on first start and
  is idempotent
- Profile editor with Station / Address / Equipment / Clubs tabs
- CQ and ITU zones and the DXCC entity are filled in from the callsign
  prefix; /MM and /AM are excluded since they belong to no entity
- A profile holding QSOs cannot be deleted
- New QSOs get their profile through an SQLite trigger, so manual entry,
  ADIF import and WSJT-X UDP all work without touching existing code

Tested on a live log of 20,200 QSOs across three callsigns.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
3.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant