mastodon/app/services
Eugen Rochko 81584779cb More robust PuSH subscription refreshes (#2799)
* 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-05 02:23:01 +02:00
..
concerns Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 2017-05-03 17:02:18 +02:00
pubsubhubbub Punycode URI normalization (#2370) 2017-04-25 02:47:31 +02:00
account_search_service.rb Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 2017-04-30 00:23:45 +02:00
after_block_service.rb
authorize_follow_service.rb
base_service.rb
block_domain_service.rb Set unknown attachment type when adding domain blocks (#2605) 2017-04-29 02:44:03 +02:00
block_service.rb
fan_out_on_write_service.rb
favourite_service.rb
fetch_atom_service.rb OEmbed support for PreviewCard (#2337) 2017-04-27 14:42:22 +02:00
fetch_link_card_service.rb Decode IDNA in PreviewCard (#2781) 2017-05-04 15:52:08 +02:00
fetch_remote_account_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 2017-05-03 17:02:18 +02:00
fetch_remote_resource_service.rb
fetch_remote_status_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 2017-05-03 17:02:18 +02:00
follow_remote_account_service.rb OEmbed support for PreviewCard (#2337) 2017-04-27 14:42:22 +02:00
follow_service.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
mute_service.rb
notify_service.rb
post_status_service.rb OEmbed support for PreviewCard (#2337) 2017-04-27 14:42:22 +02:00
precompute_feed_service.rb
process_feed_service.rb Likely fix #2458, fix #2031 - handle out-of-order deletes for statuses (#2734) 2017-05-04 04:34:57 +02:00
process_hashtags_service.rb
process_interaction_service.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
process_mentions_service.rb
reblog_service.rb
reject_follow_service.rb
remove_status_service.rb
search_service.rb
send_interaction_service.rb
subscribe_service.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
suspend_account_service.rb Delete records in smaller transaction (#2802) 2017-05-04 23:44:39 +02:00
unblock_domain_service.rb
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsubscribe_service.rb
update_remote_profile_service.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
verify_salmon_service.rb Fix #2706 - Always respond with 200 to PuSH payloads (#2733) 2017-05-03 17:02:18 +02:00
warm_cache_service.rb