Commit graph

1872 commits

Author SHA1 Message Date
Peter Goodhall
62380e0181 Expand band support and improve band display in bandmap
Added support for additional LF, MF, UHF, SHF, and EHF amateur radio bands in Bands model and bandmap view. Updated band ranges and ordering, and improved band name formatting in the bandmap UI for better clarity and consistency across all supported bands.
2025-10-04 23:05:20 +01:00
Peter Goodhall
d661b0a3b7 Remove Bandmap controller and enhance QSY mode handling
Deleted the Bandmap controller as part of code cleanup or refactoring. Improved the QSY command logic in Dxcluster by adding debug logging and handling the mode parameter more robustly. Updated the bandmap view to pass spot information, detect RBN spots, and send the appropriate mode (e.g., CW) with QSY commands.
2025-10-04 14:06:19 +01:00
Peter Goodhall
25a03ab1fa Add optimized radio command APIs and QSY integration
Introduces an optimized API endpoint to fetch all pending radio commands for a user in a single call, along with a maintenance endpoint for cleaning up expired and old commands. Updates the documentation to reflect these new endpoints and usage patterns. Adds a QSY endpoint to Dxcluster for queuing frequency/mode commands from the bandmap, and integrates client-side JavaScript to send QSY commands to the selected radio with user feedback. Enhances backend models to support user-scoped cleanup of expired and old commands.
2025-10-04 13:34:42 +01:00
Peter Goodhall
5c63e5099e Add radio command queueing and management system
Introduces a new radio command queueing system with API endpoints and a user interface for sending, viewing, and managing radio commands. Adds migration for the radio_commands table, extends the Cat model with command-related methods, and implements new controllers and views for both API and web interfaces. This enables integration with desktop apps and provides users with tools to send, track, and cancel radio commands.
2025-10-04 11:48:48 +01:00
Peter Goodhall
97195690b2 Integrate DX Cluster bandmap with QSO and layout
Refactored Dxcluster controller to use header and footer layouts. Removed standalone HTML structure from dxcluster/index.php to fit within the site layout. Added 'Open Bandmap' button and supporting JavaScript to qso/index.php for easier access to the bandmap from the QSO page.
2025-10-02 21:43:35 +01:00
Peter Goodhall
5f0c95804a Add user-specific bands to bandmap and persist radio selection
The bandmap now displays only the bands configured for the current user, using a new Bands model method to retrieve and order them. The band selection dropdown in the bandmap view is dynamically generated based on user bands, with a fallback to defaults. Additionally, the selected radio is now persisted in localStorage and synchronized across selects, and the bandmap window width was adjusted for better display.
2025-10-02 17:40:49 +01:00
Peter Goodhall
c39e727f9a Add DX Cluster controller and bandmap views
Introduces a new Dxcluster controller with authorization checks and two views: a main index page and an interactive bandmap for real-time DX spots visualization. The bandmap view includes a WebSocket connection to a DX Cluster server, dynamic spot rendering, zoom, band selection, and user interface enhancements.
2025-10-02 14:19:39 +01:00
Peter Goodhall
8ee56acb17 Remove Bandmap feature and related files
This commit removes the Bandmap feature, including its controller, views, JavaScript assets, and navigation menu entry. This is because it was broken upstream
2025-10-02 09:46:01 +01:00
Jonathan Naylor
025b462516 Add an EME Initials option to the Analytics menu option for EME
operators.
2025-09-24 19:27:49 +01:00
Peter Goodhall
952007467d Add latitude and longitude to DXCC lookup results
Enhanced the DXCC lookup in Logbook_model to include latitude and longitude in the returned array. Updated API controller to utilize these new fields when returning recent QSOs and callsign lookups, providing more detailed location data in API responses.
2025-09-12 13:14:31 +01:00
Peter Goodhall
b7c065dbdd Add input validation for recent_qsos limit parameter
The recent_qsos API endpoint now validates and sanitizes the $limit parameter, enforcing a default of 10, a minimum of 1, and a maximum of 50. Additionally, get_last_qsos in Logbook_model ensures $num is always an integer to prevent SQL injection.
2025-09-09 14:25:40 +01:00
Peter Goodhall
11c83f5908 Update Api.php 2025-09-09 14:21:53 +01:00
Peter Goodhall
72ea1e3353 Remove limit validation and update SQL join in logbook
Removed the limit parameter validation and sanitization from Api.php, delegating limit handling elsewhere. Changed the SQL query in Logbook_model.php to use LEFT JOIN for station_profile, ensuring all logbook records are included even if no matching station_profile exists.
2025-09-09 14:19:15 +01:00
Peter Goodhall
04ccd0809c Refactor Adif controller for code style and readability
Improved code formatting and consistency in the Adif controller by updating brace placement, indentation, and spacing. Enhanced readability and maintainability without changing core logic or functionality.
2025-08-29 10:59:42 +01:00
Peter Goodhall
76f55f7f27 Add Most Worked Callsigns feature
Introduces a new 'Most Worked Callsigns' page, controller, model, and view to display callsigns worked multiple times from the active logbook. Adds language support for this feature in multiple languages and updates the navigation menu to include a link to the new page. Also includes DataTables integration and filter options for bands, modes, satellites, date range, and minimum QSOs.
2025-08-23 21:11:36 +01:00
Peter Goodhall
a89b04966e Improve error handling for hams.at API fetch
Adds robust error handling and user feedback for failures when fetching satellite data from the hams.at API. The controller now sets error states and messages for connection issues and invalid responses, and the view displays appropriate alerts to users.
2025-08-22 17:27:35 +01:00
Peter Goodhall
67a652bce6 Add archive status for LoTW certificates
Introduces an 'archived' boolean column to the lotw_certs table via migration, adds model and controller logic to toggle archive status, and updates the view to display and allow archiving/unarchiving of certificates. This enables users to mark LoTW certificates as archived for better management.
2025-08-22 17:15:51 +01:00
Peter Goodhall
5ff5e12890 Add public radio status option to logbooks
Introduces a new 'public_radio_status' field to station logbooks, allowing users to enable or disable the display of radio status on public logbook pages. Updates migration, controllers, model, views, and language files to support this feature and provide UI controls for toggling the option.
2025-08-22 14:52:07 +01:00
Peter Goodhall
31ac64ae65 Add offset parameter to visitor map view
Introduces an offset parameter to the Visitor controller and updates the footer view to include the offset in the map URL. This enables paginated or segmented access to QSOs for public logbook pages.

Fixes #3317
2025-08-19 17:38:45 +01:00
Peter Goodhall
6af65e6dbb
[Feature] Add filtering options to public gridsquare maps 2025-08-19 17:28:24 +01:00
copilot-swe-agent[bot]
499e752dbd Fix form visibility and mode handling for visitor gridmap
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-08-19 16:17:02 +00:00
copilot-swe-agent[bot]
251fe3cc35 Add filtering support to public gridsquare maps
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-08-19 16:14:47 +00:00
Peter Goodhall
c229173b15
Update application/controllers/Options.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-17 22:14:18 +01:00
copilot-swe-agent[bot]
b1aacb94ab Fix appearance options flash message issue - show single success message
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-08-17 20:59:23 +00:00
Peter Goodhall
a39ef57fdd Add IOTA status handling to DXCC list
Introduces batch processing of IOTA worked/confirmed status in the controller and model, and updates the DXCC list view to display IOTA badges with status and links. Enhances visibility of IOTA information for each DXCC entry.
2025-08-14 15:36:38 +01:00
Peter Goodhall
98ef3d8d83 Remove unused test method from Adif controller
Deleted the test() method from Adif.php as it was not used and contained only temporary validation code.
2025-08-13 15:58:04 +01:00
Peter Goodhall
d1bb6ff3ea Add DXCC satellite contact tracking and display
Introduces 'workedViaSatellite' status to DXCC tracking in both controller and model, including batch queries for satellite contacts. Updates the DXCC list view to show a badge when a country has been worked via satellite, improving visibility of satellite achievements.
2025-08-11 16:08:06 +01:00
Peter Goodhall
12127b8d85 Fix DXCC country matching case sensitivity
Updated SQL queries in Workabledxcc controller and model to use case-insensitive matching for DXCC country names by comparing UPPER(COL_COUNTRY) to UPPER(?). This resolves issues where country names with different cases were not matched correctly.
2025-08-11 15:12:14 +01:00
Peter Goodhall
9b17ff9250 Optimize DXCC list queries and add DB indexes
Refactored Workabledxcc controller and model to batch DXCC entity and worked/confirmed status lookups for improved performance. Added migration to create composite indexes on DXCC-related columns to further speed up queries. Updated migration version to 205.
2025-08-11 14:50:56 +01:00
Peter Goodhall
66d6fc91a8 Improve update status handling and error reporting
Added get_status endpoint to Update controller for serving update status. Enhanced update_status to handle directory creation and log errors. Updated footer view to use new endpoint, improved error handling and retry logic for status updates.
2025-08-09 21:35:47 +01:00
Peter Goodhall
046dc4b4ef Optimize dashboard data retrieval with consolidated queries
Replaced multiple individual queries in Dashboard controller with consolidated methods for setup counts and country statistics. Added getAllSetupCounts to Setup_model and get_countries_statistics_consolidated to Logbook_model to improve performance and reduce database load.
2025-08-09 21:24:35 +01:00
Peter Goodhall
3d7258c1f5 Optimize dashboard model loading and DXCC count
Refactored Dashboard controller to load common models in the constructor and optimize dashboard options processing using associative arrays for faster lookups. Replaced DXCC entity counting logic with a new get_total_dxcc_count() method in the Dxcc model to avoid loading all records, improving performance.
2025-08-09 21:14:39 +01:00
Peter Goodhall
278a4b384c Optimize QSO statistics retrieval with consolidated query
Replaced multiple individual queries for QSO statistics in Dashboard controller with a single consolidated query in Logbook_model. This improves performance by reducing database calls when fetching today's, total, monthly, and yearly QSO counts.
2025-08-09 21:10:04 +01:00
Peter Goodhall
b3eaa6d1cb Normalize submode returns to parent mode
Updated the mapping logic for several digital modes to return the parent mode name instead of the specific submode. This change ensures consistency in mode reporting and simplifies downstream processing.
2025-08-02 13:04:39 +01:00
Peter Goodhall
670d068243 Fix mode mapping for RTTY and CW submodes
Corrects the returned mode for RTTY/ASCI and CW/PCW submodes to consistently return 'RTTY' and 'CW' respectively, ensuring accurate mode representation.
2025-08-02 12:01:38 +01:00
Peter Goodhall
7d47bd08a9 Return 'SSB' for LSB and USB submodes in Lotw
Updated the Lotw controller to return 'SSB' instead of 'LSB' or 'USB' when the submode is LSB or USB. This change ensures consistent handling of SSB submodes.
2025-08-02 11:57:56 +01:00
Peter Goodhall
5c5b739e52 Remove debug log messages from Station controller and model
Eliminated unnecessary log_message calls that output posted data and state values as errors. This cleanup reduces log noise and improves code clarity.
2025-08-02 11:31:45 +01:00
Peter Goodhall
01b24e095e Update Station.php 2025-08-02 11:19:58 +01:00
Steven Dodd
36e21c2380
Forced http version and added compression 2025-07-31 15:55:07 +01:00
Peter Goodhall
f502de6338
Fix QSO form date format and backend date parsing to respect user preferences 2025-07-30 22:48:49 +01:00
Peter Goodhall
a71eac35ee
Add API endpoint for retrieving recent QSO data from public logbooks 2025-07-30 22:31:38 +01:00
copilot-swe-agent[bot]
db239bf0a3 Fix QSO form to use user's preferred date format instead of hardcoded d-m-Y
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-07-30 21:24:34 +00:00
copilot-swe-agent[bot]
49038e21d3 Add API endpoint for recent QSO data
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-07-30 21:23:45 +00:00
copilot-swe-agent[bot]
a97a381a7a Add timeout and safety limits to QRZ download to prevent runaway processes
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-07-30 15:58:32 +00:00
Peter Goodhall
c3c1f1e325 Add migration to set TEVEL2-3 QSL sent status to N
Added migration 202 to update COL_LOTW_QSL_SENT to 'N' for TEVEL2-3 satellite records. Updated migration version in config and added TEVEL2-3 to the satellite name mapping in Lotw controller.
2025-07-30 10:26:16 +01:00
Peter Goodhall
f951018ed1 Expand mode and submode mapping in Lotw controller
Added comprehensive handling for various digital modes and submodes in the Lotw controller, including detailed mappings for JT65, JT4, JT9, QRA64, ISCAT, OLIVIA, OPERA, ROS, HELL, DOMINO, CHIP, PAC, PAX, TOR, THRB, SSB, RTTY, CW, CLO, and V4. This improves the accuracy of mode translation and ensures better compatibility with a wider range of digital communication formats.
2025-07-29 16:01:57 +01:00
Peter Goodhall
23f1017433 Fix LOTW upload response string match
Removed extra space in the LOTW upload response string to correctly detect successful uploads.
2025-07-17 16:50:39 +01:00
Peter Goodhall
4d10db1fc0 Fixed winkey state errors 2025-07-15 14:23:53 +01:00
Peter Goodhall
be4b34feec [API] Adds logbook_check_country call 2025-06-24 15:24:20 +01:00
Peter Goodhall
7156b185e1 add option to turn on websockets for winkey 2025-05-28 13:38:25 +01:00