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
1bab3276e9
fix setsockopt SO_SNDTIMEO for windows, bump version number to 3.0.2, update commandline
2022-04-05 10:59:16 +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
f8c58f363a
Change default MaxPlayers to 8
2022-03-25 13:32:41 +01:00
Lion Kortlepel
71c2d4b859
Simplify "Backend heartbeat response" error ( closes #97 )
2022-03-25 12:55:35 +01:00
Lion Kortlepel
2a588954be
advance to 3.0.1
2022-01-20 21:31:00 +01:00
Lion Kortlepel
c42c748b37
start fixing backend heartbeat
2022-01-20 15:46:13 +01:00
Lion Kortlepel
1b14206a3c
HTTP Server disabled by default
2021-12-23 14:24:00 +01:00
Lion Kortlepel
71efe30345
Bump to 3.0.0, possible fix for event argument bug
2021-12-13 13:22:58 +01:00
Lion Kortlepel
cd19ae0836
Add shutting down / shutdown states to state keeper
2021-12-07 14:25:04 +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
Lion Kortlepel
bd41382233
Application::TSettings: Improve default initialisation
2021-12-06 09:00:57 +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
672c7d02d1
Common: Add lua warn
2021-12-05 01:31:44 +01:00
Lion Kortlepel
e948edca8d
Add zip files with past logs
2021-09-30 23:24:23 +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
1d3958817f
Merge remote-tracking branch 'origin/new-lua-features' into rewrite-lua
...
This is the first of a few commits to merge the new lua features and the
rewrite
2021-09-17 13:29:44 +02:00
Lion Kortlepel
fd3088c78f
Re-add SendChatMessage
2021-09-17 12:58:07 +02:00
Lion Kortlepel
a44050f0f1
Lua: Almost Working events, all triggers working
2021-09-17 00:21:43 +02:00
Lion Kortlepel
9b9c18a4c1
Lua: Add variadic print, LuaAPI
2021-09-16 11:54:52 +02:00
Lion Kortlepel
dd4e4c4467
Start rewrite of lua, rename all print functions
2021-09-16 01:04:01 +02:00
Lion Kortlepel
fa19ba08e3
Sentry: Properly store DSN
2021-09-15 17:55:34 +02:00
Lion Kortlepel
c70ada2926
Config: private by default
2021-09-15 17:55:34 +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
d43ee4b7b6
Bump version to 2.3.2
2021-09-11 11:38:06 +03:00
Lion Kortlepel
2727f90430
Remove Socket.io for now
...
it is being built every time and we dont need it
2021-09-09 12:25:08 +03:00
Lion Kortlepel
6462636b29
Multiple merge fixes, rebase, working Https::GET
2021-09-09 12:15:55 +03:00
Lion Kortlepel
1444d91e7e
Common: missed semicolon
2021-09-09 12:14:32 +03:00
Lion Kortlepel
1e2f060107
improve error reporting, remove duplicate code
2021-09-09 12:14:32 +03:00
Lion Kortlepel
b49782e8a3
Common: Add sstream include for std::stringstream
2021-09-09 12:14:32 +03:00
Lion Kortlepel
ba3fd0e144
add GetServerVersion
2021-09-09 12:14:30 +03:00
Lion Kortlepel
e3b6fd7998
use fake version for lua update for now
2021-09-09 12:13:45 +03:00
Lion Kortlepel
8250d5876f
bump to 2.3.1, fix sentry
...
Fix sentry url length print
remove quotes
github actions is cursed
add debug print
test action
Dont use curl on windows
I dont know why the windows build doesnt report to sentry, so ill try
this.
Change timeout to 20 minutes instead of 5
this is a hacky workaround anyways, so i really dont see why it should
only be 5. 5 is barely enough.
temporarily enable debug mode on sentry
CMake: Use breakpad on windows instead of crashpad
CMake: Sentry: use inproc backend
Since cmake refuses to set my variables, I will do it this way.
I am so tired of this github workflow garbage
Sentry: disable debug again, set
sentry_options_set_symbolize_stacktraces to true, fix memory leak
Sentry: hotfix: dont free options
somehow that causes it to crash, and i cannot be bothered to find out
why right now
2021-09-08 19:55:03 +03:00
Lion Kortlepel
809a851c71
add trace() as DEBUG debug()
...
Replace DEBUG debug() with trace() everywhere
2021-09-08 19:55:03 +03:00
Lion Kortlepel
fd6234bd21
Minor fixes
2021-09-08 19:55:03 +03:00
Lion Kortlepel
12123582ad
add non-working GET for version
2021-09-08 19:55:03 +03:00
Lion Kortlepel
9f52ab2e54
Senty: add threadname to context
2021-09-08 19:55:03 +03:00
Lion Kortlepel
8fada3ac04
Sentry: add multiple more logging mechanisms, add [CHAT]
2021-09-08 19:55:03 +03:00
Lion Kortlepel
fe6e1e6266
Heartbeat: Try backup1 and backup2, refactor sentry reporting
2021-09-08 19:55:03 +03:00
Lion Kortlepel
f4fc182d5e
movre TSentry include up, possibly fixing windows actions issue with
...
macros
im really starting to appreciate that windows API includes clash with
each other because of macros, its super fun
2021-09-08 19:55:03 +03:00
Lion Kortlepel
969cd93358
rename Sentry to TSentry
...
windows filenames arent case-sensitive so it doesnt know which
sentry.h we mean.
2021-09-08 19:55:03 +03:00
Lion Kortlepel
4512f44ea1
bump version to 2.3.0 for next release
2021-09-08 19:55:03 +03:00
Lion Kortlepel
2b4fec6d11
Sentry: implement basic exception reporting, error breadcrumbs
2021-09-08 19:55:03 +03:00
Lion Kortlepel
106d8e5863
Common: missed semicolon
2021-08-02 14:06:00 +02:00
Lion Kortlepel
1fb7cb6bc1
improve error reporting, remove duplicate code
2021-08-02 14:01:20 +02:00