Skip to content
Snippets Groups Projects
  1. May 05, 2017
    • 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
      81584779
  2. May 04, 2017
  3. May 02, 2017
    • yhirano's avatar
      annotate models (#2697) · 298796cc
      yhirano authored
      * add annotate to Gemfile
      
      * rails g annotate:install
      
      * configure annotate_models
      
      * add schema info to models
      
      * fix rubocop to add frozen_string_literal
      298796cc
  4. Apr 29, 2017
    • yhirano's avatar
      Downgrade rubocop 0.48.1 => 0.46.0 (#2628) · 8325866c
      yhirano authored
      * downgrade rubocop 0.48.1 => 0.46.0
      
      * exclude vendor/**/* from rubocop target files
      
      * add frozen_string_literal comment line
      
      * fix percent literal delimited by ( and )
      
      * fix alignment
      
      * remove comment disabling unknown cop
      8325866c
    • Eugen Rochko's avatar
    • Patrick Figel's avatar
      Set unknown attachment type when adding domain blocks (#2605) · 197af5de
      Patrick Figel authored
      Follow-up to #2599. When a domain block with `reject_media` is
      added or `rake mastodon:media:remove_remote` is invoked, mastodon
      deletes the locally cached attachments and avatars but does not
      reflect that change in the database, causing the `file` fields to
      still have values. This change persists the deletion in the
      database and sets the attachment type to unknown.
      
      This also introduces a one-off rake task that sets all attachments
      without a local file to the "unknown" type. The upgrade notes for
      the next release should contain a post-upgrade step with
      `rake mastodon:media:set_unknown`.
      197af5de
  5. Apr 28, 2017
  6. Apr 27, 2017
  7. Apr 26, 2017
  8. Apr 25, 2017
  9. Apr 21, 2017
  10. Apr 19, 2017
  11. Apr 17, 2017
    • Matt Jankowski's avatar
      Remove unused methods (#1730) · 16d50f60
      Matt Jankowski authored
      * Remove unused method #set_counters_maps from api controller
      
      * Remove unused method #set_account_counters_maps from api controller
      
      * Remove unused method Account#followers_domains
      
      * Remove unused User.prolific scope
      
      * Add mastodon:users:admins task to list all admin emails
      
      * Use interpolated query style in Account.triadic_closures
      
      * Coverage for Account.triadic_closures
      16d50f60
    • Eugen's avatar
      Fix #1972, fix #1870 - Fix special characters in XML, add tests (#1988) · 15ec4ae0
      Eugen authored
      Also improve efficiency of the mastodon:maintenance:add_static_avatars task
      15ec4ae0
  12. Apr 16, 2017
  13. Apr 15, 2017
  14. Apr 11, 2017
  15. Apr 10, 2017
  16. Apr 08, 2017
  17. Mar 31, 2017
  18. Mar 05, 2017
  19. Mar 04, 2017
  20. Mar 03, 2017
  21. Feb 13, 2017
  22. Feb 01, 2017
  23. Jan 26, 2017
  24. Jan 20, 2017
  25. Jan 12, 2017
  26. Dec 02, 2016
  27. Nov 24, 2016
  28. Nov 15, 2016
  29. Oct 22, 2016
  30. Oct 18, 2016
  31. Oct 15, 2016
Loading