instante-social/app
Eugen Rochko 7cc71748ce Ensure that feed renegeration restores non-zero items (#5409)
Fix #5398

Ordering the home timeline query by account_id meant that the first
100 items belonged to a single account. There was also no reason to
reverse-iterate over the statuses. Assuming the user accesses the
feed halfway-through, it's better to have recent statuses already
available at the top. Therefore working from newer->older is ideal.

If the algorithm ends up filtering all items out during last-mile
filtering, repeat again a page further. The algorithm terminates
when either at least one item has been added, or if the database
query returns nothing (end of data reached)
2017-10-16 16:08:51 +02:00
..
controllers Add option to reduce motion (#5393) 2017-10-16 09:36:15 +02:00
helpers Add moderation note (#5240) 2017-10-07 20:26:43 +02:00
javascript Filter out duplicate IDs in timelines reducer (#5417) 2017-10-16 15:59:30 +02:00
lib Ensure that feed renegeration restores non-zero items (#5409) 2017-10-16 16:08:51 +02:00
mailers Supply @instance variable in password reset instructions / password change mailer (#5215) 2017-10-04 13:25:24 +02:00
models Add option to reduce motion (#5393) 2017-10-16 09:36:15 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Compact status_ids in StatusRelationshipsPresenter (#5073) 2017-09-24 11:18:32 +02:00
serializers Add option to reduce motion (#5393) 2017-10-16 09:36:15 +02:00
services Close connection when succeeded posting (#5390) 2017-10-14 14:38:57 +02:00
validators Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
views Fix #5082 - disable retweet link for followers only toot (#5397) 2017-10-16 14:10:12 +02:00
workers Close connection when succeeded posting (#5390) 2017-10-14 14:38:57 +02:00