Commit Graph

59 Commits

Author SHA1 Message Date
Szymon Porwolik
96627076a3 Refactoring and error handling 2025-10-27 21:13:01 +01:00
Szymon Porwolik
8c93692ece Fix for websockets 2025-10-26 20:46:26 +01:00
Szymon Porwolik
8ba3817aed Refactoring 2025-10-25 16:19:35 +02:00
Szymon Porwolik
947e35fa7f Websockets support 2025-10-25 15:45:46 +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
Filip Melík
2cf97b8682 Fix radio API response key, so radio timeout alert works again 2024-12-24 08:49:59 +01:00
HB9HIL
41bd2dd2f6 some minor fixes in language and html 2024-11-10 13:02:21 +01:00
int2001
8e2d5350ee Renamed Headline 2024-11-08 15:32:37 +00:00
int2001
619ab160c4 Adjusted Var-Names and added modal-view-file 2024-11-08 14:47:07 +00:00
int2001
377843dcd9 Make CAT-URL Editable 2024-11-08 14:21:10 +00:00
HB9HIL
7772c5d6f4 correct format in live status (qso view) 2024-08-21 14:21:34 +02:00
HB9HIL
1534d21eb9 replace old ht_to_mhz function with new qrg_conversion 2024-08-21 13:58:21 +02:00
HB9HIL
5dee1b9968 You're not allowed to do that! 2024-08-16 10:08:44 +02:00
HB9HIL
71709ced8c forgot a button class 2024-08-09 08:41:27 +02:00
HB9HIL
b095f5242f adjust btn classes 2024-08-08 20:28:35 +02:00
github-actions
fcc1615052 authorize before unset default radio 2024-08-06 00:20:18 +02:00
github-actions
c6bd33d16a show which radio was last updated 2024-08-06 00:04:59 +02:00
github-actions
0bb1f916fd default radio 2024-08-05 23:42:42 +02:00
github-actions
96eb4bd63c radio default button 2024-08-05 19:57:13 +02:00
github-actions
09572ff923 some more frontend 2024-08-05 19:47:21 +02:00
github-actions
ac647d9c9c some more frontend and code formatting 2024-08-05 18:18:34 +02:00
github-actions
dce3a45808 move js to a dedicated file 2024-08-05 18:06:28 +02:00
github-actions
16e41578cb gettext and frontend 2024-08-05 17:57:48 +02:00
HB9HIL
0eeb4b4ccb restore permissions 2024-07-10 16:40:16 +02:00
HB9HIL
2a5c6538aa page titles 2024-06-08 11:01:59 +02:00
Andreas Kristiansen
fe712fe2da Cleaned up the hardware table so that it looks like other tables 2024-05-18 09:30:56 +02:00
int2001
87c3b3424a Also enable concurrency when updating/refreshing radio 2024-01-13 11:15:24 +00:00
int2001
cce52c126c Enable QRG-Only-Update (should fix #2611) 2023-11-13 09:18:56 +00:00
int2001
8c7e4a9a10 Delete HW-Radio worked only for admins. Fixed that 2023-08-05 06:51:54 +00:00
int2001
a334cebf55 Fixes CAT-Update when not logged in 2023-07-09 05:47:20 +00:00
kb-light
b081ab5449 Radio: Rename Sat mode vars to avoid confusion 2022-09-30 12:05:38 +00:00
kb-light
88982bcb09 [CAT] rename rx columns 2022-09-30 12:05:33 +00:00
Florian (DF2ET)
f39a561a3a Handle non-SAT cases without throwing errors
* Also test mode and frequency for != "NULL"
* Remove useless code
* Forgotten change of variable name
* Set NULL as default for missing frequency
2022-09-29 21:06:06 +00:00
kb-light
99ce3d677f Fix sat_mode 2022-09-27 19:49:57 +00:00
kb-light
4064340bc7 Unify varible naming
Replace uplink_freq by frequency.
Replace uplink_mode by mode
Replace downlink_freq by frequency_rx.
Replace downlink_mode by mode_rx
2022-09-27 19:49:57 +00:00
Peter Goodhall
f473c15182 Update Radio.php 2022-08-01 11:58:44 +01:00
Peter Goodhall
7f94c951ec Update Radio.php 2022-08-01 11:50:14 +01:00
Peter Goodhall
6f0a02ab6e Update Radio.php 2022-08-01 11:31:36 +01:00
Jordan Cook
2cbb2522ba Fix issue where warning is displayed that CAT data from radio is out of date due to using default timezone 2022-07-23 17:27:45 +01:00
phl0
384a11ca61 Beautify hardware interfaces list 2022-05-05 13:17:26 +02:00
phl0
f6feea53bd Add CAT support for other propmodes for CloudLogCATQt 2022-04-08 21:47:50 +02:00
phl0
7ef299c869 Add power field to CAT interface 2022-04-06 14:50:24 +02:00
Peter Goodhall
aad1823e15 [Hardware] Allowed all user roles to view 2021-11-14 22:53:35 +00:00
Andreas
51fba79397 [Hardware] Changed page title to be the same as the menu name 2021-09-20 19:32:41 +02:00
Paul Beesley
2ebf33a084 Update admin page titles
Trying to bring the page title into line with the Admin menu dropdown entry or vice-versa, depending on which one is most used
2020-10-20 22:03:37 +01:00
Peter Goodhall
618194ff34 CAT Timeout: Handle timeout over multiple days better 2020-05-12 23:18:16 +01:00
Peter Goodhall
5e6e65301c QSO Panel: CAT Timeout Warning Message #310
This adds a warning that Cloudlogs not received any recent data from CAT Interface this timeout is defined in the cloudlog.php configuration file

$config['cat_timeout_interval'] = 1800;

The default has been changed to 30mins.
2020-05-12 22:51:56 +01:00
Peter Goodhall
1a737166c5 Wasn't returning radio json wasn't returning mode 2019-09-27 17:43:01 +01:00
Peter Goodhall
531d165d5d Refactored the CAT lookup code reduced the load times from 0.5152ms to load to a mere 0.0012ms 2019-09-06 16:55:13 +01:00
Peter Goodhall
8635724568 Cleaned up the radio interface delete button 2019-06-13 18:09:21 +01:00