mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-17 12:59:25 +00:00
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:
@@ -11,6 +11,7 @@ public class GroupInvitationConfiguration : IEntityTypeConfiguration<GroupInvita
|
||||
builder.HasKey(e => e.Id);
|
||||
|
||||
builder.Property(e => e.InvitationCode).IsRequired().HasMaxLength(200);
|
||||
builder.HasIndex(e => e.InvitationCode).IsUnique();
|
||||
builder.Property(e => e.Description).HasMaxLength(500);
|
||||
builder.Property(e => e.EndDate).IsRequired();
|
||||
builder.Property(e => e.CreatedAt).IsRequired();
|
||||
@@ -23,4 +24,4 @@ public class GroupInvitationConfiguration : IEntityTypeConfiguration<GroupInvita
|
||||
|
||||
builder.Ignore(e => e.GroupMemberships);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user