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. Apr 25, 2017
    • Eugen's avatar
      Punycode URI normalization (#2370) · 17c591ff
      Eugen authored
      * Fix #2119 - Whenever about to send a HTTP request, normalize the URI
      
      * Add test for IDN request in FetchLinkCardService
      
      * Perform IDN normalization on domains before they are stored in the DB
      17c591ff
  3. Apr 23, 2017
    • Eugen's avatar
      Followers-only post federation (#2111) · 50151496
      Eugen authored
      * Make private toots get PuSHed to subscription URLs that belong to domains where you have approved followers
      
      * Authorized followers controller, stub for bulk action
      
      * Soft block in the background
      
      * Add simple test for new controller
      
      * Rename Settings::FollowersController to Settings::FollowerDomainsController, paginate results,
      rename "private" post setting to "followers-only", fix pagination style, improve post privacy
      preferences style, improve warning style
      
      * Extract compose form warnings into own container, show warning when posting to followers-only with unlocked account
      50151496
  4. Apr 12, 2017
  5. Apr 07, 2017
    • Eugen's avatar
      Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) · 6d6a429a
      Eugen authored
      * Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder
      
      StreamEntry is now limited to only statuses, which allows some optimization. Removed
      extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper
      used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer
      and PubSubHubbub::DistributionWorker
      
      PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker
      instead.
      
      All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri
      
      * All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
      6d6a429a
  6. Apr 05, 2017
  7. Feb 14, 2017
  8. Feb 12, 2017
  9. Feb 11, 2017
  10. Jan 05, 2017
  11. Jan 02, 2017
  12. Dec 19, 2016
  13. Dec 12, 2016
  14. Nov 30, 2016
  15. Nov 29, 2016
  16. Nov 28, 2016
Loading