Commit graph

113 commits

Author SHA1 Message Date
26e756525e
Removed leftovers. 2025-05-03 02:55:06 +00:00
5a7756894b
First bits of the Context overhaul.
Reintroduces separate contexts for users, channels, connections (now split into sessions and connections) and user-channel associations.
It builds which is as much assurance as I can give about the stability of this commit, but its also the bare minimum of what i like to commit sooooo
A lot of things still need to be broadcast through events throughout the application in order to keep states consistent but we'll cross that bridge when we get to it.
I really need to stop using that phrase thingy, I'm overusing it.
2025-05-03 02:49:51 +00:00
f41ca7fb7f
Swap these around again. 2025-04-29 22:15:37 +00:00
67202d27f7
Fixes 2025-04-29 22:14:51 +00:00
a487a8dadf
Support bidirectional storage conversion. 2025-04-29 15:43:31 +00:00
0bc025e5f8
Made MessageStorage.GetMessages more flexible. 2025-04-29 12:50:32 +00:00
eae379e933
Added MariaDB -> SQLite conversion utility. 2025-04-28 19:22:31 +00:00
c537df792e
Create Context before creating a server. 2025-04-28 13:03:38 +00:00
e0050a51bd
Cleaned up Connection class a little more. 2025-04-28 12:32:55 +00:00
98d13ebbbb
Improved logging system. 2025-04-28 12:29:11 +00:00
d94b1cb813
Improved reliability of the shutdown process. 2025-04-28 10:46:26 +00:00
3f6007922c
Added SQLite storage backend. 2025-04-27 22:31:35 +00:00
999ce86a27
Updated table layout. 2025-04-27 19:38:00 +00:00
dde349601d
Old names also don't need to be handled anymore. 2025-04-27 18:46:10 +00:00
224036adbd
Nuked MessageFlags. 2025-04-27 18:45:32 +00:00
bd86c610a3
Minor global context cleanup. 2025-04-27 16:20:03 +00:00
80475a9180
Beginnings of moving channel handling out of the main context or random assignments. 2025-04-27 02:53:56 +00:00
f1d4051fb5
Split MariaDB message storage out into its own library. 2025-04-27 01:54:46 +00:00
8eff4127b5
Decoupled StoredEventInfo from the User class. 2025-04-27 00:48:57 +00:00
b4aa5873c3
Removed all Async suffixes within my jurisdiction. 2025-04-27 00:33:59 +00:00
0a7e01f154
Asyncify event storage. 2025-04-27 00:31:33 +00:00
dd377358e2
Finer grained local permissions, also User.Can is gone. 2025-04-27 00:18:17 +00:00
bef41b2718
Added screaming. 2025-04-26 23:59:19 +00:00
9381bdfe51
Handle local permissions as a ulong and decouple from the ones stored in the database. 2025-04-26 23:58:32 +00:00
b9a7a43db8
Decouple internal permissions from Flashii/Misuzu permissions. 2025-04-26 23:39:24 +00:00
78a683620f
Switched to top level main. 2025-04-26 23:23:00 +00:00
34e4e9b1a9
Switched to file namespace declarations. 2025-04-26 23:15:54 +00:00
6593929827
First set of Sock Chat specific splitouts. 2025-04-26 22:47:57 +00:00
158a0d3cea
Renamed directory... 2025-04-26 22:35:37 +00:00
7bdf41a047
le async has arrived 2025-04-26 22:28:41 +00:00
2eba089a21
Split out the Flashii interaction code into a separate library. 2025-04-26 19:42:23 +00:00
51f5c4c948
Split Colour struct into two records. 2025-04-26 13:15:27 +00:00
f5eab926de
Fixed version not being read correctly. 2025-04-26 13:15:00 +00:00
0cc5d46ea9
Name adjustments and moved some things to the common lib. 2025-04-26 12:51:08 +00:00
b8ec381f3b
Cleaned up S2C packet classes. 2025-04-25 22:14:48 +00:00
9f283e48fe
Removed external pack methods.
These do need to be reimploded at some point probably, but this at least gets them out of common code.
2025-04-25 21:22:25 +00:00
3fc94c425e
S2C packer methods now just return a single string. 2025-04-25 20:33:42 +00:00
626951ad10
HEH HEH YEAH ILIGHT HAHAHAHA WAHHH episode 2 2025-04-25 20:15:38 +00:00
a8f5c00e37
Added C2S and S2C markings to class names. 2025-04-25 20:12:42 +00:00
e17aed7c25
Switched to Index brand random Snowflakes instead of SharpIds.
If you were still handling message ids as integers in an environment that can't handle signed 64-bit integers you're going to be having a fun time after this update!
2025-04-25 20:05:57 +00:00
f5c8f2ae1d
Disable global nullable. 2025-04-25 18:18:13 +00:00
40f8fc2e86
Removed protocol document.
Documentation for the protocol can now be found over on the Railgun Wiki: https://railgun.sh/sockchat
2025-04-25 17:15:39 +00:00
1c23ffbbe8
Updated to .NET 9.0 2025-04-25 15:49:46 +00:00
b026bad176
Alter pong packet to conform to the spec. 2025-04-20 23:41:40 +00:00
3c8bb88d53
Expand fields. 2025-04-15 20:17:15 +00:00
83cf6ae438
Fixed crash on the byte length check. 2025-04-14 22:27:36 +00:00
62ab8c0c93
Downgrade to .NET 6.0 again. 2025-04-14 21:58:33 +00:00
e7b38dc8e1
Count UTF-8 bytes and graphemes instead Microsoft brand UTF-16 whatevers. 2025-04-14 21:57:24 +00:00
306f8a29d1
Merge branch 'mistress' of patchii.net:flashii/sharp-chat into mistress 2025-04-12 21:38:42 +00:00
3ad3721979
Bumped copyright year. 2025-04-12 21:34:20 +00:00