Commit Graph

66 Commits

Author SHA1 Message Date
cats-shadow
49202167d1 Add some flexibility to compose QSL labels 2025-02-10 13:30:22 +03: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
a4e289656e show the To Radio in the upper right corner 2024-09-04 01:37:55 +02:00
int2001
7ea7a5686d Swapped Confirming with To/Via 2024-09-02 06:28:24 +00:00
int2001
b33a562c1e Changed QSL-Label to "to radio" 2024-09-02 06:15:06 +00:00
HB9HIL
5dee1b9968 You're not allowed to do that! 2024-08-16 10:08:44 +02:00
int2001
401b4c9fe1 Added lang-anchors for form-validation and messages 2024-07-01 15:03:00 +00:00
HB9HIL
2a5c6538aa page titles 2024-06-08 11:01:59 +02:00
HB9HIL
52692e05a8 catch case if no ref is available 2024-03-17 23:25:23 +01:00
HB9HIL
959bc56999 add option to print reference 2024-03-17 23:13:35 +01:00
int2001
b0d676b032 Fix printing empty submode 2024-03-11 14:15:03 +00:00
int2001
99ab380831 Fix: Print SUBMODE if submode present, else MAINMODE at labels 2024-02-14 06:10:48 +00:00
int2001
0a3d3bbf23 PHP-Fences / FormValidation for Labels 2024-02-12 06:41:25 +00:00
int2001
c74a5475f2 All Cloudlog-occurences with capital C and lowercase loudlog to Wavelog 2024-01-17 14:20:10 +00:00
int2001
0e46192055 Changed printed text to "via [via]" from " | send via [via]" 2023-10-26 11:29:58 +00:00
int2001
8e6c4733d9 Added "QSL via" also to LBA 2023-10-26 09:37:25 +00:00
int2001
613d17642c Added "Via" as option for labels 2023-10-26 09:10:38 +00:00
Andreas
bcff9dd102 Added support for grid when printing from the advanced logbook 2023-08-05 11:42:39 +02:00
int2001
4ec2a03c33 Added optional Grid and Call-Line to label 2023-08-05 05:49:12 +00:00
int2001
1afb72063a Changed Header of label to DD.MM.YY UTC 2023-08-04 05:35:43 +00:00
int2001
14cff47f04 Added inches to papertype / extended logic for inches 2023-08-04 04:45:10 +00:00
int2001
f5baeb8fa2 fixed "no active label"-detection 2023-08-03 11:34:29 +00:00
int2001
2824f31ac6 Disabled "use for print" if no paper given, catching error if those label was active 2023-08-03 08:55:16 +00:00
int2001
85a2299322 Added warning if no paper_type is assigned 2023-08-03 06:53:22 +00:00
int2001
262cca5465 Added orientation and usage count to view/controller/model 2023-08-03 06:15:51 +00:00
int2001
6d2c4b1b76 Switched from paper_name to paper_id 2023-08-03 04:37:25 +00:00
Andreas
d1d602a941 Added error message when saving or editing a paper type with duplicate name 2023-08-02 19:10:35 +02:00
int2001
f2272e9fb5 1st version with orientation 2023-08-02 10:20:38 +00:00
int2001
4a19e00965 Moved from paper_id to paper_name 2023-08-02 09:46:19 +00:00
int2001
ed6ca09b67 Enhances PDFLabel (and some parts of label-controller/model) to custom-papertypes. UNTESTED 2023-08-02 09:34:32 +00:00
Andreas
d76e7e74d5 [Labels] Added custom papertypes to create label 2023-08-02 10:34:19 +02:00
Andreas
a043060a8c [Labels] Added papertypes to dropdown for editing labels 2023-08-02 10:17:22 +02:00
Andreas
206c10f80a [Labels] Added edit/delete paper type 2023-08-02 10:05:24 +02:00
Andreas
b419e804bb Added updated controller 2023-08-01 18:59:05 +02:00
Andreas
e3789ae1be [Advanced Logbook] Added dialog to set label offset when printing labels 2023-08-01 10:30:05 +02:00
Andreas Kristiansen
61b55a2e3d Merge branch 'dev' into secfix 2023-07-30 21:40:48 +02:00
int2001
e957402b37 redirect if one wants to try print labels from other station 2023-07-30 17:25:52 +00:00
Andreas
4387a5b2ed Fixed error when sat_mode is null 2023-07-30 09:59:38 +02:00
int2001
33d469f4b8 Fixed detection of new QSO 2023-07-30 06:50:08 +00:00
int2001
be2478a3ae Respect different BAND_RX only when working SAT 2023-07-30 06:18:36 +00:00
int2001
52b3d3585b Fixing of SATMode / BandRX 2023-07-30 06:08:01 +00:00
int2001
b5d73e50c3 Fixed start_at 2023-07-30 05:46:25 +00:00
Andreas
2543a721ad [Labels] Added support for label offset in backend 2023-07-29 20:49:45 +02:00
Andreas
aa051f7ffd [Labels] Added form to choose which label to start at 2023-07-29 20:02:18 +02:00
int2001
2b29c6cbe4 Shortened Date / see https://github.com/magicbug/Cloudlog/discussions/2164#discussioncomment-6575981 2023-07-28 13:13:21 +00:00
int2001
b804a41c41 SatMode label fix 2023-07-28 10:37:49 +00:00
phl0
00c98609fd Minor changes to output 2023-07-28 12:19:01 +02:00
int2001
d0c55fe628 Time-Formatter included 2023-07-28 10:13:15 +00:00
int2001
c4df2d77d0 flip PSE/TNX 2023-07-28 09:31:39 +00:00
int2001
2e1329a159 Added TNX/PSE to label 2023-07-28 09:24:01 +00:00