提交图

5562 提交

作者 SHA1 备注 提交日期
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
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
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
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
Peter Goodhall
de29c21805
Fix appearance options flash message issue - show single success message with internationalization support 2025-08-18 13:37:12 +01: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]
9167b86725 Add missing language entries for appearance settings success message to all language files
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-08-17 21:09:42 +00: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
8d76abae9b Update Logbook_model.php 2025-08-17 13:37:31 +01:00
Peter Goodhall
c9490b9fc8 Handle entity type when formatting country name
Updated country name formatting to support both array and object types for the entity returned by get_entity. This ensures compatibility with different data structures and prevents errors when accessing the country name.
2025-08-17 11:32:18 +01:00
Peter Goodhall
485fa0126d Remove commented-out array_unique call
Deleted an unused, commented-out line intended to ensure unique station IDs in the logbooks_locations_array. No functional changes were made.
2025-08-15 22:31:44 +01:00
Peter Goodhall
441cc5fa61 Remove duplicate station IDs in logbook locations
Added array_unique to ensure only unique station IDs are included in the logbooks_locations_array, preventing duplicate entries.
2025-08-15 22:21:08 +01:00
Peter Goodhall
9ce44b6a21 Add migration to tag Cloudlog as version 2.7.0
Introduces migration 206 to update the application version to 2.7.0 and trigger the version info dialog for users. Updates migration configuration to use the new migration version.
2025-08-15 15:48:08 +01:00
Peter Goodhall
12f02b7e6f Add migration to tag Cloudlog as version 2.7.0
Introduces migration 206 to update the application version to 2.7.0 and trigger the version info dialog for users. Updates migration configuration to use the new migration version.
2025-08-15 15:47:50 +01: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
4ef4faad2e Add spinner and disable button during manual sync
Introduced a spinner and button disabling for the manual sync action using htmx events to improve user feedback during the upload process.
2025-08-12 22:34:53 +01:00
Peter Goodhall
32259770a1 Add callsign label clearing to map updates
Introduced clearCallsignLabels() to remove callsign labels when map data is refreshed or markers are removed. Ensures label state is reset and UI button appearance is updated, preventing stale labels from persisting after data changes.
2025-08-12 22:31:14 +01:00
Peter Goodhall
7fe4e7e663 Add loading spinner to DXCC list display
Introduces a loading spinner and message inside the dxcclist_display div to improve user feedback while HTMX loads DXPedition data and logbook checks.
2025-08-11 16:14:02 +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
9fb5feffe7 Make DXCC entity matching case-insensitive
Updated batchWorkedQuery and related logic to perform case-insensitive matching for DXCC entities using UPPER() in SQL WHERE conditions. This ensures entities are matched regardless of case, improving reliability of lookups.
2025-08-11 15:08:59 +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
61f5594598 Refactor map header layout and controls
Merged map statistics, controls, and header into a single card header for improved UI clarity and compactness. The new layout consolidates the QSOs count, map status, and control buttons, streamlining the map view presentation.
2025-08-11 10:45:51 +01:00
Peter Goodhall
9baee1ee84 Reduce font size in custom_date map view
Changed the font size from 15px to 12px in the custom_date.php map view for improved consistency and appearance.
2025-08-10 22:58:21 +01:00
Peter Goodhall
625f3d70fc Refine callsign label handling on map
Added 'callsign' property to plot data in Logbook_model and updated custom_date.php to use only the 'callsign' for map labels. Simplified and removed aggressive CSS targeting for tooltip classes, ensuring consistent font size and cleaner label rendering.
2025-08-10 22:57:16 +01:00
Peter Goodhall
05834136e7 Remove unused gridsquare assignment in Logbook_model
Deleted the assignment of 'gridsquare' to the $plot array in Logbook_model.php as it was not being used elsewhere in the code.
2025-08-10 22:39:27 +01:00