]> cat aescling's git repositories - mastodon.git/commit
ActivityPub delivery (#4566)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 12 Aug 2017 22:44:41 +0000 (00:44 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Aug 2017 22:44:41 +0000 (00:44 +0200)
commitb7370ac8baa643d93ea727699b3b11f9d3a55bea
tree869a8c2d44f78d96255ae0bf20a84c150ca23702
parentccdd5a9576819cdc95946d98fea0e3c8bbd1d626
ActivityPub delivery (#4566)

* Deliver ActivityPub Like

* Deliver ActivityPub Undo-Like

* Deliver ActivityPub Create/Announce activities

* Deliver ActivityPub creates from mentions

* Deliver ActivityPub Block/Undo-Block

* Deliver ActivityPub Accept/Reject-Follow

* Deliver ActivityPub Undo-Follow

* Deliver ActivityPub Follow

* Deliver ActivityPub Delete activities

Incidentally fix #889

* Adjust BatchedRemoveStatusService for ActivityPub

* Add tests for ActivityPub workers

* Add tests for FollowService

* Add tests for FavouriteService, UnfollowService and PostStatusService

* Add tests for ReblogService, BlockService, UnblockService, ProcessMentionsService

* Add tests for AuthorizeFollowService, RejectFollowService, RemoveStatusService

* Add tests for BatchedRemoveStatusService

* Deliver updates to a local account to ActivityPub followers

* Minor adjustments
41 files changed:
app/controllers/api/v1/accounts/credentials_controller.rb
app/controllers/settings/profiles_controller.rb
app/lib/activitypub/activity.rb
app/models/account.rb
app/services/authorize_follow_service.rb
app/services/batched_remove_status_service.rb
app/services/block_service.rb
app/services/favourite_service.rb
app/services/follow_service.rb
app/services/post_status_service.rb
app/services/process_mentions_service.rb
app/services/reblog_service.rb
app/services/reject_follow_service.rb
app/services/remove_status_service.rb
app/services/unblock_service.rb
app/services/unfavourite_service.rb
app/services/unfollow_service.rb
app/workers/activitypub/delivery_worker.rb [new file with mode: 0644]
app/workers/activitypub/distribution_worker.rb [new file with mode: 0644]
app/workers/activitypub/processing_worker.rb
app/workers/activitypub/update_distribution_worker.rb [new file with mode: 0644]
spec/controllers/api/v1/accounts/credentials_controller_spec.rb
spec/controllers/settings/profiles_controller_spec.rb
spec/services/authorize_follow_service_spec.rb
spec/services/batched_remove_status_service_spec.rb
spec/services/block_service_spec.rb
spec/services/favourite_service_spec.rb
spec/services/follow_service_spec.rb
spec/services/post_status_service_spec.rb
spec/services/process_mentions_service_spec.rb
spec/services/reblog_service_spec.rb
spec/services/reject_follow_service_spec.rb
spec/services/remove_status_service_spec.rb
spec/services/resolve_remote_account_service_spec.rb
spec/services/unblock_service_spec.rb
spec/services/unfollow_service_spec.rb
spec/workers/activitypub/delivery_worker_spec.rb [new file with mode: 0644]
spec/workers/activitypub/distribution_worker_spec.rb [new file with mode: 0644]
spec/workers/activitypub/processing_worker_spec.rb [new file with mode: 0644]
spec/workers/activitypub/thread_resolve_worker_spec.rb [new file with mode: 0644]
spec/workers/activitypub/update_distribution_worker_spec.rb [new file with mode: 0644]