Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !3808

MRFs with Updates

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged tusooa requested to merge tusooa/pleroma:from/upstream/develop/tusooa/mrf-updates into develop Dec 15, 2022
  • Overview 0
  • Commits 2
  • Pipelines 3
  • Changes 4

This is inspired by https://akkoma.dev/AkkomaGang/akkoma/commit/d5828f1c5e54ca236e50ef7837bfba3d1e665854

I revisited the policies:

  • anti_link_spam_policy.ex -- Update does not make sense, as there would be at least 1 post or follower for the user
  • activity_expiration_policy.ex -- If what we want is just to remove statuses, then this is irrelevant. If we want to save space, then it is desired. -- But this really should be performed in a way that it deletes all Updates of an Object when the Object is deleted. This is already handled.
  • force_bot_unlisted_policy.ex -- Scope change is not relevant for edits
  • hellthread_policy.ex -- Changing mentions is not relevant for edits
  • mention_policy.ex -- Changing mentions is not relevant for edits
  • simple_policy.ex -- relevant
  • tag_policy.ex -- only media-strip and media-nsfw are relevant
Edited Dec 15, 2022 by tusooa
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: from/upstream/develop/tusooa/mrf-updates