Commit graph

44 commits

Author SHA1 Message Date
flash 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
flash 980ec5b855 Apply S2C and C2S naming scheme for easy packet direction identification. 2024-05-20 23:00:47 +00:00
flash a0e6fbbeea Packet packing micro optimisation. 2024-05-20 16:24:14 +00:00
flash 610f9ab142 Connection handling rewrite. 2024-05-20 16:16:32 +00:00
flash 1d781bd72c Added base class for packets with timestamp. 2024-05-20 02:16:38 +00:00
flash 042b6ddbd6 Removed IServerPacket interface. 2024-05-20 01:35:39 +00:00
flash c490dcf128 Extracted all log packets into their own ones. 2024-05-20 01:35:33 +00:00
flash 549c80740d Rewrote user and channel collections. 2024-05-19 21:02:17 +00:00
flash 1a8c44a4ba Cleaned up the names of some of the base classes. 2024-05-19 02:17:51 +00:00
flash bd23d3aa15 Some cleanups (snapshot, don't run this). 2024-05-19 01:53:32 +00:00
flash 68a523f76a Use HasFlag instead of custom Can method. 2024-05-17 23:50:22 +00:00
flash 322500739e Moved some things out of the MessagePopulatePacket class. 2024-05-14 22:56:56 +00:00
flash a6a7e56bd1 Drew the rest of the fucking owl. 2024-05-14 22:17:25 +00:00
flash 7bcf5acb7e Created more discrete error/response packets. 2024-05-14 19:11:09 +00:00
flash 907711e753 Split some packets out of LegacyCommandResponse. 2024-05-13 20:55:54 +00:00
flash a6569815af Enabled explicit nullable. 2024-05-10 19:18:55 +00:00
flash b95cd06cb1 Reduce usage of working objects in packet objects as much as possible. 2024-05-10 18:29:48 +00:00
flash 356409eb16 Simplified packet building. 2024-05-10 17:28:52 +00:00
flash fc7d428f76 Split name change notification out of UserUpdatePacket. 2024-05-10 15:07:56 +00:00
flash 54af837c82 Fixed various inconsistencies with Sock Chat. 2024-05-09 21:31:19 +00:00
flash a9ca3705ad Keep track of super user status. 2023-11-07 14:49:12 +00:00
flash dc4989a3cf Fixed connection error when issuing a permanent ban. 2023-07-23 21:45:10 +00:00
flash 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
flash 4e0def980f Revised event storage to use less magic classes. 2023-02-23 22:46:49 +01:00
flash 82973f7a33 Improved user updating but also other things that were already local. 2023-02-22 01:28:53 +01:00
flash 86a46539f2 Less haphazard locking (perhaps too?) 2023-02-19 23:27:08 +01:00
flash 70df99fe9b Significantly less stupid connection resolving. 2023-02-17 23:17:24 +01:00
flash 546e8a2c83 Simplify rate limiter, disabled silencing and merged BasicUser and ChatUser. 2023-02-17 22:47:44 +01:00
flash d268a419dc Cleaned up channel/user association logic. 2023-02-17 20:02:35 +01:00
flash a5089f14b8 Undid the IPacketTarget system. 2023-02-16 23:47:30 +01:00
flash 13ae843c8d No longer keep track of connections within the ChatUser class. 2023-02-16 23:33:48 +01:00
flash 06af94e94f Renamed 'Sessions' to 'Connections' 2023-02-16 22:25:41 +01:00
flash ea56af0210 Turned commands into classes instead of a shitty switch. 2023-02-16 21:34:59 +01:00
flash c21605cf3b Marginal improvements to cross thread access. 2023-02-10 07:07:59 +01:00
flash e1e3def62c Ported the config system from old master. 2023-02-09 00:53:42 +01:00
flash 56a818254e Backported SharpId class 2023-02-08 04:32:12 +01:00
flash 40c7ba4ded Removed a bunch of @ prefixes that aren't needed. 2023-02-08 04:17:07 +01:00
flash 27c28aafcd Don't use a stinky Timer for user bumps and exclude AFK. 2023-02-08 01:01:55 +01:00
flash 36f3ff6385 Removed internal ban handling and integrate with Misuzu. 2023-02-07 23:28:06 +01:00
flash 4104e40843 Code style updates. 2023-02-07 16:01:56 +01:00
flash c9cc5ff23a Removed protocol enums. 2023-02-07 15:34:31 +01:00
flash 513539319f Better HttpClient handling. 2023-02-06 21:14:50 +01:00
flash 23f0bd478f Apparently this is what's actually running on the server. 2022-08-30 15:21:00 +00:00
flash 4ceffeb48d Imported stable branch. 2022-08-30 17:00:58 +02:00