Commit graph

90 commits

Author SHA1 Message Date
09d5bfef82 Fixed excessive sending of user update packets.
the funny inverted if condition
2024-05-24 13:19:04 +00:00
d426df91f0 Made the channel event log code similar to the normal event handling code. 2024-05-24 13:11:21 +00:00
5daad52aba Events system overhaul. 2024-05-24 03:44:20 +00:00
454a460441 Removed event flags attribute. 2024-05-24 00:23:31 +00:00
651c3f127d Use interface instead of abstract classes as base for Sock Chat S2C packets. 2024-05-23 23:13:57 +00:00
4ace355374 Removed AddEvent aliases. 2024-05-23 22:31:43 +00:00
968df2b161 Split connection classes. 2024-05-21 20:08:23 +00:00
12e7bd2768 Turns out neither of those two repos were public! 2024-05-21 14:52:15 +00:00
cfbe98d34a Updated README.md. 2024-05-20 23:45:29 +00:00
e0f83ca259 Split various components into sublibraries to avoid things depending on things they should not depend on. 2024-05-20 23:40:34 +00:00
980ec5b855 Apply S2C and C2S naming scheme for easy packet direction identification. 2024-05-20 23:00:47 +00:00
a0e6fbbeea Packet packing micro optimisation. 2024-05-20 16:24:14 +00:00
610f9ab142 Connection handling rewrite. 2024-05-20 16:16:32 +00:00
fa8c416b77 Use server start timestamp for welcome MOTD message and MOTD file last write for the other one. 2024-05-20 02:27:46 +00:00
1d781bd72c Added base class for packets with timestamp. 2024-05-20 02:16:38 +00:00
042b6ddbd6 Removed IServerPacket interface. 2024-05-20 01:35:39 +00:00
c490dcf128 Extracted all log packets into their own ones. 2024-05-20 01:35:33 +00:00
549c80740d Rewrote user and channel collections. 2024-05-19 21:02:17 +00:00
1a8c44a4ba Cleaned up the names of some of the base classes. 2024-05-19 02:17:51 +00:00
bd23d3aa15 Some cleanups (snapshot, don't run this). 2024-05-19 01:53:32 +00:00
68a523f76a Use HasFlag instead of custom Can method. 2024-05-17 23:50:22 +00:00
322500739e Moved some things out of the MessagePopulatePacket class. 2024-05-14 22:56:56 +00:00
a6a7e56bd1 Drew the rest of the fucking owl. 2024-05-14 22:17:25 +00:00
7bcf5acb7e Created more discrete error/response packets. 2024-05-14 19:11:09 +00:00
38f17c325a Apparently markdown doesn't have underlining. 2024-05-14 17:54:59 +00:00
907711e753 Split some packets out of LegacyCommandResponse. 2024-05-13 20:55:54 +00:00
8cc00fe1a8 Updated protocol information document. 2024-05-10 23:50:40 +00:00
3c58e5201a Updated LICENSE year. 2024-05-10 19:29:03 +00:00
795a87fe56 Added migration to update event types of older messages. 2024-05-10 19:23:19 +00:00
a6569815af Enabled explicit nullable. 2024-05-10 19:18:55 +00:00
b95cd06cb1 Reduce usage of working objects in packet objects as much as possible. 2024-05-10 18:29:48 +00:00
356409eb16 Simplified packet building. 2024-05-10 17:28:52 +00:00
1ba94a526c Removed unused method from ChatMessageAddPacket. 2024-05-10 15:25:50 +00:00
0b0de00cc4 Updated MySQL connector library. 2024-05-10 15:24:56 +00:00
b1fae4bdeb Simplified Pack method return type. 2024-05-10 15:24:43 +00:00
fc7d428f76 Split name change notification out of UserUpdatePacket. 2024-05-10 15:07:56 +00:00
54af837c82 Fixed various inconsistencies with Sock Chat. 2024-05-09 21:31:19 +00:00
0d0f2e68b9 client -> server 2024-04-17 20:44:23 +00:00
e291a17705 Updated Pong packet documentation, removed column used for version info and reverted 'Sequence ID' back to 'Message ID'. 2024-04-17 20:41:15 +00:00
cd32995367 Removed mention of versioning. 2024-04-17 20:31:25 +00:00
5985f63744 Allow super users to kick anyone regardless of ranking. 2023-11-07 14:50:55 +00:00
a9ca3705ad Keep track of super user status. 2023-11-07 14:49:12 +00:00
294471dcfd Fixed inverted permission for /create.
For the love of god remember to update the permissions table and recalculate before starting back up.
2023-11-07 14:33:07 +00:00
c46d117d15 Merge branch 'new-master' of git.flash.moe:flashii/sharp-chat into new-master 2023-11-04 23:37:13 +00:00
05fcbcb0f8 Fixed issues relating to event_sender_name being nullable for some reason. 2023-11-04 23:37:02 +00:00
03b3b6b0a3 Fixed issue when starting without any configuration data present. 2023-10-01 04:54:30 +02:00
a7a05f04bd Don't remove AFK status when opening a new connection. 2023-08-09 14:59:29 +00:00
dc4989a3cf Fixed connection error when issuing a permanent ban. 2023-07-23 21:45:10 +00:00
903e39ab76 Removed any remaining references to silencing. 2023-07-23 21:36:22 +00:00
8c19c22736 Reworking event dispatching... I think?
I did this make in february but left it uncommitted. Hopefully it's stable!
2023-07-23 21:31:13 +00:00