Add DX Marathon award and alert support#1099
Open
aa5sh wants to merge 2 commits into
Open
Conversation
Introduce a DX Marathon award UI and alert integration. Adds AwardDXMarathon (awards/AwardDXMarathon.{cpp,h}) with ADIF export and listing, registers it in AwardsDialog and UI. Alert system: new dxMarathon flag in AlertRule (save/load/match/operator), AlertRuleDetail UI checkbox, and alert evaluation logic to detect new entities/zones. Persistence: migration_040.sql adds alert_rules.dx_marathon and Migration::latestVersion bumped to 40. Settings: LogParam getters/setters and SettingsDialog controls to choose profile vs callsign matching. Updated resources (res.qrc) and small UI text tweak.
Prevent DX Marathon from being filtered by the normal DXCC log-status: AlertEvaluator now skips the dxLogStatusMap check when dxMarathon is true, adds a marathonEligible SQL clause (allowed bands and excludes /AM and /MM suffixes), and improves debug output showing entity/zone worked state. Fixed a typo in StationProfile (darc_doc -> darc_dok) so contact inner-join uses the correct column. Added unit tests for StationProfile (test pro and tst_stationprofile.cpp) and registered the test in tests.pro. Updated AlertRuleDetail.ui tooltip to clarify DX Marathon ignores DXCC log-status selections.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce a DX Marathon award UI and alert integration.
Adds AwardDXMarathon (awards/AwardDXMarathon.{cpp,h}) with ADIF export and listing, registers it in AwardsDialog and UI.
Alert system: new dxMarathon flag in AlertRule (save/load/match/operator), AlertRuleDetail UI checkbox, and alert evaluation logic to detect new entities/zones.
Persistence: migration_040.sql adds alert_rules.dx_marathon and Migration::latestVersion bumped to 40.
Settings: LogParam getters/setters and SettingsDialog controls to choose profile vs callsign matching. Updated resources (res.qrc) and small UI text tweak.