cloudlog/application/models
Peter Goodhall 6e8d73e07b Recalculate highlight DX using grid/DXCC
Add helper methods to determine a QSO's primary grid, lookup DXCC coordinates (with caching and logbook_model.dxcc_lookup fallback), and resolve candidate distances by preferring grid-to-grid QRA distance with a DXCC-coordinate fallback. Update highlight DX queries to select time, DXCC and DXCC lat/long and join dxcc_entities. Replace duplicated inline distance logic with a single build_highlight_dx_from_candidates routine that picks the farthest candidate and sets COL_DISTANCE (rounded to int). This centralizes distance computation and ensures QSOs without stored distances but with grids or DXCC data are correctly considered.
2026-04-10 11:36:40 +01:00
..
Accumulate_model.php [Accumulated Statistics] Updated queries for WAS, WAZ and IOTA for speedup. 2022-09-03 21:00:54 +02:00
Activated_gridmap_model.php Added QRZ-Logic to activated gridsquare map 2023-12-08 12:51:10 +00:00
Activators_model.php Fixed hardcoding of tables 2023-01-28 15:21:09 +01:00
Adif_data.php Add MY_NAME to ADIF exports from user profile (#3391) 2026-03-23 22:43:44 +00:00
Api_model.php Cleaned up formatting of api model 2024-11-21 16:30:12 +00:00
Awards_model.php Added Awards Settings 2025-12-02 13:32:11 +00:00
Bands.php Add filtering and localization to WAB award view 2026-01-21 16:54:24 +00:00
Callhistory_model.php Support compound callsign matching and base extraction 2026-03-26 13:07:25 +00:00
Cat.php Add embeddable on-air widget 2026-03-29 14:24:26 +01:00
Clublog_model.php Include user_id in station profile query 2025-10-13 15:07:57 +01:00
Contesting_model.php Add Cabrillo export modal & format improvements 2026-03-27 00:04:21 +00:00
Counties.php Normalize county/state fields and use in queries 2026-03-24 16:04:23 +00:00
Cq.php Handle incorrect CQ zones 2024-02-14 08:49:51 +01:00
Csv_model.php datetimepicker bs5 2023-11-17 15:34:24 +01:00
Dayswithqso_model.php Analytics: graph of QSOs for each day in the log 2024-11-30 16:53:52 +01:00
Distances_model.php Use direct lotw_users joins instead of subqueries 2026-02-11 10:50:22 +00:00
Dok.php fixed worked and confirmed badges in awards 2023-11-25 23:54:14 +01:00
Dxatlas_model.php datetimpicker dxatlas export (+bugfix) 2023-11-17 15:27:44 +01:00
Dxcc.php Add DXCC statistics and continent breakdown 2026-01-06 22:34:05 +00:00
Dxcc_entities.php Removed all constructors in models, since this doesn't work in never CodeIgniter 2021-11-06 20:24:28 +01:00
Dxcc_exceptions.php Removed all constructors in models, since this doesn't work in never CodeIgniter 2021-11-06 20:24:28 +01:00
Dxcc_prefixes.php Removed all constructors in models, since this doesn't work in never CodeIgniter 2021-11-06 20:24:28 +01:00
Dxcluster_model.php Add missing space 2023-12-20 07:45:30 +00:00
Emeinitials_model.php Update application/models/Emeinitials_model.php 2025-09-29 22:07:22 +01:00
Eqsl_images.php Update application/models/Eqsl_images.php 2025-07-17 17:38:33 +01:00
Eqslmethods_model.php Use primary key for eQSL batch updates 2026-03-18 15:29:10 +00:00
Ffma_model.php Fix FFMA award 2023-12-12 21:58:34 +01:00
Gmdxsummer_model.php [Awards][GMDX] error in SQL 2024-05-15 10:54:29 +01:00
Gridmap_model.php [Visitor] Fixed issue where grid map wasnt functional 2024-05-03 16:00:51 +01:00
Gridmaster_model.php Forgot to add Les Minquiers south of Jersey 2024-05-15 15:05:36 +01:00
index.html Added Basic Files 2011-04-25 16:24:01 +01:00
Iota.php Fix SQL query to use 'in' for station_id comparison 2026-01-13 10:45:52 +00:00
Labels_model.php Implement natural callsign sorting in label queries 2025-11-22 17:21:00 +00:00
Logbook_model.php Use COL_VUCC_GRIDS as fallback for grids 2026-03-29 14:12:25 +01:00
Logbookadvanced_model.php Add gridsquare prefix index and optimizations 2026-02-11 11:09:39 +00:00
Logbooks_model.php Add API endpoint for accessible public slugs 2026-04-03 22:35:25 +01:00
Lookup_model.php Add pagination and DXCC tab to previous QSOs 2026-03-26 22:26:47 +00:00
LotwCert.php Add LoTW batch updates and performance indexes 2026-02-11 11:14:59 +00:00
MigrationVersion.php new MigrationVersion Model 2023-11-12 15:34:48 +01:00
Modes.php Merge branch 'cloudlog8' into mergesolve 2021-11-13 20:00:48 +01:00
Monthlyreport_model.php Add new gridsquares by band to monthly report 2025-11-14 17:49:25 +00:00
Mostworked_model.php Update REGEXP to include 'R' in col_call filter 2025-08-24 10:54:17 +01:00
Note.php Recalculate highlight DX using grid/DXCC 2026-04-10 11:36:40 +01:00
Options_model.php [Global Options] Added Email settings 2022-01-19 14:26:36 +00:00
Oqrs_model.php Add gridsquare prefix index and optimizations 2026-02-11 11:09:39 +00:00
Pota.php Support multiple POTA refs, DB + UI 2026-03-24 14:32:17 +00:00
Publicsearch.php Adjust SQL to be less picky about callsigns 2023-07-14 07:53:54 +02:00
Qsl_model.php Enforce write permissions for QSO modifications 2025-12-23 11:06:19 +00:00
Qslprint_model.php make sure only requested callsign is shown 2023-12-07 01:18:24 +01:00
Search.php changed search filter from active logbook to all stations of the user 2022-02-06 09:41:11 +01:00
Search_filter.php Removed all constructors in models, since this doesn't work in never CodeIgniter 2021-11-06 20:24:28 +01:00
Setup_model.php Improve logbook ownership checks and permissions 2025-12-20 21:50:21 +00:00
Sig.php Add SIG award filters and translations 2026-01-21 17:15:01 +00:00
Sota.php Refactor and enhance SOTA awards support 2026-01-13 13:35:11 +00:00
Sota_model.php Refactor and enhance SOTA awards support 2026-01-13 13:35:11 +00:00
Sstv_model.php Enforce write permissions for QSO modifications 2025-12-23 11:06:19 +00:00
Stations.php Support multiple POTA refs, DB + UI 2026-03-24 14:32:17 +00:00
Stats.php Add gridsquare prefix index and optimizations 2026-02-11 11:09:39 +00:00
Themes_model.php Removed all constructors in models, since this doesn't work in never CodeIgniter 2021-11-06 20:24:28 +01:00
Thirdpartylogin.php [Third Party Logins] Created Model with functions and the controller which needs code 2022-07-10 21:28:21 +01:00
Timeline_model.php Fix details for grids with DXCC none 2024-01-01 01:06:04 +01:00
Timeplotter_model.php [Timeplotter] Fixed error when no QSOs found. 2021-11-14 17:20:10 +01:00
User_model.php Add toggle for QSL Cards menu item 2026-04-08 22:26:05 +01:00
User_options_model.php Add option to configure private feed key and show only workable passe 2024-03-09 08:49:12 +01:00
Vucc.php Bugfix for VUCC error when no grids are confirmed 2023-11-27 08:18:17 +01:00
Waja.php Enhance WAJA award page with filters and stats 2026-01-21 17:31:32 +00:00
Was.php fixed worked and confirmed badges in awards 2023-11-25 23:54:14 +01:00
Winkey.php Improve CW macro saving and UI feedback 2025-10-10 14:54:50 +01:00
Workabledxcc_model.php Add option to count satellite QSOs in DXPeditions 2026-03-26 15:00:56 +00:00
Worked_all_britain_model.php Use direct lotw_users joins instead of subqueries 2026-02-11 10:50:22 +00:00
Wwff.php Add advanced filtering and stats to WWFF awards page 2026-01-21 17:36:18 +00:00