Commit Graph

28 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
4f6b47e215 fix adding qso to list (incl. prev qsl) 2024-12-19 22:21:51 +01:00
int2001
93bb06422d Optimized last-qslcount 2024-12-16 06:20:37 +00:00
HB9HIL
b79e503f00 include band/mode/sat_name and make the query more efficient 2024-12-14 10:39:41 +01:00
HB9HIL
5011b2681a show number of previous sent qsl cards in qsl queue 2024-12-14 00:48:28 +01:00
HB9HIL
5dee1b9968 You're not allowed to do that! 2024-08-16 10:08:44 +02:00
HB9HIL
d7e7c8a79f $this and $ci lang fixes 2024-06-06 21:32:42 +02:00
HB9HIL
e71685d5ea qslprint language 2023-12-07 01:18:04 +01:00
phl0
f6044097c1 We should export to csv without slashed zero 2023-08-30 16:51:06 +02:00
Andreas
9eee9d9751 [QSLPrint] Fixed js. Added button to mark as sent 2023-08-04 10:00:14 +02:00
int2001
126d781baa Added Station-ID to label-qso-view 2023-08-03 11:15:02 +00:00
Andreas
c4ac74c4ff [QSLPrint] Only set bureau for those QSOs that does not have col_qsl_sent_via 2023-05-03 20:52:42 +02:00
Andreas
9d1f30d8e8 [OQRS] Added OQRS system 2022-11-15 18:29:33 +01:00
Thomas Werzmirzowsky
821a00dabb added checks to backend and frontend of "print requested qsls" to only
allow access to QSOs of user
2021-11-17 22:30:20 +01:00
Peter Goodhall
5eac022fae [Print QSL] Allowed all user roles access 2021-11-14 22:52:23 +00:00
Andreas
c750d04848 [QSLPrint] Fixed marking of QSLs as sent when station location was all. 2021-09-04 09:42:46 +02:00
Andreas
fddc03b4ef [QSLPrint] Bugfix for exporting ADIF and CSV when all is selected in Station Location 2021-08-24 20:10:07 +02:00
Andreas
f96b608b52 [QSL Print] Added button to see list of QSOs with callsign. Can add them to print queue from this list. 2021-07-28 11:10:15 +02:00
Andreas
c0a2134f62 [QSL Print] Delete now works. Added a working station profile selector, which changes table and links when changed. 2021-07-22 17:16:49 +02:00
Andreas
b80aaf4458 [QSLPrint] Added function for deleting QSOs from print queue. 2021-05-22 08:45:24 +02:00
Andreas
cfd6253dfc [QSL Print Queue] Expanded the view with a table to see which QSOs are ready for print. 2021-05-08 10:29:47 +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
Kim Huebel
2f489f9ee8 Added col_comment to csv-export for printing,
also made comments in cloudlog.php (cosmetics)
2019-10-06 19:52:18 +02:00
Kim Huebel
3ee091a9df take station_callsign from station_profile 2019-09-28 17:35:57 +02:00
Kim Huebel
8a925c99ae added station callsign into csv export 2019-09-27 23:11:10 +02:00
Kim Huebel
cba423f6f4 refactoring 2019-09-11 22:15:43 +02:00
Kim Huebel
33178fca89 optimized CSV Download - now direct download, not showing CSV in browser. 2019-09-11 22:09:51 +02:00
Kim Huebel
0f81c3f6a8 Exporting QSO-Data for printing QSLs 2019-08-28 21:13:24 +02:00