Commit Graph

28 Commits

Author SHA1 Message Date
int2001
2ec1eccc35 Added overlap-checking to PHP and REST-Return 2025-07-09 10:17:45 +00:00
Andreas Kristiansen
24ff4db86b Simplified update/insert new bandedge 2025-07-07 08:33:20 +02:00
Andreas Kristiansen
853959a2f0 Editing bandedges works 2025-07-06 18:22:16 +02:00
Andreas Kristiansen
8a313668b9 Added bandedge deletion 2025-07-06 15:43:48 +02:00
Andreas Kristiansen
3f16c1e148 Added controller changes 2025-07-05 13:17:01 +02:00
int2001
7886512645 Formatting 2025-05-22 08:30:12 +00:00
Alexander
43981ebe51 Add Dutch VRZA WAP Worked All Provinces award 2025-05-21 23:47:57 +02:00
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
5cb19da217 fixed binding in bands model 2024-10-12 06:29:40 +00:00
HB9HIL
5dee1b9968 You're not allowed to do that! 2024-08-16 10:08:44 +02:00
HB9HIL
285cf73efe we can display the units directly to support gettext here 2024-07-05 22:13:49 +02:00
HB9HIL
ae5c93da46 save the band unit and write it in session and user_options 2024-07-05 21:37:50 +02:00
HB9HIL
44ee68c19f basic setup to make units selectable in band table 2024-07-05 20:16:25 +02:00
HB9HIL
2a5c6538aa page titles 2024-06-08 11:01:59 +02:00
Andreas Kristiansen
7da34e1900 [Bands] Added RAC and JCC. And some future proofing 2024-03-03 08:58:56 +01:00
HB9HIL
a17ac50716 renamed h26 to helvetia 2024-02-17 00:47:00 +01:00
HB9HIL
5ffae9229b h26 band settings 2024-02-17 00:01:42 +01:00
int2001
9aa6bb26cd Added waja/pota to controller 2024-01-06 14:48:24 +00:00
Peter Goodhall
a7fed81367 [Bands] removed a bit of debug code 2022-10-12 11:24:37 +01:00
Peter Goodhall
291d75f0fe [Bands] Don't show create or edit buttons for users who arent admin 2022-10-12 11:23:01 +01:00
Andreas
ccacc244db [Bands] Added master checkbox for award 2022-10-06 11:41:01 +02:00
Andreas
9e110039f3 [Bands] Added WWFF support to bands 2022-09-20 17:25:50 +02:00
Andreas
4eae240fb9 [Bands] Updated edit/create band to include bandgroup, cw/ssb/data qrg 2022-09-09 18:52:57 +02:00
Andreas
1114973f8d [Bands] Added edit band 2022-09-06 20:18:17 +02:00
Andreas
7326c7ec35 [Bands] Can now create new band 2022-09-06 19:35:27 +02:00
Andreas
a9c6acf255 [Bands] User settings can now be saved. 2022-09-05 20:26:08 +02:00
Andreas
a7375c0bdc [Bands] Added logic to fetch bands from database 2022-09-04 18:26:21 +02:00
Andreas
c55ea49675 [Bands] Added a controller and a view to display bands with options 2022-09-04 08:49:58 +02:00