Commit Graph

164 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
395ce97783 more fancy UI and js code reduction 2024-12-19 10:33:40 +01:00
phl0
531c91911b Optimize wording and translations 2024-12-19 10:15:04 +01:00
int2001
1ddf01aaa5 Adjustments 2024-12-19 08:12:09 +00:00
int2001
fb555ecdef AJAXing (PHP) 2024-12-19 07:49:00 +00:00
phl0
e31bc3828d Fix typo 2024-12-12 18:07:00 +01:00
HB9HIL
dba172f7f1 use darkly as standard theme for new users 2024-11-29 09:39:33 +01:00
HB9HIL
27ec2292f2 show hint about clublog app passwords 2024-11-02 23:20:29 +01:00
HB9HIL
bba4130cd8 check for username aswell 2024-08-22 16:54:02 +02:00
HB9HIL
035628ccff fixed php error
in the first try I did it the wrong way
2024-08-22 15:55:19 +02:00
HB9HIL
f282772c06 fix php error 2024-08-22 12:37:06 +02:00
HB9HIL
dd7bc641ff disable user_name edit on demo 2024-08-16 01:53:20 +02:00
HB9HIL
30156a6144 add flags to user language edit and add 2024-07-22 16:16:03 +02:00
HB9HIL
3b9dccdd73 show translated language names 2024-07-09 16:01:05 +02:00
HB9HIL
feb57a2be4 fix language selection for other users 2024-07-03 17:44:35 +02:00
phl0
60eded80e4 Fix variable assignment 2024-06-14 09:23:52 +02:00
phl0
c7519f0e5f Fix merge conflicts 2024-06-14 09:20:38 +02:00
HB9HIL
8da6d4a99c Merge branch 'dev' into alpha 2024-06-13 15:00:16 +02:00
Christoph Kottke
8629957cee * html syntax fix in view user 2024-06-13 12:07:49 +02:00
HB9HIL
e454a4d2ef stringify finished views 2024-06-08 09:54:45 +02:00
HB9HIL
99e56a876b stringify 2024-06-07 14:58:23 +02:00
HB9HIL
799a691e82 changed the last <?php echo to <?= (only gettext) 2024-06-06 23:41:47 +02:00
HB9HIL
56eccaf6fa missed that 2024-06-06 23:30:19 +02:00
HB9HIL
34151ddb05 we don't use lang keys in lang keys... 2024-06-06 23:28:45 +02:00
HB9HIL
e77cf3537b fix escaping. this causes big trouble here 2024-06-06 23:25:17 +02:00
HB9HIL
d7e7c8a79f $this and $ci lang fixes 2024-06-06 21:32:42 +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
f339af6ae6 renamed 'language' column in users table to 'user_language' to avoid collisions 2024-06-06 10:46:12 +02:00
int2001
cba28293c9 Bring Clublog-"QSL" to Frontend 2024-05-13 08:02:10 +00:00
HB9HIL
ea893c7a61 fix error msg (already in dev) 2024-05-09 10:04:17 +02:00
HB9HIL
2e99aa563f return hidden values 2024-05-08 12:53:22 +02:00
HB9HIL
e8dc47773a option to show utc time in header menu 2024-05-05 14:56:11 +02:00
int2001
4e2409f75c Hotfix for user-defined-cols 2024-03-27 09:20:14 +00:00
phl0
c602ed1164 Save some space 2024-03-22 13:26:21 +01:00
phl0
acdf40f245 Add reset button 2024-03-22 13:09:46 +01:00
int2001
e4f0a8958b Fix non-existing values at first time call 2024-03-22 08:00:07 +00:00
phl0
06205da573 Make DOK switchable to QSO tab 2024-03-22 08:35:02 +01:00
phl0
0671c99b0d Make SIG/SIG_INFO switchable 2024-03-22 08:26:26 +01:00
phl0
db816ff3f4 Make POTA switchable 2024-03-22 08:15:45 +01:00
phl0
907f0798c6 Make WWFF switchable 2024-03-22 08:06:54 +01:00
phl0
7b31239245 Make SOTA switchable 2024-03-22 07:57:31 +01:00
phl0
acf9e6d5ad Make IOTA reference switchable to QSO tab 2024-03-22 07:16:04 +01:00
phl0
5fff16862c Merge remote-tracking branch 'upstream/dev' into hamsatWorkablePasses 2024-03-07 17:59:10 +01:00
phl0
5ea81c3f07 Add user options to allow for showing workable passes only 2024-03-07 16:11:54 +01:00
Andreas Kristiansen
80d7adb66c [Users] Default checked for QSL and LoTW in new user form 2024-03-06 20:32:03 +01:00
HB9HIL
672a4842d5 small UI fixes 2024-03-02 17:33:16 +01:00
HB9HIL
d1e11455e4 quickswitch feature 2024-02-09 11:05:28 +01:00
int2001
c74a5475f2 All Cloudlog-occurences with capital C and lowercase loudlog to Wavelog 2024-01-17 14:20:10 +00:00