WIP: Add unlist_undescribed_media.ex to mrf policies folder #50
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#50
Loading…
Reference in a new issue
No description provided.
Delete branch "Beefox/akkoma:mrf/unlisted_media"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This policy allows the instance to mark media posted without an description as unlisted, for instances that do not wish for undescriped media to be visible on the local or known timelines.
Currently i am unsure of how to add this to the list of "default" polices, as such it will not appear in admin-fe; a pr to solve this or even an idea of where to look would be much appreciated before merge c:
any chance you could add a few tests to this? something along the lines of https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/test/pleroma/web/activity_pub/mrf/ensure_re_prepended_test.exs
as for the other parts (sorry i didn't read the body)
luckily the MRF descriptions are dynamic - just by implementing the
@behaviour
it'll show up in admin-fe, so you're fine therealso you may want to add it to the docs -> https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/docs/configuration/mrf.md
I will hopefully not forget this for another month!
Add unlist_undescribed_media.ex to mrf policies folderto WIP: Add unlist_undescribed_media.ex to mrf policies folderView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.