Commit graph

35 commits

Author SHA1 Message Date
Peter Goodhall
897ba50c0e Add UI for manual data file updates in maintenance
Introduces a new section in the maintenance page allowing manual updates of reference data files (Clublog SCP, LoTW Users, DOK, SOTA, WWFF, POTA) via AJAX buttons with loading indicators. Adds corresponding UI-friendly controller methods with authorization checks and improves the WWFF update logic to process CSV files line by line for better memory efficiency.
2026-01-14 14:55:07 +00:00
Peter Goodhall
8b819d2177 Refactor and enhance SOTA awards support
Replaces the old SOTA model with a new Sota_model, adds CSV-based summit metadata caching, and introduces new controller endpoints and view components for SOTA table, stats, and map fragments. The SOTA award page now supports filtering, improved statistics, and interactive mapping using summit coordinates. Updates .gitignore to include the new SOTA CSV, and refactors SOTA data refresh logic for reliability and maintainability.
2026-01-13 13:35:11 +00:00
Peter Goodhall
2f917c8bcf Add advanced POTA awards dashboard with filtering and map
Introduces a new POTA awards dashboard with HTMX-powered filtering, statistics, progress bars, and a Leaflet map of worked parks. Adds new controller endpoints, model methods for filtered queries and park metadata, and modular view components for table, stats, progress, and map. Updates language files for new stats labels and enhances the update process to cache the full POTA parks CSV for richer features.
2026-01-10 15:08:22 +00:00
Peter Goodhall
9fe5b808a5 Deduplicate LoTW users by callsign during import
Changed the import logic to deduplicate LoTW users by callsign, keeping only the latest timestamp for each callsign. Updated batch insertion to process only unique callsigns and improved reporting to show both total records read and unique callsigns inserted.
2025-12-02 22:58:56 +00:00
Peter Goodhall
15132cf44d
Update application/controllers/Update.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 18:04:49 +01:00
Peter Goodhall
ce99aa1559 Improve LoTW user CSV import robustness and validation
Enhances the LoTW user activity CSV import by adding network timeouts, user agent, and file validation before truncating the database. Implements batch inserts with error handling, validates callsign format, checks for minimum record count, and provides clearer error messages to improve reliability and data integrity.
2025-10-13 13:57:41 +01:00
Peter Goodhall
db87600d3b Use TRUNCATE for clearing lotw_users table
Replaced empty_table with TRUNCATE TABLE for the lotw_users table to improve performance when clearing its contents before importing new data.
2025-10-13 13:47:43 +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
1498f74072 [Clublog] If downloading exceptions fails from the clublog cdn try the cloudlog backup 2023-08-07 10:47:03 +01:00
Peter Goodhall
646bf737e0 [Update] Fixed Typo 2023-07-05 11:34:00 +01:00
phl0
42882a0ef4
Add update function for empty distances 2023-06-19 14:02:08 +02:00
Andreas
397a60d083 [LoTW] Added table with users. Query to find unconfirmed QSOs and L marking in advanced logbook 2023-05-26 10:38:31 +02:00
Michael Urspringer
20b264048a Fix https://github.com/m0urs/Cloudlog/issues/134 2023-05-07 17:33:24 +02:00
Ondřej Nový
8f7af51d17 Better error handling during datafiles update 2023-02-08 17:32:08 +01:00
phl0
72c2853fc6
Add fields for continent and update function 2023-02-04 17:41:21 +01:00
phl0
71fbd4ad9b
Add update function for POTA references 2022-11-30 17:01:57 +01:00
phl0
418b725aba
Implement update function for WWFF directory 2022-08-17 16:54:04 +02:00
Andreas Kristiansen
b5ac0952ed
Merge pull request #1193 from AndreasK79/uploadpath
@mattmelling configurable updates folder
2021-09-22 14:21:36 +02:00
Randy T
b39715e0c5
Add function for Gridsquare Update 2021-03-30 21:04:49 -04:00
phl0
5597927c64
Also provide SDOK info for logging German DOKs 2021-02-03 12:28:58 +01:00
Andreas
ee7eabde76 Added autoupdate for DOK and SOTA file used for autocompletion 2021-01-26 17:54:31 +01:00
Peter Goodhall
d4a164fc94 [LOTW] LoTW user lookup switched from importing CSV to database to PHP reading it directly reducing MySQL load 2020-09-21 14:02:50 +01:00
Matt Melling
ba33f69c6a
configurable updates folder 2020-09-01 20:38:37 +01:00
AndreasK79
e8941cf17d Reworked DXCC award. Changed look a bit, and added form for selection.
Setting of start/end in dxcc_entities was fixed as well. This is needed to be able to select/deselect deleted entites.
2020-03-03 12:39:45 +01:00
Peter Goodhall
ab35f34467 SCP check now includes database from Club Log
You can automatically download the SCP from Club Log via index.php/update/update_clublog_scp
2019-10-11 16:42:18 +01:00
Peter Goodhall
576442a5cb Revert "Merge pull request #369 from g7vjr/master"
This reverts commit 1beb0613d6, reversing
changes made to 51419ad9e0.
2019-10-11 13:58:43 +01:00
Michael Wells
36fce11666 Add support for Club Log SCP
Add update_clublog_scp() method for fetching the Club Log SCP file.  Update Lookup to merge masterscp.txt and clublog_scp.txt together when both are available.
2019-10-09 13:54:07 +01:00
Michael G7VJR
80145b4732 Use Club Log CDN for cty.xml
Change the URL for collecting Club Log's cty.xml definitions to use https://cdn.clublog.org (Content Delivery Network, faster). Remove reference to secure.clublog.org and update string "Clublog" to be "Club Log".

Getting my hands dirty for the first time so very minor stuff!
2019-10-08 20:53:14 +01:00
Peter Goodhall
86cf1114ca deleted old code 2019-06-21 15:45:43 +01:00
Peter Goodhall
909ffe4459 Fixed the country files update area which was broken due to the interface update 2019-05-25 17:59:19 +01:00
Michael Cullen
af3f405d7f Update Controller: More empty strings where NULLs should be 2019-05-17 01:59:56 +01:00
Peter Goodhall
821ff3b8f6 rolled back change as it broke other stuff 2018-12-21 14:53:49 +00:00
Peter Goodhall
984cfb0c6a Added some error checking that seems to stop PHP 7.2.12 from erroring while importing 2018-12-17 14:41:38 +00:00
Tobias Mädel
06028a4018
Update Update.php 2018-11-28 23:21:43 +01:00
Warren Volz
e384826aea Codeignitor 3.1.6 and corresponding changes
- fixes missing () from num_rows in authenticate user function
- removes passwordhash library in favor of built in PHP password_hash
  and password_verify functions
- uppercase all class filenames
- add new CLI error templates, move HTML error templates
- update mimes file to latest version
- update routes to latest version
2017-12-01 19:25:26 +00:00
Renamed from application/controllers/update.php (Browse further)