1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-25 07:37:16 +09:00
YuruToot/app/helpers
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
..
admin Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 2017-04-30 00:23:45 +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 Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +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 02:23: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 Use URI.join for generate asset URL (#2741) 2017-05-03 11:31:21 +02:00
settings_helper.rb Add Hebrew interface translation. (#2573) 2017-05-02 08:54:35 -04: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