akkoma/test/pleroma
ilja 1f863f0a36 Fix MRF policies to also work with Update
Objects who got updated would just pass through several of the MRF policies, undoing moderation in some situations.
In the relevant cases we now check not only for Create activities, but also Update activities.

I checked which ones checked explicitly on type Create using `grep '"type" => "Create"' lib/pleroma/web/activity_pub/mrf/*`.

The following from that list have not been changed:
* lib/pleroma/web/activity_pub/mrf/follow_bot_policy.ex
    * Not relevant for moderation
* lib/pleroma/web/activity_pub/mrf/keyword_policy.ex
    * Already had a test for Update
* lib/pleroma/web/activity_pub/mrf/object_age_policy.ex
    * In practice only relevant when fetching old objects (e.g. through Like or Announce). These are always wrapped in a Create.
* lib/pleroma/web/activity_pub/mrf/reject_non_public.ex
    * We don't allow changing scope with Update, so not relevant here
2022-12-08 23:22:05 +01:00
..
activity Purge Rejected Follow requests in daily task (#334) 2022-12-03 23:17:43 +00:00
akkoma Backend settings sync (#226) 2022-10-06 16:22:15 +00:00
collections GTS: cherry-picks and collection usage (#186) 2022-08-27 18:05:48 +00:00
config fix_flaky_transfer_task_test.exs (#237) 2022-11-01 14:31:29 +00:00
conversation fix flaky participation_test.exs 2022-10-23 12:33:31 +02:00
docs backend-i18n (#121) 2022-07-27 21:56:59 +00:00
ecto_type/activity_pub/object_validators
emails Fix instance name in email test 2022-11-04 18:42:12 +00:00
emoji Spin off imports into n oban jobs 2022-11-27 21:45:41 +00:00
http http timeout config (#307) 2022-11-24 12:27:16 +00:00
instances Don't mess with the cache on metadata update 2022-11-08 10:39:01 +00:00
integration Disconnect streaming sessions when token is revoked 2022-08-27 19:07:48 +01:00
mfa
migration_helper purge chat and shout endpoints 2022-07-21 11:29:28 +01:00
object Fixing up deletes a bit (#327) 2022-12-01 15:00:53 +00:00
password
repo/migrations purge chat and shout endpoints 2022-07-21 11:29:28 +01:00
search Fix false error in meilisearch index (#221) 2022-09-20 10:36:21 +00:00
translators add seperate source and dest entries in language listing (#193) 2022-08-30 16:59:33 +00:00
upload Update eblurhash to a non-bugged version (#34) 2022-07-02 14:05:32 +00:00
uploaders
user Allow dashes in domain name search 2022-12-06 10:57:10 +00:00
web Fix MRF policies to also work with Update 2022-12-08 23:22:05 +01:00
workers and i yoink (#275) 2022-11-14 15:07:26 +00:00
activity_test.exs
announcement_read_relationship_test.exs Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop' (#85) 2022-07-18 13:08:36 +00:00
announcement_test.exs Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop' (#85) 2022-07-18 13:08:36 +00:00
application_requirements_test.exs
bookmark_test.exs
captcha_test.exs
config_db_test.exs
config_test.exs
conversation_test.exs
emoji_test.exs Fix emoji qualification (#124) 2022-07-28 12:02:36 +00:00
filter_test.exs
following_relationship_test.exs
formatter_test.exs
frontend_test.exs
hashtag_test.exs
healthcheck_test.exs
html_test.exs
http_test.exs mix format 2022-06-11 16:14:31 +01:00
instances_test.exs Add Signed Fetch Statistics (#312) 2022-11-26 19:22:56 +00:00
job_queue_monitor_test.exs
keys_test.exs
list_test.exs
marker_test.exs
mfa_test.exs
moderation_log_test.exs
notification_test.exs optimise notifications query 2022-10-11 11:40:43 +01:00
object_test.exs
otp_version_test.exs
pagination_test.exs
registration_test.exs
repo_test.exs
report_note_test.exs
reverse_proxy_test.exs Use finch everywhere (#33) 2022-07-04 16:30:38 +00:00
runtime_test.exs
safe_jsonb_set_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
scheduled_activity_test.exs
signature_test.exs fix resolution of GTS user keys 2022-07-18 15:21:27 +01:00
stats_test.exs
upload_test.exs Post editing (#202) 2022-09-06 19:24:02 +00:00
user_invite_token_test.exs
user_relationship_test.exs fix flaky test_user_relationship_test.exs:81 2022-10-23 13:31:01 +02:00
user_search_test.exs fix tests broken by relay defaults changing (#314) 2022-11-26 20:45:47 +00:00
user_test.exs Remerge of hashtag following (#341) 2022-12-05 12:58:48 +00:00
utils_test.exs extend custom runtime system (#108) 2022-07-24 16:42:43 +00:00
xml_builder_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00