akkoma/test/pleroma/web
ilja 1f863f0a36
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
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_pub Fix MRF policies to also work with Update 2022-12-08 23:22:05 +01:00
admin_api Add fallback for reports that don't have attached activities 2022-11-08 11:01:47 +00:00
akkoma_api Backend settings sync (#226) 2022-10-06 16:22:15 +00:00
api_spec Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
auth Create WrapperAuthenticator and simplify Authenticator behaviour 2021-06-07 18:18:39 -05:00
common_api make conversation-id deterministic (#154) 2022-08-06 20:59:15 +00:00
feed UserController: fall back to frontend when user isn't found 2021-08-17 18:32:32 -05:00
mastodon_api Remerge of hashtag following (#341) 2022-12-05 12:58:48 +00:00
media_proxy fix tests broken by relay defaults changing (#314) 2022-11-26 20:45:47 +00:00
metadata Metadata/Utils: use summary as description if set 2022-09-11 19:55:38 +01:00
o_auth Fix tests in ldap registration 2022-11-01 14:21:35 +00:00
o_status Pleroma.Web.base_url() --> Endpoint.url() 2021-12-25 20:11:14 -06:00
pleroma_api Purge Rejected Follow requests in daily task (#334) 2022-12-03 23:17:43 +00:00
plugs Add Signed Fetch Statistics (#312) 2022-11-26 19:22:56 +00:00
preload/providers Remove precompiled javascript (#55) 2022-07-08 13:03:18 +00:00
push Push.Impl: support edits 2022-10-28 01:20:19 -04:00
rich_media make search provider configurable 2021-12-12 17:35:35 +00:00
static_fe static-fe overhaul (#236) 2022-12-07 11:20:53 +00:00
twitter_api Purge Rejected Follow requests in daily task (#334) 2022-12-03 23:17:43 +00:00
views Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
web_finger Support reaching user@sub.domain.tld at user@domain.tld (#134) 2022-08-02 13:54:22 +00:00
common_api_test.exs Post editing (#202) 2022-09-06 19:24:02 +00:00
fallback_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
federator_test.exs fix tests broken by relay defaults changing (#314) 2022-11-26 20:45:47 +00:00
gettext_test.exs Fix incorrect fallback when English is set to first language 2022-06-29 20:47:10 +01:00
manifest_controller_test.exs Expose /manifest.json for PWA 2021-11-24 17:50:55 -06:00
masto_fe_controller_test.exs API compatibility with fedibird, frontend config (#163) 2022-08-17 00:22:59 +00:00
media_proxy_test.exs Merge remote-tracking branch 'pleroma/develop' into cycles-base-url 2021-05-31 16:49:46 -05:00
mongoose_im_controller_test.exs Change user.deactivated field to user.is_active 2021-01-15 11:24:46 -06:00
node_info_test.exs expose bubble instances via nodeinfo (#136) 2022-08-02 09:11:22 +00:00
rel_me_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
streamer_test.exs Remerge of hashtag following (#341) 2022-12-05 12:58:48 +00:00
uploader_controller_test.exs Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
web_finger_test.exs Support reaching user@sub.domain.tld at user@domain.tld (#134) 2022-08-02 13:54:22 +00:00