Commit Graph

132 Commits

Author SHA1 Message Date
Salanto
5989ed2851 Simplify code to determine user id 2021-12-30 11:22:46 +01:00
Salanto
57dc4ee9ec
Merge pull request #218 from Salanto/area_message
Add Area Messages
2021-12-17 21:24:40 +01:00
Salanto
dabc7c1abe Apply suggestion batch that fixes bad english
Co-Authored-By: Rosemary Witchaven <32779090+in1tiate@users.noreply.github.com>
2021-12-17 21:19:15 +01:00
Salanto
de3680eb87 Add backwards compatability with older config folders
Prevents an oopsie where logs are non-functional when the config folder was not updated yet.
Also, it's reloadable. How neat is that?
2021-12-17 02:42:54 +01:00
Salanto
9d9cbdb4e2 Implement an area specific message
This feature improves RP/Casing slightly by allowing an automatic message to be send when they enter the area.
2021-12-17 02:31:52 +01:00
Rosemary Witchaven
48dc849b32
Merge pull request #201 from PresJoeBiden/Keeping-People-Out-With-an-IP-Subnet-Ban,-man!
Executive Order 14042 : Implement IPRange Ban
2021-12-13 19:30:42 -06:00
Rosemary Witchaven
2b5bccc959
Merge pull request #214 from Salanto/better-packet-targeting
Make it easier to reuse code targeting specific user groups
2021-12-08 13:56:03 -06:00
Salanto
a3d89c352c Make log entries formatting reloadable and configurable 2021-11-21 16:43:55 +01:00
Salanto
578aee2251 More example implementation. 2021-11-20 18:15:36 +01:00
Salanto
d943981ef1 Allow easier handling of targeting user groups when sending packets 2021-11-20 18:15:36 +01:00
Salanto
7dbbf41d33 Add IPID to global messages when user is authenticated
This adds the ability to send altered packets to a specific group of users and the original to everyone else.
2021-11-20 18:15:36 +01:00
Salanto
d92ba88cb7 Add mapped IPv4 address parser. 2021-11-14 13:28:37 +01:00
stonedDiscord
6c15aa2164 just make it public 🤡 2021-11-14 13:28:37 +01:00
Salanto
d68fb66759 Executive Order 14042 : Implement IPRange Ban 2021-11-14 13:27:55 +01:00
Salanto
2c96e2683f Add optional color configuration 2021-09-20 21:09:28 +02:00
Salanto
18281ae401 Implement clearcm command 2021-09-19 17:00:14 +02:00
Salanto
db0bd77299 Apply change suggestions
Alternative title : Literally unreadable 2
2021-09-18 17:30:38 +02:00
Salanto
983a2365fb Update helpfile for all commands.
+ Document cmdCharSelect
2021-09-16 23:16:58 +02:00
Salanto
970b0975b4 Add command to retrieve help information
+ Rename old help that displays available commands to commands
+ Layout basic helpfile
2021-09-15 20:27:05 +02:00
Salanto
fb4c3481d2 Implement help information loader 2021-09-15 00:44:00 +02:00
Salanto
df237bbe3a Improve error handling and messaging to user 2021-09-13 18:13:48 +02:00
Salanto
00da956ec8 Add ACL check so moderators can toggle jukebox 2021-09-12 23:49:20 +02:00
Salanto
8bdfe1e045 Ensure that no stale songs are in the jukebox queue when its disabled
Housekeeping and fix /currentmusic not returning a song
2021-09-12 23:20:09 +02:00
Salanto
f9dcaa2aa5 Implement a basic and functional jukebox implementation 2021-09-12 22:32:10 +02:00
Salanto
5115b97721 Implement JSON musiclist file loading 2021-09-12 13:46:18 +02:00
Salanto
fa1907fbff Update slot decalarations and implementation to enforced naming sheme 2021-09-12 12:28:40 +02:00
Salanto
f523fc6ec0 AOClient madness 2021-09-11 19:46:40 +02:00
Salanto
318d12eb7d Rename AOClient member variables
Cleanup a lot of of the variables naming inside area.cpp
2021-09-11 17:33:46 +02:00
Salanto
b22a83658a Cleanup Logger 2021-09-10 23:56:57 +02:00
Salanto
4ac4dfdcc7 Cleanup variable naming modern advertiser 2021-09-10 23:40:27 +02:00
Salanto
a4e8442657 Cleanup some variable naming
+ move file reading operations into ConfigManager
2021-09-10 23:33:37 +02:00
Salanto
fec1722697 Overload flush method and un-stupid the switch case 2021-09-10 20:38:27 +02:00
Salanto
f24d16eb68 Remove old log definitions from area_data.h
Apparently I completely forgot about those.
2021-09-10 18:39:02 +02:00
Salanto
8ad57633ae Implement simple area sorted logs 2021-09-10 15:59:10 +02: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
0cfaf25f66 Fix Webhook Buffer, Fix QStringLiteral Arg missing 2021-08-25 06:34:46 +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
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