Commit graph

7405 commits

Author SHA1 Message Date
Peter Goodhall
1f720653c2
2.7.2 2025-09-29 22:12:52 +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
a158cc9614 Fix AO-123 mode from U/V to V/U in satellite data
Corrected the transponder mode for AO-123 in satellite_data.json to reflect the proper V/U configuration.

Fixes #3346
2025-09-27 21:47:42 +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
6f6757ace2
Add an EME Initials option to the Analytics menu option for EME operators from @g4klx 2025-09-25 16:51:09 +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
6808113dc5 Update README donor acknowledgements
Added Johnathan (2E0DEF) and Peter (M0LNB) to the list of supporters in the README.
2025-09-16 17:19:32 +01:00
Peter Goodhall
d348f175ae
Merge pull request #3339 from magicbug/dev
Dev
2025-09-12 15:34:56 +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
7286d5b608 Add 4m band support to frequencyToBand function
Extended the frequencyToBand function to recognize frequencies between 70 MHz and 72 MHz as the 4m band.
2025-09-02 15:30:05 +01:00
Peter Goodhall
f1dbceafd3 Add 4m band support to frequencyToBand function
Extended the frequencyToBand function to recognize frequencies between 70 MHz and 72 MHz as the 4m band.
2025-09-02 12:58:01 +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
22b67fb925 Add Portuguese language support to config
Added a case for 'portuguese' in the language selection switch statement to support Portuguese in the configuration.
2025-08-27 10:46:20 +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
407792800b
tag 2.7.1 2025-08-25 13:16:55 +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
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
c6413fc755 Exclude archived LOTW certs from expiry checks
Added 'archived' => 0 to the queries in lotw_cert_expired and lotw_cert_expiring methods to ensure only active certificates are considered when checking for expired or expiring LOTW certificates.
2025-08-22 17:20:26 +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
82a5edc9b7 Add indexes to lotw_users table
Introduces migration 208 to add indexes on 'callsign' and 'lastupload' columns in the lotw_users table for improved query performance. Updates migration version to 208.
2025-08-22 16:29:49 +01:00
Peter Goodhall
9c8040dbca Removed some Wet WAB Squares
Removed some Wet WAB Squares stiill a lot more to do
2025-08-22 15:41:49 +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]
e15a881190 Fix visitor gridmap initialization and JavaScript integration
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-08-19 16:21:35 +00: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
copilot-swe-agent[bot]
081b2d5ee4 Initial plan 2025-08-19 16:05:55 +00:00
Peter Goodhall
7a96e728fa Prevent double form submission in QSO section
Introduces a submission state flag to prevent double submissions of the QSO form, disables the submit button during processing, and restores its state if the page visibility changes or fields are reset. Also adds handling to prevent Enter key from causing duplicate submissions.
2025-08-18 14:41:38 +01:00
Peter Goodhall
46155ba2de Refactor Logbook_model formatting and indentation
Standardized code formatting and indentation throughout Logbook_model.php for improved readability and maintainability. No functional changes were made; only whitespace, comment alignment, and consistent brace placement were updated.
2025-08-18 14:34:32 +01:00
Peter Goodhall
adf658903b Improve DXCC ID assignment logic in Logbook_model
Refines how DXCC ID is set based on country and input values, ensuring correct assignment when country is provided and dxcc_id is zero. This helps prevent incorrect DXCC ID values during logbook entry creation.
2025-08-18 14:32:04 +01:00
Peter Goodhall
1ebb3a9942 Refactor migration files for code style consistency
Updated migration files to use consistent PSR-12 code style, including brace placement, indentation, and spacing. Removed closing PHP tags and standardized 'or' in exit statements. No functional changes were made.
2025-08-18 14:07:43 +01:00