Skip to content
Snippets Groups Projects
  1. May 16, 2021
  2. May 12, 2021
  3. May 11, 2021
  4. May 10, 2021
  5. May 09, 2021
  6. May 08, 2021
  7. May 07, 2021
  8. 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
  9. May 05, 2021
  10. Apr 29, 2021
  11. Apr 27, 2021
  12. Apr 13, 2021
  13. Apr 12, 2021
  14. Mar 31, 2021
  15. 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
  16. Mar 19, 2021
  17. 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
  18. Mar 01, 2021
  19. Feb 19, 2021
  20. Feb 16, 2021
  21. Feb 13, 2021
  22. Feb 11, 2021
  23. Jan 31, 2021
    • Shubhendra Singh Chauhan's avatar
      Fixed code quality issues (#15541) · c8d11b8b
      Shubhendra Singh Chauhan authored
      * Added .deepsource.toml
      
      * Removed bad use of `alias`
      
      * Fixed operand order in the binary expression
      
      * Prefixed unused method arguments with an underscore
      
      * Replaced the old OpenSSL algorithmic constants with the newer strings initializers.
      
      * Removed unnecessary UTF-8 encoding comment
      Unverified
      c8d11b8b
  24. Jan 29, 2021
  25. Jan 22, 2021
  26. Jan 12, 2021
  27. Jan 09, 2021
  28. Jan 07, 2021
    • abcang's avatar
      Fix rubocop config and warnings (#15503) · efffdd37
      abcang authored
      * disable NewCops
      
      * update TargetRubyVersion
      
      * Fix Lint/MissingSuper for ActiveModelSerializers::Model
      
      * Fix Lint/MissingSuper for feed
      
      * Fix Lint/FloatComparison
      
      * Do not use instance variables
      Unverified
      efffdd37
  29. Dec 30, 2020
Loading