Commit Graph

269 Commits

Author SHA1 Message Date
Filip Melík
d71af44fbb add qso widget configuration into settings 2025-02-27 22:01:57 +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
1005238ccb Add settings UI + logic 2025-02-23 13:28:41 +01:00
Filip Melík
1c1dbff13c Fix comments 2025-02-23 13:28:41 +01:00
int2001
ec40302cef Removed global-option and added map_at_right 2025-02-18 05:58:19 +00: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
Filip Melík
b710ccd388 Add dashboard QSO count setting into the Edit user page 2025-01-29 19:55:47 +01:00
Joerg (DJ7NT)
0f4fcfd8c6 Revert "Dashboard improvements" 2025-01-28 12:41:00 +01:00
Filip Melík
8c0cab1cf0 Add dashboard QSO count setting into the Edit user page 2025-01-27 19:45:05 +01:00
phl0
e9949e742d Typo fixes 2025-01-20 16:31:42 +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
dd63729f0b Added Bearing to dashboard and fixed userprefs 2025-01-09 07:09:23 +00:00
phl0
8254471267 Add hints for zone lookup 2025-01-06 15:50:51 +01:00
HB9HIL
ffad555899 fix logo path 2025-01-05 10:44:39 +01:00
Fabian Berg
c2363748d7 Merge branch 'dev' into firstlogin_wizard 2025-01-04 18:07:40 +01:00
HB9HIL
a588180063 First Login Wizard 2025-01-03 09:28:07 +01:00
phl0
c050e20819 Replace zeros by slashed ones for callsigns 2025-01-02 21:33:05 +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
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
952e1faf20 feat[users]: Allow click on email to open mail default mail software 2024-12-03 15:25:03 +01:00
HB9HIL
dba172f7f1 use darkly as standard theme for new users 2024-11-29 09:39:33 +01:00
HB9HIL
dd5900272b Merge branch 'dev' into sfle_fix 2024-11-03 16:23:58 +01:00
HB9HIL
27ec2292f2 show hint about clublog app passwords 2024-11-02 23:20:29 +01:00
HB9HIL
9164bb0816 show a waiting message 2024-10-31 20:56:42 +00:00
HB9HIL
8d42e45f85 fix php error 2024-08-27 23:05:24 +02: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
5d2b8c998e add config switch to disabled impersonate 2024-08-19 21:07:26 +02:00
HB9HIL
f52323b6b3 improved security 2024-08-19 20:35:56 +02:00
HB9HIL
9e4dabfae9 custom_date_format and other UI adjustments 2024-08-17 12:17:16 +02:00
HB9HIL
de4aa427c6 fixing frontend bug 2024-08-17 11:51:51 +02:00
HB9HIL
66ccc4db74 confirmation dialog 2024-08-17 11:27:38 +02:00
HB9HIL
5bb31d8b8e rename user/main.php to user/index.php to match our default naming 2024-08-17 09:40:21 +02:00
HB9HIL
05295d1694 thanks to POST we can remove url_encoding and prevent issues here 2024-08-17 00:45:09 +02:00
HB9HIL
14433d46cb use POST instead of GET 2024-08-16 20:36:39 +02:00
HB9HIL
65ec95814f Merge remote-tracking branch 'upstream/dev' into impersonate 2024-08-16 19:37:39 +02:00
HB9HIL
d70b95d37b show impersonate buttons in user list 2024-08-16 10:43:53 +02:00
HB9HIL
5a3e5ab372 Merge branch 'dev' into html_encoding 2024-08-16 08:40:15 +02:00
HB9HIL
dd7bc641ff disable user_name edit on demo 2024-08-16 01:53:20 +02:00
HB9HIL
d26df476c2 adjusted strings to remove the html from gettext 2024-08-15 09:04:04 +02:00
HB9HIL
30156a6144 add flags to user language edit and add 2024-07-22 16:16:03 +02:00
HB9HIL
ed2481f4b4 comment 2024-07-13 11:13:37 +02:00