1. 05 May, 2017 1 commit
    • Eugen Rochko's avatar
      More robust PuSH subscription refreshes (#2799) · 81584779
      Eugen Rochko authored
      * 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
  2. 04 May, 2017 12 commits
  3. 03 May, 2017 13 commits
  4. 02 May, 2017 12 commits
  5. 01 May, 2017 2 commits
    • Matt Jankowski's avatar
      Coverage for remote follows (#2694) · a4859446
      Matt Jankowski authored
      * Add coverage for create with empty acct value
      * Add coverage for create with webfinger failure
      * Add coverage for create with webfinger providing bad values
      * Add coverage for create when webfinger is good
      * Add coverage for session[:remote_follow] having data
      * Simplify how remote follow pulls acct from session
      * Remote follow behaves more like model
      * Move the discovery portions of remote follow out of controller
      * Check for suspended accounts
    • Matt Jankowski's avatar
      Error responses cleanup (#2692) · 7bffd160
      Matt Jankowski authored
      * Use respond_with_error for forbidden errors
      * Wrap up common error code into single method