Commit graph

137 commits

Author SHA1 Message Date
Peter Goodhall
df8dc163ff Add reverse SIG bulk remove and input validation
Validate and harden SIG handling across controllers and views. Awards: trim and validate requested SIG type, guard against empty types and wrap SIG data loading in try/catch with error logging and user notice. Callhistory: tighten input trimming and validation for proposed SIG info, reject proposals without membership numbers and enforce per-organization SIG-info rules (e.g. numeric for CWOPS). Add scan_remove action to perform reverse/bulk SIG clears for matched QSOs, and filter/validate batch changes before applying. Improve CSV/header parsing by normalizing header keys, aligning rows to headers (handles N1MM !!Order!! cases), extracting exch1 robustly, and adding helpers (looks_like_callsign, is_valid_sig_info_for_organization). View: add Reverse Bulk SIG Update UI, confirmation modal and JS helpers, and convert several forms to use JS-driven confirm dialogs. Misc: various trimming/safety fixes and UX messages.
2026-03-26 10:40:39 +00:00
Peter Goodhall
14af3fda19 Support multiple POTA refs, DB + UI
Add support for comma-separated POTA references across the app: bump migration version to 259 and add migration 260 to expand COL_MY_POTA_REF and station_pota to VARCHAR(255). Introduce Pota::split_refs and collect_refs_from_rows to normalize and aggregate multiple refs; refactor Pota counts to compute unique refs per band/mode. Normalize station_pota when saving in Stations and Logbook_model (uses normalize_pota_refs), and adjust POTA search to match refs inside comma-separated values. Update views to render multiple POTA links and hashtags, and add Selectize-based autocomplete for station POTA input on create/edit forms. Also minor change to user_owns_station query (removed user_id where clause).
2026-03-24 14:32:17 +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
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
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
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
f4d4fac839 Optimize continent QSOs query in Awards controller
Refactored get_continent_qsos to use a single SQL query for fetching DXCC entities and their worked/confirmed status, replacing multiple per-entity queries. This improves performance and simplifies the code.
2026-01-07 10:50:49 +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
f2e63b2d0b Support multiple gridsquares in VUCC validation
Updated gridsquare validation to allow multiple comma-separated gridsquares for VUCC awards. Each gridsquare is now individually validated for correct format, improving input flexibility and error handling.
2025-10-18 14:39:44 +01:00
Peter Goodhall
7d64275095 Add input validation and secure queries for VUCC details
Enhanced input validation for gridsquare and band parameters in Awards controller to prevent invalid data and potential abuse. Updated Logbook_model to use parameterized queries and early return for empty logbook relationships, improving security and reliability of VUCC QSO details retrieval.
2025-10-18 11:31:48 +01:00
Peter Goodhall
cee89b3966 Added support for the GMDX Summer Challenge 2024-05-09 15:55:03 +01:00
Peter Goodhall
ec7d579e77 Update Awards.php 2024-04-20 18:09:10 +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
Andreas Kristiansen
2431d26206
Merge pull request #2818 from AndreasK79/new_was_map
New was map
2023-12-13 08:12:29 +01:00
phl0
4e26174b93
Fix FFMA award 2023-12-12 21:58:34 +01:00
Andreas
352b933f44 [Award] WAS - removed unused code 2023-12-12 21:41:23 +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
Andreas
c47ed82166 Fixed map function 2023-12-04 11:00:01 +01:00
Andreas
1602b3bc86 [Awards] WAJA Map W.I.P. 2023-12-03 15:57:25 +01:00
Andreas
50fef635d5 [Awards] Addad WAJA 2023-11-29 20:16:53 +01:00
HB9HIL
29cfc7c3e9
Merge pull request #12 from phl0/jaGridmaster
JA gridmaster and a more generalized approach serving as blueprint for
2023-10-23 10:02:09 +02:00
phl0
3e18f50a90
JA gridmaster and a more generalized approach serving as blueprint for
future gridmaster map pages
2023-10-22 21:23:51 +02:00
HB9HIL
2f45174ffd adjusted page titles 2023-10-21 09:35:09 +02:00
HB9HIL
cec59fcd7d DOK Award(s) 2023-10-21 08:42:03 +02:00
HB9HIL
02bff45d32 adjusted dxcc award page title 2023-10-21 00:27:50 +02:00
HB9HIL
3d18d649d9 adjusted dok award page title 2023-10-21 00:18:27 +02:00
HB9HIL
9522ed7ae5 adjusted cq award name 2023-10-21 00:11:13 +02:00
HB9HIL
649b2a7803 adjusted cq award name 2023-10-21 00:04:12 +02:00
Andreas
c4121e7cde [Awards] Added FFMA 2023-10-20 13:27:44 +02:00
phl0
5c635f1b90
Add paper QSL to Gridmaster (as well as translations) 2023-10-19 18:12:52 +02:00
phl0
c81c6654a2
Add Gridmaster award map 2023-10-19 14:00:20 +02:00
phl0
27652fc773
Add functionality to lookup per source grid(s) 2023-09-16 00:32:39 +02:00
int2001
d2e25a27c8
Added detail-view to todays QSLs 2023-08-14 13:20:13 +00:00
int2001
1e269b18b2
removed a lot of unused (and dangerous) functions 2023-08-08 13:47:23 +00:00
Andreas
1e82df7530 [Awards] Added xss_clean to all used inputs 2023-08-01 14:20:14 +02:00
phl0
2370ee2bfe
Harmonize LoTW abbreviation 2023-04-26 05:44:54 +02:00
phl0
accf4add52
Implement eQSL and QSL filter for WAS awards 2023-01-18 14:08:56 +01:00
phl0
90b2e9c7f9
Implement eQSL and QSL filter for DXCC awards 2023-01-18 13:51:46 +01:00
phl0
75cf2c7c7c
Implement eQSL and QSL filter for CQ awards 2023-01-18 13:35:58 +01:00
Andreas
9781b1947e Fix empty value error for PHP 8.1 2023-01-18 09:53:47 +01:00
phl0
fd9424f730
Previous fix won't work as value would be overwritten 2023-01-18 09:31:38 +01:00
phl0
eb3b2f195c
Fix empty value error for PHP 8.1 2023-01-18 09:28:27 +01:00
phl0
f3a0025423
Rework DOK stats and add some eye candy
Squashed commit of the following:

commit 91b55288edee8cdae93570212e0e94c3cc2e66ff
Author: phl0 <github@florian-wolters.de>
Date:   Mon Jan 16 14:59:52 2023 +0100

    Add link to DD3AH map

commit 11149f8202bb118d635b952512de4f4456c1789a
Author: phl0 <github@florian-wolters.de>
Date:   Mon Jan 16 14:29:37 2023 +0100

    Add datatable

commit fc768b32bc256c12668bb1c095184e56edbb2d25
Author: phl0 <github@florian-wolters.de>
Date:   Mon Jan 16 14:06:38 2023 +0100

    Remove old code

commit b8dfe8566fdc8b20a105b7120faeff4a054b4166
Author: phl0 <github@florian-wolters.de>
Date:   Sun Jan 15 23:13:09 2023 +0100

    Filter summary for DOK/SDOK and remove empty lines

commit 5d081a2f7dacd0da8761b7e06a253a6e4050b6c4
Author: phl0 <github@florian-wolters.de>
Date:   Sun Jan 15 22:55:46 2023 +0100

    Remove not worked for now

commit 00e9354a5f0be9d40ca3b16e29dbf1728b7d2875
Author: phl0 <github@florian-wolters.de>
Date:   Sun Jan 15 22:53:17 2023 +0100

    Include SAT QSOs in totals

commit c1dd7e131ee750b647d4ba802c5aa7af742bdea3
Author: phl0 <github@florian-wolters.de>
Date:   Sun Jan 15 17:16:30 2023 +0100

    Use worked DOKs from DB instead of list from file

commit 5e60dc51b5b6ea12bf0109847967c80b0f31e79a
Author: phl0 <github@florian-wolters.de>
Date:   Fri Jan 13 14:59:27 2023 +0100

    Use QSL only for confirmed QSOs

commit 26c03d9a62492bcbfdfdfb5ec1b6d72e61134bce
Author: phl0 <github@florian-wolters.de>
Date:   Mon Jan 9 16:40:37 2023 +0100

    Add filter to QSO details popup

commit 20b704aa853c806b0739ac9bd3d4a6082987fb9c
Author: phl0 <github@florian-wolters.de>
Date:   Mon Jan 9 15:25:35 2023 +0100

    Forgot to delete replaced part of code

commit 574a1ebd17625f508ac40cb87b927efdc9d9f998
Author: phl0 <github@florian-wolters.de>
Date:   Mon Jan 9 15:20:21 2023 +0100

    Hide NM as just a marker for no DOK at all

commit 2b5c2ad8e149c370e036fdfc2f978f411bc11ea7
Author: phl0 <github@florian-wolters.de>
Date:   Thu Jan 5 22:49:03 2023 +0100

    Remove debug statement

commit 39406b96a3ec8f98ec8548156b83016d68cb6897
Author: phl0 <github@florian-wolters.de>
Date:   Thu Jan 5 22:48:06 2023 +0100

    Add option for eQSL

commit 2de47e79f232a8505e951366c557b136c6b6d28d
Author: phl0 <github@florian-wolters.de>
Date:   Thu Jan 5 15:27:10 2023 +0100

    Rework DOK stats
2023-01-16 17:08:27 +01:00
Andreas Kristiansen
4da2227002
Merge branch 'dev' into iota_map 2022-12-12 09:30:59 +01:00
Andreas
e1444c2abf [IOTA Map] Added map to display IOTA's 2022-12-11 17:47:36 +01:00