bastodon/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 Silence more scope order warnings (#1604) 2017-04-12 15:58:08 +02:00
authorize_follow_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
base_service.rb Remove unused AtomBuilderHelper (#1364) 2017-04-11 19:31:22 +02:00
block_domain_service.rb Set unknown attachment type when adding domain blocks (#2605) 2017-04-29 02:44:03 +02:00
block_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
fan_out_on_write_service.rb Silence more scope order warnings (#1604) 2017-04-12 15:58:08 +02:00
favourite_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
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 Fix full-text search query quotation, improve tag search performance with an index, 2017-03-22 17:36:34 +01:00
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 Silence more scope order warnings (#1604) 2017-04-12 15:58:08 +02:00
notify_service.rb Check @recipient.user at the first (#1939) 2017-04-16 18:04:05 +02:00
post_status_service.rb OEmbed support for PreviewCard (#2337) 2017-04-27 14:42:22 +02:00
precompute_feed_service.rb Spawn FeedInsertWorker to deliver status into personal feed 2017-04-04 19:21:37 +02:00
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 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text 2017-01-25 01:29:16 +01:00
process_interaction_service.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
process_mentions_service.rb Fix casuality of processing remote mentions such that notifications 2017-03-13 16:34:15 +01:00
reblog_service.rb Add "direct" visibility level in the backend. Web UI is not yet 2017-03-15 22:55:45 +01:00
reject_follow_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
remove_status_service.rb Fix wrong pubsub channel on public timelines 2017-04-06 04:03:23 +02:00
search_service.rb Fix reworked search 2017-03-31 22:45:56 +02:00
send_interaction_service.rb Make follow requests federate 2017-02-11 02:58:00 +01:00
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 Make file attachment on MediaAttachment optional (#1865) 2017-04-16 12:51:30 +02:00
unblock_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
unfavourite_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
unfollow_service.rb Fixed NoMethodError in UnfollowService (#1918) 2017-04-16 14:55:43 +02:00
unmute_service.rb Fix #231 - Muting 2017-03-02 18:49:32 +01:00
unsubscribe_service.rb Fix #329 - avatar errors no longer prevent remote accounts from being saved 2016-12-02 14:14:49 +01:00
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 Preheat status cache 2017-02-05 17:24:18 +01:00