提交图

1615 提交

作者 SHA1 备注 提交日期
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
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
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
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
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
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
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
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
Peter Goodhall
a87c4a8cb3 Add callsign label toggle to map view
Introduces a button and supporting logic to toggle callsign labels on the map using Leaflet DivIcons. Also updates the Logbook model to include gridsquare in plot data for potential label use and enhances CSS for callsign label styling.
2025-08-10 22:35:30 +01:00
Peter Goodhall
43e7d9cb9d Fix undefined index errors in statistics tables
Initialize bandcalls and modecalls arrays with default zero values in Stats.php to prevent undefined index errors. Update qsotable.php and uniquetable.php views to display 0 when mode or band totals are not set.
2025-08-10 17:44:25 +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
ce7e9ee77b Refactor QSL breakdown query and result handling
Optimized SQL query by pre-calculating today's date in PHP and improved result handling by returning a consistent array with integer values. Simplified logic for default values and removed unnecessary variable assignments for better readability and maintainability.
2025-08-09 21:19:22 +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
1951bb7f29 Fix VUCC grids query to match substring correctly
Updated the query to use or_like on COL_VUCC_GRIDS instead of applying SUBSTRING, ensuring proper matching of the grid prefix. This resolves issues with grid searches not returning expected results.
2025-08-02 22:57:26 +01:00
Peter Goodhall
f030769b5d Revert "Fix Hamsat VUCC grids issue - improve grid checking logic for satellite QSOs"
This reverts commit 9eb13427ed.
2025-08-02 22:48:54 +01:00
Peter Goodhall
9eb13427ed Fix Hamsat VUCC grids issue - improve grid checking logic for satellite QSOs 2025-08-02 22:47:38 +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
370daa3e55 Revert "Simplify state handling for station profiles"
This reverts commit 33ec51d7d5.
2025-08-02 11:27:41 +01:00
Peter Goodhall
33ec51d7d5 Simplify state handling for station profiles
Refactored PHP model to always use 'station_state' from the form, removing special handling for Canadian states. Updated JS to clear hidden state dropdowns on form submission, ensuring only the visible state's value is submitted.
2025-08-02 11:26:00 +01:00
Peter Goodhall
332f59f712 Update Stations.php 2025-08-02 11:15:46 +01:00
Peter Goodhall
dc11ceed8f Log state value in station creation
Added error-level logging for the 'state' value when processing station creation to aid in debugging and tracking input data.
2025-08-02 11:10:48 +01:00
Peter Goodhall
c66688754b Merge branch 'dev' of https://github.com/magicbug/Cloudlog into dev 2025-08-02 11:05:06 +01:00
Peter Goodhall
11673494ef Sanitize state input in Stations model
Added xss_clean sanitization to 'station_ca_state' and 'station_state' POST inputs to enhance security and prevent XSS vulnerabilities when handling state data.
2025-08-02 11:04:59 +01:00
Steven Dodd
6f097893c9
Corrected QRZ batch download column name 2025-08-01 11:44:03 +01:00
Steven Dodd
f4521dee31
Fix mismatch between index key and match key for QRZ upload 2025-07-31 21:26:47 +01:00
copilot-swe-agent[bot]
4edc6560cd Fix date parsing in create_qso() to handle user date format preferences correctly
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-07-30 21:39:02 +00:00
copilot-swe-agent[bot]
4d1d24ee00 Fix QSL label sorting to prioritize QSL VIA over call sign
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-07-30 15:27:08 +00:00
Peter Goodhall
be16cf437b
Update application/models/Eqsl_images.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-17 17:38:33 +01:00
Peter Goodhall
a783f7d8a4 Security bug fixes 2025-07-15 14:31:53 +01:00
Peter Goodhall
4d10db1fc0 Fixed winkey state errors 2025-07-15 14:23:53 +01:00
Peter Goodhall
978bdbf76b Wiring for Cloudlog Aurora Winkey Websocket Support 2025-05-28 14:24:03 +01:00
Peter Goodhall
7156b185e1 add option to turn on websockets for winkey 2025-05-28 13:38:25 +01:00
Peter Goodhall
3e24905520 If Clublog returns 403 disable upload 2025-05-21 16:47:57 +01:00
Peter Goodhall
af60e40315 removed redundant code 2025-04-18 11:02:22 +01:00
Peter Goodhall
4407da4c22 comment clean up 2025-04-18 10:53:31 +01:00
Peter Goodhall
0b583772f8 wip 2025-04-18 10:45:15 +01:00
Peter Goodhall
0416d8446f Reworked some of the QRZ code for downloading 2025-04-18 10:35:45 +01:00
Peter Goodhall
446b9654e6
Merge pull request #3232 from DanielBausset/statistics-eachday
Analytics: graph of number of QSOs for each day in the log
2024-12-04 15:19:19 +00:00
Danny
61b40a010d Analytics: graph of QSOs for each day in the log 2024-11-30 16:53:52 +01:00
Peter Goodhall
d53a17faa5 Advanced search - Fixes issue with some modes missing 2024-11-27 13:49:02 +00:00