Commit Graph

466 Commits

Author SHA1 Message Date
phl0
8c6779e482 Check a little more specific 2026-03-18 09:00:48 +01:00
phl0
e0df05817c Merge remote-tracking branch 'upstream/dev' into fixArray 2026-03-18 08:38:58 +01:00
Joerg (DJ7NT)
4dc2c5d56f Merge pull request #3082 from int2001/sec_keyhandling
Sec keyhandling
2026-03-16 12:20:19 +01:00
int2001
df74b2ea21 Centralize Token-Function 2026-03-16 09:37:02 +00:00
HB9HIL
34c8c27e69 fix error flooding of cache buster and simplify datatables language stuff 2026-03-16 10:21:24 +01:00
phl0
c92c297bc6 Fix more return checks for list_logbook_relationships 2026-03-15 11:03:29 +01:00
phl0
a70b549149 Remove stale code fragment 2026-03-09 10:21:41 +01:00
int2001
950a8a506e if RX and TX are same (split) show only one QRG 2026-03-05 10:53:25 +00:00
Andreas Kristiansen
1f247efad1 [Callbook] Fix null error for source 2026-03-04 19:13:31 +01:00
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