Commit Graph

343 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
Andreas Kristiansen
e9bfee0a93 Put some dropdowns side by side 2024-12-27 09:18:10 +01:00
int2001
dcc3a976b7 Added "empty" entry to log as well 2024-12-24 05:53:27 +00:00
int2001
77489217d8 Rearranged order 2024-12-23 19:38:06 +00:00
int2001
39c9960c30 Views 2024-12-23 18:27:41 +00:00
phl0
90b867808f Restore uppercase transformation for inputs 2024-12-02 08:05:19 +01:00
Filip Melik
d67223c94f Get rid of margin to gain extra space
Co-authored-by: Fabian Berg <fabian.berg@hb9hil.org>
2024-11-29 09:02:34 +01:00
Filip Melík
b495ca624c Cope with separate end time condition too 2024-11-29 08:38:23 +01:00
Filip Melík
102999ae3c Compact date+time and RST QSO fields on mobile 2024-11-29 08:38:23 +01:00
phl0
2931f5b77c Restore text input for frequencies 2024-11-27 09:18:12 +01:00
phl0
6c184aa8c5 Display a numeric keyboard for number input fields 2024-11-26 22:54:58 +01:00
phl0
1f527771d3 Fix typo 2024-11-21 15:11:54 +01:00
phl0
78ccb70fc7 Correct wording 2024-11-21 15:06:35 +01:00
HB9HIL
96ba26d045 fix the most of bad identical id's 2024-11-21 00:06:38 +01: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
HB9HIL
75b0d00060 unit button looks better if it has some content 2024-11-12 20:58:16 +01:00
HB9HIL
fa6a877659 Merge remote-tracking branch 'upstream/dev' into qrg_input 2024-11-12 12:18:16 +01:00
HB9HIL
0502d67208 added the ability to switch qrg unit by clicking on the button 2024-11-12 11:44:00 +01:00
int2001
d458465af6 Added ability to log mail at qso 2024-11-12 10:24:27 +00:00
HB9HIL
b56e9ff17b make the qrg input dynamic 2024-11-12 00:46:20 +01:00
HB9HIL
c1cdd189f5 show qrg unit based on band 2024-11-11 21:45:12 +01:00
HB9HIL
a47ec16786 disable browsers autocomplete on callsigns 2024-11-06 22:40:41 +01:00
phl0
f2fe67a780 No lower case for NONE in QSO log pane 2024-10-23 14:35:05 +02:00
HB9HIL
1a5f00507a fix radio value = 0 2024-10-21 18:14:55 +00:00
int2001
ffc55d04a5 Remove hardcoded /MM /AM as well at QSO-Logging 2024-10-09 08:55:08 +00:00
HB9HIL
3834c48fa7 small translation adjustment 2024-10-07 06:29:14 +00:00
HB9HIL
7a110f5bab add translation for the LoTW User tooltip 2024-10-06 15:54:05 +00:00
phl0
87616e05ae Fix mistakes 2024-10-05 23:16:06 +02:00
phl0
5bb925f052 Remove unneeded reading date/time from session data 2024-10-05 23:13:20 +02:00
HB9HIL
de87b401d7 only set old QSO data when using the POST QSO mode (manual_mode = 1) 2024-10-04 18:02:44 +00:00
HB9HIL
8610148293 fixed qso tabindex 2024-09-22 18:54:03 +02:00
HB9HIL
994bfcca58 changed hints for qso notes and qsl msg 2024-09-12 17:02:37 +02:00
HB9HIL
75d0a3a2c2 dxcc summary translation 2024-09-09 15:38:38 +02:00
phl0
39e2550f4a Put az/el boxes to the sat pane 2024-09-03 09:45:32 +02:00
phl0
bdfc92bd55 Input boxes for ant azimuth and elevation 2024-08-31 22:56:27 +02:00
HB9HIL
ecc8eb9177 the i tag does not get parsed anyway 2024-08-27 17:38:33 +02:00
phl0
9ba63ea9ef Make ITU zone not required 2024-08-26 22:58:41 +02:00
HB9HIL
1aac480485 added ITU Zone to QSO logging and QSO edit 2024-08-26 18:12:32 +02:00
Andreas Kristiansen
bdad632f36 Added tune button 2024-08-24 18:37:32 +02:00
Andreas Kristiansen
5c4e50c231 Added button to stop CW sending 2024-08-24 16:01:38 +02:00
Andreas Kristiansen
9fd1063563 Init works. Can now set CW speed. 2024-08-24 14:53:42 +02:00
Andreas Kristiansen
a52a70db71 Fixed some styling 2024-08-20 20:38:35 +02:00
Andreas Kristiansen
531e973810 [Winkey] Did a little touch up of the code here 2024-08-19 10:10:20 +02:00
HB9HIL
fb103c62c4 better visibility 2024-08-17 13:21:59 +02:00
HB9HIL
cfab545779 searchable dxcc for qso view 2024-08-14 00:40:39 +02:00
HB9HIL
98f1677144 Merge branch 'dev' into default_radio 2024-08-06 17:18:44 +02:00
github-actions
c6bd33d16a show which radio was last updated 2024-08-06 00:04:59 +02:00
github-actions
b00de6ffd7 fix xss vulnerability 2024-08-05 21:08:19 +02:00
HB9HIL
0eeb4b4ccb restore permissions 2024-07-10 16:40:16 +02:00