This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/lib
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
..
settings
application_extension.rb
atom_serializer.rb
exceptions.rb
feed_manager.rb
formatter.rb Hotfix remote status formatting (#2543) 2017-04-27 23:37:22 +02:00
hash_object.rb
inline_rabl_scope.rb
inline_renderer.rb
language_detector.rb Language improvements, replace whatlanguage with CLD (#2753) 2017-05-03 16:59:31 +02:00
provider_discovery.rb Fix broken oEmbed provider (#2537) 2017-04-27 19:29:11 +02:00
sanitize_config.rb Add target=_blank to user note (#2622) 2017-04-30 00:28:41 +02:00
tag_manager.rb More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
user_settings_decorator.rb
webfinger_resource.rb Allow webfinger controller to reply to user@WEB_DOMAIN in addition to user@LOCAL_DOMAIN (#2351) 2017-04-23 14:19:54 +02:00