]> cat aescling's git repositories - mastodon.git/commit
Cache relationships in API (#6482)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 18 Feb 2018 02:14:46 +0000 (03:14 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Feb 2018 02:14:46 +0000 (03:14 +0100)
commitcba2897108dffe69d5a16befe6c6220f6eaae59f
treee247261ff56fa1751e914d650a4a4710c6417dd1
parent9b8a4484778fb55bcb2526992807a51270229b72
Cache relationships in API (#6482)

* Cache relationships in API

* Fetch relationships for search results in UI

* Only save one account's maps in each cache item
app/javascript/mastodon/actions/search.js
app/models/account_domain_block.rb
app/models/block.rb
app/models/concerns/relationship_cacheable.rb [new file with mode: 0644]
app/models/follow.rb
app/models/follow_request.rb
app/models/mute.rb
app/presenters/account_relationships_presenter.rb