Commit graph

110 commits

Author SHA1 Message Date
Peter Goodhall
f36c9a686d Improve eQSL mapping error messages
Add granular failure reason tracking to Eqsl_mappings_model via last_failure_reason and last_db_error properties. Controller now differentiates between encryption failures, schema migration errors (DB error 1406), and generic DB errors, providing more actionable user-facing messages and structured error logging.
2026-07-18 23:10:06 +01:00
Peter Goodhall
ef263eb65b qsl bits 2026-07-18 23:06:37 +01:00
Peter Goodhall
45220b3360 moar eqsl 2026-07-18 23:00:08 +01:00
Peter Goodhall
1f7c130c46 Encrypt stored eQSL passwords at rest
Adds migration 275 to convert eQSL password columns to TEXT and encrypt existing user/mapping passwords with an `enc:` prefix. Updates eQSL controller/model flows to decrypt on read, encrypt on create/update, and keep plaintext backward compatibility for legacy rows. User profile updates now avoid reusing stored ciphertext when no new password is submitted, and mapping updates report a clear error if secure password storage fails.
2026-07-18 22:53:51 +01:00
Peter Goodhall
4b063e7fe0 Small eqsl changes 2026-07-18 22:31:33 +01:00
Peter Goodhall
9c0b616e6e Update Eqsl.php 2026-07-18 22:29:58 +01:00
Peter Goodhall
5e29c66fba Allow blank password reuse in eQSL mappings
When editing or creating an eQSL mapping, the password field can now be left blank. Cloudlog will reuse an existing saved password for the same eQSL username. A password is only required when no saved password exists for that username. The mappings form hint text and docs are updated accordingly.
2026-07-18 22:13:27 +01:00
Peter Goodhall
840f52dc4b Adds improved eqsl functionality 2026-07-18 22:01:33 +01:00
Peter Goodhall
d4a7e4cfac Batch eQSL updates and add indexes
Add batch processing for eQSL imports/exports and introduce performance indexes. Bump migration_version to 248 and add Migration_add_eqsl_performance_indexes to create idx_eqsl_qslrdate and idx_eqsl_confirmation_match indexes to speed up eQSL queries and batch matching. Modify Eqsl controller to collect successful uploads and perform a single batch mark-as-sent update. Update EqslImporter to queue confirmations and run a single batch update at the end. Implement eqsl_update_batch() and eqsl_mark_sent_batch() in Eqslmethods_model to perform efficient batch DB operations and logging, reducing per-record queries for large eQSL operations.
2026-02-11 11:32:25 +00:00
Peter Goodhall
cd344ff71f Update eQSL authentication comment in Eqsl controller
Clarified the comment regarding eQSL authentication to indicate that the user's actual eQSL credentials are used, and that the station callsign is managed in the ADIF data via eqslqthnickname. Removed outdated logic related to username handling for linked accounts.
2025-10-14 15:57:54 +01:00
Peter Goodhall
bfca0459db [eQSL] Cleaned up code formatting 2024-05-15 22:24:39 +01:00
Patrick Burns
9b6127c9ab remove storage functions from eqsl and use new helper instead 2024-04-02 17:01:17 -05:00
Peter Goodhall
e96d6ef3fc
Merge pull request #2961 from dg0tm/eqsl_fix_stationsid
add stations_id to eqsl functions
2024-02-08 10:39:10 +00:00
HB9HIL
0ab0df76f3 show flashdata if no station has eqsl nick 2024-02-05 22:01:29 +01:00
Christoph Kottke
c4df1467fc add same fixes
* add proper error message
* improve usability
2024-02-05 22:01:07 +01:00
Christoph Kottke
1d11d00ea8 add stations_id to eqsl functions 2024-02-05 21:59:52 +01:00
abarrau
8dd5e956a7 fix for qslmsg with not accepted caracter 2023-11-30 23:43:50 +01:00
abarrau
a290c2749d
eqsl: add date force update 2023-10-02 20:47:25 +02:00
abarrau
72f0cffab5
Update Eqsl.php
correction for folderSize() function
2023-09-25 12:00:01 +02:00
Petr Kracík
059a0860af
eSQL: Security fix, use HTTPS to send password over the internet
Signed-off-by: Petr Kracík <petrkr@petrkr.net>
2023-08-29 17:58:22 +02:00
phl0
82b4e60beb
Tables in QSO upload and eQSL view should use differnent classes
Also adds clear button to eQSL view table
2023-08-15 22:23:11 +02:00
int2001
eaf9e9775e BugFix: Initializes $error before using it 2023-07-18 14:32:17 +00:00
int2001
ca850adf22 Fixed #2238 2023-07-04 18:49:00 +00:00
Joerg
06215061d8
Update Eqsl.php
Fixed issue https://github.com/magicbug/Cloudlog/issues/2189
2023-06-23 23:08:01 +02:00
phl0
defe2321b2
Correct eQSL images folder name 2023-06-05 15:59:17 +02:00
phl0
791d359787
Make eQSL buld download fucntion backwards compatible 2023-05-22 12:58:03 +02:00
phl0
c139b5b7d2
Re-add accidentially deleted lib 2023-05-22 10:34:13 +02:00
phl0
6690a6553b
Revert "Accidentially removed needed lib"
This reverts commit 8d3a404a91.
2023-05-22 10:32:58 +02:00
phl0
b02c9c3411
Nicely format result table showing errors 2023-05-22 00:10:56 +02:00
phl0
b412c7c8cf
Only break on rate limit (otherwise coninue) 2023-05-18 21:25:12 +02:00
phl0
ee9408c7b7
Add download delay and error handling 2023-05-15 11:32:05 +02:00
phl0
8d3a404a91
Accidentially removed needed lib 2023-05-14 20:33:15 +02:00
phl0
7705cc8dcc
Add bulk download function for eqsl cards 2023-05-14 20:25:03 +02:00
phl0
322085d2f6
Refactor table and add View/Download button 2023-05-11 15:25:35 +02:00
phl0
9d77d199b4
Show table of not yet downloaded QSLs 2023-05-10 22:14:29 +02:00
phl0
c317a63236
Basics for a eQSL image download page 2023-05-10 21:36:46 +02:00
phl0
21562bffc4
Add eQSL card list/view 2023-05-10 16:03:30 +02:00
Andreas
be70b37f1e [eQSL] Fix result table after upload 2023-05-08 07:59:51 +02:00
Andreas
10212d741f [eQSL] Removed debug output. Also removed /upload, since this is all done in /sync 2023-05-08 07:48:02 +02:00
phl0
9731742156
Fix eQSL image download function 2023-05-07 18:03:50 +02:00
Andreas
91e199ae1f [eQSL] Added missing userid, and corrected password variable 2023-05-07 09:31:45 +02:00
Andreas
be4614773d [eQSL] Fixed a missing bracket 2023-05-07 09:20:05 +02:00
Andreas
2b68c7820f [eQSL] Added some result from download CRON job 2023-05-06 11:40:55 +02:00
Andreas
678a33d452 [eQSL] Made CRON job for download, renamed to sync 2023-05-06 08:17:23 +02:00
Andreas
50e3b2bd5e [eQSL] Removed user check from constructor to be able to run CRON 2023-05-05 16:50:17 +02:00
Andreas
30c78ccbbf [eQSL] Fixed for loop 2023-05-05 14:29:45 +02:00
Andreas
c996f24ef1 [eQSL] Fixed error on upload - had to send additional variable to function 2023-05-05 13:26:10 +02:00
Andreas
ae543d8cc8 [eQSL] Fix typo in function call 2023-05-05 13:12:41 +02:00
Andreas
f7968ac35c [eQSL] Fixed result table 2023-05-05 11:38:14 +02:00
Andreas
9c13e2408a [eQSL] Added init to cron job 2023-05-05 11:16:48 +02:00