mastodon/app
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
..
chewy
controllers Include preview cards in status entity in REST API (#9120) 2018-10-28 06:35:03 +01:00
helpers Fix missing protocol in dns-prefetch, improve code style (#8963) 2018-10-12 02:19:10 +02:00
javascript Set z-index of dropdown to 9999. (#9126) 2018-10-28 06:39:59 +01:00
lib Ignore invalid hashtags on remote statuses instead of rejecting them (#9118) 2018-10-26 22:48:35 +02:00
mailers
models Reset status cache when status_stat or media_attachment updates (#9119) 2018-10-28 06:42:34 +01:00
policies Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
presenters
serializers Include preview cards in status entity in REST API (#9120) 2018-10-28 06:35:03 +01:00
services Include preview cards in status entity in REST API (#9120) 2018-10-28 06:35:03 +01:00
validators
views Remove character counter from edit profile (#9100) 2018-10-26 01:55:24 +02:00
workers Allow inbox owner to view implicitly targeted ActivityPub payload (#9093) 2018-10-25 18:12:22 +02:00