Lion Kortlepel
d7f7a81cb0
LuaAPI: Print: dump tables properly and recursively
2021-09-16 12:21:11 +02:00
Lion Kortlepel
9b9c18a4c1
Lua: Add variadic print, LuaAPI
2021-09-16 11:54:52 +02:00
Lion Kortlepel
5978665ad6
Lua: Fix threading related crash
2021-09-16 10:07:04 +02:00
Lion Kortlepel
2cf368c2b0
First working console
2021-09-16 03:40:24 +02:00
Lion Kortlepel
ba0678dade
Continue Lua Rewrite
2021-09-16 03:21:00 +02:00
Lion Kortlepel
f5b2be0a03
rename Assert to beammp_assert
2021-09-16 01:04:38 +02:00
Lion Kortlepel
dd4e4c4467
Start rewrite of lua, rename all print functions
2021-09-16 01:04:01 +02:00
Lion Kortlepel
be90a8a2c0
add sol2
2021-09-16 00:33:13 +02:00
Lion Kortlepel
fa19ba08e3
Sentry: Properly store DSN
2021-09-15 17:55:34 +02:00
Lion Kortlepel
15704abf6c
Http, Heartbeat: Process status < 0 differently, report as "Invalid
...
Response Code"
2021-09-15 17:55:34 +02:00
Lion Kortlepel
6883c96d33
Http: Add Sentry error breadcrumbs on internal https POST errors
2021-09-15 17:55:34 +02:00
Lion Kortlepel
f632606d76
Heartbeat: Dont report 200 + INVALID_KEY to Sentry
2021-09-15 17:55:34 +02:00
Lion Kortlepel
3fc397814c
Move update check to after initialization (since its blocking)
2021-09-11 11:38:06 +03: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
38b934bc0f
Move signal handling into its own translation unit to limit overlap
2021-09-11 11:38:06 +03:00
Lion Kortlepel
a2f92b5791
Update changelog, use std::exit instead of exit
2021-09-11 11:38:06 +03:00
Lion Kortlepel
b1664bb184
Application: Perform hard-shutdown after 3 Ctrl+C's
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
b055fd8bda
GracefullyShutdown: Add "subsystem x/y shutting down" message
...
Remove old "X shutting down", "X shut down" messages, they were bad and
confusing
2021-09-11 11:38:06 +03:00
Lion Kortlepel
a514591650
Main: Add Ctrl+C handler for windows
2021-09-11 11:38:06 +03:00
Lion Kortlepel
0f9f81e9fa
Http: Add cloudflare 5XX status code strings
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
2a96546c8c
Lua: Add GetPluginName, GetPluginPath
2021-09-09 12:15:57 +03:00
Lion Kortlepel
6462636b29
Multiple merge fixes, rebase, working Https::GET
2021-09-09 12:15:55 +03:00
Lion Kortlepel
5742ab0dad
possible windows compiler fix
2021-09-09 12:15:19 +03:00
Lion Kortlepel
0087205d55
fix issues caused by rebase
2021-09-09 12:15:17 +03:00
Lion Kortlepel
d16843e45d
TNetwork: clarify error messages
2021-09-09 12:14:32 +03:00
Lion Kortlepel
24516dbfd7
TNetwork: setsockopt: cast optval to void*
2021-09-09 12:14:32 +03:00
Lion Kortlepel
a311d58e11
TNetwork: reuseaddr instead of reuseport
2021-09-09 12:14:32 +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
a7f2f85e45
fix version printing
2021-09-09 12:14:32 +03:00
Lion Kortlepel
42c5aaad5a
use inet_ntop instead of inet_ntoa (STILL BROKEN THOUGH)
2021-09-09 12:14:32 +03:00
Lion Kortlepel
c6457f7df4
Add Settings enum, better print
2021-09-09 12:14:32 +03:00
Lion Kortlepel
ba3fd0e144
add GetServerVersion
2021-09-09 12:14:30 +03:00
Lion Kortlepel
943159cd40
Lua: add onShutdown
2021-09-09 12:13:37 +03:00
Lion Kortlepel
9423831937
add ip to identifiers, changed value format
2021-09-09 12:13:34 +03:00
Lion Kortlepel
95188042c5
fix luatable in GetPlayerIdentifiers
2021-09-09 12:12:54 +03:00
Lion Kortlepel
a0a7b8ecce
fix comment
2021-09-09 12:12:54 +03:00
Lion Kortlepel
53617abae4
Add printRaw
...
Same as print() but does not prefix with time, date, filename, etc.
Use with care.
2021-09-09 12:12:54 +03:00
Lion Kortlepel
853b078124
add MP.HttpsGET, MP.HttpsPOST
2021-09-09 12:12:54 +03:00
Anonymous-275
549517c518
TODO edit
2021-09-09 12:12:54 +03:00
Anonymous-275
2be4b8fd91
Fully working lua_Register
2021-09-09 12:12:54 +03:00
Lion Kortlepel
2cfb27820a
switch to toml11
...
it's better, believe me
2021-09-09 12:12:54 +03:00
Anonymous-275
1ff12cb2bf
simpler lua_Register
2021-09-09 12:12:54 +03:00
Lion Kortlepel
518cb0664e
rebase
2021-09-09 12:12:54 +03:00
Lion Kortlepel
80432eb718
implement GetOSName, start working on HttpsPOST
2021-09-09 12:12:54 +03:00
Anonymous-275
b1caf5c29a
lua Register
2021-09-09 12:12:54 +03:00
Lion Kortlepel
cacdc004da
Sentry: remove url length print
2021-09-08 19:55:03 +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