1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-25 15:46:44 +09:00
YuruToot/bin
Claire cbd0ee1d07
Update Mastodon to Rails 6.1 (#15910)
* 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
2021-03-24 10:44:31 +01:00
..
bundle Upgrade Rails to version 5.2.0 (#5898) 2018-04-12 14:45:17 +02:00
heroku-web fix: make Procfile compatible with herokuish (#12685) 2020-08-29 19:00:30 +02:00
rails Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
rake Adding config for puma, dashboard layout, fixing some queries 2016-03-12 16:21:53 +01:00
retry Port travis_retry for CI (#7379) 2018-05-06 10:55:50 +02:00
rspec Add binstub for rspec from rspec-core (#1913) 2017-04-16 13:42:45 +02:00
setup Update Mastodon to Rails 6.1 (#15910) 2021-03-24 10:44:31 +01:00
tootctl Fix tootctl media remove-orphans choking on unknown files in storage (#13765) 2020-05-15 18:41:27 +02:00
update Upgrade Rails to version 5.2.0 (#5898) 2018-04-12 14:45:17 +02:00
webpack Bump webpacker from 3.5.5 to 4.0.2 (#10277) 2019-03-15 15:05:31 +01:00
webpack-dev-server Bump webpacker from 3.5.5 to 4.0.2 (#10277) 2019-03-15 15:05:31 +01:00
yarn Update Mastodon to Rails 6.1 (#15910) 2021-03-24 10:44:31 +01:00