mastodon/app
unarist a1c54220e8 Optimize Status#permitted_for 500x (account timeline) (#5373)
The main change of this PR is removing `order by visibility` hack.

This was introduced to force using of `index_statuses_on_account_id` instead of PK index, but it seems no longer needed probably due to `index_statuses_on_account_id_id`. Removing this avoids reading all rows, so really improves first fetching of the user who has lot of statuses.

I have also changed JOIN to IN + subquery, which slightly faster in most cases.
2017-10-13 16:53:43 +02:00
..
controllers Fix UserTrackingConcern firing on every request, optimize some queries (#5368) 2017-10-13 16:44:29 +02:00
helpers Add moderation note (#5240) 2017-10-07 20:26:43 +02:00
javascript Do not try to guess why home timeline is empty in web UI (#5370) 2017-10-13 16:44:16 +02:00
lib Fix NameError: uninitialized constant OStatus::AtomSerializer::TagManager (#5371) 2017-10-13 16:44:43 +02:00
mailers Supply @instance variable in password reset instructions / password change mailer (#5215) 2017-10-04 13:25:24 +02:00
models Optimize Status#permitted_for 500x (account timeline) (#5373) 2017-10-13 16:53:43 +02:00
policies
presenters Compact status_ids in StatusRelationshipsPresenter (#5073) 2017-09-24 11:18:32 +02:00
serializers Fix #5178 - Use object URI only in Announce, instead of embedding (#5266) 2017-10-08 14:41:59 +02:00
services Fix remote status fetching for “pure” ActivityPub WEB_ACCOUNT users (#5372) 2017-10-13 12:58:13 +02:00
validators Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
views fix presented og:url is incorrect (#5320) 2017-10-11 19:22:21 +02:00
workers Set snowflake IDs for backdated statuses (#5260) 2017-10-08 17:34:34 +02:00