Commit graph

5598 commits

Author SHA1 Message Date
Peter Goodhall
60e191ce74 Toggle #winkey div based on mode selection
Show the #winkey div when data.mode is 'CW' and hide it otherwise. This improves the UI by conditionally displaying the Winkey controls only when relevant.
2025-10-07 22:40:23 +01:00
Peter Goodhall
3215f6847c Tag Cloudlog as version 2.7.3 and remove API docs
Bump migration version to 215 and add migration to update Cloudlog version to 2.7.3. Remove API_DOCUMENTATION.md and RADIO_COMMANDS_API.md files. The migration also resets the version info dialog for users.
2025-10-07 14:10:40 +01:00
Peter Goodhall
3204ffd531 Improve Winkey UI visibility and layout
Added dynamic visibility for the Winkey panel based on mode selection and protocol, ensuring it only appears in CW mode and over HTTPS. Refactored the Winkey UI layout for better structure and usability, including grouped function keys, improved speed control, message input, and status/message log presentation.
2025-10-06 14:45:31 +01:00
Peter Goodhall
e17cf47f53 Add CW speed control and message log toggle to QSO UI
Introduced CW speed adjustment controls and real-time speed display to the QSO interface, with supporting JavaScript for polling and updating speed via WebSocket. Added a toggle button to show or hide the message log, improving usability and user control over the interface.
2025-10-06 14:42:03 +01:00
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
d0bc360049 Redesign DX Cluster view with real-time WebSocket spots
Revamps the DX Cluster page to use a modern card/table layout, real-time spot updates via WebSocket, and DataTables for enhanced interactivity. Adds connection status indicators, frequency click-to-copy, and age-based row styling. Removes legacy AJAX spot lookup code from the footer.
2025-10-04 14:53:43 +01:00
Peter Goodhall
1fa7315d02 Add Radio Commands button to Active Radios card
Enhanced the Active Radios card header by adding a 'Radio Commands' button linking to the commands page. This improves navigation and accessibility for users managing radio commands.
2025-10-04 14:45:32 +01:00
Peter Goodhall
4f9cab6572 Remove FT8, FT4, and VFO C options from form
FT8 and FT4 modes, as well as VFO C, have been removed from the mode and VFO selection dropdowns in the commands index view. This streamlines the available options for users.
2025-10-04 14:17:08 +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
e603635df7 Fix band select dropdown value assignment
Replaces direct value assignment with a loop to find and select the dropdown option matching the band's start and end range. Adds console logs for debugging the selection process.
2025-10-02 18:28:05 +01:00
Peter Goodhall
fd4dc279b2 Display band name from dropdown in bandmap
Updated the bandmap to use the band name from the dropdown option text when displaying the current band. This ensures the displayed band name matches the user's selection and improves clarity, especially for bands with custom names.
2025-10-02 18:25:46 +01:00
Peter Goodhall
111daa29cb Fix band display for 70cm and 23cm bands
Update band display logic to show '70cm' and '23cm' instead of '70m' and '23m' for those specific bands. Also add debug logging to band selection for easier troubleshooting.
2025-10-02 18:24:27 +01:00
Peter Goodhall
c9a192900f Update bandmap.php 2025-10-02 18:22:44 +01:00
Peter Goodhall
e0e12a2caa Add VHF/UHF bands to bandmap options
Added 2m, 70cm, and 23cm band options to the bandmap selection in the dxcluster view to support additional amateur radio bands.
2025-10-02 18:20:54 +01:00
Peter Goodhall
7b25beebb8 Handle satellite RX frequency in bandmap auto-tracking
Updated bandmap auto-tracking logic to use RX frequency when satellite mode is detected, ensuring correct frequency handling for satellite contacts. Added console logging to indicate when satellite mode is active.
2025-10-02 18:18:12 +01:00
Peter Goodhall
e48219ca3b Add DX Cluster link to Tools dropdown menu
Introduced a new 'DX Cluster' item in the Tools dropdown of the header, providing quick access to the DX Cluster page.
2025-10-02 18:06:07 +01:00
Peter Goodhall
5c13fb8f52 Add radio auto-tracking toggle to bandmap
Introduces a UI toggle and supporting logic for enabling or disabling automatic bandmap tracking of the selected radio's frequency. The bandmap now polls the radio endpoint and updates the view to follow the radio frequency when auto-tracking is enabled. Also adjusts the bandmap popup width in the cluster index view.
2025-10-02 18:03:10 +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
57e4d6fe6a Remove commented-out SAT Timers menu item
Cleaned up the header by deleting unused, commented-out code related to the SAT Timers dropdown menu item.
2025-10-02 09:54:53 +01:00
Peter Goodhall
5984123bf0 Merge branch 'dev' of https://github.com/magicbug/Cloudlog into dev 2025-10-02 09:46:02 +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
Peter Goodhall
dc49ac4df9
Update application/models/Emeinitials_model.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 22:07:22 +01:00
Peter Goodhall
09c7350f1e
Update application/models/Emeinitials_model.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 22:05:48 +01:00
Peter Goodhall
bda38db45a
Update application/models/Emeinitials_model.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 22:05:36 +01:00
Peter Goodhall
d3e23f29be
Update application/models/Emeinitials_model.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 22:05:28 +01:00
Peter Goodhall
c6af63ebb2 Update BASEPATH check to use lowercase 'or'
Changed 'OR' to 'or' in the BASEPATH check for consistency with PHP coding standards.
2025-09-26 14:11:28 +01:00
Peter Goodhall
a1c0c38d16 Add ADIF 3.1.6 modes and contests migrations
Added migrations to support new SCAMP modes and contests from the ADIF 3.1.6 specification. Updated migration version to 212 in configuration.
2025-09-25 17:10:50 +01:00
Peter Goodhall
fb94888404 Remove extra closing div from initials table
Eliminated an unnecessary closing </div> tag after the initials data table to correct HTML structure.
2025-09-25 16:47:20 +01:00
Peter Goodhall
6b87a10f3d Improve input validation and query safety in Emeinitials_model
Added input type checks and sanitization for band and mode parameters. Refactored SQL query construction to use CodeIgniter's Query Builder for safer, parameterized queries and proper escaping of location values. These changes enhance security and reliability of the get_initials and get_initials_data methods.
2025-09-25 16:45:55 +01:00
Peter Goodhall
d925b38454 Fix incorrect HTML table closing tag
Replaces the closing </tfoot> tag with </tbody> in the table output to ensure proper HTML structure.
2025-09-25 16:42:03 +01:00
Peter Goodhall
4753eca208 Add 'EME Initials' to menu translations
Introduces the 'menu_eme_initials' key with the value 'EME Initials' to the menu_lang.php files for multiple languages, ensuring consistent menu options across all supported localizations.
2025-09-25 16:32:52 +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
5c4c1c2cd5 Fix SQL JOIN in get_last_qsos for station_profile
Changed the SQL query in get_last_qsos to use LEFT JOIN for station_profile instead of JOIN. This ensures that QSOs are returned even if there is no matching station_profile, improving data completeness.
2025-09-09 14:21:21 +01:00
Peter Goodhall
3f8f81364b Update Logbook_model.php 2025-09-09 14:19:51 +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
caf5bdd70d Add Portuguese language support to config
Added a case for 'portuguese' in the language configuration switch statement to support Portuguese localization.
2025-08-27 10:44:42 +01:00
Peter Goodhall
7fb09280fc Update general_words_lang.php 2025-08-27 10:39:05 +01:00
Peter Goodhall
20c202a9cc tag 2.7.1 2025-08-25 13:10:09 +01:00
Peter Goodhall
4c6eb9fe06 Update index.php 2025-08-24 11:01:13 +01:00
Peter Goodhall
82eb5b46f2 Update REGEXP to include 'R' in col_call filter
Expanded the REGEXP pattern in SQL queries to include '/R' suffix when filtering and grouping col_call values. This ensures callsigns ending with '/R' are handled consistently with other suffixes.
2025-08-24 10:54:17 +01:00
Peter Goodhall
c7bef2db07 Normalize callsign grouping in most worked query
Updates SQL logic to group callsigns by their base identifier, stripping suffixes like /P, /MM, /AM, /QRP, /LH, and /BCN. This ensures contacts are aggregated correctly for operators using such suffixes.
2025-08-23 21:21:01 +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