feat: comments & paste/comment reactions; renames/refactors

this is a LOT, i should've commited in stages but oh well, from what i can remember:
- paste interactions (reactions)
- comments
- comment interactions (reactions)
- rich text editor
- move all report apis into report controller
- rename size to sizeStored
- rename trueSize to originalSize
- fixed compression on paste compression
    - implemented compression threshold
- use longs instead of ints where possible in the entities
- improve record view + remove redundant check for existing view
This commit is contained in:
2026-04-24 08:52:33 -04:00
parent f82d314d80
commit 63b77bece9
43 changed files with 4560 additions and 403 deletions
+5 -2
View File
@@ -25,8 +25,9 @@ namespace SharpbinV3.Server.Data.Entities
public Guid ReporterUUID { get; set; }
public ReportTargetType TargetType { get; set; }
public int? PastePID { get; set; }
public long? PastePID { get; set; }
public Guid? UserUUID { get; set; }
public long? CommentID { get; set; }
public Paste? Paste { get; set; }
public User? User { get; set; }
@@ -48,6 +49,8 @@ namespace SharpbinV3.Server.Data.Entities
public enum ReportTargetType
{
Paste,
User
User,
Comment
}
}