Commit Graph

2919 Commits

Author SHA1 Message Date
int2001
44e77cc9fa Skip LoTW-Input for records without a station_callsign 2025-01-06 07:04:58 +00:00
Fabian Berg
9613e39703 Merge pull request #1459 from zone11/dev
Add API Endpoint to retrieve the version of Wavelog running
2025-01-05 12:27:20 +01:00
zone11
e8b1bc9249 Make it JSON in/out 2025-01-05 11:54:50 +01:00
phl0
492ed64159 Fix advanced search 2025-01-05 09:47:58 +01:00
zone11
35c1a93789 Make it a POST request and report status 2025-01-04 22:17:50 +01:00
zone11
2fc64208df Add API endpoint /version 2025-01-04 21:46:09 +01:00
Fabian Berg
00d8c3e10c Merge pull request #1452 from HB9HIL/cty_fallback
Fallback for DXCC data
2025-01-04 17:07:59 +01:00
int2001
14048c9517 Found an old leftover which was never used 2025-01-04 11:18:14 +00:00
HB9HIL
42d0062fcc typo 2025-01-03 19:26:01 +01:00
HB9HIL
c35a03b4bd added github fallback for cty data (dxcc update) 2025-01-03 19:24:55 +01:00
Fabian Berg
3b5ed1be6f Merge pull request #1433 from int2001/optimize_club_users
[WIP] Cluboptimizing
2025-01-03 10:19:25 +01:00
Fabian Berg
37b6c0a4ae Merge pull request #1431 from HB9HIL/user_name_search 2025-01-02 23:24:30 +01:00
int2001
c9f1bab0f2 If operator isn't defined at record a php came up 2025-01-02 16:55:11 +00:00
int2001
fe1d11982f Fixes missing API-Key/Radio Bug 2025-01-02 12:53:46 +00:00
int2001
db71654166 Removed fetching of users (never used) 2025-01-02 11:55:22 +00:00
HB9HIL
11b932d1c2 Add debug logging for cron execution status 2025-01-02 11:54:44 +01:00
HB9HIL
630bb56ea9 show user_name in dropdown 2025-01-02 11:40:14 +01:00
HB9HIL
41e068fcc7 make user roles translatable 2025-01-02 11:03:04 +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
037196cd65 views: debug: add custom date format for system time display 2025-01-01 09:57:48 +01:00
int2001
5409c5502c Cosmetics 2024-12-31 17:28:14 +00:00
int2001
0d71f93e60 Update DXCC coming from LoTW to Log 2024-12-31 17:21:36 +00:00
Joerg (DJ7NT)
017643f6f4 Merge pull request #1407 from int2001/api_error
If there was an error at inserting QSO via API, return 400
2024-12-31 18:05:55 +01:00
int2001
d9b3c3d502 Calculate and fill distance (API) 2024-12-30 14:16:33 +00:00
int2001
37e05649a6 More places where the 0 is annoying 2024-12-30 12:15:28 +00:00
int2001
58402a3b05 aborted instead of created 2024-12-29 09:22:26 +00:00
int2001
2015635d22 If there was an error at inserting QSO via API, return information and 400 2024-12-29 09:20:40 +00:00
HB9HIL
e5d062e408 share modal implementation 2024-12-26 14:01:00 +01:00
Andreas Kristiansen
0cab72ca14 Merge branch 'dev' into wae_award 2024-12-25 09:53:36 +01:00
Filip Melík
2cf97b8682 Fix radio API response key, so radio timeout alert works again 2024-12-24 08:49:59 +01:00
Andreas Kristiansen
9efc290167 Merge branch 'dev' into wae_award 2024-12-23 17:46:29 +01:00
Andreas Kristiansen
37127e732f Merge pull request #1370 from AndreasK79/lba_region
[Advanced Logbook] Added region to columns
2024-12-23 17:46:14 +01:00
Andreas Kristiansen
afe4dcfc8b [Advanced Logbook] Added region to columns 2024-12-23 11:15:24 +01:00
Andreas Kristiansen
ecebc0bc86 More logic fixing 2024-12-21 12:46:00 +01:00
Fabian Berg
2d9f42d07a Merge pull request #1353 from HB9HIL/qsl_check
Previous QSL Check
2024-12-20 13:48:59 +01:00
HB9HIL
4f6b47e215 fix adding qso to list (incl. prev qsl) 2024-12-19 22:21:51 +01:00
Fabian Berg
be48afc5a3 Merge pull request #1363 from HB9HIL/fix_query
Improve import regarding the QSLMSG
2024-12-19 21:14:08 +01:00
Andreas Kristiansen
af36d9b87c Framework for WAE 2024-12-19 14:24:15 +01:00
Fabian Berg
7164b0996b Merge branch 'dev' into qsl_check 2024-12-19 12:56:35 +01:00
HB9HIL
a5a59ccdd4 for simplefle it's better to use import_bulk 2024-12-19 12:42:16 +01:00
Joerg (DJ7NT)
32b4e436fd Merge pull request #1360 from int2001/lotw_cred_check
Adding ability to check LoTW-Credentials
2024-12-19 12:06:47 +01:00
Fabian Berg
0f243a1297 Merge pull request #1313 from HB9HIL/adif315
ADIF Standard Version 3.1.5
2024-12-19 11:53:47 +01:00
HB9HIL
42a5e29a94 also translated OK messages 2024-12-19 10:25:07 +01:00
HB9HIL
8818eb68a3 use sprintf to build gettext phrase 2024-12-19 10:19:17 +01:00
phl0
531c91911b Optimize wording and translations 2024-12-19 10:15:04 +01:00
Joerg (DJ7NT)
7bcf60ca9c Lotw.php aktualisieren
Co-authored-by: Fabian Berg <fabian.berg@hb9hil.org>
2024-12-19 09:59:29 +01:00
int2001
8e279cef00 Fixed typo 2024-12-19 08:42:53 +00:00
int2001
fb555ecdef AJAXing (PHP) 2024-12-19 07:49:00 +00:00
int2001
9211935174 Remove Debug 2024-12-19 06:45:31 +00:00
int2001
8c4d7b6e38 Added check-routine for LoTW-Creds (Backendpart) 2024-12-19 06:44:55 +00:00