You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/models/concerns
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
4 years ago
..
account_associations.rb Change account suspensions to be reversible by default (#14726) 5 years ago
account_avatar.rb Remove WebP support (#11589) 6 years ago
account_counters.rb Improve account counters handling (#15913) 4 years ago
account_finder_concern.rb Create instance actor if it hasn't been properly seeded (#15693) 4 years ago
account_header.rb Remove WebP support (#11589) 6 years ago
account_interactions.rb Update Mastodon to Rails 6.1 (#15910) 4 years ago
account_merging.rb Fix account merging in maintenance script (#15264) 4 years ago
attachmentable.rb Fix remote files not using Content-Type header, streaming (#14184) 5 years ago
cacheable.rb Fix cache_associated no longer working (#7320) 7 years ago
domain_materializable.rb Fix performance on instances list in admin UI (#15282) 4 years ago
domain_normalizable.rb Fix admin page crashing when trying to block an invalid domain name (#13884) 5 years ago
expireable.rb Fix not being able to change world filter expiration back to “Never” (#15858) 4 years ago
follow_limitable.rb Fix being able to import more than allowed number of follows (#15384) 4 years ago
ldap_authenticable.rb Add an LDAP Mail attribute config (#12053) 5 years ago
omniauthable.rb WIP (#15222) 4 years ago
paginable.rb allow pagination by min_id and max_id (#14776) 5 years ago
pam_authenticable.rb Fix LDAP/PAM/SAML/CAS users not being approved instantly (#10621) 6 years ago
rate_limitable.rb Add specific rate limits for posting and following (#13172) 5 years ago
redisable.rb Create Redisable#redis (#9633) 6 years ago
relationship_cacheable.rb
remotable.rb Fix movie width and frame_rate returning nil (#14357) 5 years ago
status_threading_concern.rb Optimize map { ... }.compact calls (#15513) 4 years ago
user_roles.rb Add moderation API (#9387) 6 years ago