Commit Graph

885 Commits

Author SHA1 Message Date
Salanto
8ad57633ae Implement simple area sorted logs 2021-09-10 15:59:10 +02:00
Rosemary Witchaven
46c0414894
Merge pull request #193 from Salanto/universal-logger
Advanced Logging
2021-08-26 04:23:33 -05:00
Salanto
61a2aa4f09 Remove SQL logger implementation
Out of scope for this PR which primary aim is to refactor the current logger to be area independant
2021-08-25 16:42:10 +02:00
Salanto
56590668cf Fix formatting, add full writer check and implementation 2021-08-25 16:37:55 +02:00
Salanto
0cfaf25f66 Fix Webhook Buffer, Fix QStringLiteral Arg missing 2021-08-25 06:34:46 +02:00
Salanto
5e4f2f0ccb Implement login logging 2021-08-25 05:52:00 +02:00
Salanto
70a63dd8b3 emit most log slots from AOClient
- Still need to figure out how login handles it
2021-08-25 05:34:16 +02:00
Salanto
bc5ec9fa9d Add hwid to logconnectionattempt 2021-08-25 03:29:16 +02:00
Salanto
16fd57e591 Hookup new clients to logger, test logger construction and log writing to buffer 2021-08-25 02:33:19 +02:00
Salanto
eda0a2f690 Implement client signals, add deconstructor + initial construction test 2021-08-25 01:49:44 +02:00
Salanto
86a7d0a3aa Log modcalls, add case for modcall logger writing 2021-08-25 00:18:46 +02:00
Salanto
4d20facc33 Add basic constructor 2021-08-24 23:43:35 +02:00
Salanto
055ef2e6a4 Implement log message creation 2021-08-24 23:25:39 +02:00
Salanto
f2a4f2d3e3 Add slot definitions, fix small oversight in QQueue oopsie 2021-08-24 19:17:37 +02:00
Salanto
f8fd854f3f Reconsider approach to transport log information 2021-08-24 16:17:25 +02:00
Salanto
5af2be130d Supress compiler warning on unimplemented methods
+ Expose struct trough member variable
+ Try to enforce consistent naming
2021-08-24 15:44:45 +02:00
Salanto
b7308c18fb Implement method to update buffer in QMap 2021-08-24 15:44:45 +02:00
Salanto
58a751afb0 Resolve compile error 2021-08-24 15:44:45 +02:00
Salanto
f31d474def Document u_logger.h 2021-08-24 15:44:45 +02:00
Salanto
685a66e8f4 Add more log datatypes, define slots for log processing and area buffer 2021-08-24 15:44:45 +02:00
Salanto
5b3e420214 Add executing code and cleanup header
+ Correct path mistake in Modcall writer
2021-08-24 15:44:45 +02:00
Salanto
a836d2f500 Add basic implementation of SQL Writer and Modcall writer 2021-08-24 15:44:45 +02:00
Salanto
e512897651 Add Full log writer 2021-08-24 15:44:45 +02:00
Salanto
860af5af82 Setup basic strcuture
Welcome to the ride. You may witness me slowly loosing my sanity on this.
2021-08-24 15:44:45 +02:00
Salanto
01fcb51155
Nix-QString::Splitbehaviour complaint (#195) 2021-08-24 00:05:38 -05:00
Rosemary Witchaven
624fe41e12
Fix or suppress compiler warnings (#158)
* purge warnings

* indentation change

* unused macros for notice cmd

* cleanup clazy/clang-tidy diagnostics
2021-08-23 19:07:22 -05:00
Rosemary Witchaven
f7e5a58d02
Merge pull request #194 from AttorneyOnline/ci-fix-linux
Fix Linux CI
2021-08-23 00:01:11 -05:00
Rosemary Witchaven
0202a2b3a0
run apt-get update before installing dependencies 2021-08-22 23:58:00 -05:00
Rosemary Witchaven
958752ef0a
Merge pull request #192 from Salanto/fix-#191
Allow spaces to be contained in background names
2021-08-21 05:00:36 -05:00
Salanto
8daca2eee0 fix-#191 2021-08-21 11:53:53 +02:00
Rosemary Witchaven
72aeee3ec0
Merge pull request #190 from Salanto/fix-DiscordNoContentEmbed
Fix Modcall Embed Construction Order
2021-08-19 18:30:11 -05:00
Salanto
378b21099d Add check for empty string 2021-08-19 23:04:23 +02:00
Salanto
20a9112a21 Fix Embed Construction Order 2021-08-19 23:01:12 +02:00
Rosemary Witchaven
ce660b56de
Merge pull request #188 from AttorneyOnline/device-not-open
Fix QIODevice::read (QTcpSocket) device not open error
2021-08-19 15:11:57 -05:00
Rosemary Witchaven
bd6498c35b
Merge pull request #187 from Salanto/refactor-discord
Refactor Discord class to be reloadable
2021-08-19 15:00:47 -05:00
Salanto
5f3d42d999 Remove unusued nullpointer 2021-08-19 21:48:33 +02:00
Salanto
2efb6edee8 Privatize Discord + use Signals better
None of this is called outside of Discord, so there's no point on having it public.

Bonus note on the slots :
But if you close your eyes,
Does it almost feel like
Nothing changed at all?
2021-08-19 21:46:05 +02:00
in1tiate
637a6170e9 wait for connection before reading first data 2021-08-18 20:47:10 -05:00
Salanto
5b07bb5557 Update config descriptions for Discord.ini 2021-08-12 23:03:46 +02:00
Salanto
f4038d4678 Cleanup Discord class and fix reload error 2021-08-12 22:55:27 +02:00
Salanto
931365d1bd Resolve compile error 2021-08-12 22:03:42 +02:00
Salanto
9148e522aa Make webhook reloadable 2021-08-12 21:44:53 +02:00
Salanto
51ca518aeb Add QElapsedTimer to track server uptime
Had no better place to put it without making it needlessly complicated.
2021-08-12 21:33:13 +02:00
Salanto
893b3f6cb1 Document ban webhook signal 2021-08-12 20:43:03 +02:00
Salanto
f604e9c8de Split discord configuration into different file
The current config.ini is both long and full of text.
This reduces readability and combines essential configuration with non-essential configuration.
Splitting optional features like Discord into its own config helps the readability issue by not beating the users to death with information.
2021-08-11 23:52:53 +02:00
Rose Witchaven
eb830db587
Merge pull request #163 from Salanto/AliveHook
Implement Uptime Webhook
2021-08-11 06:56:30 -05:00
Salanto
4550128d63 Merge branch 'master' into AliveHook 2021-08-11 13:06:36 +02:00
Rose Witchaven
db1645690e
Merge pull request #186 from Salanto/fix-#180-compile-error
Fix compile error caused by #180
2021-08-11 06:02:04 -05:00
Salanto
9d55d3ea9e Inherit tr method from QObject 2021-08-11 08:52:01 +02:00
Salanto
2fd9dd9288 Add uptime url to sample configuration 2021-08-11 08:04:23 +02:00