Commit Graph

64 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
HB9HIL
4fc175c0fb fixed a bug in simplefle and added cache clearing 2024-11-11 20:25:59 +01:00
HB9HIL
8bde4ab7b9 language adjustments 2024-10-31 20:49:24 +00:00
HB9HIL
dc0138b718 fixing UI 2024-08-25 11:15:09 +02:00
Filip Melik
728e4d5910 Merge branch 'dev' into 803-SFLE-js-errors 2024-08-25 10:14:20 +02:00
Filip Melík
aea8759b40 Add container for SFLE input errors 2024-08-25 09:07:17 +02:00
HB9HIL
d26df476c2 adjusted strings to remove the html from gettext 2024-08-15 09:04:04 +02:00
HB9HIL
7542aa094f fix sfle string 2024-08-12 12:06:19 +02:00
HB9HIL
dcf4abf99a broken string 2024-07-13 14:51:48 +02:00
HB9HIL
75ffe929ad Just say contest here 2024-07-13 14:39:07 +02:00
HB9HIL
05923c7899 add the ability to log for a contest 2024-07-13 14:34:36 +02:00
HB9HIL
f0d7a7d9be testing weblate webhook 2024-06-22 22:30:17 +02:00
HB9HIL
e454a4d2ef stringify finished views 2024-06-08 09:54:45 +02:00
HB9HIL
133191d93e use <?= for better readability 2024-06-06 20:23:19 +02:00
HB9HIL
e463053042 manual fixes 2024-06-06 20:22:22 +02:00
HB9HIL
0284e6ce19 first big change 2024-06-06 15:41:03 +02:00
HB9HIL
2b5b41a25a set active location on change in simplefle aswell 2024-05-31 17:19:28 +02:00
HB9HIL
aea9b37b03 Merge branch 'dev' into sfle_style 2024-05-29 23:45:06 +02:00
HB9HIL
4a4537a74d some adjustments 2024-05-29 23:37:46 +02:00
HB9HIL
6e6a74b967 temporary disable options button 2024-05-29 23:20:56 +02:00
HB9HIL
0ad7e73cb4 removed "Callsign:" from location dropdown 2024-05-29 10:10:58 +02:00
HB9HIL
2dd366f9b9 gridsquare support 2024-05-28 23:27:06 +02:00
HB9HIL
c0bfe3cf29 use more of the screen 2024-05-28 21:36:56 +02:00
HB9HIL
4c53797047 standarize textarea in js 2024-05-28 13:47:06 +02:00
HB9HIL
d132712763 new button bar and options dialog 2024-05-28 13:36:12 +02:00
HB9HIL
1bf757bcbb pipe the modes though to js 2024-04-30 01:41:05 +02:00
HB9HIL
a5130ebdb2 removed unused line 2023-12-27 19:58:15 +01:00
HB9HIL
dd154f6a9e removed card background to get the old design 2023-12-07 21:28:10 +01:00
HB9HIL
0e2db0e5b4 removed borders on simplefle 2023-11-25 23:30:56 +01:00
HB9HIL
1a11d4aa60 fixing table format 2023-11-17 23:07:08 +01:00
HB9HIL
d1d36cc05c fixed card classes 2023-11-15 17:24:26 +01:00
HB9HIL
a58499d04f classes for simplefle view 2023-11-14 20:19:57 +01:00
HB9HIL
8c4bae8453 run migration script 2023-11-14 13:35:53 +01:00
HB9HIL
428b679907 no correct use of label for 2023-11-10 12:55:25 +01:00
HB9HIL
31e3162ad9 removed console.log 2023-11-09 22:00:06 +01:00
HB9HIL
bb5355d32f bug fix for getFreqFromBand 2023-11-09 21:49:17 +01:00
HB9HIL
8633aa1f4c added var lang for warning time 2023-11-08 17:51:13 +01:00
HB9HIL
cc98f41876 adjusted syntax help example data 2023-11-06 13:37:41 +01:00
HB9HIL
a071a4b8d9 added QSO Date hint 2023-11-04 12:55:33 +01:00
HB9HIL
c357e0f90c added utc time to view 2023-11-04 12:45:23 +01:00
HB9HIL
0867edc0f3 replaced refs hint 2023-11-02 14:50:21 +01:00
Andreas
df9c813fd6 Changed REF text header 2023-11-02 09:40:38 +01:00
HB9HIL
6026297649 Example Data 2023-11-02 08:22:01 +01:00
Andreas
0f1f619e50 Added scrollable QSO table 2023-11-01 21:56:33 +01:00
HB9HIL
99b4061217 prepared sample data 2023-11-01 21:08:21 +01:00
Andreas
95744266e2 Removed leftover translation variable 2023-11-01 10:18:27 +01:00
HB9HIL
8272fbbc5a added pota and iota, improved regex 2023-10-31 23:06:49 +01:00
HB9HIL
f28d0cd23c SimpleFLE Multilanguage Support 2023-10-30 23:52:20 +01:00
HB9HIL
b18c1a6750 removed tabbed design 2023-10-29 23:25:47 +01:00
HB9HIL
d86e971957 tabbed design 2023-10-28 00:29:43 +02:00