1
0
Fork 1
forked from fedi/mastodon
mastodon/spec
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
..
controllers Remove redis clear from before in spec (#2795) 2017-05-04 20:53:39 +02:00
fabricators Delete records in smaller transaction (#2802) 2017-05-04 23:44:39 +02:00
features Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
fixtures Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
helpers Ensure i18n matches options (#2358) 2017-04-23 19:09:52 +02:00
javascript Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
lib Language improvements, replace whatlanguage with CLD (#2753) 2017-05-03 16:59:31 +02:00
mailers Add digest e-mails 2017-03-04 00:00:48 +01:00
models Add option to disable two factor auth in admin accounts panel. (#2584) 2017-05-02 21:07:12 +02:00
presenters About page contact email (#1839) 2017-04-15 13:33:25 +02:00
requests Remove the react-rails gem (#2801) 2017-05-04 23:45:18 +02:00
routing Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
services More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
support/matchers/model add more tests to models 2017-04-05 00:29:56 +02:00
views Remove the react-rails gem (#2801) 2017-05-04 23:45:18 +02:00
rails_helper.rb Followers-only post federation (#2111) 2017-04-24 00:38:37 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00