tootlab-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 Get rid of Chewy order/limit warning (#8355) 2018-08-22 02:44:56 +02:00
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 Fix low-hanging rubocop gripes (#8458) 2018-08-26 19:22:46 +02:00
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 Replace SVG asset with Custom mascot (#8766) 2018-10-08 00:20:45 +02:00
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 Limit the number of people that can be followed from one account (#8807) 2018-10-04 17:36:11 +02:00
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