Skip to content
Snippets Groups Projects
  1. Sep 16, 2017
  2. Sep 14, 2017
    • abcang's avatar
      Revert unique retry job (#4937) · 1aad015b
      abcang authored
      * Revert "Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)"
      
      This reverts commit 6859d4c0.
      
      * Revert "Do not execute the job with the same arguments as the retry job (#4814)"
      
      This reverts commit be7ffa2d.
      1aad015b
  3. 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
  4. Sep 10, 2017
  5. Sep 09, 2017
  6. 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
  7. Sep 06, 2017
  8. Sep 05, 2017
  9. Sep 03, 2017
  10. Sep 02, 2017
  11. 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
  12. Aug 26, 2017
  13. Aug 22, 2017
  14. 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
  15. Aug 06, 2017
  16. Aug 01, 2017
  17. Jul 31, 2017
  18. Jul 28, 2017
  19. Jul 24, 2017
  20. Jul 22, 2017
  21. Jul 21, 2017
  22. Jul 16, 2017
  23. Jul 14, 2017
  24. 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
  25. Jun 28, 2017
  26. Jun 27, 2017
  27. Jun 23, 2017
  28. Jun 20, 2017
  29. Jun 15, 2017
  30. Jun 08, 2017
  31. Jun 07, 2017
  32. May 29, 2017
    • Daniel Hunsaker's avatar
      [nanobox] Adjustments for Nanobox development (#3295) · 9ead3d1c
      Daniel Hunsaker authored
      Because Nanobox doesn't run data components in the same container as the code, there are a few tweaks that need to be made in the configuration to get WebPack to work properly in development mode.
      
      The same differences lead to needing to use `DATABASE_URL` by default in the `.env` file for Rails to work correctly.
      
      Limitations of our `.env` loader for Node.js mean the `.env` file needs to be compiled everywhere in order to work, so we compile it in development, now, too. Also, all the `.env.production` tweaks have been consolidated into a single command.
      
      Finally, since Nanobox actually creates the database when it sets up the database server, using the existence of the database alone to determine whether to migrate or setup is insufficient. So we add a condition to `rake db:migrate:setup` to check whether any migrations have run - if the database doesn't exist yet, `db:setup` will be called; if it does, but no migrations have been run, `db:migrate` and `db:seed` are called instead (the same basic idea as what `db:setup` does, but it skips `db:create`, which will only cause problems with an existing DB); otherwise, only `db:migrate` is called.
      
      None of these changes should affect development, and all are designed not to interfere with existing behaviors in other environments.
      9ead3d1c
  33. May 28, 2017
Loading