Commit Graph

175 Commits

Author SHA1 Message Date
phl0
c4b29de6e9 Fix wrong logic on solar data session value 2025-09-26 17:04:51 +02:00
Szymon Porwolik
487d52d105 User solar danel widget at the user dashboard shall be now be hidden by default. 2025-09-24 10:24:57 +02:00
Szymon Porwolik
ad528539b4 New model: HAMqsl data with solar activity and propagation. User can display brief information of the solar activity at the Dashboard. Model can be re-used in various other places. 2025-09-23 00:33:52 +02:00
int2001
9ed326233e Prepare for running without session (cron-usecase) 2025-08-22 04:40:22 +00:00
int2001
651778b443 1st successful generation of payload at /dcl/dcl_upload 2025-08-21 09:17:57 +00:00
int2001
8922b3dc67 Added DCL to Usersettings 2025-08-21 06:29:52 +00:00
int2001
2b39d116b2 Check Username for uniqueness b4 adding/editing 2025-07-25 10:52:27 +00:00
int2001
aa609decd8 Check mail for dupes b4 editing it 2025-07-25 08:34:03 +00:00
Andreas Kristiansen
58373b9f52 [Dashboard] User option for banner 2025-04-28 11:46:28 +02:00
Joerg (DJ7NT)
e0c32e0d81 Merge pull request #1711 from filipmelik/qso-widget-remix 2025-03-03 19:04:55 +01:00
int2001
a1b0eda675 Very very strange bug. the ON-Clause for joining was wrong, for over 2 years... 2025-03-01 15:50:02 +00:00
Filip Melík
d71af44fbb add qso widget configuration into settings 2025-02-27 22:01:57 +01:00
int2001
804d8ef3da Added important notice to add_user at User_model 2025-02-24 08:21:57 +00:00
Filip Melík
86eb52fb50 Add constant for user slug length 2025-02-23 13:28:41 +01:00
Filip Melík
12fd296ece Fix 'show dashboard map' var when adding user 2025-02-23 13:28:41 +01:00
Filip Melík
85bc1fa265 Fix case when adding new user, make widget url variable in UI conditional to preven php warning 2025-02-23 13:28:41 +01:00
Filip Melík
3f13781ebe Update widget to read user options 2025-02-23 13:28:41 +01:00
Filip Melík
1005238ccb Add settings UI + logic 2025-02-23 13:28:41 +01:00
Filip Melík
be8b2fdab9 Add func to retrieve user by his callsign 2025-02-23 13:28:41 +01:00
int2001
05bc18a2a6 Make dashboard-map user-configurable 2025-02-17 12:22:57 +00:00
Fabian Berg
5b6c814342 Merge pull request #1583 from HB9HIL/faster_users 2025-01-31 06:49:23 +01:00
Filip Melík
dca5bb58c6 Add QSO setting option, Enable saving the setting value in add/edit user methods 2025-01-30 21:09:20 +01:00
HB9HIL
2392caadab config switch to disable qso counter in user list 2025-01-30 20:59:20 +01:00
HB9HIL
d2abea34b3 making the users query much faster 2025-01-30 17:45:51 +01:00
Fabian Berg
0f0af3f466 fixes (#4) 2025-01-30 07:44:48 +01:00
Filip Melík
d6f975f011 HELP NEEDED - Cache dashboard last QSO setting to session 2025-01-29 21:07:28 +01:00
Filip Melík
441165d396 Save 'dashobard last qso count' setting when editing and adding user 2025-01-29 20:43:47 +01:00
Joerg (DJ7NT)
0f4fcfd8c6 Revert "Dashboard improvements" 2025-01-28 12:41:00 +01:00
Filip Melík
58c865b096 Save last qso count on dashboard setting and honor it in dashboard map and dashboard table 2025-01-27 20:00:18 +01:00
HB9HIL
eed874f3eb ability for an admin to unlock a user from the users table by using the actions modal 2025-01-19 09:44:54 +01:00
int2001
62dea3fc2e Make amount of failed logins configurable (defaults to 3) 2025-01-13 15:23:14 +00:00
int2001
2328dfad29 Set threshold to >3 instead of >=3 2025-01-13 09:30:51 +00:00
int2001
bdf7f29094 Reset login_attempts on PW-Reset and new PW 2025-01-13 09:26:17 +00:00
int2001
f600341649 Lock User after 3 failed attempts 2025-01-13 09:13:15 +00:00
Fabian Berg
e8c85b9d03 Merge branch 'dev' into firstlogin_wizard 2025-01-07 21:34:41 +01:00
HB9HIL
e0e4a027da Merge remote-tracking branch 'upstream/dev' into pr/HB9HIL/1473 2025-01-07 21:32:36 +01:00
HB9HIL
344848cee6 allow searching for first and lastname at the same time 2025-01-07 07:05:21 +01:00
HB9HIL
5e13f920c6 remove club permissions on conversion 2025-01-07 06:49:32 +01:00
HB9HIL
ef4a48b7fc missing method in user model 2025-01-05 10:43:30 +01:00
HB9HIL
a588180063 First Login Wizard 2025-01-03 09:28:07 +01:00
HB9HIL
630bb56ea9 show user_name in dropdown 2025-01-02 11:40:14 +01: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
4fcfd667e2 Static Map API (#1098)
Added new Static Map Feature

---------

Co-authored-by: phl0 <github@florian-wolters.de>
2024-10-31 10:26:59 +01:00
HB9HIL
c41e6e68dd update user session with impersonation flag 2024-08-27 23:06:22 +02:00
HB9HIL
847327d313 Revert "added operator firstname"
This reverts commit abba3fddad.
2024-08-27 20:01:06 +02:00
HB9HIL
9a76c83683 Merge branch 'dl250cdf_master' into dev 2024-08-26 22:35:28 +02:00
phl0
056c4e2165 Allow AMSAT status page upload for QSOs logged via API 2024-08-25 13:08:05 +02:00
HB9HIL
261e6c7284 Merge remote-tracking branch 'upstream/dev' into dl250cdf_master 2024-08-21 22:07:08 +02:00
HB9HIL
671c33d7de Merge remote-tracking branch 'upstream/dev' into dl250cdf_master 2024-08-17 21:25:48 +02:00
HB9HIL
1601af3e7d Merge remote-tracking branch 'upstream/dev' into impersonate 2024-08-16 20:07:50 +02:00