1446 Commits

Author SHA1 Message Date
Lion Kortlepel
bd76e28ca6
use sendfile to send mods on linux 2024-07-14 15:33:26 +02:00
Lion
72022e3349
Refactor config, add settings command (#295)
Fix #158
2024-06-26 14:24:24 +02:00
Lucca Jiménez Könings
08374b1398 deprecate Ubuntu 20.04 2024-06-26 14:12:45 +02:00
Lucca Jiménez Könings
29f4d0d286 run clang-format 2024-06-26 14:06:06 +02:00
Lucca Jiménez Könings
3c80bcbf01 remove line ChronoWrapper.cpp:13 as discussed in review 2024-06-26 13:40:39 +02:00
Lucca Jiménez Könings
5919fc6f47 improve acl error message consistency 2024-06-26 13:38:07 +02:00
Lucca Jiménez Könings
461fb5d896 improve error messages 2024-06-26 13:34:32 +02:00
Lucca Jiménez Könings
6731b3e977 fix typo 2024-06-26 13:12:10 +02:00
Lucca Jiménez Könings
e7c7f45039 fix chrono wrapper 2024-06-26 13:10:46 +02:00
Lucca Jiménez Könings
0748267fab remove superflous comments 2024-06-26 13:10:34 +02:00
Lucca Jiménez Könings
8c32d760be fix confusing error when setting wrong key 2024-06-26 13:09:18 +02:00
Lucca Jiménez Könings
7919f81927 remove dead code for deprecated config format 2024-06-26 13:08:26 +02:00
Lucca Jiménez Könings
26ef39827e fix AuthKey being writable from console 2024-06-26 13:07:58 +02:00
Lucca Jiménez Könings
2451e08b01 update remaining sections of code after merge 2024-06-26 12:31:47 +02:00
Lucca Jiménez Könings
25739cb1bd Merge branch 'minor' into 158-bug-running-settings-help-returns-nothing 2024-06-26 11:43:38 +02:00
Lucca Jiménez Könings
814927d0a1 change log output for consistency 2024-06-26 11:11:13 +02:00
Lucca Jiménez Könings
6c0a8d1d62 remove superflous code 2024-06-26 11:10:27 +02:00
Lucca Jiménez Könings
0d3256c429 Remove todo in accordance with review 2024-06-26 11:08:57 +02:00
Lucca Jiménez Könings
509225f151 Move tests from .h to .cpp 2024-06-26 11:07:46 +02:00
Lucca Jiménez Könings
73ecef1a87 Move map declarations in Settings.h into .cpp 2024-06-26 11:07:14 +02:00
Lion
a9385c47e1
Adjust allow guests feature in heartbeat to follow Backend#33 (#341)
https://github.com/BeamMP/Backend/issues/33
2024-06-20 09:00:13 +02:00
Lion
1e9c4e357c
adjust allow guests feature in heartbeat to follow Backend#33
https://github.com/BeamMP/Backend/issues/33
2024-06-20 08:58:58 +02:00
Lion
a998a7c091
Reuse HTTP connections (#339)
fix #223
2024-06-16 03:10:29 +02:00
SaltySnail
277036fc52 fix not following naming convention 2024-06-16 03:00:18 +02:00
SaltySnail
e776848a76
Update src/Http.cpp
Co-authored-by: Lion <development@kortlepel.com>
2024-06-16 02:53:01 +02:00
SaltySnail
63fa65e9a7
Update src/Http.cpp
Co-authored-by: Lion <development@kortlepel.com>
2024-06-16 02:52:55 +02:00
SaltySnail
c07baeed1a add reusing Http connections 2024-06-16 02:45:53 +02:00
Lion
33b5384398
Add config setting to allow/deny guests (#335)
fix #247
2024-06-11 09:01:49 +02:00
SaltySnail
e94cfd641d remove debug print 2024-06-10 23:16:45 +02:00
SaltySnail
6e590ff18a fix naming of the ENV 2024-06-10 23:16:16 +02:00
SaltySnail
91bc7dea79
Update src/TNetwork.cpp
Co-authored-by: Lion <development@kortlepel.com>
2024-06-10 23:12:23 +02:00
Lion
8b94b1f0ef
Add an entry in serverconfig.toml for the time between update reminders (#329)
fix #321
2024-06-10 22:59:09 +02:00
SaltySnail
5dab48af92 fix #247, add allow guests config setting. 2024-06-10 22:06:09 +02:00
SaltySnail
f3060f5247 change default from 3h to 30s 2024-06-08 20:24:46 +02:00
SaltySnail
c61816dfeb fix 0....2h being allowed as time format 2024-06-01 23:42:44 +02:00
Lion
2fcb53530a
Add more info to return to backend's /pkToUser endpoint (#332)
Features added were tested through a custom client (since @sla-ppy is
too cheap to own the game) with @lionkor while pair programming.

Fixes: #303
2024-06-01 12:25:01 +02:00
sla-ppy
cee039d922
Merge branch 'BeamMP:minor' into fix_303 2024-05-30 19:15:06 +02:00
sla-ppy
566f0b55f7 remove debug info 2024-05-28 14:53:19 +02:00
sla-ppy
58a7e39419 add more info to return to pkToUser endpoint 2024-05-28 14:15:41 +02:00
SaltySnail
bf7f1ef1a5 change update reminder frequency description to include an example of using a float 2024-05-25 21:59:34 +02:00
SaltySnail
e35bf4fe15 change TimeFromStringWithLiteral to work with floats 2024-05-25 21:43:54 +02:00
SaltySnail
419a951c29
change wrong version number
lol

Co-authored-by: Lion <development@kortlepel.com>
2024-05-25 20:45:53 +02:00
SaltySnail
135008a73c
Change time_str to be a reference
Co-authored-by: Lion <development@kortlepel.com>
2024-05-25 20:44:51 +02:00
SaltySnail
29c3fed374 fix #321 2024-05-25 20:34:33 +02:00
Lion
93192fd9b5
Fix #326 Arch Compile Issue "copy_n is not a member of 'std';" (#327)
added ```#include <algorithm>``` to Common.h, needed for "copy_n"
2024-05-24 23:01:48 +02:00
redracer
eea041e8eb Fix #326 Arch Compile Issue "copy_n is not a member of 'std';"
added #include <algorithm> to Common.h, needed for "copy_n"
2024-05-24 16:10:37 -04:00
Lion
a3670bff4a
Add platform, lua, openssl version to version command, show lua version on startup (#325)
Closes #300
2024-05-24 12:58:30 +02:00
sla-ppy
1b60e89f26 add lua info on LuaEngine startup 2024-05-24 12:31:01 +02:00
sla-ppy
06e5805428 change version cmd behaviour 2024-05-24 12:12:20 +02:00
Lion Kortlepel
04e8d00daa
fix invalid default initialization in SettingsMap 2024-05-24 09:07:54 +02:00