Commit Graph

47 Commits

Author SHA1 Message Date
HB9HIL
82cc0cf99d remove filemtime from single js loads and load it global in the footerdata script by using the cache_buster 2026-02-13 16:58:57 +01:00
int2001
3d1d911e8b Show stationlist of ClubMembers 2025-12-08 06:10:39 +00:00
int2001
120845e5e0 Move creation to model and fix UUID/null Handling 2025-11-16 09:58:28 +00:00
phl0
2fbfcfbba7 Revert "Remove stray whitespaces from translation strings"
This reverts commit faf4565631.
2025-11-07 09:06:59 +01:00
phl0
e082e5570b Make lang a little less error prone 2025-11-06 15:29:50 +01:00
phl0
faf4565631 Remove stray whitespaces from translation strings 2025-11-06 12:50:41 +01:00
phl0
d5ebd6f0a9 More not null values 2025-11-05 13:13:06 +01:00
phl0
c0b42ef7c3 Fix not null values 2025-11-05 13:10:37 +01:00
phl0
03e9d32924 Apply xss_clean only if value is defined and not "" 2025-11-05 12:56:21 +01:00
int2001
48b75d4c15 UUID for locations / export / import / create 2025-11-05 11:37:43 +00:00
phl0
45972218c7 Fix XSS clean code 2025-11-05 08:36:59 +01:00
Andreas Kristiansen
6d533bc0b5 1K limit 2025-11-04 11:29:40 +01:00
Andreas Kristiansen
ac6f6a2165 Added xss_clean 2025-11-04 11:21:12 +01:00
Andreas Kristiansen
a96bbab727 [Station Location] Import / export 2025-11-04 10:13:41 +01:00
Andreas Kristiansen
606eee65cb Added eQSL default message 2025-10-28 12:47:03 +01:00
phl0
61d7b49ced load page dataa on header 2025-10-28 11:53:16 +01:00
Andreas Kristiansen
8565f86cd2 [Location list] A very early draft 2025-10-28 08:13:24 +01:00
Andreas Kristiansen
16214dcd3c [Station setup] Filter for active locations 2025-07-02 15:58:18 +02:00
Andreas Kristiansen
177983a5e3 Fixed sorting 2025-07-02 12:27:47 +02:00
Andreas Kristiansen
bb642994e4 [Locations] Add last qso date 2025-07-02 10:30:01 +02: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
int2001
f5acf6ecca Add None to DXCCs 2024-10-09 07:51:49 +00:00
HB9HIL
8be90051e0 stationsetup 2024-09-27 17:25:45 +02:00
HB9HIL
c788bbfa93 fix css class 2024-09-13 18:45:32 +00:00
HB9HIL
5dee1b9968 You're not allowed to do that! 2024-08-16 10:08:44 +02:00
Andreas Kristiansen
74c8851834 [Station setup] Shows if location belongs to active logbook 2024-07-02 08:12:07 +02:00
HB9HIL
ba10afc417 typo 2024-06-09 10:21:00 +02:00
HB9HIL
2a5c6538aa page titles 2024-06-08 11:01:59 +02:00
HB9HIL
224f86dbee fix confirmation message 2024-06-07 23:01:59 +02:00
HB9HIL
778fc05496 stringify 2024-06-07 21:38:09 +02:00
HB9HIL
d7e7c8a79f $this and $ci lang fixes 2024-06-06 21:32:42 +02:00
Andreas Kristiansen
fc0c99b14c Added link for export map 2024-04-12 18:31:12 +02:00
Andreas Kristiansen
ac61eecce5 Added band support in options and map 2024-04-12 12:24:22 +02:00
Andreas Kristiansen
2be01abef4 [Exportmap] Added options 2024-04-12 08:43:45 +02:00
Andreas Kristiansen
ef8e6e02c2 Fixed qso number badge class 2024-04-04 20:58:42 +02:00
int2001
826be8707e Deal with update for same logbook and same slug 2024-03-21 07:29:16 +00:00
Andreas Kristiansen
873a0391e9 Fixed table info when linking locations to container 2024-03-19 14:34:23 +01:00
Andreas Kristiansen
6e8674c053 Validates visitor link 2024-03-18 20:45:34 +01:00
Andreas Kristiansen
714833a9b8 Linking locations works 2024-03-17 21:20:24 +01:00
Andreas Kristiansen
3286594e3e Added confirmation when deleting public link 2024-03-16 07:26:40 +01:00
Andreas Kristiansen
a30ec7fb84 Update reloadlogbooks with new stuff 2024-03-15 21:00:43 +01:00
Andreas Kristiansen
396919a764 Tweaked linked location view 2024-03-15 12:59:48 +01:00
Andreas Kristiansen
acb0a4237c Toggle public search works 2024-03-15 12:33:15 +01:00
Andreas Kristiansen
2b4b869d6a Can edit visitor link 2024-03-15 11:42:19 +01:00
Andreas Kristiansen
bef09734b0 Added some dialogs 2024-03-14 14:49:28 +01:00
Andreas Kristiansen
7bf606a06a Simplifying station setup. Only view changed so far 2024-03-13 07:54:34 +01:00
Andreas Kristiansen
4bbfe1b07e Station setup (#175)
* The start of station setup

* Added modals new logbook and new location

* Added 1st JSON-Create Logbook (PHP)

* Added 1st JSON-Create Logbook (JS)

* Changed to small buttons

* A bit more errorhandling (JS)

* Moved collecting of params to controller and added errorhandling

* Added Delete-Function (with confirmation)

* Moved view to new folder and added delete Logbook

* Added AJAX for setActive Book

* Added AJAX for setActiveBook (JS)

* Partially working reload logbook table

* Dynamic loading of logbooks (PHP)

* Dynamic loading of logbooks (JS)

* Reload location table

* Removed duplicate return statement

* Fixed Zoo of params to JSON-Out

* Fixed RenderBug (not yet finished) at JS

* Fixed DT error

* Fixed CSS

* Changed setActiveStation from link to Ajax (PHP)

* Changed setActiveStation from link to Ajax (JS)

* Added confirmation to changeActiveStation

* Changed EmptyStation to AJAX (PHP)

* Changed EmptyStation to AJAX (JS)

* Changed DeleteStation to AJAX (JS)

* Changed DeleteStation to AJAX (PHP)

* Tidy up code a little

* Re-added favorites

* Ajaxyfing favorite location

* Fixed clicking on favorite

* Fixed favorite star

* Tweaked new logbook dialog

* Fixed public search badge

* Fix badges on first load

* Reloads stations on load

* Redirect to station setup

* Re-added translation

* Fixed more badges

* Added menu item translation

* Header with translated menu

* Updated warning links on dashboard to go to station setup

* Added missing lang lines for Polish and Czech

* Changed links in Quickswitch to station setup

* station setup in quickswitcher

* Make station location ID a separate (and sortable) column

* Added missing ID

* Relocated eQSL-Thing to station_model to reduce redundancies

* Removed Debug-Stuff

* Moved get_options to get_default_eqsl_message within QSO-Controller

* Moved generic get_options to more specific get_eqsl_default_message

* Removed loading of options_model, since it is already loaded via "autload"...

* dynamic quickswitcher

* disabled button for active location

* typo

* removed empty unused function

* comment

* reload stationsetup list if we are on this page

* don't grey out the locations

* dynamic loading in both directions

* rename function to make it more clear

* readability

---------

Co-authored-by: int2001 <joerg@dj7nt.de>
Co-authored-by: Joerg (DJ7NT) <int2001@users.noreply.github.com>
Co-authored-by: HB9HIL <fabian.berg@hb9hil.org>
Co-authored-by: phl0 <github@florian-wolters.de>
2024-03-03 21:52:51 +01:00