Commit graph

18 commits

Author SHA1 Message Date
Peter Goodhall
0c9c48779f Notify user on Clublog credential reset
When Clublog returns HTTP 403 (access denied), automatically clear the stored credentials and optionally send the user an email notification with context about the failure. Also sets a session flash warning when the affected user is logged in. Adds an email view template for the notification.
2026-08-02 22:32:50 +01:00
Peter Goodhall
0ee50ba627 Add Clublog upload station toggle and warning
Introduces a new `station_profile.clublogcron` flag (migration 276) and wires it into station create/edit save flows so users can explicitly enable locations for `/clublog/upload`. Clublog station selection now only includes enabled locations (with fallback to `clublogrealtime` if the new column is not present), and the dashboard shows a warning when Clublog credentials exist but no station is enabled. It also tightens Clublog upload-status query grouping and fixes `Clublog::uploadall` return flow so upload results are returned consistently.
2026-08-02 22:21:27 +01:00
Peter Goodhall
0b20964028 Include user_id in station profile query
Added station_profile.user_id to the select statement in the all_with_count method to provide user identification alongside station data.
2025-10-13 15:07:57 +01:00
Peter Goodhall
3e24905520 If Clublog returns 403 disable upload 2025-05-21 16:47:57 +01:00
int2001
e4d50049e2
Same logic for Clublog 2023-08-07 09:21:21 +00:00
phl0
5f3788a892
Need a few more LEFT OUTER joins to prevent empty results 2023-04-28 15:14:59 +02:00
phl0
b31c61ccfa
Fix clublog upload 2023-04-26 12:55:59 +02:00
Andreas
e00aacc96c [Clublog] Updated script (cron job) to work for all users with a username and password set 2022-09-11 15:02:31 +02:00
Andreas
1b2a88b355 Removed all constructors in models, since this doesn't work in never CodeIgniter 2021-11-06 20:24:28 +01:00
Peter Goodhall
5560e5005e POST Each QSO to clublog seperately and if successful mark as sent. 2019-10-13 18:04:17 +01:00
Peter Goodhall
ffa1e12048 started the barebones to add realtime clublog uploading 2019-10-12 23:10:22 +01:00
Peter Goodhall
e79a349897 Start of settings 2019-10-04 18:30:55 +01:00
Peter Goodhall
eff165f28e Clublog will upload to logbook based on the station callsign of the station profile 2019-09-26 13:05:28 +01:00
Peter Goodhall
e351185bf1 Added a function to mark all qsos not sent to clublog
markallnotsent is really only needed if theres been a major failure
2019-06-20 15:53:57 +01:00
Peter Goodhall
76107c72d4 More functions 2019-06-20 15:24:54 +01:00
Peter Goodhall
d6acdce80d Possibly fixes the last of the clublog errors 2019-06-20 15:16:53 +01:00
Peter Goodhall
ee85bfcbaa Clublog Upload - added validation and marks qsos when sent. 2019-06-19 16:04:15 +01:00
Peter Goodhall
94daa81b2c Check Username is provided and valid before allowing clublog uploading 2019-06-19 15:00:16 +01:00