Commit Graph

370 Commits

Author SHA1 Message Date
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
Lion Kortlepel a23946dddf switch to toml11
it's better, believe me
2021-08-02 14:01:00 +02:00
Lion Kortlepel cc88734279 implement GetOSName, start working on HttpsPOST 2021-08-02 14:01:00 +02:00
Lion Kortlepel 3d0d5e9e4c minor fixes, version bump 2021-07-31 21:57:06 +03:00
Lion Kortlepel 46f778bd01 bump version to 2.1.4 2021-07-29 13:34:28 +02:00
Lion Kortlepel 3eb943309e bump version number 2021-07-10 19:20:42 +02:00