Akihiko Odaki
54b273bf99
Close http connection in perform method of Request class ( #6889 )
...
HTTP connections must be explicitly closed in many cases, and letting
perform method close connections makes its callers less redundant and
prevent them from forgetting to close connections.
7 years ago
ThibG
a0de3222dd
Retry delivering toots over ActivityPub for about 2 days ( #6298 )
...
Currently, Mastodon will retry delivering toots for a bit over 1 hour.
This is a very short timespan when considering private and direct toots, which
cannot be seen by the recipient at all after the delivery attempts have failed.
Ideally, private and direct toots should have a different number of retries,
but I do not know how to do that.
7 years ago
abcang
2eab41cd1a
Close connection when succeeded posting ( #5390 )
...
* Close connection when succeeded posting
* Update webmock
7 years ago
ThibG
f7c909e290
Retry ActivityPub delivery a few more times ( #5014 )
7 years ago
Eugen Rochko
f4ca116ea8
After 7 days of repeated delivery failures, give up on inbox ( #5131 )
...
- A successful delivery cancels it out
- An incoming delivery from account of the inbox cancels it out
7 years ago
abcang
3d9b8847d2
Flush body when POST requests ( #5128 )
7 years ago
Daigo 3 Dango
a0bbeafb04
Suppress backtrace when failed to communicate with a remote instance ( #5076 )
7 years ago
Eugen Rochko
b7370ac8ba
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
7 years ago