Commit Graph

916 Commits

Author SHA1 Message Date
Fabian Berg
c70c2ec5cd Clubstations for Wavelog (#1334)
* feat[clubstations]: New DB structure

* feat[clubstations]: Add clubstationstable in user managment

* feat[clubstations]: Show last operator

* feat[clubstations]: Better solution for last operator. tnx for the hint @int2001

* feat[clubstations]: New Club Model and Controller

* feat[clubstations]: Add "Add User" and "Edit User" functionality

* docs[clubstations]: move comment

* feat[clubstations]: Add "Delete Member" functionality

* feat[clubstations]: some enhancements and javascript

* fix[clubstations]: Wrong message class for flashmessages

* feat[clubstations]: Added Switch in the Header menu (not functional yet)

* feat[clubstations]: clubswitch modal

* fix[clubstations]: Load encryption library if not already loaded

* fix[clubstations]: Prevent direct login attempts to clubstations and enhance impersonation authorization

* fix[clubstations]: Typo

* feat[clubstations]: Only show the operator dialog if there is something fishy

* fix[user]: little UI bug

* feat[impersonate]: Add source uid to session data

* fix[impersonate]: logic adjustment

* feat[clubstations]: Add manage button in header menu for club officers

* fix[clubstations]: typo in permission level check

* fix[clubstations]: Full rights for the admin

* feat[impersonate]: Custom sessiondata

* feat[impersonate]: Implement stop impersonation feature with modal confirmation; "the way back"

* fix(modal): Fix bug where modal was hidden when mouse leaved the browser content

* docs(config): Adjust config description for special callsigns and clubstations

* feat(club): Add club access check helper

* typo

* fix[impersonation]: Better text

* feat(club): Selectize for a efficient user search

* feat(clubstations): Restrict clubstations based on users permission level part 1/x

* adjustments for dev merge

* Adjusted club right for the advanced logbook

* feat[user]: Refactoring of the Action Buttons in the user table

* fix[club_permissions]: normal button instead small one for club permissions

* remove unnecessary line break in modal body

* feat[clubstations]: Add Club Mode badge to the header

* fix[clubstations]: fix maintenance mode

* allow switch back on http

* feat(simplefle): display operator input based on club_access

* small UI adjustments

* small UI adjustments

* moved api page to a index.php file and added support for clubstations

* removed unused stuff

* typo

* radios and api keys

* missed one binding

* fix qso view, even officers do just see their own radios in QSO logging

* omit the need for a relogin to see the changes as an admin

* Omit the need for relogin after club changes in general. It's a question of UX. It's better to accept a little higher DB load (if clubstations are enabled) then the need of an user to relogin. There is some room for improvement by changing user_model->get_by_id() and adding a join there. This can be done later if we see that the load is too high

* If the user is not the creator of the API key, it's likely a clubstation. In this case the callsign of the clubstation can not be the same as the callsign of the user (operator call provided by the user). If this is the case, we need to use the callsign of the creator of the API key

* remove debug messages

* better UI in header

* found a typo

* full access in clubstations for admins (if accessed via admin usertable)

* adjusted text

* adjusted text

* adjust text

* reduce required chars

* bugfix: missing the correct authentication in case the admin was not member of the club. he wasn't able to switch back

* reduce debug messages

* fixed UI bug related to tooltips

* load js in controller

* upps..

* some UI adjustments

* corrected permissions

* if user gets delete we need to remove data in club_permissions and also api keys which were created by this user

* Notify members about new memberships or changes in permission level

* add spinner to save button

* make login/logout process more bulletproof

* remove the relogin cookie after the attempt

* better strategy

* bug where switch back failed if user is no admin

* make api keys more secure

* mask not owned api keys

* removed annoying link

* if a user gets removed from a club we also should delete the corresponding api keys and cat radios

* adjusted wiki link

* Auto creation of logbook and location when new user is created

* store and display locator in uppercase

* same for callsign

* fixed a bug in user/club creation

* Revert "Auto creation of logbook and location when new user is created"
We found another solution to which will be addressed in a second PR
This reverts commit f05f4b7bf0.

* Optimized SQL for stats at userlist

* Source query for lastop "out", because mysql<9.0 can't handle Windowed functions

* adjust migration

* add new columns to users table to get created_at and modified_at

* added a partial down function

* add operator dropdown for clubstations

* fix mig version

* Add some backend restrictions in case a user wants to try something funny with the club

---------

Co-authored-by: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com>
Co-authored-by: int2001 <joerg@dj7nt.de>
2025-01-02 10:22:23 +01:00
int2001
1232560ac7 Added Last-Worked to cluster (PHP) 2025-01-01 17:33:50 +00:00
int2001
5409c5502c Cosmetics 2024-12-31 17:28:14 +00:00
int2001
0d71f93e60 Update DXCC coming from LoTW to Log 2024-12-31 17:21:36 +00:00
HB9HIL
7caeba2f03 Try to import the QSL Message from the ADIF file, otherwise use the default message from the station profile 2024-12-27 15:48:10 +01:00
Andreas Kristiansen
0cab72ca14 Merge branch 'dev' into wae_award 2024-12-25 09:53:36 +01:00
int2001
9b04c57cbb Resolve abbreviation of region if available for view 2024-12-24 06:45:28 +00:00
int2001
c41b40ce12 Add/Edit QSO models 2024-12-23 18:31:09 +00:00
Andreas Kristiansen
9efc290167 Merge branch 'dev' into wae_award 2024-12-23 17:46:29 +01:00
Andreas Kristiansen
639fe98703 Fill WAE countries 2024-12-21 08:03:01 +01:00
HB9HIL
bdbd5ab00e avoid qslmsg query per qso 2024-12-19 12:42:04 +01:00
Fabian Berg
0f243a1297 Merge pull request #1313 from HB9HIL/adif315
ADIF Standard Version 3.1.5
2024-12-19 11:53:47 +01:00
Andreas Kristiansen
568ef3e4d8 Filter on valid continents only 2024-12-19 10:12:05 +01:00
HB9HIL
e2d1e65d23 added new adif fields to import logic 2024-12-13 08:55:53 +01:00
Joerg (DJ7NT)
24b58cec0c Merge pull request #1342 from int2001/lotw_dl_fix
Skip Users without any station_id at lotw_download
2024-12-12 12:06:36 +01:00
phl0
d57b7660da Fix correct check for empty date 2024-12-12 08:42:13 +01:00
int2001
fda8c08d4c DoubleTap 2024-12-11 18:02:26 +00:00
int2001
be7e7b6104 AM wasn't fetched 2024-12-03 11:44:15 +00:00
int2001
318f94f007 Fixes Bug where Modes are not shown correct 2024-12-03 09:38:03 +00:00
phl0
afda3b6230 Fix VUCC awards view 2024-12-02 18:45:27 +01:00
phl0
b5c4f62eb8 Merge remote-tracking branch 'upstream/dev' into refactorSat 2024-12-02 15:35:22 +01:00
phl0
ec093420b3 Fix dashboard links 2024-12-02 14:21:15 +01:00
phl0
dd85fae08b We need sat table also on "All" bands 2024-12-02 14:09:24 +01:00
phl0
9e19a414d2 Fix typo 2024-12-02 14:03:25 +01:00
phl0
aa1f703180 Fix QSO filter view 2024-12-02 14:00:02 +01:00
phl0
e185802d41 Show SAT displayname also in overview 2024-12-02 13:44:49 +01:00
phl0
80d437ad0c Show SAT display name in QSO view if available 2024-12-02 13:33:50 +01:00
int2001
969ef9b8b9 Reduce PR 2024-12-01 15:56:49 +00:00
phl0
d7ec43b7b1 Merge remote-tracking branch 'upstream/dev' into refactorSat 2024-12-01 14:26:14 +01:00
int2001
aeebaf2f62 First draft seelect year at stats (PHP) 2024-12-01 09:21:43 +00:00
Andreas Kristiansen
5b3279d762 [Callbook] Refactor so it's easier to add new callbooks 2024-11-24 15:34:56 +01:00
Fabian Berg
f67d3e9bbf Merge pull request #1247 from HB9HIL/distance_lp 2024-11-23 10:31:37 +01:00
phl0
fb78701ddb Take ant_path into account on LoTW updates 2024-11-23 08:54:16 +01:00
phl0
99fef495ce Fetch email from callbook / last QSOs 2024-11-21 15:58:51 +01:00
HB9HIL
3406ffa63b fix some more places where antenna path matters 2024-11-21 15:26:35 +01:00
HB9HIL
96ba26d045 fix the most of bad identical id's 2024-11-21 00:06:38 +01:00
Fabian Berg
44d42ae12f Merge branch 'dev' into ant_path 2024-11-20 18:24:07 +01:00
Joerg (DJ7NT)
37947b9695 Merge pull request #1219 from int2001/fix_override
Fix overridelogic at ADIF-Upload
2024-11-20 08:47:03 -04:00
HB9HIL
88c1908f1a Merge remote-tracking branch 'upstream/dev' into pr/HB9HIL/1165 2024-11-18 18:58:41 +01:00
HB9HIL
4b22bb24fb implementation of ant path in qso logging 2024-11-18 18:58:20 +01:00
Fabian Berg
7e99054512 removed debugging 2024-11-18 18:47:43 +01:00
int2001
03bcb85138 Add "now" as clublog_upload_date if override was set 2024-11-18 16:40:07 +00:00
int2001
ddb7035b6b Fix 3rd occurence 2024-11-18 16:31:05 +00:00
int2001
7ceedebd7f Logic at override (ADIF-Upload / mark as uld) was wrong for LoTW and Clublog 2024-11-18 16:21:40 +00:00
HB9HIL
55b0f2ca37 use station power per default if set in station location 2024-11-18 16:51:53 +01:00
Fabian Berg
531038f3b7 Merge pull request #1187 from HB9HIL/cache_clearing 2024-11-18 15:40:34 +01:00
HB9HIL
f0fed3233f Merge remote-tracking branch 'upstream/dev' into pr/HB9HIL/1165 2024-11-17 16:00:55 +01:00
phl0
457f955911 Use PK as secondary sorting criteria after time 2024-11-14 12:14:26 +01:00
HB9HIL
185decf31e update continent during callbook update 2024-11-13 12:07:53 +01:00
HB9HIL
e4330fb779 same omit logic as from callbook returns 2024-11-12 13:04:55 +01:00