mastodon/app/helpers
Eugen Rochko 456478c4e1 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 21:53:01 +02:00
..
admin Admin reports with accounts (#2092) 2017-04-18 19:36:18 +02:00
activitystreams2_builder_helper.rb Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410) 2017-04-25 15:06:06 +02:00
application_helper.rb Added '(dev)' to the title in development mode (#2524) 2017-04-27 15:17:55 +02:00
flashes_helper.rb Clean up flash display in views (#2336) 2017-04-23 04:22:34 +02:00
home_helper.rb Improve initialState loading 2017-01-09 12:37:53 +01:00
http_helper.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 21:53:01 +02:00
instance_helper.rb Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00
routing_helper.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 2016-11-15 16:56:29 +01:00
settings_helper.rb Update settings_helper.rb (#2556) 2017-04-28 01:59:19 +02:00
stream_entries_helper.rb Test embedded_view related code in a helper (#2282) 2017-04-23 06:05:52 +02:00
style_helper.rb Check for a custom css file to help customization of instances (#1368) 2017-04-15 22:47:48 +02:00