MRF Policies: Return a {:reject, reason} instead of {:reject, nil}
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Mon, 13 Jul 2020 13:47:13 +0000 (15:47 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Tue, 14 Jul 2020 09:04:16 +0000 (11:04 +0200)
commit858d9fc7e8e722604676c90cf2707f0209f935ec
treeb2b3300b31f693804f80bc79902f65719756260f
parentf918b6f86ddf8e101a9ce22a46694788eb48b5c7
MRF Policies: Return a {:reject, reason} instead of {:reject, nil}
20 files changed:
lib/pleroma/web/activity_pub/mrf/anti_followbot_policy.ex
lib/pleroma/web/activity_pub/mrf/anti_link_spam_policy.ex
lib/pleroma/web/activity_pub/mrf/hellthread_policy.ex
lib/pleroma/web/activity_pub/mrf/keyword_policy.ex
lib/pleroma/web/activity_pub/mrf/mention_policy.ex
lib/pleroma/web/activity_pub/mrf/object_age_policy.ex
lib/pleroma/web/activity_pub/mrf/reject_non_public.ex
lib/pleroma/web/activity_pub/mrf/simple_policy.ex
lib/pleroma/web/activity_pub/mrf/tag_policy.ex
lib/pleroma/web/activity_pub/mrf/user_allow_list_policy.ex
lib/pleroma/web/activity_pub/mrf/vocabulary_policy.ex
test/web/activity_pub/mrf/anti_followbot_policy_test.exs
test/web/activity_pub/mrf/hellthread_policy_test.exs
test/web/activity_pub/mrf/keyword_policy_test.exs
test/web/activity_pub/mrf/mention_policy_test.exs
test/web/activity_pub/mrf/reject_non_public_test.exs
test/web/activity_pub/mrf/simple_policy_test.exs
test/web/activity_pub/mrf/tag_policy_test.exs
test/web/activity_pub/mrf/user_allowlist_policy_test.exs
test/web/activity_pub/mrf/vocabulary_policy_test.exs