29 Commits

Author SHA1 Message Date
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
81a30a9a82 we don't need the autoloader for lang anymore 2024-06-07 00:44:22 +02:00
HB9HIL
2237807020 include new configs and gettext hook 2024-06-06 10:40:40 +02:00
HB9HIL
1a921fe32f added models which are already loaded everywhere 2024-02-09 11:04:50 +01:00
HB9HIL
39616c6a69 paths libary 2024-02-02 14:57:27 +01:00
int2001
97e87de210 Replace ALL lowercase occurences of cloudlog by wavelog 2024-01-17 14:13:23 +00:00
HB9HIL
152a83c311 autoload user_options_model 2023-12-03 17:52:26 +01:00
HB9HIL
f45ed05972 added new lang file 2023-10-20 12:29:58 +02:00
HB9HIL
977d1ea64e added new lang file export_lang.php 2023-10-19 12:53:33 +02:00
HB9HIL
269811f5cc Created New Lang file adif_lang.php 2023-10-16 10:37:02 +02:00
HB9HIL
259738fca7 Created dedicated station_lang.php 2023-10-12 20:21:05 +02:00
HB9HIL
4781a13921 Added all _lang files to autoloader 2023-10-05 01:14:07 +02:00
HB9HIL
242fc88451 added autoload for filter_lang.php 2023-10-03 13:12:02 +02:00
Andreas
bf5ee68596 [Gridmap] Finished translating text 2023-06-20 21:09:13 +02:00
Andreas
2e00519c8d [Language] Autoload language helper and language files 2023-05-14 13:36:20 +02:00
phl0
4bdafe185f This PR adds some eye candy tooltips to QSLs icons as well as contest
exchanges on various sections within cloudlog

Squashed commit of the following:

commit 89edbf3ddadd7d796ba5412388f66d14e3e9ac17
Author: phl0 <florian@florian-wolters.de>
Date:   Wed Jan 12 20:47:17 2022 +0100

    Fix flicker issue on gridmaps page (by LA8AJA)

commit 5b0c2672aadbf0451ec52ecc65745e880b44ef8f
Author: phl0 <florian@florian-wolters.de>
Date:   Wed Jan 12 19:36:31 2022 +0100

    Also show tooltips for contest name

commit 88e091f65ace6bdbae3d605839665fdd457ea943
Author: phl0 <florian@florian-wolters.de>
Date:   Wed Jan 12 19:08:31 2022 +0100

    Enable QSL tooltips also for QSO list in qslprint section

commit 91b81a0b2ba531e867f82197fe1b201e24785dd2
Author: phl0 <florian@florian-wolters.de>
Date:   Tue Jan 11 17:46:38 2022 +0100

    Prevent display of empty date values

commit a66be2dab1d23b15fa41df0a2c9a0c41f455afff
Author: phl0 <florian@florian-wolters.de>
Date:   Tue Jan 11 17:12:43 2022 +0100

    Make tooltip work also for gridsquares section
    Tnx @AndreasK79

commit 92c13483b9c71d55fa3d863d426b300cf008dd31
Author: phl0 <florian@florian-wolters.de>
Date:   Tue Jan 11 15:37:21 2022 +0100

    Implement tooltip hints also for other awards sections

commit 625c0e73c5dd5823301d888be4d0b3419a76f1db
Author: phl0 <florian@florian-wolters.de>
Date:   Mon Jan 10 19:28:47 2022 +0100

    Implement tooltip for awards section

commit 0fe9061ecf3e4b8d9826dee62779e2493124d8a5
Author: phl0 <florian@florian-wolters.de>
Date:   Mon Jan 10 16:57:35 2022 +0100

    Fix bug with extra quotes if manager defined

commit cb8e4d1e4343670a60bc93ac3e87d54d45d0a9fd
Author: phl0 <florian@florian-wolters.de>
Date:   Mon Jan 10 16:18:44 2022 +0100

    Small bugix

commit 5bca33b7a1dca1b89d0921a8e0890fc1aebccedd
Author: phl0 <florian@florian-wolters.de>
Date:   Mon Jan 10 15:42:31 2022 +0100

    Add missing translations for electronic QSL

commit 617f58a6217aa385225eab27bfe577ad55b7ff37
Author: phl0 <florian@florian-wolters.de>
Date:   Mon Jan 10 00:40:32 2022 +0100

    Enable tooltips also for search results

commit 432a1b283a19196618d4c809545d01cef4f630d3
Author: phl0 <florian@florian-wolters.de>
Date:   Mon Jan 10 00:18:33 2022 +0100

    Also QSL method/manager info

commit b43e7a1419c75a199c0a28c9849f2b09e0c62288
Author: phl0 <florian@florian-wolters.de>
Date:   Sun Jan 9 23:28:54 2022 +0100

    Show details for paper QSLs

commit 1759d94d8af7299684265700cec51fe0591623dc
Author: phl0 <florian@florian-wolters.de>
Date:   Fri Jan 7 17:51:17 2022 +0100

    Add tooltip hints for QSL sent/rcvd dates
2022-01-12 20:51:24 +01:00
Peter Goodhall
c6d2e701fe Added Library Frequency to autoload
Added frequency to autoload and changed the Radio Status to use the library.
2021-05-06 15:36:52 +01:00
Peter Goodhall
8dfaf47c79 [Options] Greates OptionsLib library, sets default theme and others
This commit does a couple of things

- Creates OptionsLib which stores the 'Options' within the CI config system prefixed with "options_"
- Loads the OptionsLib automatically
- Adds function to OptionsLib for selecting the active stylesheet.
- Adds function to get an option_value that isn't automatically loaded.
2020-12-12 22:03:42 +00:00
Peter Goodhall
72da0645a1 Started building an english language file for Cloudlog so far dashboard has been done. 2020-09-28 19:16:22 +01:00
Peter Goodhall
2e266f3412 auto load the lotw config file 2020-08-13 00:17:12 +01:00
Peter Goodhall
f22b811e79 XSS Clean inputs on Station controller and model 2019-10-05 19:16:05 +01:00
Peter Goodhall
80ee410d23 automatically load the bands configuration file 2019-06-28 17:55:27 +01:00
Kim Huebel
0b7033a1ba Made the whole thing configurable with
application/config/cloudlog.php
2019-06-22 12:34:06 +02:00
Peter Goodhall
edcf474201 removed more old code 2013-02-14 23:58:10 +00:00
Peter Goodhall
73892f2b85 removed some error reporting bits 2013-02-14 23:54:31 +00:00
Peter Goodhall
af0a025471 added nicer php error message display in development mode 2012-12-12 22:12:13 +00:00
Peter Goodhall
fae53f59f6 Dashboard map now shows SAT name if its available 2011-11-19 19:41:44 +00:00
Peter Goodhall
ec190cc61e Updated codebase added notes, new dashboard, search features 2011-06-17 13:52:00 +01:00
Peter Goodhall
f2b50c4573 Added Basic Files 2011-04-25 16:24:01 +01:00