Commit Graph

1100 Commits (e27c61218d292c5fbf268f27e81dbe22f93ba90f)

Author SHA1 Message Date
rinpatch 5170170483 Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
5 years ago
rinpatch fb96facc32 Remove unused functions and fix credo issues
5 years ago
rinpatch ce23529d91 Use delivery info when federating deletes
5 years ago
Egor Kislitsyn 39dc9b470c Cleanup Pleroma.Activity and Pleroma.Web.ActivityPub.Utils
5 years ago
Maksim Pechnikov 2b40e57a72 Merge branch 'develop' into test/activity_pub/transmogrifier.ex
5 years ago
rinpatch 769fb778d4 Track object/create activity fetches
5 years ago
Maksim Pechnikov 4f548cb2b7 added test for Ostatus
5 years ago
Mark Felder 74e4c72c4a Fix double quotes in error logs
5 years ago
Maksim Pechnikov 007e0c1ce1 added tests
5 years ago
Maksim Pechnikov fcf604fa43 added tests
5 years ago
Maksim Pechnikov a31af93e1d added tests /activity_pub/transmogrifier.ex
5 years ago
minibikini 11e12b5761 Add Pleroma.Plugs.Cache
5 years ago
feld edbaf78176 Merge branch 'fix/read-inbox' into 'develop'
5 years ago
Egor Kislitsyn e0f84d0043 Fix `ActivityPubController.read_inbox/2`
5 years ago
Ivan Tashkinov c3f00447af Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Maksim Pechnikov 39f99dc6cd Merge branch 'develop' into support/tests
5 years ago
Ariadne Conill 5effb2cbca activitypub: help ecto build a better query for thread mute filtering
5 years ago
Alex S 79dde58044 one more temp commit
5 years ago
Maksim Pechnikov ae506ca997 fix formatting
5 years ago
Maksim e2011a667c Apply suggestion to lib/pleroma/web/activity_pub/utils.ex
5 years ago
Maksim 8306078de1 Apply suggestion to lib/pleroma/web/activity_pub/utils.ex
5 years ago
Maksim Pechnikov a890451187 fetch_announcements -> take_announcements
5 years ago
Maksim Pechnikov 8cbad5500c add tests for activity_pub/utils.ex
5 years ago
Ivan Tashkinov dd017c65a4 [#1149] Refactored Oban workers API (introduced `enqueue/3`).
5 years ago
Ivan Tashkinov a90ea8ba15 [#1149] Addressed code review comments (code style, jobs pruning etc.).
5 years ago
Ivan Tashkinov e890ea7e82 [#1149] Added Oban job for "activity_expiration". Merged remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
feld 7853b3f17d Fix AntiFollowbotPolicy when trying to follow a relay
5 years ago
Haelwenn d9d7765383 Merge branch 'fix-osada-follow' into 'develop'
5 years ago
Maksim ffcd742aa0 Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
5 years ago
lain c30cc039e4 Transmogrifier: Use Containment.get_actor to get actors.
5 years ago
Maksim Pechnikov 00abe099cd added tests for ActivityPub.like\unlike
5 years ago
lain 3da65292b3 Transmogrifier: Fix follow handling when the actor is an object.
5 years ago
Maksim Pechnikov 654d291b6d update tests
5 years ago
Maksim Pechnikov 6062017493 put_resp_header("content-type", "application/activity+json") -> put_resp_content_type("application/activity+json")
5 years ago
Maksim Pechnikov 8dc6a6b210 fix /inbox for Relay
5 years ago
Maksim Pechnikov 399ca9133b fix test
5 years ago
Ivan Tashkinov 256ff09aa8 [#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Maksim Pechnikov 64bfb41c55 fixed unfollow for relay actor
5 years ago
lain 74f7f308f8 Merge branch 'fix/admin-api-user-deletion' into 'develop'
5 years ago
lain ef43016b2c Merge branch 'feature/custom-fields' into 'develop'
5 years ago
Maxim Filippov 5171aa5b4d Refactor check_actor_is_active
5 years ago
kaniini 18c8c8d176 Merge branch 'feature/hide-muted-threads-from-timeline' into 'develop'
5 years ago
rinpatch a4a3e3becd Hide muted theads from home/public timelines unless `with_muted` is set
5 years ago
Maxim Filippov ec969eec51 Merge branch 'develop' into 'fix/admin-api-user-deletion'
5 years ago
Maxim Filippov 2b94ae3b39 Do not check if actor is active when deleting a user
5 years ago
rinpatch bd5ad0af78 Cache follow state
5 years ago
rinpatch dc902ad3df Merge branch 'fix/http-signatures-post' into 'develop'
5 years ago
kaniini 1754f8ce6d Apply suggestion to lib/pleroma/web/activity_pub/publisher.ex
5 years ago
Ariadne Conill 5bb418a90d activitypub: publisher: add (request-target) to http signature when POSTing
5 years ago
Ariadne Conill 626e094589 MRF: fix up unserializable option lists in describe implementations
5 years ago
Ivan Tashkinov 8778c16dac Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Egor Kislitsyn e457fcc479 Add `:max_remote_account_fields` config option
5 years ago
Egor Kislitsyn f7bbf99caa Use info.fields instead of source_data for remote users
5 years ago
Egor Kislitsyn 7d6f8a7fd7 Linkify custom fields values in ActivityPub.UserViewx
5 years ago
Egor Kislitsyn 5178f960c3 Support user attachment update in Transmogrifier
5 years ago
Egor Kislitsyn 88598c9baf Add profile custom fields to ActivityPub.UserView
5 years ago
kaniini 5c35d2f1d8 Merge branch 'preload-user-timelines' into 'develop'
5 years ago
kaniini fe42844bda Merge branch 'get-context-optimizations' into 'develop'
5 years ago
rinpatch 8202f1634a Preload thread mutes/bookmarks in user_statuses
5 years ago
rinpatch f4e087ee48 Preload thread mutes/bookmarks in get_context
5 years ago
rinpatch 9ef31767f2 Merge branch 'feature/mrf-vocabulary' into 'develop'
5 years ago
Ariadne Conill abfbcfdcb3 mrf_vocabulary: add describe API support
5 years ago
Ariadne Conill 4244e17de0 fix credo
5 years ago
Ariadne Conill c574b7a1fc MRF: add describe() to all modules, add base MRF configuration to base describe()
5 years ago
Ariadne Conill 694bc43123 MRF: add describe() for gathering and describing the MRF configuration
5 years ago
Maksim fea4d89e9f tests for Web/ActivityPub/Relay
5 years ago
Ariadne Conill 3fdbeb7087 MRF: add vocabulary policy module
5 years ago
Ivan Tashkinov 0e1c481a94 [#1149] Added more oban workers. Refactoring.
5 years ago
Ariadne Conill f46cd7e9c7 config: remove legacy activitypub accept_blocks setting
5 years ago
rinpatch 92479c6f48 Do not fetch the reply object in `fix_type` unless the object has the
5 years ago
Ariadne Conill 9cfc289594 MRF: ensure that subdomain_match calls are case-insensitive
5 years ago
Sergey Suprunenko af4cf35e20 Strip internal fields including likes from incoming and outgoing activities
5 years ago
Maxim Filippov dfae61c25c Fix deactivated user deletion
5 years ago
Ivan Tashkinov 267262491e Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Ivan Tashkinov b7fad8d395 [#1149] Oban jobs implementation for :federator_incoming and :federator_outgoing queues.
5 years ago
rinpatch 4f1b9c54b9 Do not rembed the object after updating it
5 years ago
rinpatch 73d8d5c49f Stop depending on the embedded object in restrict_favorited_by
5 years ago
Sergey Suprunenko e8ad116c2a Do not add the "next" key to likes.json if there is no more items
5 years ago
kaniini 86fffe9c27 Merge branch 'patch-2' into 'develop'
5 years ago
Thibaut Girka 1fce56c7df Refactor
5 years ago
Thibaut Girka 16cfb89240 Only add `preferredUsername` to service actor json when the underlying user actually has a username
5 years ago
Sergey Suprunenko 8b2fa31fed Handle MRF rejections of incoming AP activities
5 years ago
Thibaut Girka a187dbb326 Add preferredUsername to service actors so Mastodon can resolve them
5 years ago
Ivan Tashkinov 23d279e03e [#1149] Replaced RetryQueue with oban-based retries.
5 years ago
rinpatch c88a5d3251 Merge branch 'develop' into feature/hide-follows-remote
5 years ago
Ariadne Conill b93498eb52 constants: add as_public constant and use it everywhere
5 years ago
Ariadne Conill 492d854e7a transmogrifier: use User.delete() instead of handrolled user deletion code for remote users
5 years ago
rinpatch 41e0304757 Merge branch 'develop' into feature/hide-follows-remote
5 years ago
Maxim Filippov f46805bb40 Merge branch 'develop' into feature/admin-api-user-statuses
5 years ago
Maxim Filippov 03471151d6 AdminAPI: Add "godmode" while fetching user statuses (i.e. admin can see private statuses)
5 years ago
Maksim c49a09ed88 tests for Pleroma.Web.ActivityPub.Publisher
5 years ago
Alexander Strizhakov b70e659304 Feature/1087 wildcard option for blocks
5 years ago
Ariadne Conill 56019d53a8 activitypub: publisher: align sharedinbox usage with AP specification rules
5 years ago
rinpatch 196cad46f3 Resolve merge conflicts
5 years ago
Ariadne Conill cf9cb953d5 activitypub: represent internal fetch actor
5 years ago
Ariadne Conill d930e5d5c3 activitypub: introduce internal fetch service actor
5 years ago
Ariadne Conill a9d6a12bb3 activitypub: controller: rework the way the relay actor is presented so the code can be reused
5 years ago
Ariadne Conill 4885473be2 user: refactor get_or_create_instance_user() into get_or_create_service_actor_by_id()
5 years ago
RX14 96a2890a9e
Add MRF MentionPolicy for dropping posts which mention specific actors
5 years ago
Egor Kislitsyn 70439494af Fix typo
5 years ago
Maksim c32384c1ea tests for Pleroma.Signature
5 years ago
Egor Kislitsyn de13c9bb8f List messages must be visible for mentioned users
5 years ago
Egor Kislitsyn d86a97abfb Add an explanation comment to Publisher.publish/2
5 years ago
Egor Kislitsyn 64a946643e Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Ariadne Conill 739bbe0d3b security: detect object containment violations at the IR level
5 years ago
rinpatch 0c2dcb4c69 Add follow information refetching after following/unfollowing
5 years ago
rinpatch 183da33e00 Add tests for fetch_follow_information_for_user and check object type
5 years ago
rinpatch d06d1b751d Use atoms when updating user info
5 years ago
rinpatch e5b850a991 Refactor fetching follow information to a separate function
5 years ago
rinpatch e8fa477793 Refactor Follows/Followers counter syncronization
5 years ago
rinpatch 97b79efbcd ActivityPub Controller: Actually pass for_user to following/followers
5 years ago
rinpatch 1f6ac7680d ActivityPub User view: Following/Followers refactoring
5 years ago
Egor Kislitsyn 9e06873d58 Add `list` to Visibility
5 years ago
Egor Kislitsyn 958fb9aa80 Add "listMessage"
5 years ago
Egor Kislitsyn 182f7bbb11 Merge branch 'develop' into feature/addressable-lists
5 years ago
Alex S beba7bbc85 removing synchronization worker
5 years ago
Alex S f8786fa6f2 adding following_address field to user
5 years ago
Egor Kislitsyn 5104f65b69 Wrap error messages into gettext helpers
5 years ago
Sergey Suprunenko 2d2b50ccca Send and handle "Delete" activity for deleted users
5 years ago
feld 93a0eeab16 Add license/copyright to all project files
5 years ago
Maksim bb8065a1fd tests MRF filters
5 years ago
Haelwenn 95c085174d Merge branch 'test-speedup' into 'develop'
5 years ago
lain abe2e8881f Testing: Don't federate in testing.
5 years ago
Ivan Tashkinov 2b9d914089 [#161] Refactoring, documentation.
5 years ago
Ivan Tashkinov 5b7b1040b3 [#161] Limited replies depth on incoming federation in order to prevent memory leaks on recursive replies fetching.
5 years ago
William Pitcock 034986e1fd MRF: add mediaproxy warming policy
5 years ago
Sergey Suprunenko 2c63c67512 Rework user deletion
5 years ago
Eugenij f2c03425b0 Broadcast conversation update when DM is deleted
5 years ago
William Pitcock 127a5a7d65 change the anti-link-spam MRF implementation to use old_user? instead of the previous name
5 years ago
William Pitcock 21dacd4b15 unbreak polls
5 years ago
William Pitcock 736d8ad6be implement anti link spam MRF
5 years ago
Alexander Strizhakov c2ca1f22a2 it is changed in compile time
5 years ago
rinpatch d020f68e87 Transmogrifier: Do not crash if inReplyTo does not exist and can't be fetched
5 years ago
lain e1370ba131 Utils: Use update_follow_state_for_all when appropriate.
5 years ago
lain ad19bfc7fe Utils: Split update_follow_state and update_follow_state_for_all.
5 years ago
lain 076c9ae40e User: Remove superfluous `maybe_follow`.
5 years ago
lain 3115b64cfe Transmogrifier: Add tests for incoming follows to locked accounts.
5 years ago
Egor Kislitsyn 6ba9055b51 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Maksim Pechnikov 1e7bb69a95 update ActivityPub#fetch_activities_query
5 years ago
Maksim Pechnikov d3d1704e84 Merge branch 'develop' into issue/941
5 years ago
Maksim Pechnikov 0acfcf6c52 update ActivityPub#fetch_activities_query
5 years ago
rinpatch 29b022bb59 Restrict `get_existing_votes` to only get Create activities
5 years ago
Egor Kislitsyn 9ce928d823 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
William Pitcock 37a4ba0624 utils: access inReplyTo as an explicit string when fetching poll results`
5 years ago
Maksim Pechnikov 4f2e359687 Merge branch 'develop' into issue/941
5 years ago
kaniini 9f0d0d0805 Merge branch 'feature/mrf-subchain' into 'develop'
5 years ago
Maksim Pechnikov 080e1aa70e add option skip_thread_containment
5 years ago
rinpatch 026b245dbc Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
rinpatch 5bd41fef8b Change query order in fetch_activities_for_context_query to make poll vote exclusion work
5 years ago
William Pitcock 561a21986d formatting
5 years ago