Commit Graph

35 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
22a86fa36a Fix first population of start_date 2025-08-28 06:15:05 +00: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
fdb1f4c7a8 make sure browser uses the most recent version of contesting.js 2024-09-07 19:15:57 +02:00
HB9HIL
d4517bf61f xss_cleaning in contesting controller 2024-08-27 14:39:23 +02:00
HB9HIL
5dee1b9968 You're not allowed to do that! 2024-08-16 10:08:44 +02:00
HB9HIL
98f1677144 Merge branch 'dev' into default_radio 2024-08-06 17:18:44 +02:00
github-actions
696b79fb5a same for contesting and in footer 2024-08-06 13:12:15 +02:00
github-actions
c6bd33d16a show which radio was last updated 2024-08-06 00:04:59 +02:00
Andreas Kristiansen
a232db3c98 [Contesting} Set userdata radio when logging 2024-07-17 18:24:44 +02:00
HB9HIL
2a5c6538aa page titles 2024-06-08 11:01:59 +02:00
HB9HIL
d7e7c8a79f $this and $ci lang fixes 2024-06-06 21:32:42 +02:00
HB9HIL
8ae5723d14 get rid of unnessesary lang loads 2024-06-06 10:47:30 +02:00
int2001
6ba56a814b One should really save the session :P 2024-04-29 05:13:11 +00:00
int2001
9307de021c Code-Formatting and Cleanup of CI 2024-04-28 14:52:16 +00:00
int2001
ef48375819 Return new session-content directly after save 2024-04-28 14:39:31 +00:00
int2001
858a3ec8b7 Little Contest-Tunging 2024-04-28 14:21:00 +00:00
int2001
f22bb9fb85 PHP-Part of adding bearing to contest 2024-03-08 08:45:46 +00:00
int2001
88cf148055 Added "ago" to the relative Time, truncated seconds 2023-12-31 07:01:43 +00:00
int2001
48838c4365 Added absolute Time of last-qso to "worked before" banner 2023-12-31 06:55:25 +00:00
int2001
70db88b521 Added time of "Worked before" in Contest-Section 2023-12-30 20:17:24 +00:00
phl0
83b3261034 Fix lookups for empty contest sessions 2023-11-09 15:11:36 +01:00
HB9HIL
ae949e3b2f Contest Controller Adjustments 2023-10-06 13:14:54 +02:00
HB9HIL
65c9f5e9fb Contest Translations 2023-10-06 10:48:01 +02:00
Andreas
b481fdbb38 [Contest logging] Moved contest session from local storage to database 2023-04-10 18:54:24 +02:00
Andreas
71b38c72a5 [Bands] Contest logging band dropdown fetches bands from db. 2022-09-08 20:19:41 +02:00
Andreas
36d1b75484 [Contesting] Implemented dupecheck 2021-10-24 16:48:23 +02:00
Andreas
93b6cba00e [Contests] Added buttons for activate/deactivate all 2021-10-23 19:44:41 +02:00
Andreas
e0e80fb680 [Contesting] Fixed so that correct gridsquare was shown in the view. Also removed some unused code in the controller. 2021-10-07 21:42:19 +02:00
Andreas
adaa7f3f8a [Contesting] Contests can be added/edited/deleted inside Cloudlog. Used for choosing Contest in Contest Logging 2021-02-12 23:27:08 +01:00
Peter Goodhall
5623b004c1 [Contesting][Translate] Converted Contest Interface to use Translate system with english words.
Contesting now ready for translating into languages other than english
2021-01-05 16:14:50 +00:00
Andreas
9e790340d7 [Contesting] Restoring QSO table. 2020-12-28 19:55:51 +01:00
Paul Beesley
8ba41812ad Tweaks to text
Touches page titles, some table headers (capitalisation mostly), menu items.
2020-12-23 13:01:20 +00:00
Andreas
e83e7340f5 [Contest logging] Started work on the logging form. 2020-11-08 10:46:08 +01:00
Peter Goodhall
5412fcb3ac Added contesting controller the start of #347 2019-09-11 17:38:09 +01:00