mastodon/app/models
Claire 43eff898a0
Prepare Mastodon for Rails 6 ()
* 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
..
admin Add support for reversible suspensions through ActivityPub ()
concerns Fix not being able to change world filter expiration back to “Never” ()
form Add ability to require invite request text ()
web Bump doorkeeper from 5.3.3 to 5.4.0 ()
account.rb Remove subscription_expires_at leftover from OStatus ()
account_alias.rb Remove dependency on goldfinger gem ()
account_conversation.rb allow pagination by min_id and max_id ()
account_deletion_request.rb Change account suspensions to be reversible by default ()
account_domain_block.rb Fix crash when saving invalid domain name ()
account_filter.rb Fix admins being able to suspend their instance actor ()
account_identity_proof.rb Fix Keybase verification using wrong domain for remote accounts ()
account_migration.rb Fix race conditions on account migration creation ()
account_moderation_note.rb Update dependencies for Ruby (2018-04-23) ()
account_note.rb Add user notes on accounts ()
account_pin.rb Add API endpoint to list featured accounts (fixes ) ()
account_stat.rb Fix updating account counters when account_stat is not yet created ()
account_tag_stat.rb Add profile directory ()
account_warning.rb Add account sensitized ()
account_warning_preset.rb Add titles to warning presets in admin UI ()
admin.rb Add logging of admin actions ()
announcement.rb Change order of announcements in admin page to sort them newest-first ()
announcement_filter.rb Add announcements ()
announcement_mute.rb Add announcements ()
announcement_reaction.rb Add announcements ()
application_record.rb Fix records not being indexed sometimes ()
backup.rb Add announcements ()
block.rb Store URIs of follows, follow requests and blocks for ActivityPub ()
bookmark.rb Add announcements ()
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
conversation.rb Revert "Remove conversation URI ()" ()
conversation_mute.rb Update dependencies for Ruby (2018-04-23) ()
custom_emoji.rb Add separate cache directory for non-local uploads ()
custom_emoji_category.rb Add batch actions and categories to admin UI for custom emojis ()
custom_emoji_filter.rb Various fixes and improvements ()
custom_filter.rb Optimize map { ... }.compact calls ()
device.rb Add E2EE API ()
domain_allow.rb Fix performance on instances list in admin UI ()
domain_block.rb Add option to obfuscate domain name in public list of domain blocks ()
email_domain_block.rb Add option to include resolved DNS records when blacklisting e-mail domains in admin UI ()
encrypted_message.rb Change Redis#exists calls to Redis#exists? to avoid deprecation warning ()
export.rb Add import/export feature for bookmarks ()
favourite.rb Fix unnecessary queries when batch-removing statuses, 100x faster ()
featured_tag.rb Fix featured tags not finding the right tag on save ()
feed.rb allow pagination by min_id and max_id ()
follow.rb Fix being able to import more than allowed number of follows ()
follow_request.rb Fix being able to import more than allowed number of follows ()
home_feed.rb Fix rubocop config and warnings ()
identity.rb Change identities id column to a bigint ()
import.rb Fix follow limit preventing re-following of a moved account ()
instance.rb Fix performance on instances list in admin UI ()
instance_filter.rb Fix performance on instances list in admin UI ()
invite.rb Change account suspensions to be reversible by default ()
invite_filter.rb Various fixes and improvements ()
ip_block.rb Add IP-based rules ()
list.rb Improve account deletion performances further ()
list_account.rb Add abilityto add oneself to lists ()
list_feed.rb Fix rubocop config and warnings ()
marker.rb Add timeline read markers API ()
media_attachment.rb Change max. image dimensions to 1920x1080px (1080p) ()
mention.rb Improve support for aspects/circles ()
message_franking.rb Add E2EE API ()
mute.rb Add duration parameter to muting. ()
notification.rb Prepare Mastodon for Rails 6 ()
one_time_key.rb Add E2EE API ()
poll.rb Fix rubocop config and warnings ()
poll_vote.rb Add optimistic lock to avoid race conditions when handling votes ()
preview_card.rb Bump rubocop from 0.86.0 to 0.88.0 ()
public_feed.rb Fix rubocop config and warnings ()
relationship_filter.rb Fix followings list order | Issue ()
relay.rb Fix enable/disable relay failures ()
remote_follow.rb Remove dependency on goldfinger gem ()
report.rb Add indication to admin UI of whether a report has been forwarded ()
report_filter.rb Various fixes and improvements ()
report_note.rb Fix scope latest of ReportNote ()
rule.rb Add server rules ()
scheduled_status.rb Fix deleting a scheduled status immediately deleting media attachments ()
search.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl ()
session_activation.rb Fix streaming API allowing connections to persist after access token invalidation ()
setting.rb Use Rails' index_by where it makes sense ()
site_upload.rb Improvements to image upload validation and creation ()
status.rb Fix N+1 query when rendering with StatusSerializer ()
status_pin.rb Update dependencies for Ruby (2018-04-23) ()
status_stat.rb Reset status cache when status_stat or media_attachment updates ()
system_key.rb Add E2EE API ()
tag.rb Fix possible inconsistencies in tag search ()
tag_feed.rb Fix rubocop config and warnings ()
tag_filter.rb Various fixes and improvements ()
tombstone.rb Record deleted(by mod) status to prevent re-appear ()
trending_tags.rb Use Rails' index_by where it makes sense ()
unavailable_domain.rb Fix performance on instances list in admin UI ()
user.rb Fix sign-up restrictions based on IP addresses not being enforced ()
user_invite_request.rb Add "why do you want to join" field to invite requests ()
web.rb Add extended about page stub
webauthn_credential.rb Fix validates :sign_count of WebauthnCredential ()