Commit graph

223 commits

Author SHA1 Message Date
Peter Goodhall
a56f1b8773 Added EME to DXCC Awards page 2026-07-21 13:16:10 +01:00
Peter Goodhall
984bfde498 Improve DXCC awards filtering and map legend
- Fix returnStatus() to evaluate all band statuses before returning, so 'C' takes priority over 'W' across all bands instead of returning on first match
- Add band preset buttons (HF Only, VHF/UHF+, SAT Only, All, Clear) to the DXCC filter form
- Update map legend to show total worked count (confirmed + unconfirmed) alongside the unconfirmed breakdown
2026-07-21 13:09:12 +01:00
Peter Goodhall
e5ce621734 Replace band dropdown with multi-select checkboxes
Replaces the single band dropdown on the DXCC awards page with a group of checkboxes allowing multiple bands to be selected simultaneously.

- Controller and model updated to accept `bands[]` array instead of a single `band` value
- `addBandToQuery()` in Dxcc model now handles array input, building appropriate IN clauses and SAT propagation mode logic
- `returnStatus()` priority fixed: Confirmed (C) now takes precedence over Worked (W); unworked entries now return 'x' instead of null
- JS updated to collect checked band values; map and filter reset functions updated accordingly
- Uninitialized `$newdxcc`/`$newiota` arrays now explicitly initialized before use
2026-07-20 22:08:53 +01:00
Peter Goodhall
e25714b37a Update GMDX Summer Challenge to 2026
Advance the GMDX Summer Challenge event to 2026: update controller week end timestamps, and update view copy and table dates/entry link to reflect the new event window (11 May – 5 July 2026). In the model introduce START_DATE (2026-05-11), add validation to ignore empty/null COL_GRIDSQUARE values, and change combined-count logic to normalize gridsquares and group modes into CW / VOICE / DIGITAL so counts are consistent and case-insensitive.
2026-05-06 10:33:35 +01:00
Peter Goodhall
177f605183 Add year filter to DXCC awards
Add a year filter to the DXCC awards UI and backend. Controller: populate worked_years for the view and read/sanitize a year POST value (default 'All'). Model: introduce addYearToQuery() to append a YEAR(col_time_on) clause to existing DXCC queries and call it in relevant query paths; add get_worked_years() to return distinct worked years for the active logbook locations. View: add a year select dropdown to the DXCC awards form. This enables narrowing DXCC results by year.
2026-05-03 22:48:10 +01:00
Peter Goodhall
264d6f0b0b Add plugin award menu and settings
Support plugin-provided awards and user-configurable visibility. Controller now loads plugin entries and user options, exposes plugin_award_entries and plugin_award_visibility to views, and adds savePluginAward() to validate input and persist visibility via user_options_model. Views: settings page renders plugin award rows with checkboxes; header only shows plugin awards that are enabled. JS: award_settings.js and awards.js handle plugin award checkbox events, call the new savePluginAward endpoint, and provide saving/feedback UI. Includes input sanitization, slug validation, and preserves existing core award flows.
2026-04-29 22:40:24 +01:00
Peter Goodhall
c3a5410805 Normalize county/state fields and use in queries
Normalize COL_CNTY/COL_STATE handling and use normalized expressions in queries to ensure consistent grouping/filtering and avoid mismatches.

- application/models/Counties.php: add normalized SQL expressions (trim/case/substring) and apply them to counting, grouping and ordering queries; filter out empty normalized states and adjust joins to compare normalized values.
- application/models/Logbook_model.php: normalize incoming $county/$state, add dxcc_entities join and selects, and use normalized WHERE clauses (case/trim and substring for 'ST, County' formats); also standardize band filter to COL_BAND != 'SAT'.
- application/views/view_log/partial/log_ajax.php: avoid undefined property notices by checking for name/end on the row object and use those values for Country and Flag display.

These changes address inconsistent imported county/state formats (e.g. "ST, County"), whitespace/case variations, and prevent PHP notices while keeping query semantics intact.
2026-03-24 16:04:23 +00:00
Peter Goodhall
c556a42892 Add advanced filtering and stats to WWFF awards page
Enhanced the WWFF awards page with band, mode, and QSL type filters, quick preset buttons, and a summary section showing worked/confirmed parks and milestone progress. Updated the controller to handle filter input and summary data, and extended the model with methods for filtered queries and statistics.
2026-01-21 17:36:18 +00:00
Peter Goodhall
e85e18018e Enhance WAJA award page with filters and stats
Added collapsible filter panel with quick preset buttons, improved form layout, and a new statistics summary section showing WAJA progress and milestones. Prefecture names in the table are now clickable to view QSOs. Updated SQL queries in the Waja model to use the correct band key and improved SAT handling.
2026-01-21 17:31:32 +00:00
Peter Goodhall
0e7a2ccd39 Add CSV export for SIG QSOs
Introduced a new controller method sigexportcsv() to export SIG QSO data as a CSV file. Added a corresponding button in the SIG QSO list view to allow users to download the CSV export.
2026-01-21 17:19:48 +00:00
Peter Goodhall
e6b12e9f3d Redirect WAB SIG to dedicated awards page
Updated the SIG awards table to redirect WAB entries to a dedicated WAB awards page instead of the generic SIG details page. This improves navigation and user experience for WAB award users.
2026-01-21 17:17:27 +00:00
Peter Goodhall
2d9c4182d2 Add SIG award filters and translations
Introduces filtering by band, mode, and confirmation status to the SIG awards section in Awards.php, including a filter summary helper. Updates all supported language files to add translations for the new SIG award filters, table headers, and related UI elements.
2026-01-21 17:15:01 +00:00
Peter Goodhall
2a2f62ccbc Add filtering and localization to WAB award view
Introduces band, mode, and confirmed-only filters to the Worked All Britain (WAB) award view and details AJAX endpoint. Updates the controller, model, and view logic to support filtering, and adds new localized strings for WAB award UI elements in multiple languages. Also ensures the correct script is loaded for the WAB section and improves the Bands model to check for field existence before filtering by award.
2026-01-21 16:54:24 +00:00
Peter Goodhall
3694af2c40 Move 'nothing found' row to table footer
The message indicating no results are found is now displayed in the <tfoot> section instead of <tbody> for better semantic HTML structure.
2026-01-15 13:43:43 +00:00
Peter Goodhall
7793b2446a Update mode dropdown to use submode if available
Modified the mode selection dropdown to display submode if it exists, otherwise fallback to mode. Also updated the iteration to use the result() method for consistency with the data structure.
2026-01-14 22:48:55 +00:00
Peter Goodhall
1e89b420fd Fix JSON encoding for map data with invalid UTF-8
Adds JSON_INVALID_UTF8_SUBSTITUTE to json_encode for $qsos_by_ref and $confirmed to handle invalid UTF-8 data, preventing JavaScript errors when rendering the SOTA map.
2026-01-14 22:47:24 +00:00
Peter Goodhall
953b27783b Tag Cloudlog as version 2.8.6 and update SOTA UI
Added migration 243 to tag Cloudlog as version 2.8.6 and updated the migration version in config. Improved SOTA awards table to display a message outside the table when no results are found. Modified the SOTA index page to trigger filter refresh on 'Apply' and adjusted DataTables language options for empty states.
2026-01-14 16:43:53 +00:00
Peter Goodhall
821e1c2163 Remove RST columns from SOTA awards table
The RST sent and received columns have been removed from the SOTA awards table for a cleaner display. The colspan for the 'nothing found' row was also updated to match the new column count.
2026-01-13 14:02:53 +00:00
Peter Goodhall
8b819d2177 Refactor and enhance SOTA awards support
Replaces the old SOTA model with a new Sota_model, adds CSV-based summit metadata caching, and introduces new controller endpoints and view components for SOTA table, stats, and map fragments. The SOTA award page now supports filtering, improved statistics, and interactive mapping using summit coordinates. Updates .gitignore to include the new SOTA CSV, and refactors SOTA data refresh logic for reliability and maintainability.
2026-01-13 13:35:11 +00:00
Peter Goodhall
2f917c8bcf Add advanced POTA awards dashboard with filtering and map
Introduces a new POTA awards dashboard with HTMX-powered filtering, statistics, progress bars, and a Leaflet map of worked parks. Adds new controller endpoints, model methods for filtered queries and park metadata, and modular view components for table, stats, progress, and map. Updates language files for new stats labels and enhances the update process to cache the full POTA parks CSV for richer features.
2026-01-10 15:08:22 +00:00
Peter Goodhall
58d7eeeef3 Redesign IOTA awards page UI and add search
Improves the IOTA awards page with a modernized layout, enhanced filter section, and updated tab navigation. Adds a search box for filtering IOTA table entries by island group name or IOTA number, and refines summary table presentation. Improves accessibility and user experience with better styling and responsive design.
2026-01-07 16:07:14 +00:00
Peter Goodhall
d07e788921 Add WAS statistics summary, filters, and CSV export
Introduces a statistics summary section, quick preset filters, and CSV export functionality to the WAS awards page. Adds sortable columns, a search box, and updates the UI for better usability. JavaScript logic is included to update statistics dynamically based on visible table rows and to handle filtering, sorting, and exporting. Also improves the CQ statistics logic for consistency.
2026-01-07 11:25:03 +00:00
Peter Goodhall
1fa6da4556 Enhance CQ awards page with filters and table features
Added advanced filter panel with quick presets, improved statistics summary, and milestone progress display to the CQ awards page. Enhanced the CQ table with search and sortable columns, and implemented CSV export functionality. Updated footer scripts to support new table interactions and filter presets.
2026-01-07 11:02:44 +00:00
Peter Goodhall
218f796e71 Move filters section above statistics summary in DXCC view
Reordered the filters section to appear before the statistics summary and continent breakdown in the DXCC awards index view for improved user experience and logical flow.
2026-01-07 10:54:44 +00:00
Peter Goodhall
d597e2e83b Add DXCC statistics and continent breakdown
Introduces DXCC statistics and continent breakdown features to the awards page, including new controller endpoints for DXCC QSOs, QSOs by status, and continent QSOs. Updates the DXCC model to provide continent and milestone statistics, and enhances the awards view with summary cards, continent progress, table search, sorting, and modal dialogs for QSO details.
2026-01-06 22:34:05 +00:00
Peter Goodhall
d5e6720b64 Update FFMA award description
Changed the FFMA award description from 'Flora and Fauna in Marche Award' to 'Fred Fish Memorial Award' for accuracy.
2025-12-02 13:33:42 +00:00
Peter Goodhall
88f328581b Added Awards Settings 2025-12-02 13:32:11 +00:00
Danny
b92b60d678 Distances worked analytics: filter on propagation mode 2024-11-17 16:31:27 +01:00
Peter Goodhall
cee89b3966 Added support for the GMDX Summer Challenge 2024-05-09 15:55:03 +01:00
Peter Goodhall
d169298940 WAB - changed colours to match the standard in Cloudlog 2024-04-20 22:34:04 +01:00
Peter Goodhall
8b206a99df Fix map heights 2024-04-20 22:28:00 +01:00
Peter Goodhall
9527b08181 DXCC map full height 2024-04-20 22:25:05 +01:00
Peter Goodhall
201368c2cc Makes CQ Magazine WAZ map fully visible 2024-04-20 22:23:32 +01:00
Peter Goodhall
2d72981787 Added full Worked All Britain Award Support
Added full Worked All Britain Award Support using the SIG system in Cloudlog #3079
2024-04-20 16:01:50 +01:00
Peter Goodhall
e2a9641383 draft to build a map with wab map geo overlay 2024-04-18 17:42:34 +01:00
phl0
aff522334a
Fix WWFF award info 2024-04-05 10:56:03 +02:00
abarrau
59db0ed5a7 fix forgotten semicolon on php 2023-12-22 10:16:19 +01:00
Andreas Kristiansen
2431d26206
Merge pull request #2818 from AndreasK79/new_was_map
New was map
2023-12-13 08:12:29 +01:00
Andreas
fc742615d7 [Award] Added map based on Leaflet 2023-12-12 21:35:03 +01:00
phl0
b58ff1ae13
Remove redundant JA gridmaster stuff 2023-12-12 19:52:42 +01:00
phl0
bfc2d50c95
Generalize gridmaster functions 2023-12-12 19:15:56 +01:00
abarrau
6d39b92d5c add special class for all map 2023-12-09 10:44:26 +01:00
HB9HIL
dd2a7a067b removed unnessesary close buttons 2023-12-07 01:20:39 +01:00
HB9HIL
60e667da5f removed not needed class 2023-12-05 23:53:23 +01:00
Andreas
eaf5516e81 Added English award info 2023-12-04 12:31:05 +01:00
Andreas
8995b44ea3 Added mouseover info 2023-12-04 11:09:05 +01:00
Andreas
1602b3bc86 [Awards] WAJA Map W.I.P. 2023-12-03 15:57:25 +01:00
Andreas
dedf841ed3 Fixed migration script. Removed map button/tab and award info 2023-11-30 10:55:46 +01:00
Andreas
50fef635d5 [Awards] Addad WAJA 2023-11-29 20:16:53 +01:00
HB9HIL
ba63e5f6db Merge remote-tracking branch 'upstream/dev' into bootstrap_5 2023-11-24 12:14:10 +01:00