Commit Graph

525 Commits

Author SHA1 Message Date
phl0
4e3c6f4e77 Add migration 2025-03-12 10:47:05 +01:00
phl0
27178d86c6 More space fixes 2025-02-24 12:28:37 +01:00
Filip Melík
668a3a9540 Update migration 2025-02-23 13:37:13 +01:00
Filip Melík
90030790bf CR: Make user slug unique 2025-02-23 13:28:41 +01:00
Filip Melík
86eb52fb50 Add constant for user slug length 2025-02-23 13:28:41 +01:00
Filip Melík
1f914c903e Use username as a seed for user slug in migration, so it is consistent with slug generation when adding the new user 2025-02-23 13:28:41 +01:00
Filip Melík
b4876f7dcd Add migration for user slug 2025-02-23 13:28:41 +01:00
phl0
1d25492ada Prepare release 2.0.1 2025-02-21 17:29:25 +01:00
HB9HIL
6853cbb2a2 release 2.0 2025-02-01 18:01:00 +01:00
phl0
9f45520eb7 Make migration more failsafe 2025-01-27 10:05:20 +01:00
Joerg (DJ7NT)
80bd1f01ac Merge pull request #1495 from int2001/brute_force_protection
Brute force protection
2025-01-20 16:33:46 +01:00
Andreas Kristiansen
2d7c72f20c Fixes for Wamp server 2025-01-19 13:43:25 +01:00
int2001
f342c80e52 Added new col login_attempts to user-table 2025-01-13 08:54:37 +00:00
phl0
77f9c32138 Code formatting corrected 2025-01-06 15:14:22 +01:00
phl0
37a3829a02 Same on downgrade (just to make sure) 2025-01-06 14:24:52 +01:00
phl0
c70ce2b497 Make column rename failsafe 2025-01-06 14:06:02 +01:00
phl0
16d242876c Make mig downgrade failsafe 2025-01-02 22:02:55 +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
f1f0a6e4ee release 1.9.1 2025-01-01 18:07:24 +01:00
HB9HIL
999dfcdeb3 fix missing column (we should call the command and not only write it in the array) 2024-12-27 14:24:16 +01:00
int2001
fb6fc99b07 tnx fer hint HB9HIL - deprecated doesn't exist. moved it downwards 2024-12-27 12:31:36 +00:00
int2001
656c448677 A bit more inline-docu 2024-12-27 10:57:28 +00:00
int2001
5b701683ef Fix adif_modes as well 2024-12-27 10:45:46 +00:00
int2001
7541757ed7 Fix typo 2024-12-27 10:01:33 +00:00
int2001
b81f78c1f6 CleanUp primary_subdivisions before doing mig 2024-12-27 09:58:08 +00:00
phl0
a2d500776f Revert "Filled down function in mig with column drop"
This reverts commit 630d784f32.
2024-12-19 11:11:56 +01:00
phl0
630d784f32 Filled down function in mig with column drop 2024-12-18 11:56:40 +01:00
phl0
c82cb317c2 Fix some whitespace 2024-12-18 11:29:24 +01:00
HB9HIL
792628d04c sql syntax for compatibility 2024-12-16 12:40:39 +01:00
HB9HIL
1150c457ac better solution for new contests 2024-12-13 10:26:52 +01:00
HB9HIL
47a3c4f768 correct mig version number 2024-12-13 08:01:10 +01:00
Fabian Berg
b2cdcc2962 Merge branch 'dev' into adif315 2024-12-13 08:02:19 +01:00
int2001
4e649ec5da Make mig more failsafe 2024-12-09 08:27:27 +00:00
int2001
49ad84d1f1 Recreate tle-table with FK 2024-12-09 07:10:57 +00:00
Andreas Kristiansen
8608e8d85f Using only unique index 2024-12-08 08:46:49 +01:00
Andreas Kristiansen
daf9ebb09a Update TLE if exists 2024-12-08 08:24:33 +01:00
Andreas Kristiansen
899eb67a1f Added cron job and button under debug for update TLE 2024-12-07 20:04:28 +01:00
HB9HIL
b28229b34e release mig 1.9 2024-12-05 21:07:42 +01:00
phl0
85cb9c6a19 Prefix tmp indexes 2024-12-04 11:25:51 +01:00
phl0
2a12d07546 For speed reasons we should create a temporary index 2024-12-04 11:22:58 +01:00
HB9HIL
129e5679e6 fix[contests]: Update contest insertion to avoid duplicates 2024-12-04 11:11:34 +01:00
HB9HIL
65ba4050a2 feat[adif standard]: Database Changes for Version 3.1.5 2024-12-04 10:54:59 +01:00
phl0
2a5f6a9dff Update ASRTU-1 to AO-123 in logs 2024-12-02 13:12:40 +01:00
phl0
5321fb03ba Handle ASRTU-1 aka. AO-123 (no LoTW yet) 2024-12-02 00:38:07 +01:00
phl0
7b8f767db4 Exchange column names for display and lotw name 2024-12-01 23:49:51 +01:00
phl0
a3d2b0eff6 Add MO-122 and real names 2024-11-11 16:37:56 +01:00
phl0
0cd44a5b93 Merge remote-tracking branch 'upstream/dev' into refactorSat 2024-11-11 16:16:13 +01:00
Joerg (DJ7NT)
94696a51e1 Merge pull request #1186 from int2001/cat_url
Changed cat_url to VARCHAR(255)
2024-11-11 10:19:29 -04:00
int2001
9fbd946cd0 Changed to VARCHAR(255) 2024-11-11 14:00:27 +00:00
int2001
657a50b4ec Hamronize SIG Col at log as well 2024-11-11 10:29:36 +00:00