Commit Graph

457 Commits

Author SHA1 Message Date
06cc674f09 fix cache buster usage of DOCUMENT_ROOT when installed in a subfolder 2026-03-02 17:45:36 -07:00
HB9HIL
23701867f0 always return source with lookup data 2026-02-20 09:48:00 +01:00
HB9HIL
46b2427914 just to make sure we invalidate a possible session key in cache 2026-02-20 09:27:48 +01:00
HB9HIL
7904e30625 add a simple validate sessionkey helper function 2026-02-20 09:23:42 +01:00
HB9HIL
b8a8e43a32 translated return message if no lookup is configured and used a variable for it as it is used multiple times 2026-02-20 08:50:00 +01:00
HB9HIL
959254f186 check config more explicit 2026-02-20 08:40:54 +01:00
HB9HIL
4cc348e56e single callbook functions don't need to be public, changed to private functions since we always need to call the main getCallbookData function 2026-02-20 08:34:34 +01:00
HB9HIL
a3c8aa5464 remove redundant sourcename calls 2026-02-20 08:31:06 +01:00
HB9HIL
fc0ae9f672 fix: cache only the qrzcq sessionkey instead the whole array 2026-02-20 07:56:15 +01:00
HB9HIL
53777b47e7 use cache and it's already built in timebased invalidation for the callbook session keys 2026-02-20 01:24:27 +01:00
phl0
8e5903a5bc Query callbook (hamqth) for DARC DOK 2026-02-19 09:25:17 +01:00
HB9HIL
de02672ab8 build the dxcc class without date since we check the exception and prefix date already in the dxcc_lookup, simplifies caching 2026-02-17 14:11:11 +01:00
HB9HIL
8d33f7391e commented the DIRECTORY_SEPARATOR stuff 2026-02-15 08:30:51 +01:00
HB9HIL
6dcf77e447 make cache_buster method more stable with windows environments and prevent error logs of files missing on purpose 2026-02-14 23:54:58 +01:00
HB9HIL
74d56d5f45 check for / in filepath to make sure path doesn't get broken 2026-02-13 17:04:57 +01:00
HB9HIL
ba113ac8e5 Merge remote-tracking branch 'upstream/dev' into cache_buster 2026-02-13 16:39:03 +01:00
HB9HIL
c0c36a50d4 more cameCase to snake_case, defined function types and prefixed private functions with _, removed unused functions from old dxcluster 2026-02-02 23:07:45 +01:00
HB9HIL
4c4d5845e5 some methods were camelCase and some snake_case. made all snake_case as this is usual for our codebase 2026-02-02 22:44:44 +01:00
HB9HIL
26d2a46c08 first fixes of dxclustercache since new cache driver handling 2026-02-02 22:07:00 +01:00
HB9HIL
201655524b garbage collector as lib so we don't collide with the actual cache driver 2026-02-02 20:46:46 +01:00
HB9HIL
9e19dec6bf refactored the cache loader
- adjusted formatting to make it easier to read
- added the key prefix from config
- made everything failsafe since users don't have that configured by default
2026-02-01 20:21:14 +01:00
HB9HIL
3a2bce8646 make the cache adapter as config options and use them when calling the cache lib 2026-02-01 19:33:51 +01:00
Florian (DF2ET)
0ff798750a Merge pull request #2860 from phl0/skipCallbookWithoutCreds
Skip callbook lookups if credentials are empty/not set
2026-01-28 07:50:26 +01:00
phl0
076f73ebfd Safeguard against empty vars 2026-01-28 07:44:55 +01:00
phl0
0df25b2a45 More detailed error messages for failed callbook lookups 2026-01-28 00:46:39 +01:00
Andreas Kristiansen
74167dee39 Merge branch 'dev' into use_dxcc_class 2026-01-27 10:45:47 +01:00
HB9HIL
8a8bb4d337 remove curl_close as it has no effect since php8.0 (https://www.php.net/manual/en/function.curl-close.php) 2026-01-26 10:41:29 +01:00
phl0
0bd1f7b1ca Skip callbook lookups if credentials are empty/not set 2026-01-26 09:55:19 +01:00
Andreas Kristiansen
fb16184181 Fix date 2026-01-22 12:56:33 +01:00
Andreas Kristiansen
09e892fc33 [DXCC ID] All checking now goes via the class 2026-01-22 11:55:30 +01:00
int2001
8979ed4c0c Better Debugging 2026-01-07 07:50:00 +00:00
int2001
2ce1636786 Introduce (optional) Ratelimiting on API 2026-01-07 07:35:32 +00:00
phl0
1f9604e3c3 Show info about source callbook 2025-12-28 22:49:45 +01:00
int2001
e7f44c96ed Accelerate Massdownloading 2025-12-27 11:13:01 +00:00
Andreas Kristiansen
5375f03fb8 Load geojson file in constructor 2025-12-20 15:53:05 +01:00
Andreas Kristiansen
539ee160ef Merge branch 'dev' into lba_db_tools 2025-12-14 11:37:50 +01:00
Luca
c52859f958 Merge branch 'dev' into dev-log-fallback 2025-12-11 17:44:00 +01:00
Luca
18813c2e31 Apply suggestions from code review
Co-authored-by: Florian (DF2ET) <github@florian-wolters.de>
2025-12-11 17:41:52 +01:00
phl0
710b4ab726 Catch (timeout) errors on communication with hamqth 2025-12-10 16:39:27 +01:00
Luca
dfe682b4bf Implementing callbook failover logic 2025-12-09 17:44:25 +01:00
Andreas Kristiansen
b49bfcf1b7 Corrected number of counties 2025-12-08 21:05:00 +01:00
Andreas Kristiansen
10c5a0a545 Fix QSO list. Added info to info button 2025-12-08 10:58:26 +01:00
Andreas Kristiansen
0fad755ce6 Implemented batch state fixer 2025-12-07 19:52:26 +01:00
int2001
5e02b514ae Use central function to generate ADIF-Header 2025-12-05 08:01:12 +00:00
Szymon Porwolik
53a1058511 Merge branch 'dev' into dev_more_countries 2025-12-02 11:05:02 +01:00
Szymon Porwolik
dc303c9da6 Added support in Geojson Library 2025-12-01 23:10:13 +01:00
Szymon Porwolik
6d48b89124 Enabled Hawaii and Alaska 2025-12-01 02:32:50 +01:00
Szymon Porwolik
e9da11334f Enabled support for Fix State 2025-12-01 02:19:05 +01:00
Szymon Porwolik
acbd88d068 Fix - do not run, when worked cache is not enabled 2025-11-27 19:42:07 +01:00
Szymon Porwolik
96eb442c6b Cache library and cache invalidation 2025-11-27 19:33:53 +01:00