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/models
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
..
admin Add account sensitized (#14361) 4 years ago
concerns Improve account counters handling (#15913) 4 years ago
form
web
account_alias_spec.rb
account_conversation_spec.rb
account_deletion_request_spec.rb Change account suspensions to be reversible by default (#14726) 4 years ago
account_domain_block_spec.rb
account_filter_spec.rb Fix admins being able to suspend their instance actor (#14567) 4 years ago
account_migration_spec.rb
account_moderation_note_spec.rb
account_spec.rb Remove subscription_expires_at leftover from OStatus (#15857) 4 years ago
account_tag_stat_spec.rb
announcement_mute_spec.rb
announcement_reaction_spec.rb
announcement_spec.rb
backup_spec.rb
block_spec.rb
conversation_mute_spec.rb
conversation_spec.rb
custom_emoji_category_spec.rb
custom_emoji_filter_spec.rb
custom_emoji_spec.rb
custom_filter_spec.rb
device_spec.rb
domain_allow_spec.rb
domain_block_spec.rb
email_domain_block_spec.rb
encrypted_message_spec.rb
export_spec.rb
favourite_spec.rb
featured_tag_spec.rb
follow_request_spec.rb Add option to be notified when a followed user posts (#13546) 4 years ago
follow_spec.rb Fix follow limit preventing re-following of a moved account (#14207) 4 years ago
home_feed_spec.rb
identity_spec.rb
import_spec.rb Fix follow limit preventing re-following of a moved account (#14207) 4 years ago
invite_spec.rb Change account suspensions to be reversible by default (#14726) 4 years ago
ip_block_spec.rb Add IP-based rules (#14963) 4 years ago
list_account_spec.rb
list_spec.rb
marker_spec.rb
media_attachment_spec.rb
mention_spec.rb
mute_spec.rb
notification_spec.rb Improved performance of notification preloading (#15640) 4 years ago
one_time_key_spec.rb
poll_spec.rb
poll_vote_spec.rb
preview_card_spec.rb
public_feed_spec.rb Refactor how public and tag timelines are queried (#14728) 4 years ago
relationship_filter_spec.rb
relay_spec.rb
remote_follow_spec.rb
report_filter_spec.rb
report_spec.rb
rule_spec.rb Add server rules (#15769) 4 years ago
scheduled_status_spec.rb
session_activation_spec.rb
setting_spec.rb Update Mastodon to Rails 6.1 (#15910) 4 years ago
site_upload_spec.rb
status_pin_spec.rb
status_spec.rb Refactor how public and tag timelines are queried (#14728) 4 years ago
status_stat_spec.rb
system_key_spec.rb
tag_feed_spec.rb Refactor how public and tag timelines are queried (#14728) 4 years ago
tag_spec.rb
trending_tags_spec.rb
unavailable_domain_spec.rb
user_invite_request_spec.rb
user_spec.rb Update Mastodon to Rails 6.1 (#15910) 4 years ago
webauthn_credentials_spec.rb Fix validates :sign_count of WebauthnCredential (#14806) 4 years ago