Akihiko Odaki
11c19f6cc9
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
30df8fc679
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
7c1f3173bb
Close connection when succeeded posting ( #5390 )
...
* Close connection when succeeded posting
* Update webmock
7 years ago
ThibG
ba3e2a0c38
Retry ActivityPub delivery a few more times ( #5014 )
7 years ago
Eugen Rochko
cb8ecac1ce
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
292f489301
Flush body when POST requests ( #5128 )
7 years ago
Daigo 3 Dango
e7624bfaae
Suppress backtrace when failed to communicate with a remote instance ( #5076 )
7 years ago
Eugen Rochko
5516767c75
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