Current libraries: the database, media, sanitizer, mail and sign-in libraries are on their latest versions
Build / Build (push) Successful in 35s

- MongoDB.Entities 26, FFMpegCore 6, HtmlSanitizer 11, Serilog's MongoDB sink 8, OpenIddict 7.8, MailKit 4.18.2,
  Markdig 1.6, Swashbuckle 10.3, QRCoder 1.8.1 and the .NET 10.0.14 sign-in library; the build uses SDK 10.0.403.
  The two packages with known vulnerabilities in the old set are gone.
- Stored records are read and written exactly as before: ids keep their form, personas and groups still get ids that
  carry their published day, and an older version can still read what this one writes.
- Videos are probed, transcoded and given a poster frame as before.
- Federated posts are cleaned exactly as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W4YtEJrgxG12Pc39Fai8Bd
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-11-10 06:19:23 +01:00
1 parent 739a1603ca
commit 8a1e4e419b
9 files changed
+88 -26

No files matched your search

+3 -2
View File
@@ -1,10 +1,11 @@
using MongoDB.Entities;
using PrivaPub.Infrastructure.Data;
using PrivaPub.Infrastructure.Ids;
namespace PrivaPub.Models.Group
{
public class Group : Entity
public class Group : Entity, IOwnId
{
public string UserName { get; set; }//preferredUsername
public string Name { get; set; }//name
@@ -35,7 +36,7 @@ namespace PrivaPub.Models.Group
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
public DateTime? DeletionAt { get; set; }
public override object GenerateNewID() => PrivacyIds.ForDay(PublishedOn);
public string NewId() => PrivacyIds.ForDay(PublishedOn);
}
public class GroupMember
+3 -2
View File
@@ -1,10 +1,11 @@
using MongoDB.Entities;
using PrivaPub.Infrastructure.Data;
using PrivaPub.Infrastructure.Ids;
namespace PrivaPub.Models.User
{
public class Avatar : Entity
public class Avatar : Entity, IOwnId
{
public string Url { get; set; }//url
public string Name { get; set; }//name
@@ -40,7 +41,7 @@ namespace PrivaPub.Models.User
public DateTime? BannedAt { get; set; }
public DateTime? DeletionAt { get; set; }
public override object GenerateNewID() => PrivacyIds.ForDay(PublishedOn);
public string NewId() => PrivacyIds.ForDay(PublishedOn);
}
public class ForeignAvatar : Entity