Add primitive groups and required channel

Adds server-side group and channel management, private invitations, member moderation, avatar handling, and required-channel configuration. This change also introduces SignalR group profile/member notifications, updates registration to atomically join required channels, and adds EF migration and test coverage for group membership, permissions, and invitation expiry rules.
This commit is contained in:
Artemy
2026-10-04 10:35:07 +07:00
parent fed8f518ee
commit 2e9d7e625e
48 changed files with 3593 additions and 167 deletions
@@ -10,6 +10,8 @@ public static class ChatHubConstants
public const string ChatRead = "ChatRead";
public const string MessageReactionsChanged = "MessageReactionsChanged";
public const string ChannelReactionPolicyChanged = "ChannelReactionPolicyChanged";
public const string GroupProfileChanged = "GroupProfileChanged";
public const string GroupMemberChanged = "GroupMemberChanged";
public static string GetUserGroup(Guid userId) => userId.ToString();
public static string GetSessionGroup(Guid sessionId) => $"session_{sessionId}";