Lucca Jiménez Könings
158875a962
Remove debug code for new Settings implementation
...
Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com >
2024-05-07 18:16:06 +02:00
Lucca Jiménez Könings
3989961ff9
Add get and set to console command settings
...
Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com >
2024-05-07 18:16:05 +02:00
Lucca Jiménez Könings
89034a64e0
Add logic for new Settings type
...
Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com >
2024-05-07 18:16:05 +02:00
Lucca Jiménez Könings
55f5437618
Add new type Settings & refactor TSettings behavior
...
into Settings by adding getters/setters
Signed-off-by: Lucca Jiménez Könings <development@jimkoen.com >
2024-05-07 18:16:05 +02:00
Lion Kortlepel
cf8f10b949
add --port=value argument
2024-05-06 11:56:26 +02:00
Lion Kortlepel
6f50cad76b
add BEAMMP_PROVIDER_PORT_ENV to allow provider to change which ENV
...
variable the port is fetched from
2024-05-06 11:56:26 +02:00
Lion Kortlepel
234bdf5877
add ENV variable to disable config generation and parsing
2024-05-06 11:46:21 +02:00
alex.ita
afb3763eab
Update TConfig.cpp
2024-02-14 11:51:24 +01:00
Lion Kortlepel
aff537afdf
add AGPL-3.0 license header
2024-01-23 21:00:11 +01:00
Lion Kortlepel
9791b8875c
fix wrong order of SendErrorsShowMessage and SendErrors
2024-01-09 15:34:16 +01:00
Lion Kortlepel
e724a2e467
Merge remote-tracking branch 'origin/master' into feature-tags
2023-12-28 13:57:49 +01:00
Lion Kortlepel
8cccbe8542
Merge remote-tracking branch 'origin/master' into 226-allow-env-to-override-serverconfig
2023-12-28 13:49:02 +01:00
Lion Kortlepel
6787843b37
pretty-print tags on startup
2023-12-28 12:58:29 +01:00
Lion Kortlepel
16d3c6f796
Merge remote-tracking branch 'origin/master' into feature-tags
2023-12-28 12:36:22 +01:00
Lion Kortlepel
221f491019
return early after reading ENV in config
2023-12-25 16:19:53 +01:00
Lion Kortlepel
89db370e12
use env variables by default to override config values
2023-12-25 16:16:01 +01:00
Lion Kortlepel
b28c69a515
remove http settings from config
2023-12-21 13:07:35 +01:00
Starystars67
8c73eb8aea
Added Tags Feature to the BeamMP Server. This allows better filtering on the server list.
2023-12-10 12:50:24 +01:00
Lion Kortlepel
d8b8812026
remove password setting from config to avoid confusion
...
...until implemented
2023-12-05 18:23:23 +01:00
Simon
879b9772f5
Apply suggestions from code review
...
Co-authored-by: Lion <development@kortlepel.com >
2023-01-15 17:12:35 +00:00
Anonymous275
9f59c27b1f
- add hash function
...
- add password config
- add debug messages for password stages
- add pass boolean for heartbeat
- adjust network codes
2023-01-15 17:12:35 +00:00
Lion Kortlepel
1a9872db00
fix unhandled return value of fread in TConfig::TConfig unit test
2022-09-27 15:49:55 +02:00
Lion Kortlepel
24c98eb2b2
add more compile-time diagnostics, implement fixes for them
...
Before, a lot of common errors went unnoticed, due to insufficient
compiler diagnostics. This commit fixes this by adding a lot of new
diagnostics, and fixing the issues found by this.
2022-09-26 12:02:05 +02:00
Lion Kortlepel
ad414ec5c9
call onInit on hot-reload, cleanup, remove warnings
...
onInit is now called on hot-reload, for the whole plugin. Arguably, this
is not expected behavior, since only one file is being reloaded, but
this is the easiest way to do it, and the entire hot-reload process is
only for development purposes. Open an issue if this breaks your stuff
:^)
2022-07-14 00:37:47 +02:00
Lion Kortlepel
2d8ce09b2c
Merge remote-tracking branch 'origin/master' into rc-v3.1.0
2022-07-09 23:03:46 +02:00
Lion Kortlepel
f8d622352f
generate toml from scratch
2022-07-09 22:42:38 +02:00
Lion Kortlepel
6c1d02a425
add fclose
2022-07-09 22:29:12 +02:00
Lion Kortlepel
38eeec39b4
another attempt to fix #105
2022-07-09 22:27:05 +02:00
Lion Kortlepel
696e080e1c
fix #105
2022-07-09 22:01:53 +02:00
Lion Kortlepel
22b63220c7
add more tests to LuaAPI::FS, minor fixes to LuaAPI::FS
...
test config file creation, too
2022-05-26 13:49:13 +02:00
Lion Kortlepel
88f1976668
Merge branch 'rc-v3.0.2' into rc-v3.1.0
2022-04-28 14:40:57 +02:00
Lion Kortlepel
974dda9f8b
HTTPServer: Add config value to specify listen IP
...
Change default IP to localhost,
Set default SSL to false due to this.
2022-04-28 14:12:26 +02:00
Lion Kortlepel
104737571c
Merge branch 'rc-v3.0.2' into rc-v3.1.0
...
This is a periodic merge to keep 3.1.0 up to date with 3.0.2
2022-03-31 22:10:49 +02:00
Lion Kortlepel
de82caef33
Add HideUpdateMessages setting ("ImScaredOfUpdates") and periodic update reminders (every 5th heartbeat)
2022-03-25 13:34:28 +01:00
Lion Kortlepel
17c571811a
Add config option to turn off chat logging
...
When LogChat is disabled, using the `say` command in the console will
trigger a "chat message sent!" reply, as UX feedback.
2022-02-06 21:46:51 +01:00
Lion Kortlepel
3cce875fbb
Add UseSSL option to server config
2021-12-06 13:47:07 +01:00
Lion Kortlepel
a1335e8c7d
Add statuses, status messages
2021-12-06 13:17:54 +01:00
Lion Kortlepel
0f74eca2ee
Fix various issues and crashes
2021-12-06 12:28:52 +01:00
Lion Kortlepel
62cc1e9ce4
Http: Add config value to turn it off, move all http settings into a category in the config
2021-12-06 09:53:13 +01:00
awesome_milou
9d283738aa
Add preliminary work for HTTP health endpoint ( #68 )
...
* Add preliminary work for HTTP health endpoint
* Http: Fix infinite loop bug in Tx509KeypairGenerator::generateKey()
* update commandline
* Add TLS Support class for use with http server
* Add preliminary HTTP Server; TLS still broken; fix in later commit
* Fix TLS handshake, due to server being unable to serve key/certfile in 'Http.h/Http.cpp'; Cause was httlib not being threadsafe due to being a blocking http library
* Run clang format
* Add option to configure http server port via ServerConfig
* TConfig: add HTTPServerPort to config parsing step
* Fix SSL Cert / Key path not auto generating when not existing
* Add health endpoint; Fix SSL Cert serial no. not refreshing when regenerating
* Switch arround status codes in /health route
* Run clang format
Co-authored-by: Lion Kortlepel <development@kortlepel.com >
2021-12-05 18:24:55 +01:00
Lion Kortlepel
e1756298af
Fix doubled consent settings in ServerConfig
2021-11-26 19:07:08 +01:00
Lion Kortlepel
eae27633db
Add commandline arguments, implement --config, --version, --help
2021-11-26 19:04:21 +01:00
Lion Kortlepel
d84051bdd3
possible fix for windows path issue
2021-09-20 16:59:42 +02:00
Lion Kortlepel
48caae25fd
Finalize master&new-lua-features merge
2021-09-17 14:58:40 +02:00
Lion Kortlepel
883d69ba27
Merge remote-tracking branch 'origin/master' into rewrite-lua
2021-09-17 14:24:12 +02:00
Lion Kortlepel
dd4e4c4467
Start rewrite of lua, rename all print functions
2021-09-16 01:04:01 +02:00
Lion Kortlepel
6542be09ee
Clarify what sentry sends, add a way to turn off the warning
2021-09-11 11:38:06 +03:00
Lion Kortlepel
ffac000cd2
Config: Add basic opt-out for Sentry
2021-09-11 11:38:06 +03:00
Lion Kortlepel
a23946dddf
switch to toml11
...
it's better, believe me
2021-08-02 14:01:00 +02:00
Lion Kortlepel
7bc230974a
fix typo
2021-06-23 23:50:18 +02:00