mastodon/app/models
Eugen Rochko 11b3ee4f4c
Reset status cache when status_stat or media_attachment updates (#9119)
* Reset status cache when status_stat or media_attachment updates

Fix #8711

Media attachments are generally immutable, but admins can update
the sensitive flag, and this would ensure the change is visible
instantly. Same for updates to status stats. That is a regression
from #8185, because even the correct updated_at fetched from a join
doesn't seem to invalidate the cache.

* Remove join from Status#cache_ids since it has no effect
2018-10-28 06:42:34 +01:00
..
admin
concerns rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
form
web
account.rb Fix link verification for remote accounts (#8868) 2018-10-04 15:47:03 +02:00
account_conversation.rb Migrate all old direct messages to new conversations schema (#9085) 2018-10-25 01:44:02 +02:00
account_domain_block.rb
account_filter.rb Change admin accounts default sort to most recent (#8813) 2018-10-04 16:05:38 +02:00
account_moderation_note.rb
account_pin.rb
admin.rb
application_record.rb
backup.rb
block.rb
context.rb Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090) 2017-07-07 04:02:06 +02:00
conversation.rb
conversation_mute.rb
custom_emoji.rb
custom_emoji_filter.rb
custom_filter.rb
domain_block.rb Add option to block reports from domain (#8830) 2018-10-20 08:02:44 +02:00
email_domain_block.rb Update dependencies for Ruby (2018-04-23) (#7237) 2018-04-23 11:29:17 +02:00
export.rb
favourite.rb
feed.rb Support min_id-based pagination in REST API (#8736) 2018-09-28 02:23:45 +02:00
follow.rb Limit the number of people that can be followed from one account (#8807) 2018-10-04 17:36:11 +02:00
follow_request.rb Limit the number of people that can be followed from one account (#8807) 2018-10-04 17:36:11 +02:00
home_feed.rb Support min_id-based pagination in REST API (#8736) 2018-09-28 02:23:45 +02:00
identity.rb
import.rb
instance.rb Add Instance class to list admin records (#3443) 2017-05-31 20:38:44 +02:00
instance_filter.rb
invite.rb
invite_filter.rb
list.rb
list_account.rb
list_feed.rb
media_attachment.rb Reset status cache when status_stat or media_attachment updates (#9119) 2018-10-28 06:42:34 +01:00
mention.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
mute.rb
notification.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
preview_card.rb
relay.rb
remote_follow.rb
remote_profile.rb [WIP] Enable custom emoji on account pages and in the sidebar (#6124) 2018-04-01 23:55:42 +02:00
report.rb
report_filter.rb
report_note.rb
search.rb
session_activation.rb
setting.rb Update dependencies for Ruby (2018-04-23) (#7237) 2018-04-23 11:29:17 +02:00
site_upload.rb
status.rb Reset status cache when status_stat or media_attachment updates (#9119) 2018-10-28 06:42:34 +01:00
status_pin.rb
status_stat.rb Reset status cache when status_stat or media_attachment updates (#9119) 2018-10-28 06:42:34 +01:00
stream_entry.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
subscription.rb
tag.rb
trending_tags.rb
user.rb
web.rb