Skip to content
Snippets Groups Projects
  1. Aug 08, 2021
  2. Jul 13, 2021
  3. Jul 08, 2021
  4. Jul 07, 2021
  5. Jun 03, 2021
  6. Jun 02, 2021
  7. Jun 01, 2021
  8. May 16, 2021
  9. May 12, 2021
  10. May 11, 2021
  11. May 10, 2021
  12. May 09, 2021
  13. May 08, 2021
  14. May 07, 2021
  15. May 06, 2021
    • Claire's avatar
      Add Ruby 3.0 support (#16046) · 566fc909
      Claire authored
      * Fix issues with POSIX::Spawn, Terrapin and Ruby 3.0
      
      Also improve the Terrapin monkey-patch for the stderr/stdout issue.
      
      * Fix keyword argument handling throughout the codebase
      
      * Monkey-patch Paperclip to fix keyword arguments handling in validators
      
      * Change validation_extensions to please CodeClimate
      
      * Bump microformats from 4.2.1 to 4.3.1
      
      * Allow Ruby 3.0
      
      * Add Ruby 3.0 test target to CircleCI
      
      * Add test for admin dashboard warnings
      
      * Fix admin dashboard warnings on Ruby 3.0
      Unverified
      566fc909
  16. May 05, 2021
  17. Apr 29, 2021
  18. Apr 27, 2021
  19. Apr 13, 2021
  20. Apr 12, 2021
  21. Mar 31, 2021
  22. Mar 24, 2021
    • Stanislas's avatar
    • Claire's avatar
      Update Mastodon to Rails 6.1 (#15910) · cbd0ee1d
      Claire authored
      * Update devise-two-factor to unreleased fork for Rails 6 support
      
      Update tests to match new `rotp` version.
      
      * Update nsa gem to unreleased fork for Rails 6 support
      
      * Update rails to 6.1.3 and rails-i18n to 6.0
      
      * Update to unreleased fork of pluck_each for Ruby 6 support
      
      * Run "rails app:update"
      
      * Add missing ActiveStorage config file
      
      * Use config.ssl_options instead of removed ApplicationController#force_ssl
      
      Disabled force_ssl-related tests as they do not seem to be easily testable
      anymore.
      
      * Fix nonce directives by removing Rails 5 specific monkey-patching
      
      * Fix fixture_file_upload deprecation warning
      
      * Fix yield-based test failing with Rails 6
      
      * Use Rails 6's index_with when possible
      
      * Use ActiveRecord::Cache::Store#delete_multi from Rails 6
      
      This will yield better performances when deleting an account
      
      * Disable Rails 6.1's automatic preload link headers
      
      Since Rails 6.1, ActionView adds preload links for javascript files
      in the Links header per default.
      
      In our case, that will bloat headers too much and potentially cause
      issues with reverse proxies. Furhermore, we don't need those links,
      as we already output them as HTML link tags.
      
      * Switch to Rails 6.0 default config
      
      * Switch to Rails 6.1 default config
      
      * Do not include autoload paths in the load path
      Unverified
      cbd0ee1d
    • Claire's avatar
      Change mastodon:setup to not call assets:precompile in docker (#13942) · 82556834
      Claire authored
      It appears assets are built during image build, and they shouldn't need
      to be rebuilt, since we now have reproducible builds.
      Unverified
      82556834
  23. Mar 19, 2021
  24. Mar 17, 2021
    • Claire's avatar
      Prepare Mastodon for Rails 6 (#15911) · 43eff898
      Claire authored
      * Fix misuse of foreign_type
      
      * Fix use of removed "add_template_helper"
      
      * Use response.media_type instead of response.content_type in tests
      
      * Fix CSV export controller test on Rails 6
      
      Rails 6 sets a "filename*" field in the Content-Disposition header to
      explicitly encode the filename as UTF-8.
      
      This changes checks the first part of the Content-Disposition header so
      it matches in both Rails 5 and Rails 6.
      
      * Fix emoji formatting with Rails 6
      
      * Make emoji output more idiomatic and robust
      
      * Switch from redis-rails gem to built-in Rails redis cache storage
      Unverified
      43eff898
  25. Mar 01, 2021
  26. Feb 19, 2021
  27. Feb 16, 2021
  28. Feb 13, 2021
Loading