Docs: Add description for mrf_reject_newly_created_account_notes #695
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#695
Loading…
Reference in a new issue
No description provided.
Delete branch "YokaiRick/akkoma:doc_mrf_reject_acc_notes"
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?
Hi,
here is a small pr for documenting mrf_reject_newly_created_account_notes.
I had some trouble configuring it and had some questions regarding what it affects.. so i tried to add all my new achieved knowledge in there ;)
Hopefully this helps other ppl
heh, i too was planning to add this and other undocumented MRFs soon (there’s at least one more,
DirectMessageDisabledPolicy
, iinm), but you were fasterAs a general note, I think to avoid misunderstanding the docs should clarify that “created at” refers to when the reference to the user on the local instance was created, i.e. when the user was first encountered by the instance, and not when the account was created on its own home instance.
Akkoma cannot do the latter since account creation times are not federated.
EDIT: i initially proposed a style change below, but turned out its actually fine as is. Since Forgejo wouldn’t let me mark the thread as resolved, i instead deleted the thread °~°
Here are the updates, most configurable MRFs already had at least their options documented even if their full name wasn’t listed in the
policies
list. Includes some refactoring for readability and dropping leftovers from a removed MRF:https://akkoma.dev/Oneric/akkoma/commits/branch/doc_mrfs
Since this is on top of the changes from this PR, it’s not possible/doesn’t make sense to open a seperate PR; feel free to pull this in here or if you prefer I’ll open a seperate PR after this one is merged.
DirectMessageDisabledPolicy isn't really configurable, it's just there because MRF turned out to be the nicest place to implement that particular functionality - it's hardcoded to always run, so i'm not sure it's worth documenting there
pretty ok, i'd agree with the above that it's worth noting that the time we first encounter an account is taken to be the "created" time
@ -225,1 +226,4 @@
#### :mrf_reject_newly_created_account_notes
Rejects posts of users, whose accounts are more recent than the configured time (in seconds).
Only drops posts. Follows, reposts, etc. are not effected.
spelling, "affected"
aye, I noticed while preparing the doc updates. However, apart from some incomplete documentetion
NoEmptyPolicy
andNoPlaceholderPolicy
turned out to be entirely undocmented (and not hardcoded). Regarding:Other hardcoded MRFs
NormalizeMarkup
andInlineQuotePolicy
are also already documented — currently without configuration. But to my surprise both of them are actually configurable (and docs are added by the linked branch).edit oneric already did that. thanks :3
:nod: thanks to the both of you!