提交图

60 提交

作者 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
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
copilot-swe-agent[bot]
49038e21d3 Add API endpoint for recent QSO data
Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com>
2025-07-30 21:23:45 +00:00
Peter Goodhall
be4b34feec [API] Adds logbook_check_country call 2025-06-24 15:24:20 +01:00
Emiliano Macedonio
fc6b1966e3 Added the possibility of sending data to the "qso" method API also in www-x-form-urlencoded format to allow the automatic sending of QSOs via software such as Log4OM 2024-05-21 16:55:59 +02:00
Peter Goodhall
b2168badd9 [API] Add check_auth function with json output 2024-05-04 14:00:57 +01:00
int2001
a2d9da8a3e
Prevent empty Call on editing or logging via API 2023-12-13 05:41:07 +00:00
tudacs
d0d740bc34 Rename import-count-field of return 2023-09-17 21:55:22 +02:00
tudacs
0ad31bb000 Add additional output to QSO-API call
Two return fields added for improved reporting:
- Messages returned from Logbook-import
- Number of QSO's added without message
2023-09-14 07:25:51 +02:00
phl0
c5e050f548
Check station callsign in station profile 2023-09-06 00:02:07 +02:00
int2001
522cc2a980
Refactores lookup_call and grid at API / Removed more unused stuff 2023-08-08 15:08:38 +00:00
int2001
1e269b18b2
removed a lot of unused (and dangerous) functions 2023-08-08 13:47:23 +00:00
int2001
12da0b1075
Added "Already imported to clublog" to ADIF-Importer 2023-08-07 05:23:57 +00:00
phl0
318fc29449
Use LoTW as official abbreviation 2023-07-27 09:16:55 +02:00
int2001
259336c5fb
Added 401 in case of missing key to api/radio for easier debugging 2023-07-26 12:23:52 +00:00
int2001
4a9ec6e87f
Removed old API-Endpoints for country_ and grid_worked 2023-07-25 12:50:07 +00:00
int2001
cfc9b6c8a0 Removed useless else at Api because script will never get there 2023-07-14 07:49:13 +00:00
int2001
723e575af3 Add HRDLog to Cloudlog 2023-07-07 11:33:15 +00:00
Peter Goodhall
7090c95447
Merge pull request #2253 from int2001/api_1632
Resolves issue 1632.
2023-07-05 15:23:58 +01:00
int2001
f938270f4c Resolves issue 1632. JSON-Array of stations will be returned if /index.php/api/station_info/[key] is called 2023-07-05 14:16:53 +00:00
Peter Goodhall
cfa0a59156 typo 2023-07-05 14:48:38 +01:00
Peter Goodhall
355070438d [API] Removed search_callsign()
Think search_callsign() is a left over from testing code but isn't used
2023-07-05 14:48:22 +01:00
Andreas
33a81154b6 [API] Corrected variable name and check 2023-06-15 09:26:17 +02:00
Andreas
563554dae5 [API] Added extra check for station_id 2023-06-15 08:12:57 +02:00
phl0
c57932be86
Make stats publicly usable with API key 2023-04-27 21:08:09 +02:00
Peter Goodhall
d02375fba6 [API] Fixes issue where nullable vars was first 2023-03-29 15:02:36 +01:00
Peter Goodhall
9f94f99f46 [API] Adds logbook_check_grid call 2023-03-28 14:57:43 +01:00
Peter Goodhall
0be6f42999 [API] Adds API call "logbook_check_callsign" to check if a callsign is in the logbook 2023-03-28 14:38:50 +01:00
phl0
6929a061eb
Add a column to API keys to show last usage timestamp
Squashed commit of the following:

commit 83f12cc945fa717945062a841854498368d8cb10
Author: phl0
Date:   Tue Mar 21 12:24:53 2023 +0100

    Change default value to current date/time

commit e1cb72f3fc80f581ee30d927772efe0ffe155059
Author: phl0
Date:   Tue Mar 21 12:05:46 2023 +0100

    Add functions to update timestamps

commit d303f629a0b2d200e49da36766cf72ed37c3fe92
Merge: 01a9606a 7dd76923
Author: phl0
Date:   Tue Mar 21 11:13:21 2023 +0100

    Merge remote-tracking branch 'origin/dev' into apiKeyLastUsed

commit 01a9606afde6aad6be0f07f34f8584e540c50e8c
Author: phl0
Date:   Tue Mar 21 11:11:51 2023 +0100

    Reorder DB migration due to previous commits

commit ec5cd743b96dc1ed0f2740f7b2051f88549f4248
Author: phl0
Date:   Fri Mar 17 16:23:34 2023 +0100

    Basics for API key last used
2023-03-21 12:26:15 +01:00
Ondřej Nový
da739e080f API: Detect wrong JSON and return correct error message 2022-01-24 16:25:16 +00:00
Peter Goodhall
96d7a2537d [API][QSO] Skips check_station_is_accessible() if import is coming from API
Skips check_station_is_accessible() if import is coming from API this is because api qso import doesn't have a session thus automatically fails.

Extra checks must be done on the api calls to make sure things are safe.

Fixes #1381

Co-Authored-By: Florian (DF2ET) <github@florian-wolters.de>
2022-01-24 16:13:25 +00:00
Peter Goodhall
8cb990fc30 [API] Allows all users to access 2021-11-14 11:57:21 +00:00
Peter Goodhall
6bf7d97df8 Removed test function. 2021-09-28 17:21:56 +01:00
Peter Goodhall
8b1770feab [API][CAT] Fixes issue where user_id isn't getting added to the hardware entry 2021-09-28 17:18:04 +01:00
Andreas
64827f4506 [ADIF Import] Added option to always use login call as operator. Request by OE3IDE. 2021-05-01 19:52:13 +02:00
Andreas
ae1c82815f [ADIF import] Skip QRZ Logbook upload when importing ADIF from import, and LoTW. 2020-12-11 10:49:33 +01:00
Andreas
b03a753ab6 [ADIF Import / Export] GUI tweaking. Split into tabs. Added option for marking QSOs as exported to QRZ Logbook when importing from ADIF. 2020-12-04 14:52:00 +01:00
Peter Goodhall
48679662de [API][QSO] Adds field "station_profile_id"
This adds the field station_profile_id to the QSO API this is the number thats shown when you are editing a profile.
2020-10-29 18:10:46 +00:00
Paul Beesley
2ebf33a084 Update admin page titles
Trying to bring the page title into line with the Admin menu dropdown entry or vice-versa, depending on which one is most used
2020-10-20 22:03:37 +01:00
Peter Goodhall
235c977040 Added Migration to delete the LoTW User List table and removed some unneeded coded 2020-09-21 14:10:55 +01:00
Kim Huebel
9cbd65b0cd Merge branch 'master' of https://github.com/magicbug/Cloudlog into configurable_modes
some futher modifications
2020-05-24 08:51:30 +02:00
Peter Goodhall
f6d8d02357 Added US State and County to the local data look up for the API lookup function 2020-04-07 00:07:17 +01:00
Peter Goodhall
5042ce3f8c Benchmarking data added to controller function and new callsign lookup call to speed up load times 2020-04-06 23:58:26 +01:00
Peter Goodhall
db0d0db60d Started a new callsign lookup function that will replace the current one, this will handle dxcc lookup correctly and return all data as json objects for cloudlog and third party usage 2020-04-06 23:38:02 +01:00
Peter Goodhall
a4e89235e3 Fixes /API/QSO after ADIF improvements (Fixes issue with Pushing ADIF to Cloudlog) 2020-04-06 11:06:37 +01:00
Peter Goodhall
4b5e41fc24 Added statistics to /api/statistics gives todays, total, month and year totals in json output 2020-04-03 16:41:21 +01:00
Peter Goodhall
d775ce17c7 Added API function gridsquare_worked 2019-07-22 16:46:06 +01:00
Peter Goodhall
53d4577b26 Added API function country_worked
function country_worked can be called either as

/api/country_worked/230/40m/ssb

or by leaving mode bank /api/country_worked/230/40m
2019-07-22 16:27:18 +01:00