- A Warn from a community's moderator about a persona's own post there becomes that persona's moderation_warning
notification (Mastodon's AccountWarning, with the reason and the post), believed from the community's own server or
from an account the community's moderators collection lists. Remote communities keep that collection's address
(attributedTo) as ForeignAvatar.ModeratorsURL; it is read only when a warning needs it.
- A Resolve{Flag} for one of our reports (`/grunts/flag-<report id>`) is kept as the report's remote resolution when it
comes from the server holding what was reported, or the community it was reported to; our own moderators'
resolution is never replaced. The moderators' report list shows both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
This commit is contained in:
1 parent
6fc2d001b2
commit
587997dd67
19 files changed
+344
-8
No files matched your search
@@ -12,6 +12,7 @@ namespace PrivaPub.Models.Social
|
||||
public string DedupeKey { get; set; }
|
||||
public string Emoji { get; set; }//a reaction's emoji
|
||||
public string EmojiURL { get; set; }
|
||||
public string Text { get; set; }//a moderation warning's reason
|
||||
public bool IsRead { get; set; }
|
||||
public bool Filtered { get; set; }//held back by the persona's notification policy, in a NotificationRequest
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
@@ -27,6 +28,7 @@ namespace PrivaPub.Models.Social
|
||||
Update,
|
||||
Poll,
|
||||
Reaction,
|
||||
Quote
|
||||
Quote,
|
||||
ModerationWarning
|
||||
}
|
||||
}
|
||||
@@ -78,5 +78,7 @@ namespace PrivaPub.Models.Social
|
||||
public string ResolvedBy { get; set; }
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
public DateTime? ResolvedAt { get; set; }
|
||||
public DateTime? RemoteResolvedAt { get; set; }//the server holding the reported content says it dealt with it (Lemmy's Resolve{Flag})
|
||||
public string RemoteResolvedBy { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -77,6 +77,7 @@ namespace PrivaPub.Models.User
|
||||
public string InboxURL { get; set; }
|
||||
public string OutboxURL { get; set; }
|
||||
public string FeaturedURL { get; set; }//featured: the posts it pins
|
||||
public string ModeratorsURL { get; set; }//a community's attributedTo (Lemmy, PieFed, Mbin): the collection of its moderators
|
||||
public List<AssertionKey> AssertionKeys { get; set; } = new();//its Ed25519 keys (FEP-521a), which prove what it sends (FEP-8b32)
|
||||
public string WallURL { get; set; }//sm:wall (FEP-400e): where others write to it, Smithereen's walls
|
||||
public string MovedToURL { get; set; }
|
||||
|
||||
Reference in new issue
Block a user