Commit Graph

6 Commits (e60d9bed75a9fc386b081104b7f86abb7418f1a6)

Author SHA1 Message Date
Matt Jankowski cf86cc68b7 Fix RSpec/InferredSpecType cop () 2023-05-04 05:49:53 +02:00
Nick Schonning dd46810e8a Enable Style/FrozenStringLiteralComment for specs () 2023-02-22 09:55:31 +09:00
Nick Schonning 754c417e29 Autofix Rubocop RSpec/LeadingSubject () 2023-02-20 13:24:14 +09:00
Eugen Rochko 553889bc7c Fix single Redis connection being used across all threads ()
* Fix single Redis connection being used across all Sidekiq threads

* Fix tests
2022-04-28 17:47:34 +02:00
Eugen Rochko c453888616 Fix performance of home feed regeneration ()
Fetching statuses from all followed accounts at once takes too long
within Postgres. Fetching them one by one and merging in Ruby
could be a lot less resource-intensive

Because the query for dynamically fetching the home timeline is so
heavy, we can no longer offer it when the home timeline is missing
2019-10-06 22:11:17 +02:00
Eugen Rochko e149067561 Lists ()
* Add structure for lists

* Add list timeline streaming API

* Add list APIs, bind list-account relation to follow relation

* Add API for adding/removing accounts from lists

* Add pagination to lists API

* Add pagination to list accounts API

* Adjust scopes for new APIs

- Creating and modifying lists merely requires "write" scope
- Fetching information about lists merely requires "read" scope

* Add test for wrong user context on list timeline

* Clean up tests
2017-11-18 00:16:48 +01:00