Lion Kortlepel
2cfb27820a
switch to toml11
...
it's better, believe me
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
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
8ec90d5186
Add Defer<FnT> type to defer actions to the end of scope.
2021-09-08 19:55:03 +03:00
Lion Kortlepel
d054214b7f
Various 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
f98c8dabb0
Http: add Status::ToString method, use to report errors to sentry for custom fingerprint
2021-09-08 19:55:03 +03:00
Lion Kortlepel
c571e218c7
Compat: add back types
2021-09-08 19:55:03 +03:00
Lion Kortlepel
5725717e29
possible windows compiler fix, again
2021-09-08 19:55:03 +03:00
Lion Kortlepel
ff3cbebac0
Sentry: more macro replacements
2021-09-08 19:55:03 +03:00
Lion Kortlepel
0f9a994c10
Sentry: Fix compile error in AssertNotReachable, release version
2021-09-08 19:55:03 +03:00
Lion Kortlepel
4b92532203
Sentry: sort by response code
2021-09-08 19:55:03 +03:00
Lion Kortlepel
683e13a4a0
CustomAssert: fix build error in release mode
2021-09-08 19:55:03 +03:00
Lion Kortlepel
981b56b846
CustomAssert: fix macro in release being borked
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
5330013dc3
possible compiler fix by not using SD_BOTH
2021-09-08 19:55:03 +03:00
Lion Kortlepel
c7e0461a86
possible compiler fix
2021-09-08 19:55:03 +03:00
Lion Kortlepel
032c1daf30
possible fix for windows compile issue
2021-09-08 19:55:03 +03:00
Lion Kortlepel
c77e2b3fd8
possible fix for windows build 2
2021-09-08 19:55:03 +03:00
Lion Kortlepel
e92847e628
possible windows compiler fix
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
f4ffa2cdda
Sentry: remove authkey, use id instead
2021-09-08 19:55:03 +03:00
Lion Kortlepel
1409d4ef80
Sentry: use locked contexts to send data to avoid races
2021-09-08 19:55:03 +03:00
Lion Kortlepel
51e662fdda
Compat: fix clash with socket() macro, Sentry: Add LogDebug
2021-09-08 19:55:03 +03:00
Lion Kortlepel
b9f594896a
Sentry: setup user after config init so that we can sent the authkey
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
85fd9e9ee3
Sentry: add loads more information
2021-09-08 19:55:03 +03:00
Lion Kortlepel
1f89b202b4
git: properly remove curl (woops)
2021-09-08 19:55:03 +03:00
Lion Kortlepel
a7c28a8d0d
fix curl, print segfault
2021-09-08 19:55:03 +03:00
Lion Kortlepel
28fe6e9634
add curl as in-tree dependency, add sentry ok/not ok notice on startup
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
5684134894
Sentry: report any issue with backend.beammp or auth.beammp responses
2021-09-08 19:55:03 +03:00
Lion Kortlepel
f550d0bba9
add todo
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
da41862f49
working sentry-native
2021-09-08 19:55:03 +03:00
Lion Kortlepel
d5769ce9be
add sentry as submodule
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
Lion Kortlepel
cfe348770c
Common: Add sstream include for std::stringstream
2021-08-02 14:01:20 +02:00
Lion Kortlepel
ed3d0834e6
add ws2tcpip.h
2021-08-02 14:01:20 +02:00
Lion Kortlepel
8420cdb5bf
Add Settings enum, better print
2021-08-02 14:01:20 +02:00
Lion Kortlepel
e11211f201
add GetServerVersion
2021-08-02 14:01:20 +02:00
Lion Kortlepel
9595ef164e
use fake version for lua update for now
2021-08-02 14:01:17 +02:00
Lion Kortlepel
0acbb70d10
add ip to identifiers, changed value format
2021-08-02 14:01:01 +02:00
Lion Kortlepel
44e0f3aa21
add MP.HttpsGET, MP.HttpsPOST
2021-08-02 14:01:00 +02:00
Anonymous-275
fb76b8309a
Fully working lua_Register
2021-08-02 14:01:00 +02:00