Skip to content
Snippets Groups Projects
  1. Mar 24, 2021
    • 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
    • Claire's avatar
      Fix Mastodon not understanding as:Public and Public (#15948) · 1c4dee45
      Claire authored
      Fixes #5551
      Unverified
      1c4dee45
    • Claire's avatar
      Fix compose form behavior in mobile view (#15555) · 034f37b8
      Claire authored
      * Fix ComposeForm being mounted twice in mobile view
      
      Fixes #13094
      
      * Fix compose form focus and pre-selection behavior in mobile view
      
      * Split _updateFocusAndSelection out of componentDidUpdate
      Unverified
      034f37b8
    • Claire's avatar
      Switch from deprecated ClusterWS/cws to ws package (#15932) · 49814d57
      Claire authored
      
      * Switch from deprecated ClusterWS/cws to ws package
      
      Fixes #15184
      
      Co-authored-by: default avatarEdho Arief <me@nanaya.pro>
      
      * Make bufferutil and utf-8-validate optional dependencies
      
      Co-authored-by: default avatarEdho Arief <me@nanaya.pro>
      Unverified
      49814d57
  2. Mar 22, 2021
  3. Mar 20, 2021
  4. Mar 19, 2021
  5. Mar 17, 2021
    • Claire's avatar
      Fix cache_collection crashing when given an empty collection (#15921) · 5027abec
      Claire authored
      * Fix cache_collection crashing when given an empty collection
      
      * Add tests
      Unverified
      5027abec
    • 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
  6. Mar 15, 2021
Loading