Commit Graph

29 Commits (dce869dfc7d4e6338da2f0d72b0a9fb2bf6d5351)

Author SHA1 Message Date
Eugen Rochko 4c76402ba1 Serialize ActivityPub alternate link into OStatus deletes, handle it (#4730)
Requires moving Atom rendering from DistributionWorker (where
`stream_entry.status` is already nil) to inline (where
`stream_entry.status.destroyed?` is true) and distributing that.

Unfortunately, such XML renderings can no longer be easily chained
together into one payload of n items.
9 years ago
unarist 7876aed134 Fix deletion of status which has been reblogged (#4728) 9 years ago
Eugen Rochko 2a2698e450 Add ActivityPub serializer for Undo of Announce (#4703) 9 years ago
Eugen Rochko 00840f4f2e Add handling of Linked Data Signatures in payloads (#4687)
* Add handling of Linked Data Signatures in payloads

* Add a way to sign JSON, fix canonicalization of signature options

* Fix signatureValue encoding, send out signed JSON when distributing

* Add missing security context
9 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
9 years ago
Eugen Rochko 605e2a417c Fix regression from #3672 - Do not use pipeline around zscore (#3704) 9 years ago
Eugen Rochko ce812466c7 Fix removal of status sending the original status to mentioned users instead of delete Salmon (#3672)
* Fix removal of status sending the original status to mentioned users instead
of delete Salmon, add test

* Create remove_status_service_spec.rb
9 years ago
Eugen Rochko 51d7caaf19 Fix wrong pubsub channel on public timelines 9 years ago
Eugen Rochko dbd529109e Fix notifications delivered to wrong pubsub channel, optimized RemoveStatusService,
slightly optimized FanOutOnWriteService again
9 years ago
Eugen Rochko 5b95be1c42 Replace calls to FeedManager#inline_render and #broadcast 9 years ago
Eugen Rochko c77a54fe0a Fix #651 - Do not reinsert original status into all followers feeds
upon un-reblogging. Check if the reblog was in the feed in the first
place. It might have been filtered on distribution.
9 years ago
Eugen Rochko 446267d1bf Deduplicate delete salmons (send only one per mentioned-account domain) 9 years ago
Eugen Rochko 149887a0ff Make follow requests federate 9 years ago
Eugen Rochko d9ca46b464 Cleaning up format of broadcast real-time messages, removing
redis-backed "mentions" timeline as redundant (given notifications)
9 years ago
Eugen Rochko 5c7add2176 Fix #147 - Unreblogging will leave original status in feeds 9 years ago
Eugen Rochko 6de079a5af Removing external hub completely, fix #333 fixing digit-only hashtags,
removing web app capability from non-webapp pages
9 years ago
Eugen Rochko 2ef9f36cf2 Improve suspend account service 9 years ago
Eugen 1e99a2bb03 Fix trying to PuSH-publish updates of remote removals 9 years ago
Eugen Rochko 2d2c81765b Adding embedded PuSH server 9 years ago
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance 9 years ago
Eugen Rochko c5e03a2e0d Status removal is broadcast to public/hashtag timelines too 9 years ago
Eugen Rochko 0895ff414e Fix RemoveStatusService trying to send delete salmons on behalf of remote statuses 9 years ago
Eugen Rochko 244d1307a3 Fix remove status service sending salmons 9 years ago
Eugen Rochko 927333f4f8 Improve code style 9 years ago
Eugen Rochko d6a64f45fd Adding a notification stack for error messages 10 years ago
Eugen Rochko 05b0c985b4 Send "delete" Salmons to remote mentioned accounts on status removal
Fixes #27
10 years ago
Eugen Rochko 3cc47beb6e Refactored generation of unique tags, URIs and object URLs into own classes,
as well as formatting of content
10 years ago
Eugen Rochko 926eea89b5 RemoveStatusService fleshed out, still doesn't send Salmon slaps though 10 years ago
Eugen Rochko a289c1d52f Handle delete Salmons, todo: clean up timelines 10 years ago