Skip to content
Snippets Groups Projects
  1. Feb 26, 2018
  2. Feb 21, 2018
  3. Feb 11, 2018
  4. Jan 18, 2018
  5. Jan 15, 2018
  6. Dec 24, 2017
  7. Dec 07, 2017
  8. Nov 11, 2017
  9. Nov 08, 2017
  10. Sep 16, 2017
  11. Sep 11, 2017
    • Eugen Rochko's avatar
      Fix count numbers from ActivityPub not being saved (#4899) · 0a6b0986
      Eugen Rochko authored
      They are marked as read-only by Rails, but we know what we are doing,
      so we are un-marking them as such.
      
      The mastodon:maintenance:update_counter_caches task is not really
      supposed to be run anymore (it was a one-time thing during an upgrade)
      however, just in case, I have modified it to not touch ActivityPub
      accounts.
      
      Also, no point writing to logger from these rake tasks, since they
      are not to be run from cron. Better to give stdout feedback.
      0a6b0986
  12. Sep 07, 2017
    • Joseph Mingrone's avatar
      Use casecmp() instead of casecmp?() for now (#4832) · 52644962
      Joseph Mingrone authored
      * Use casecmp() instead of casecmp?() for now
      
      casecmp?() is only available in ruby 2.4.0.  Users running earlier ruby versions
      would see errors, e.g., running
      RAILS_ENV=production rails mastodon:maintenance:remove_deprecated_preview_cards.
      
      * Correctly check whether casecmp() returns 0
      52644962
  13. Sep 03, 2017
  14. Sep 01, 2017
    • Eugen Rochko's avatar
      Make PreviewCard records reuseable between statuses (#4642) · 7dc50350
      Eugen Rochko authored
      * Make PreviewCard records reuseable between statuses
      
      **Warning!** Migration truncates preview_cards tablec
      
      * Allow a wider thumbnail for link preview, display it in horizontal layout (#4648)
      
      * Delete preview cards files before truncating
      
      * Rename old table instead of truncating it
      
      * Add mastodon:maintenance:remove_deprecated_preview_cards
      
      * Ignore deprecated_preview_cards in schema definition
      
      * Fix null behaviour
      7dc50350
  15. Aug 20, 2017
    • Eugen Rochko's avatar
      ActivityPub migration procedure (#4617) · 6e9eda53
      Eugen Rochko authored
      * ActivityPub migration procedure
      
      Once one account is detected as going from OStatus to ActivityPub,
      invalidate WebFinger cache for other accounts from the same domain
      
      * Unsubscribe from PuSH updates once we receive an ActivityPub payload
      
      * Re-subscribe to PuSH unless already unsubscribed, regardless of protocol
      6e9eda53
  16. Jul 24, 2017
  17. Jul 22, 2017
  18. Jul 16, 2017
  19. Jul 14, 2017
  20. Jul 11, 2017
    • Eugen Rochko's avatar
      Fix #2848 - Rake task to redownload avatars/headers (#4156) · e6c81a63
      Eugen Rochko authored
      Can be filtered by a specific domain
      Resolves #2292
      e6c81a63
    • Eugen Rochko's avatar
      Redesign the landing page, mount public timeline on it (#4122) · e19eefe2
      Eugen Rochko authored
      * Redesign the landing page, mount public timeline on it
      
      * Adjust the standalone mounted component to the lacking of router
      
      * Adjust auth layout pages to new design
      
      * Fix tests
      
      * Standalone public timeline polling every 5 seconds
      
      * Remove now obsolete translations
      
      * Add responsive design for new landing page
      
      * Address reviews
      
      * Add floating clouds behind frontpage form
      
      * Use access token from public page when available
      
      * Fix mentions and hashtags links, cursor on status content in standalone mode
      
      * Add footer link to source code
      
      * Fix errors on pages that don't embed the component, use classnames
      
      * Fix tests
      
      * Change anonymous autoPlayGif default to false
      
      * When gif autoplay is disabled, hover to play
      
      * Add option to hide the timeline preview
      
      * Slightly improve alt layout
      
      * Add elephant friend to new frontpage
      
      * Display "back to mastodon" in place of "login" when logged in on frontpage
      
      * Change polling time to 3s
      e19eefe2
  21. Jun 27, 2017
  22. Jun 07, 2017
  23. May 20, 2017
  24. May 08, 2017
  25. 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
  26. May 04, 2017
  27. 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
    • 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
  28. Apr 25, 2017
  29. 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
  30. Apr 16, 2017
  31. Apr 15, 2017
Loading