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/spec/controllers
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
..
activitypub Prepare Mastodon for Rails 6 (#15911) 4 years ago
admin Fix performance on instances list in admin UI (#15282) 4 years ago
api Update Mastodon to Rails 6.1 (#15910) 4 years ago
auth Add `details` to error response for `POST /api/v1/accounts` in REST API (#15803) 4 years ago
concerns Fix cache_collection crashing when given an empty collection (#15921) 4 years ago
oauth Bump doorkeeper from 5.3.3 to 5.4.0 (#13733) 5 years ago
settings Update Mastodon to Rails 6.1 (#15910) 4 years ago
well_known Prepare Mastodon for Rails 6 (#15911) 4 years ago
about_controller_spec.rb Compensate for scrollbar disappearing when media modal visible (#8100) 7 years ago
account_follow_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
account_unfollow_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
accounts_controller_spec.rb Prepare Mastodon for Rails 6 (#15911) 4 years ago
application_controller_spec.rb Update Mastodon to Rails 6.1 (#15910) 4 years ago
authorize_interactions_controller_spec.rb Change ResolveAccountService's handling of skip_webfinger (#15750) 4 years ago
emojis_controller_spec.rb Misc. typos (#8694) 7 years ago
follower_accounts_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
following_accounts_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
home_controller_spec.rb Fix blurhash and autoplay not working on public pages (#11585) 6 years ago
intents_controller_spec.rb Add remote interaction dialog for toots (#8202) 7 years ago
invites_controller_spec.rb Lint pass (#8876) 7 years ago
manifests_controller_spec.rb Use raw status code on have_http_status (#7214) 7 years ago
media_controller_spec.rb Fix media attachments enumeration (#14254) 5 years ago
media_proxy_controller_spec.rb Fix media attachments enumeration (#14254) 5 years ago
relationships_controller_spec.rb Add relationship manager UI (#10268) 6 years ago
remote_follow_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
remote_interaction_controller_spec.rb Add specs for RemoteInteractionController (#9524) 6 years ago
shares_controller_spec.rb Fix blurhash and autoplay not working on public pages (#11585) 6 years ago
statuses_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 5 years ago
tags_controller_spec.rb Redesign public hashtag page to use a masonry layout (#9822) 6 years ago