about summary refs log tree commit diff
path: root/app/services/process_interaction_service.rb
AgeCommit message (Collapse)Author
2017-09-19Introduce OStatus::TagManager (#5008)Akihiko Odaki
2017-09-02Make "unfollow" undo pending outgoing follow request too (#4781)Eugen Rochko
* Make "unfollow" undo pending outgoing follow request too * Add cancel button to web UI when awaiting follow request approval * Make the hourglass button do the cancelling
2017-07-20Fix webfinger retries (#4275)Eugen Rochko
* Do not raise unretryable exceptions in ResolveRemoteAccountService * Removed fatal exceptions from ResolveRemoteAccountService Exceptions that cannot be retried should not be raised. New exception class for those that can be retried (Mastodon::UnexpectedResponseError)
2017-05-30Add status destroy authorization to policy (#3453)Jack Jennings
* Add status destroy authorization to policy * Create explicit unreblog status authorization
2017-05-27Fix some nil errors (#3338)Eugen Rochko
* Fix nil input not handled well in AuthorExtractor concern * Fix hard error in ProcessFeedService when replied-to status has been deleted * Fix nil errors in ProcessInteractionService when favourited status cannot be found
2017-05-19Add buttons to block and unblock domain (#3127)Eugen Rochko
* Add buttons to block and unblock domain * Relationship API now returns "domain_blocking" status for accounts, rename "block entire domain" to "hide entire domain", fix unblocking domain, do not block notifications from domain-blocked-but-followed people, do not send Salmons to domain blocked users * Add test * Personal domain blocks shouldn't affect Salmon after all, since in this direction of communication the control is very thin when it comes to public stuff. Best stay consistent and not affect federation in this way * Ignore followers and follow request from domain blocked folks, ensure account domain blocks are not created for empty domain, and avoid duplicates in validation * Purge followers when blocking domain (without soft-blocks, since they are useless here) * Add tests, fix local timeline being empty when having any domain blocks
2017-05-12Fix not rejecting remote URIs when parsing out local IDs (#3012)Eugen Rochko
2017-05-05More robust PuSH subscription refreshes (#2799)Eugen Rochko
* Fix #2473 - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron Fix an issue where / in domain would raise exception in TagManager#normalize_domain PuSH subscriptions refresh done in a round-robin way to avoid hammering a single server's hub in sequence. Correct handling of failures/retries through Sidekiq (see also #2613). Optimize Account#with_followers scope. Also, since subscriptions are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire refreshing operation halfway through Fix #2702 - Correct user agent header on outgoing http requests * Add test for SubscribeService * Extract #expiring_accounts into method * Make mastodon:push:refresh no-op * Queues are now defined in sidekiq.yml * Queues are now in sidekiq.yml
2017-05-03Fix #2706 - Always respond with 200 to PuSH payloads (#2733)Eugen Rochko
Fix #2196 - Respond with 201 when Salmon accepted, 400 when unverified Fix #2629 - Correctly handle confirm_domain? for local accounts Unify rules for extracting author acct from XML, prefer <email>, fall back to <name> + <uri> (see also #2017, #2172)
2017-04-25Punycode URI normalization (#2370)Eugen
* Fix #2119 - Whenever about to send a HTTP request, normalize the URI * Add test for IDN request in FetchLinkCardService * Perform IDN normalization on domains before they are stored in the DB
2017-04-05Split SalmonWorker into smaller parts, move profile updating into another jobEugen Rochko
2017-03-22Prettier account and stream entry URLsEugen Rochko
2017-02-12Add handler for salmons of undoing favouritesEugen Rochko
2017-02-11Fix processing of incoming authorizations/rejectionsEugen Rochko
2017-02-11Make follow requests federateEugen Rochko
2017-01-23Remove unneeded block checkEugen Rochko
2017-01-02Federate blocks with the http://mastodon.social/schema/1.0 verb namespaceEugen Rochko
2016-12-26Don't show statuses to blocked usersEugen Rochko
2016-12-22Re-enable Webfinger for locked accounts but don't handle "follow" eventsEugen Rochko
coming in via Salmon. Currently no way to prevent remote follows, but they will only receive public and unlisted posts
2016-12-05Add account suspensionEugen Rochko
2016-11-30Per-status control for unlisted mode, also federation for unlisted modeEugen Rochko
Fix #233, fix #268
2016-11-28Fix delete SalmonsEugen Rochko
2016-11-26Update hub URL and re-subscribe if hub URL changesEugen Rochko
2016-11-20Adding unified streamable notificationsEugen Rochko
2016-11-15Fix rubocop issues, introduce usage of frozen literal to improve performanceEugen Rochko
2016-11-13Force utf-8 encoding when processing XMLEugen Rochko
2016-10-10Fixing namespaces issueEugen Rochko
2016-10-10Fix namespace parsing in Atom feedsEugen Rochko
2016-10-09Adding domain blocksEugen Rochko
2016-10-06Update OStatus2 to handle malformed Salmon without raising unexpected exceptionsEugen Rochko
2016-10-03Blocking will prevent e-mail notifications from blocked user, blocks in UIEugen Rochko
2016-09-29Improve code styleEugen Rochko
2016-09-20Separate PuSH subscriptions from following, add mastodon:push:refresh task,Eugen Rochko
respect hub.lease_seconds (fix #46)
2016-09-17Fix how other services used old FollowRemoteAccountServiceEugen Rochko
2016-09-09Refactored generation of unique tags, URIs and object URLs into own classes,Eugen Rochko
as well as formatting of content
2016-09-04Handle delete Salmons, todo: clean up timelinesEugen Rochko
2016-03-26Fix favourite handling in ProcessInteractionServiceEugen Rochko
2016-03-19Fix for incoming favouritesEugen Rochko
2016-03-19Adding e-mail notifications about mentions, follows, favourites and reblogs. ↵Eugen Rochko
Fixing another mention recording bug
2016-03-19Fix more subtle bugs with first_or_createEugen Rochko
2016-03-16Fixing small bug with FollowRemoteAccountService usageEugen Rochko
2016-03-16Fix unfollowsEugen Rochko
2016-02-29Refactoring Grape API methods into normal controllers & other thingsEugen Rochko
2016-02-28A lot of fixes from a live testEugen Rochko
2016-02-28Update profile information and download avatar of remote accountsEugen Rochko
2016-02-25Fixed small bugs and code style offencesEugen Rochko
2016-02-24Send Salmon interactionsEugen Rochko
2016-02-24Do not PuSH-subscribe to remote accounts when creating them for salmonEugen Rochko
2016-02-24Forgotten argument fixEugen Rochko
2016-02-24Feed processing except fetching remote statusesEugen Rochko